zxdavb / ramses_cc

HA integration for CH/DHW and HVAC systems that use the RAMSES II RF protocol
GNU General Public License v3.0
68 stars 16 forks source link

[Question] What class to use for dual purpose device? #186

Open Mushoz opened 1 month ago

Mushoz commented 1 month ago

I am using ramses_cc to control my mechanical ventilation based on the Orcon MVS-15RH. My setup is using the following device to communicate CO2 readings to the ventilator, but at the same time it can be used as a remote to change the fan speed:

https://orcon.nl/product/co2-bedieningssensor-15rf/

How do I enter this device into the configuration of ramses_CC? I can use the CO2 class to get CO2 readings, and I can use the REM close to treat it as a remote. But how can I unlock both functionality?

zxdavb commented 1 month ago

There is currently no support for this scenario - there should be.

In addition, this switch is not stateless (it will call for a boost if the CO2 level rises enough).

At this stage, the best solution might be - given that switches are (implemented as) stateless - is to set up the 15RF as a CO2 sensor, and implement a fully-faked switch (a fully virtual switch).

I just don't know if you HVAC unit could support two switches? I suspect it does.

Documentation for implementing these switches is a bit scanty, but here is a start: https://github.com/zxdavb/ramses_cc/wiki/5.2-Faking-Remotes-(switches)

Kars-de-Jong commented 1 month ago

Creating a completely faked remote should work, I have done that before I got a real physical remote. That's with a HRU-unit, but I'm pretty sure the MVS-15RH supports binding more than one device.