Page 1 of 1
NodOn Z-Wave wallswitch
Posted: Wednesday 16 September 2015 12:11
by JuanUil
Hi everybody,
Has anyone any experiences with this wallswitch?
https://www.momotica.nl/Domotica/zwave/ ... zender-Wit
If anybody has any scenes ready I would very much like to use them.
Thanks in advance
Juan
Re: NodOn Z-Wave wallswitch
Posted: Wednesday 04 November 2015 22:15
by Jerboer
Hi, I have a very similar one and just got it working now with Razberry as the controller.
It's this one:
http://www.robbshop.nl/nodon-soft-remote-z-wave-plus
Getting it working took a while, especially since I'm new to Domoticz, Zwave and home automation.
What I did that eventually made it work:
- include the switch in the network as per instruction manual
- this gave me "unknown device" in Domoticz, so I edited manufacturer_specific.xml to make the device known (used the definitions from another Nodon device that seemed similar)
- excluded & re-included so the new definitions got used
- under Hardware->Zwave, configured the Nodon to act as "Scene Activation" rather and "Central Scene" (press button on the Nodon to awaken it and let it receive its config)
- under Hardware->Zwave->Groups & Network, add the controler (node 1) to each of the groups for the Nodon switch. This somehow ensures that the signals are received as commands by the Razberry and handed to Domoticz as "remote control". Sync the config again by pressing a key on the Nodon
- Press each key on the Nodon once, which should Domoticz detect them as Devices
- Create a scene and add an Activation Device and press the button you need on the Nodon. It should now detect the button and activate the scene.
Hope it works for you as well
Regards,
J.
Re: NodOn Z-Wave wallswitch
Posted: Thursday 05 November 2015 12:33
by JuanUil
Hi Jerboer,
Thnx for your reply. I followed your instructions and voila....it works!
again thank you verry much
Jan
Re: NodOn Z-Wave wallswitch
Posted: Wednesday 25 November 2015 21:33
by gjdv
Thanks Jerboer for sharing your experience.
Using your method, I also got my NodOn wall switch working to activate a scene.
I, however wanted also to be able to deactive a group, which turned out to be more difficult than anticipated. I ended up writing a python script that does the trick, i.e., turn on a group if it is off, and otherwise turn it off. Let me post it such that others can also make use of it:
Save the following script on the pi (e.g., as /home/pi/myscripts/SwitchOnOffScene.py), and make it executable (using chmod +x):
Code: Select all
#!/usr/bin/python
import json
import urllib
import urllib2
DOMOTICZ_SERVER = 'http://DOMOTICZADDRESS:8080/' #adjust
SCENE_NAME = 'NAMEOFSCENE' #adjust
resp = urllib.urlopen(DOMOTICZ_SERVER + 'json.htm?type=scenes')
data = json.load(resp)
if data["status"]!="OK" :
print "error: could not retrieve scenes/groups" + str(data)
else :
found = False
for scene in data['result'] :
if scene['Name']==SCENE_NAME :
found = True
idx = scene['idx']
if scene['Status'] == 'Off' :
switchcmd = 'On'
else : # On or Mixed
switchcmd = 'Off'
req = urllib.urlopen(DOMOTICZ_SERVER + 'json.htm?type=command¶m\
=switchscene&idx=' + idx + '&switchcmd=' + switchcmd)
break
if found :
data = json.load(req)
if data["status"]!="OK" :
print "error: could not send request" + str(data)
else :
print "error: could not find the scene" + str(data)
In the above, make sure that you adjust the DOMOTICZ_SERVER and SCENE_NAME to your personal situation.
Now go to the switch device linked to a particular button, click 'edit' and set as "On Action" the following: script:///home/pi/myscripts/SwitchOnOffScene.py (reflecting the name and location you saved the script to)
Re: NodOn Z-Wave wallswitch
Posted: Thursday 14 January 2016 15:20
by NodOn
Hi,
Does the solution works on a Pi ?
Thanks
Re: NodOn Z-Wave wallswitch
Posted: Thursday 14 January 2016 17:18
by gjdv
NodOn wrote:Hi,
Does the solution works on a Pi ?
Thanks
Yes, I wrote and run my script on a Raspberry Pi
Re: NodOn Z-Wave wallswitch
Posted: Friday 15 January 2016 11:11
by NodOn
I am sorry. I am a newbi on DomoticZ and I have no idea how to add the script on the pi.
Some help would be appreciated.
Re: NodOn Z-Wave wallswitch
Posted: Tuesday 12 April 2016 19:28
by gizmocuz
Re: NodOn Z-Wave wallswitch
Posted: Saturday 21 May 2016 21:29
by Timmiej93
Jerboer, thank you so much for your detailed explanation. I just couldn't get my switch to work, but now it works, thanks to you. Thank you dude!