在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:sclavel/homebridge-modbus开源软件地址:https://github.com/sclavel/homebridge-modbus开源编程语言:JavaScript 100.0%开源软件介绍:homebridge-modbusHombridge plugin for controlling appliances through ModbusTCP You must define each accessory in the config.json file, with a If you want more advanced control, the characteristic value can instead be an object having Example config.json: {
"platforms": [
{
"platform": "Modbus",
"ip": "192.168.1.201",
"port": 502,
"pollFrequency": 1000,
"accessories": [
{
"name": "Bedroom ventilation",
"type": "Fan",
"On": "r1"
},
{
"name": "Bedroom light",
"type": "Switch",
"On": "c1"
},
{
"name": "Bedroom",
"type": "Thermostat",
"TargetTemperature": "r2",
"CurrentTemperature": "i1",
"CurrentHeatingCoolingState": {
"address": "r3",
"readonly": true,
"mask": "2",
"map": {"0": 0, "2": 1},
"validValues": [0, 1]
},
"TargetHeatingCoolingState": {"value": 1, "validValues": [1]}
},
{
"name": "Water Heater",
"type": "TemperatureSensor",
"subtype": "from boiler",
"CurrentTemperature": "i2"
},
{
"name": "Water Heater",
"type": "TemperatureSensor",
"subtype": "to boiler",
"CurrentTemperature": "i3"
}
]
}
]
} |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论