Sounds like you are running the wallmote with batteries? You need to wake it up.
Change to Disable
Set Configuration Parameter
Wake Up Wallmote, manual says “Press and hold Action Button for 3 seconds and then release”
Watch OZW_Log.txt to see if parameter was set, or test it
Possibly “Press and hold Action Button for 3 seconds and then release” to disable wake up mode, or wait 10 minutes. It sounds like the action keeps it awake for 10 mins.
That seems to have done the trick, needed the hold action button piece for it to work.
Doesn’t appear to be keeping the device awake for 10 minutes though as according to the logs it is going straight back to sleep.
Any ideas how to increase the time?
You’d have to check the manual to see if it’s configurable. Usually you don’t want to keep it awake anyways. OpenZWave will also tell it to go back to sleep if there’s nothing to do.
Hi Philip, thanks for the codes. I am now trying out your code to integrate with my script in HA for the swipe action. To do this I have already switched to OpenZwave.
Since I want to use your python script to manage non-zwave lights I need to change the last line to call my script instead. Unfortunately I can’t find any good documentation as how to call the script service from python. I now got the following:
I can see that the python script is being executed but the script never gets called. Do you know how to call the script service (script.dimmer) from within python along with variables? Thank you!
index is not a string but an integer. So change it to:
if (index == 10) and event == 'valueChanged:
and you will be good to go.
And the slide function doesn’t generate any events in OZW as far as I know that’s why he is using a trigger to monitor the specific MQTT topic. His python script then fires off a Zwave event to control another Zwave device. You should adapt the last call routine to suit your needs:
to whatever you want to control. I used it to dim my Lifx bulbs for example.
Anyone know if on ZWave2JS if long press works?
Using that and single toggle presses in my automations for this and looking to make the switch away from OZW
Late reply here, I’m sure you already figured this out, but I just got one of these the other day and am using ZWaveJS. The long press and single press actions on each quadrant work just fine out of the box with ZWaveJS. You have to subscribe to the zwave_js_value_notification event in order to capture both single presses and long presses. In NodeRed the event is structured like below, the KeyPressed part will change depending on whether you single or long press. The options are KeyPressed, KeyHeldDown, and KeyReleased. The KeyReleased event is only fired after you release from a long press. The below event is for the 4th quadrant as indicated by a few of the event properties.
Thanks, I did make the swap a few weeks ago and used the blueprint available. Took all the work out of it.
I don’t use NodeRed, do everything in yaml or gui native to HA.
This will be helpful for someone though.
Tried to get the swipe working with zwavejs2mqtt but I couldn’t figure it out. Looking at zwave logs, I can’t see any of the data related to parameter #9 or #10.
I do see raw 16 byte hex strings from each key press. I can see the button number and press type (short vs long) encoded there, but nothing there which indicates anything related to swipe, or the raw data that I could scrape to make any kind of determination related to swipe events.
I’m able to get parameter 9 and 10 to show up and also they seem to update quite smoothly. The only issue is the values don’t seem to make any sense. Does anyone know how to make sense of these large numbers?
The massive jumps you see are when I use one side swipe vs using the other side’s swipe on the Duo
(this is with the Duo ZW129. But should be the same for the quad)
Where did you get these number.xxx entities? I have 3 wallmote quads and none of them exposes something like that to HA… Neither the sensor.xxx_scene_value. What Z-wave integration do you use?
If you don’t see it there at all, you need to hold the button on the back for 3 seconds or so to wake it up (something like that, look further up this thread for other uses telling you how to do it if my instructions here are slightly incorrect). Once the device is worked up, you then need to slide up and down a few times so that the param will register in HA. Once it’s registered you need to expose it as I showed above. Once you are at that state, then you can follow the original instructions I posted.
Well, I tried to follow, but somehow my configuration in Z-Wave JS looks different than yours. So indeed I started from having most of additional entities disabled:
In meantime I kept Wallmote awaken and tried to slide several times to get Param 10 showing up, but nothing was added to my configuration. No trials of Param 10 in neither Z-Wave JS or Z-Wave JS UI. I also tried sliding after enabling Button Slide Function and with awake mode disabled… Same result. The only number.xxx new entity that was created is number.wallmote_light_controller_low_battery_threshold