NodOn Z-Wave wallswitch

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

NodOn Z-Wave wallswitch

Post 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
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
Jerboer
Posts: 4
Joined: Wednesday 04 November 2015 9:29
Target OS: Linux
Domoticz version: source
Location: Netherlands
Contact:

Re: NodOn Z-Wave wallswitch

Post 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.
BananaPi, RaZBerry, Eneco Toon, Fibaro switches, Stella Z thermostat, NodOn remote
JuanUil
Posts: 497
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: NodOn Z-Wave wallswitch

Post by JuanUil »

Hi Jerboer,

Thnx for your reply. I followed your instructions and voila....it works!
again thank you verry much

Jan
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
gjdv
Posts: 3
Joined: Wednesday 25 November 2015 20:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: NodOn Z-Wave wallswitch

Post 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&param\
=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)
NodOn
Posts: 6
Joined: Thursday 07 January 2016 17:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: NodOn Z-Wave wallswitch

Post by NodOn »

Hi,
Does the solution works on a Pi ?

Thanks
gjdv
Posts: 3
Joined: Wednesday 25 November 2015 20:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: NodOn Z-Wave wallswitch

Post by gjdv »

NodOn wrote:Hi,
Does the solution works on a Pi ?

Thanks
Yes, I wrote and run my script on a Raspberry Pi
NodOn
Posts: 6
Joined: Thursday 07 January 2016 17:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: NodOn Z-Wave wallswitch

Post 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.
User avatar
gizmocuz
Posts: 2352
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: NodOn Z-Wave wallswitch

Post by gizmocuz »

Quality outlives Quantity!
Timmiej93
Posts: 64
Joined: Saturday 26 December 2015 0:37
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: NodOn Z-Wave wallswitch

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests