如何使用 HTTP (JSON API) 开关 ALL3073v2WLAN
ALL3073v2WLAN 提供 JSON API 来开关连接设备的电源。
为了为连接设备启用 230V 电源,使用此 URL(HTTP GET 请求):
example-2.txt
为了为连接设备禁用 230V 电源,使用此 URL(HTTP GET 请求):
example-1.txt
注意 id=1 将始终保持不变,因为 1 是控制电源的执行器的 ID,只有 set=0 或 set=1 不同,
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