GithubHelp home page GithubHelp logo

Comments (8)

brandongoode avatar brandongoode commented on July 30, 2024

It should emit the same events for the scene commands. Is it possible for you to run your code with the environment variable DEBUG=home-controller* and provide the output when you trigger the scene?

from home-controller.

siburny avatar siburny commented on July 30, 2024

I can confirm this as well. Message that is sent from device (ack) is not recognized,

In my case on/off switch sends this:

command1:"11"
command2:"01"
extended:false
gatewayId:"aabbcc"
hopsLeft:0
id:"ffffff"
maxHops:1
messageType:3
raw:"0250ffffffaabbcc611101"
type:"50"

Notice messageType is 3, which is direct ACK (not broadcast). Fix is easy, will submit a PR.

from home-controller.

siburny avatar siburny commented on July 30, 2024

@brandongoode Your comment here https://github.com/automategreen/home-controller/blob/master/lib/Insteon/Light.js#L416 says "ack doesn't have group". Maybe they changed something, and group ack does have a group :)

from home-controller.

brandongoode avatar brandongoode commented on July 30, 2024

@siburny Good catch and thanks in advance for the PR. The comment is reference to standard direct message.

from home-controller.

brandongoode avatar brandongoode commented on July 30, 2024

You could us the handleAllLinkBroadcast for type 3. From the Insteon Dev Guide: 011 = ACK of ALL-Link Cleanup Message. I think it would be the same logic as type 2. [edited typo]

from home-controller.

siburny avatar siburny commented on July 30, 2024

Sounds good

from home-controller.

siburny avatar siburny commented on July 30, 2024

@jonn26 we just pushed a fix. Can you please test it on your setup?

from home-controller.

jonn26 avatar jonn26 commented on July 30, 2024

I can confirm I am now seeing light events on scene changes. @siburny & @brandongoode thanks for the quick fix!

from home-controller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.