Am I correct with my assumption that the add-on currently only handles devices of type 20 and 25?
Would you consider adding the handling of type 21 devices (element.type = 21) in the function “registerDevice()”, by expanding the switch statement? From what I understand, the "WMS Actuator UP" (Type 21) is used quite a bit, so this might significantly improve the usefulness for this integration.
If I can be so bold, I would like to propose augmenting the code in “registerDevice()” with the following “case” to also support “WMS Actuator UP” devices. Please let me know if I can help in any way.
@surfbavaria thanks for reporting and suggesting a fix. It's been applied to master and a new version of the image has been release. Please update and let me know :)
Hello Giuseppe,
I took the liberty to look at the code in “bridge.js” to see what might be causing the following error messages:
Am I correct with my assumption that the add-on currently only handles devices of type 20 and 25?
Would you consider adding the handling of type 21 devices (element.type = 21) in the function “registerDevice()”, by expanding the switch statement? From what I understand, the "WMS Actuator UP" (Type 21) is used quite a bit, so this might significantly improve the usefulness for this integration.
From looking at the documentation for "warema-wms-venetian-blinds" type 21 devices should be supported: https://www.npmjs.com/package/warema-wms-venetian-blinds?activeTab=readme#supported-warema-wms-device-types
If I can be so bold, I would like to propose augmenting the code in “registerDevice()” with the following “case” to also support “WMS Actuator UP” devices. Please let me know if I can help in any way.
Greetings from Bavaria, Germany Surfdoggie