Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

homebridge-openzwave compatability


MikeHCam

Question

Hi

 

I am trying to get a Roller Shutter 3 to work with homebridge, and in particular homebridge-openzwave, running on a Raspberry Pi and communicating using an Aeotec Gen 5 USB stick.

 

I am close, but not there yet.

 

If I send commands to the RS3 by calling openzwave directly from Node, it appears to work.

 

When I 'deploy' the blind, the openzwave log file records the command :

 

2020-07-04 19:04:55.213 Info, Node004, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Level - 0 - 1 - 99

 

and the RS2 closes the first relay and opens it again a second or so later.

 

When I 'retract' the blind, the openzwave log file records the command :

 

2020-07-04 19:04:55.213 Info, Node004, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Level - 0 - 1 - 0

 

and the RS2 closes the second relay and opens it again a second or so later.

 

That all seems good and has inspired me to continue banging my head against this brick wall!

 

But when I try to deploy the blind using the homebridge UI, the homebridge-openzwave plug-in sends a different command:

 

2020-07-07 12:33:49.190 Info, Node004, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Level - 0 - 3 - 255

 

and the roller shutter appears to ignore it.

 

And then homebridge-openzwave sends another command shortly afterwards:

 

2020-07-07 12:33:49.511 Info, Node004, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Level - 0 - 3 - 99

 

That looks like the correct value, but still the roller shutter ignores it (3 versus 1?).

 

I am hoping that someone who understands more can tell me if, as I suspect, homebridge-openzwave is sending the wrong commands.

 

Or should the commands work and there is a different issue?

 

I am not sure if it is relevant, but the RS3 is straight out of the box. It has not, for example, been calibrated.

 

All help gratefully received.

 

Thanks

 

Mike

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

can you write more what you sending?

2020-07-04 19:04:55.213 Info, Node004, Value::Set - COMMAND_CLASS_SWITCH_MULTILEVEL - Level - 0 - 1 - 99

99 look like value (RS support from 0-99)

but what mean 0 and 1 in your log? which version command class you use?

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Hi

     

    Thanks for responding.

     

    Are you familiar with the openzwave software? I am learning as I go. The lines are from the two openzwave log files: 

     

       working (Node javascript code calling the openzwave library) 

    Please login or register to see this attachment.

     

    and

       not_working (the homebridge-openzwave homebridge plug-in calling the openzwave library). 

    Please login or register to see this attachment.

     

    I have found the line in the openzwave source code that prints this entry out:

     

       Log::Write(LogLevel_Info, m_id.GetNodeId(), "Value::Set - %s - %s - %d - %d - %s", cc->GetCommandClassName().c_str(), this->GetLabel().c_str(), m_id.GetIn\
    dex(), m_id.GetInstance(), this->GetAsString().c_str());

     

    So it appears to be:

     

       Node id: Node004 = wave node 4

       CommandClass:  COMMAND_CLASS_SWITCH_MULTILEVEL 

       Label: Level

       Node index: 0

       Node instance: 1

       New value: 99

     

    Does that make sense to you?

     

    The log files include the line:

     

       CCVersion: 1

     

    so I presume they are command class version 1.

     

    I will continue to dig deeper...

     

    Thanks

     

    Mike

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...