Open olast opened 3 years ago
Which Namron switch is this? On the wall panels, I use the "When... A scene has been activated" and Group 2 is top row, on is left and off is right to react to button pushes in flows.
Build in switch, Namron Z-Wave Switch 400W actuator. https://www.elektroimportoren.no/namron-z-wave-switch-400w/4512715/Product.html Using plain impuls switch (Elko) to change states, which the Homey/driver does not notice.
If you look at the dimmers, e.g. 3wire dimmer, they have the registerReportListener
-> https://github.com/fiLLLip/namron-homey/blob/master/drivers/ZW_Dimmer_3wire/device.js#L28
Which frames do you see on the ZWave monitoring? Maybe you could try a direct copy paste like:
this.registerReportListener('BASIC', 'BASIC_REPORT', (report) => {
if (report && report.hasOwnProperty('Current Value')) {
if (this.hasCapability('onoff')) this.setCapabilityValue('onoff', report['Current Value'] > 0);
}
});
Thanks! Works! But now I cant control the switch by the app. I'll take a look, thank you for pointing me in the right direction.
I know Namron "has taken over". But since "taken over" in this case means nothing, I'll give it a try: I have added a Namron wall switch (z-wave). Homey does not detect state changes when using impulse switch to change state.
When looking at raw messages, it seems like the switch is sending state to homey, but the driver does nothing.
Is there one code line I could add by myself and cli install the package?
v5!