How to switch on/off ALL3073v2WLAN using HTTP (JSON API)
The ALL3073v2WLAN provides a JSON API to switch on or off the power for the attached device.
In order to enable 230V power for the attached device, use this URL (HTTP GET request):
example-2.txt
In order to disable 230V power for the attached device, use this URL (HTTP GET request):
example-1.txt
Note that id=1 will always stay the same since 1
is the ID of the actor controlling the power, just set=0
or set=1
are different,
Check out similar posts by category:
Electronics, Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow