-
Notifications
You must be signed in to change notification settings - Fork 32
HomeBridge
Jordy van den Aardweg edited this page Jan 4, 2023
·
8 revisions
To integrate with Apple HomeKit use this Homebridge Itho Daalderop plugin or handle it yourself with one of the following options:
- MQTT based speed control
- HTTP Switch based control limited to on/off
- Homebridge configured
- MQTT server running (either on Homebridge or elsewhere)
- Homebridge MQTT-Thing plug-in NPM package
Example configuration for CVE units and HRU200 only.
{
"type": "fan",
"name": "Itho fan",
"logMqtt": true,
"accessory": "mqttthing",
"topics": {
"getOn": "itho/state",
"setRotationSpeed": {
"topic": "itho/cmd",
"apply": "return (Math.round(message*2.54))"
},
"getRotationSpeed": {
"topic": "itho/state",
"apply": "return (Math.round(message/2.54))"
}
},
"onValue": "20",
"offValue": "0"
},
{
"type": "airQualitySensor",
"name": "Central Air Quality Sensor",
"accessory": "mqttthing",
"topics": {
"getAirQuality": {
"topic": "itho/ithostatus",
"apply": "let ppm = JSON.parse(message)['CO2level (ppm)']; if(ppm < 350) return 'EXCELLENT'; if(ppm < 1000) return 'GOOD'; if(ppm < 2500) return 'FAIR'; if (ppm < 5000) return 'INFERIOR'; return 'POOR';"
},
"getCurrentRelativeHumidity": {
"topic": "itho/ithostatus",
"apply": "return JSON.parse(message).hum"
},
"getCurrentTemperature": {
"topic": "itho/ithostatus",
"apply": "return JSON.parse(message).temp"
},
"getCarbonDioxideLevel": {
"topic": "itho/ithostatus",
"apply": "return JSON.parse(message)['CO2level (ppm)']"
}
}
- Homebridge configured
- Homebridge HTTP Switch plug-in NPM package
Example configuration for CVE units only. Replace 192.168.x.x with the IP-address of the add-on. This allows switching between high and medium mode only.
{
"accessory": "HTTP-SWITCH",
"name": "Meta Itho Ventilatie",
"switchType": "stateful",
"pullInterval": "20000",
"onUrl": "http://192.168.x.xxx/api.html?command=high",
"offUrl": "http://192.168.x.xxx/api.html?command=medium",
"statusUrl": "http://192.168.x.xxx/api.html?get=currentspeed",
"statusPattern": "220"
}
See https://gathering.tweakers.net/forum/list_message/66023320#66023320