找回密码
 立即注册
查看: 6001|回复: 0

[流程系列] Node-Red中http请求怎么用

[复制链接]

19

主题

178

回帖

775

积分

高级会员

积分
775
金钱
578
HASS币
0
发表于 2019-10-14 17:09:04 | 显示全部楼层 |阅读模式
有没有HTTP请求方面的例子,  最近网上发现可以用http请求的方式控制CONTROL4里的设备的插件
试了一下的确可以, 但是不会用NODE-RED

  • Get the current level of dimmer light: http://CONTROLLER_IP:9000/?command=get&proxyID=25&variableID=1001
Result: {"1001":"75"} which means the dimmer light with proxyID 25 is currently at 75%

  • Update the current level of dimmer light: http://CONTROLLER_IP:9000/?command=set&proxyID=25&variableID=1001&newValue=100
Result: {"success":"true"}

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2025-5-3 00:32 , Processed in 0.280467 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表