digitalstrom-homeassistant
digitalstrom-homeassistant copied to clipboard
SW-UMR200 not working
Hi there First, I want to say big thanks for the integration. It‘s working great!
I can control every component except my SW-UMR200 which I use to control my ventilation system. The component appears in the home assistant integration but it only shows sensors. There are no control elements to switch the two outputs on the components. Is there a way to integrate this or are there any problems with the integration?
I'm not familiar with ventilation in digitalSTROM but after looking at the documentation I think it's possible to add basic ventilation support to this integration. I would need your help or the help of someone who has a ventilation device to test things and send me logs.
Some notes for future me or someone who wants to try implementing this:
-
According to the docs it should be possible to get the supported speeds for a fan using
/json/device/getSupportedBasicScenes?dsuid=.... I hope the same data is available insupportedBasicScenesfrom getDevices so we don't have to call getSupportedBasicScenes for every device. -
It is still unclear how to detect if a device is a fan or not, that needs to be tested. Maybe if supportedBasicScenes is empty then the device is not a fan. It was empty for all devices I've seen.
-
The scene numbers to set different fan speeds are:
0: Off5: 25%17: 50%18: 75%19: 100%
I guess these scenes have to be called on the fan device to set its speed. A method to call device scenes already exists in
api/device.py. -
We also need to detect the current speed of a fan somehow so that it can be reported back to Home Assistant.