ITHO Daalderop FAN RF remote with C1101 and ESP8266

Hello,

I installed the newlib install on the ESP. Connected it to the Wifi and setup everything as requested in the manual:

I then have the logger enabled and the Debug status, this is what I see.

Blockquote
2118333: WiFi : Set TX power to 1dBm sensitivity: -69dBm RSSI: -50dBm
2118486: WiFi : Set TX power to 3dBm sensitivity: -69dBm RSSI: -52dBm
2118515: WiFi : Set TX power to 7dBm sensitivity: -69dBm RSSI: -56dBm
2118647: UPDATE by PLUGIN_READ
2118647: State: 1.00
2118647: Timer: 0.00
2118648: LastIDindex: 0.00
2118742: WiFi : Set TX power to 5dBm sensitivity: -69dBm RSSI: -54dBm
2118845: WiFi : Set TX power to 4dBm sensitivity: -69dBm RSSI: -53dBm
2119141: WiFi : Set TX power to 3dBm sensitivity: -69dBm RSSI: -52dBm
2119145: WiFi : Set TX power to 4dBm sensitivity: -69dBm RSSI: -53dBm
2119184: WiFi : Set TX power to 2dBm sensitivity: -69dBm RSSI: -51dBm
2119256: WiFi : Set TX power to 1dBm sensitivity: -69dBm RSSI: -50dBm
2119356: WiFi : Set TX power to 0dBm sensitivity: -69dBm RSSI: -48dBm
2119770: WiFi : Set TX power to 3dBm sensitivity: -69dBm RSSI: -52dBm
2119869: WiFi : Set TX power to 1dBm sensitivity: -69dBm RSSI: -50dBm
2120074: WiFi : Set TX power to 2dBm sensitivity: -69dBm RSSI: -51dBm
2120177: WiFi : Set TX power to 3dBm sensitivity: -69dBm RSSI: -52dBm
2120279: WiFi : Set TX power to 2dBm sensitivity: -69dBm RSSI: -51dBm
2120385: WiFi : Set TX power to 3dBm sensitivity: -69dBm RSSI: -52dBm
2120389: WiFi : Set TX power to 5dBm sensitivity: -69dBm RSSI: -54dBm
2120391: WiFi : Set TX power to 4dBm sensitivity: -69dBm RSSI: -53dBm
2120428: WiFi : Set TX power to 6dBm sensitivity: -69dBm RSSI: -55dBm
2120430: WiFi : Set TX power to 5dBm sensitivity: -69dBm RSSI: -54dBm
2120483: WiFi : Set TX power to 4dBm sensitivity: -69dBm RSSI: -53dBm
2120690: WiFi : Set TX power to 3dBm sensitivity: -69dBm RSSI: -52dBm
2120790: WiFi : Set TX power to 1dBm sensitivity: -69dBm RSSI: -50dBm
2120893: WiFi : Set TX power to 0dBm sensitivity: -69dBm RSSI: -48dBm
2121801: WiFi : Set TX power to 1dBm sensitivity: -69dBm RSSI: -50dBm
2121814: WiFi : Set TX power to 0dBm sensitivity: -69dBm RSSI: -48dBm
2123885: WiFi : Set TX power to 1dBm sensitivity: -69dBm RSSI: -50dBm
2123891: WiFi : Set TX power to 2dBm sensitivity: -69dBm RSSI: -51dBm
2123965: WiFi : Set TX power to 1dBm sensitivity: -69dBm RSSI: -50dBm
2124067: WiFi : Set TX power to 0dBm sensitivity: -69dBm RSSI: -48dBm
2125175: WD : Uptime 34 ConnectFailures 0 FreeMem 18448 WiFiStatus WL_CONNECTED ESPeasy internal wifi status: Conn. IP Init
2125403: WiFi : Set TX power to 2dBm sensitivity: -69dBm RSSI: -51dBm
2125407: WiFi : Set TX power to 3dBm sensitivity: -69dBm RSSI: -52dBm
2125409: WiFi : Set TX power to 2dBm sensitivity: -69dBm RSSI: -51dBm
2125481: LoopStats: shortestLoop: 2768 longestLoop: 1942187 avgLoopDuration: 3872.84 loopCounterMax: 10838 loopCounterLast: 7734
2125481: Scheduler stats: (called/tasks/max_length/idle%) 7734/1830/7/76.41
2125501: WiFi : Set TX power to 1dBm sensitivity: -69dBm RSSI: -50dBm
2125603: WiFi : Set TX power to 0dBm sensitivity: -69dBm RSSI: -48dBm

Whatever I try no ID of the remote is passing by,. Tested for 15 minutes now, see loads of above, but that’s it, no ID of the remote. What is the the ConnectFailures I see in the log?

Is there something I overlook?
I hope I described everything correctly so someone can understand my question. Thanks!

I have the CVE-S S Optima Inside with CO2 and humidity sensor.

With the remote i can select the “auto” stand.
Only then the sensors are working.

Is there a possibilty that i can select the auto stand in HA?
I don’t have the ESP stuff for now but want to buy if this is workable.

@jodur I have been using your " ESPEASY_Plugin_ITHO" implementation for some time now and a happy user. I want to move to ESPHOME as HASSIO user.
In the past I had paired the ESPEASY-remote as per the written procedure with the ITHO.
Is there a way to avoid to redo the pairing process and to retrieve the necessary data (ID info) from the running ESPEASY-remote and move that into the yaml of the ESPHome remote. (If I look at your yaml you seem to be using fixed ID’s for the remotes in the bathroom and toilet?)

Best regards, Ton

Can someone point me to some stable esphome code for controlling the ITHO fan with a cc1101 and ESP8266. I’m now using the code from Jodur but this seems not very stable. I wanted to use the code from scriptman (github) but if I try to compile this code I get error codes. So if someone no a stable ESPHOME code for this please let me know.

If anyone is interested, these Itho devices communicate using an RF protocol called RAMSES II - this custom_component has partial support (i.e. sensors) for Itho ventilators, sensors and controllers.

You need a dongle running this firmware (about £20-30).

image

image

At the moment, only sensor entities are created - but HVAC entities would be possible, if there was sufficient demand.

Does this mean, that with this we can read outputs via the rf and also control our fans? @zxdavb

At the moment you’ll have the sensors and their attributes - the above is from a battery-powered humidity sensor.

I am seeking interest before I go further - you could control your fans, definitely. You could create the HVAC/FAN entities.

I need some people to help dev/test.

I can test, not dev.
Let me know!

Well, the first step is to obtain a dongle - Home (onlineweb.shop), or you can get ghoti57/evofw3 working with the hardware you have?

Or you can simply run zxdavb/evohome_cc on the hardware/firmware you got - YMMV

Basically, as soon as someone with Itho kit is running evohome_cc, then I’m happy to add all these features.

This is an example of what evohome_cc can capture via ramses_rf:

2021-10-08 09:55:10 INFO (MainThread) [ramses_rf.message] || 32:168090         | 30:082155         |  I | ext_ventilation  |      || {'active': True, '_unknown_0': '0000', '_unknown_2': '00'}

2021-10-08 09:55:14 INFO (MainThread) [ramses_rf.message] || 32:206250         | 30:082155         |  I | switch_speed     |      || {'fan_mode': 'low', 'step_idx': 2, 'step_max': 10}
2021-10-08 09:55:14 INFO (MainThread) [ramses_rf.message] || 30:082155         |                   |  I | vent_31da        | (21) || {'air_quality': None, 'air_quality_base': 0, 'co2_level': None, 'indoor_humidity': 0.69, 'outdoor_humidity': None, 'exhaust_temperature': None, 'supply_temperature': None, 'indoor_temperature': None, 'outdoor_temperature': None, 'speed_cap': 2, 'bypass_pos': None, 'fan_info': 'auto', 'exhaust_fan_speed': None, 'supply_fan_speed': None, 'remaining_time': 0, 'post_heat': 0.0, 'pre_heat': None, 'supply_flow': None, 'exhaust_flow': None}

Here, 32:206250 is a 4-way switch, and 30:082155 is a positive input ventilator.

@zxdavb i have an itho fan and i run your project also for my evohome almost a year.

Right now they are sold out, but I do have an cc1101 868 with esp8266 connected


Can that work?

Also have this

Great! I didn’t think to ask existing users!

Rather than hijack this thread, let’s move discussions to the evohome_cc thread.

The first step would be for you to send me a very recent packet log, and info about your Itho kit. Would you expect it to be implemented as a Fan, or Climate entity, or both?

From evohome_cc’s point of view - you specify a serial port. Just try it and see.

As to if you can load evofw3 on it, you’ll have to ask at GitHub - ghoti57/evofw3: Major overhaul of evofw2 Evohome listening software to use asynchronous radio mode, I’m afraid.

Did you manage to solve this error? I’ve exactly the same error when using the new updated code.

Nope sorry, i cant get my head around it. If you solved please update here! :hugs:

I got it working again. My pacakages/itho.yaml:

fan:
 - platform: mqtt
   name: Badkamer Ventilatie
   command_topic: "ITHO/Fan/cmd"
   state_topic : "ITHO/Fan/State"
   state_value_template: "{% if value|float==0 %}State 0{% endif %}{% if value|float >0 %}State 1{% endif %}"
   payload_on: "State 1"
   payload_off: "State 0"
   optimistic: true
   preset_modes:
    - "off"     
    - "low"
    - "medium"
    - "high"
    - "full"
   preset_mode_command_topic: "ITHO/Fan/cmd"
   preset_mode_command_template: >
     {% if value == 'low' %}
     State 1
     {% elif value == 'medium' %}
     State 2
     {% elif value == 'high' %}
     State 3
     {% elif value == 'full' %}
     State 4
     {% else %}
     State 0
     {% endif %}
   preset_mode_state_topic: "ITHO/Fan/State"
   preset_mode_value_template: >
     {% if value_json.fan == low %}
     State 1
     {% elif value_json.fan == medium %}
     State 2
     {% elif value_json.fan == high %}
     State 3
     {% elif value_json.fan == full %}
     State 4
     {% else %}
     State 0
     {% endif %}
sensor:
 - platform: mqtt
   name: Badkamer Fan Tijd
   state_topic: "ITHO/Fan/Timer"
   value_template: "{{value}}"
   unit_of_measurement: 's'
 - platform: mqtt
   name : Badkamer Fan Snelheid
   state_topic: "ITHO/Fan/State"
   value_template: >
     {% if value|float==0 %}Standby{% endif %}
     {% if value|float==1 %}Laag{% endif %}
     {% if value|float==2 %}Medium{% endif %}
     {% if value|float==3 %}Hoog{% endif %}
     {% if value|float==4 %}Full{% endif %}
     {% if value|float>=11 %}Hoog(T){% endif %}

group:
 Ventilator:
   entities:
     - fan.badkamer_ventilatie
     - sensor.badkamer_fan_snelheid
     - sensor.badkamer_fan_tijd
3 Likes

Wow, did not see this.
Thanks! at least no errors for now, time to check where the fan controls have gone.

1 Like

Hello guys, currently running a NodeMcu V3 with a CC11010 module connected to it, running the code of @jodur with ESPHome. Works like a charm together with my CVE-S OPTIMA with external CO2 sensor.

But now I have installed a second Itho box for upstairs, off course I want to be able to control it the same way as the first box. So, I soldered a second ESP together with the same code in ESPhome. But the issue I’m having now is that both the boxes react to commands of both ESP’s. I think it is because the code is the same and therefore also the device ID for communicating with boxes.
So my question is, is it possible to make each device unique? If yes, what do I need to change in the code?

Hi all,

First of all thank you to everyone that helped making this possible.

I used to run everything via domoticz, but now I switched to home assistant.
Using the latest packages/itho.yaml script here I got the current status of my Itho showing correctly on my dashboard.

In domoticz I used a virtual switch to control the Itho by sending http commands (state,2 / state,3 etc).

I followed the documentation of the (renewed) Google docs sheet.
But failed to find how to send commands from HA to the Itho.

Can someone please tell me how to do this in HA?
Thanks in advance.