fiLLLip / namron-homey

Athom Homey app repository to add support for Namron Z-wave devices
GNU General Public License v3.0
8 stars 7 forks source link

Support for Z-Wave Switch 400W #10

Closed asoldal closed 4 years ago

asoldal commented 4 years ago

Hi.

Is it possible to add support for the Namron Z-Wave Switch 400W (as shown in link below) to the Namron app?

https://www.elektroimportoren.no/namron-z-wave-switch-400w/4512715/Product.html?Event=livesearch

Please find attached information regarding product ID, etc. Screenshot_20200217_151045_app homey Screenshot_20200217_151052_app homey

Thank you very much!

fiLLLip commented 4 years ago

Should be doable!

asoldal commented 4 years ago

Anything I can do to contribute to the process with this?

aasmundbo commented 4 years ago

@asoldal : I have blindly added code for the wall switch, but I must refer to @fiLLLip to make a test version for you to try out.

Alternatively, you can run the app locally by checking out this branch and use homey app run.

fiLLLip commented 4 years ago

@aasmundbo pull request is now live at https://homey.app/no-no/app/net.filllip-namron/Namron/test/ @asoldal feel free to test!

asoldal commented 4 years ago

Thank you so far! I will however not be home and able to test before in a couple of weeks from now.

aasmundbo commented 4 years ago

No problem, the PR (and test version of the app) will wait for you unless someone else appears and can test it out and pass it earlier 😄

asoldal commented 4 years ago

Finally had the chance to test this today. The in-wall switch is added nicely by new app version (1.3.7) and status of switch can be seen changing in Homey as I use the old physical push switch on the wall. However, the in-wall switch/relay does not react when I try to turn on/off in Homey app.

(It is exactly the same experience when using Easyhome app. With Robbsmart app the switch is not recognized.)

Any ideas? @fiLLLip @aasmundbo

fiLLLip commented 4 years ago

I did some explorations and compared the socket switch and the in-wall one. Removed some code and published it to https://homey.app/no-no/app/net.filllip-namron/Namron/test/ Can you test?

asoldal commented 4 years ago

Tested and is working fine. Thanks!