Heatit Z-Push Button 8 Switch > Sending commands to actors using item or rules

Hi all,

my first post, but I’m really struggeling with the obove mentioned push button.
Documentation: https://www.openhab.org/addons/bindings/zwave/thing.html?manufacturer=sunricher&file=heatit_0_0.html

I’m trying to recieve the button commands and send them to a specific actor (e.g. roller shutter).
The thing was added by PaperUI and is shown as online. As all of my Z-Wave components.
I tried to add the items by using the channels provided at PaperUI but I cannot see any commands when using Visual Studio Code or when looking at the event.log (other items will be recorded when changing status).

Channels are looking like:

If I look at the Visual Studio (hover) / Items:
Number button2 "button 2" {channel="zwave:device:xxxx:node14:basic_switch_binary1"}

The only answer I can see is “NULL”.

I also tried to use the Dimmer or Scene Number channels without sucess.
Even the Battery Level does not show up.

I have searched for a solution (internet and open hab community) but the hint I need to have is missing.

Thank you for reviewing this and for all feedback
J

  • Platform information:
    • Hardware: Synology NAS
    • OS: what OS is used and which version
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version: 2.5.2

But the channel type shown in your screenshot for that channel is Switch.
You need to link that to a Switch type Item

Thank you rossko57, I’ve changed this item to “Switch”

Switch button2 "button 2" {channel="zwave:device:xxxx:node14:basic_switch_binary1"}

But still no change of the state:
12345

Folks, it’s working now. I’ve factory reseted the button and included it again.
Afterwards I’ve defined a new item:

Number nButton "Button" {channel="zwave:device:xxxxx:node15:scene_number"}

And I now recieve the state 1.0 when pushing the first button, 2.0 when pushing the second button, …

In addition to this, I created a new rule:

rule "button" 

    when

    Item nButton changed

    then

    

        if(nButton.state==1.0)              sendCommand(rollo, 0)  

        if(nButton.state==2.0)              sendCommand(rollo, 100)

        ...

    end
1 Like