Skip to content
Jordy van den Aardweg edited this page Jan 4, 2023 · 8 revisions

Homebridge configuration

To integrate with Apple HomeKit use this Homebridge Itho Daalderop plugin or handle it yourself with one of the following options:

  1. MQTT based speed control
  2. HTTP Switch based control limited to on/off

1. MQTT based speed control

Pre-requisites

  • Homebridge configured
  • MQTT server running (either on Homebridge or elsewhere)
  • Homebridge MQTT-Thing plug-in NPM package

Configuration

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)']"
        }
}

2. HTTP Switch based on/off control

Pre-requisites

  • Homebridge configured
  • Homebridge HTTP Switch plug-in NPM package

Configuration

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"
}

Discussion (Dutch)

See https://gathering.tweakers.net/forum/list_message/66023320#66023320