在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:itsfrosty/control4-2way-web-driver开源软件地址:https://github.com/itsfrosty/control4-2way-web-driver开源编程语言:开源软件介绍:control4-2way-web-driverThis driver allows you to get and set the state of any control4 device by making an http request. The response is in JSON format. Use Case:I am using this (along with my homebridge-c4-plugin) to connect homekit to my control4. So I can say "Siri turn on Kitchen Lights" or "Siri is my garage door closed". You can use this with any other hub which supports making http requests. Examples:
Result: {"1001":"75"} which means the dimmer light with proxyID 25 is currently at 75%
Result: {"success":"true"}
Result: {"1132":"68","1130":"67","success":"true"} which means the thermostat is set to 68F and current temperature is 67F
Result: {"success":"true"}
Result: {"1005":"MAX_ON_LEVEL","1006":"MIN_ON_LEVEL","1003":"CLICK_RAMP_RATE_DOWN","1007":"START_ON_LEVEL","1000":"LIGHT_STATE","1004":"PRESET_LEVEL","1008":"START_ON_TIME_MS","1001":"LIGHT_LEVEL","1002":"CLICK_RAMP_RATE_UP","success":"true"} How to use:Sorry this is not currently easy to use :(. You will have to find the variableID and proxyID for each device you want to connect. I hope in future we can make it use device names and variable names instead of IDs.
Warning:This is completely unencrypted and unsecure. Anybody with access to your wifi will be able to control any of your control4 connected devices. So don't open it to internet and also make sure you have a secured wifi. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论