Comments (8)
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.
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.
@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.
@siburny Good catch and thanks in advance for the PR. The comment is reference to standard direct message.
from home-controller.
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.
Sounds good
from home-controller.
@jonn26 we just pushed a fix. Can you please test it on your setup?
from home-controller.
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)
- Scene dim/brighten commands are switched HOT 3
- How can i set a scenes schedule (onTime/offTime)? HOT 1
- Correct status object not returned by directCommand() HOT 6
- powerlinc-modem connect uand usage HOT 2
- Question HOT 2
- HubPro PLM Connection HOT 7
- Lighting Event Emitter question HOT 9
- Linked device events HOT 8
- Listening for pairing button on a controllable outlet
- Dual-Outlet Control? HOT 14
- 'Insufficient data to continue' with 2242 Hub HOT 7
- Wonderful implementation ... of course could be better
- Listening for events
- Add "beep" function HOT 1
- PLM NAKs not respected HOT 4
- Confused about link() HOT 3
- Factory Reset / Delete All Links command HOT 8
- Cannot link devices with ID that begins with a zero HOT 2
- Publish 0.9 To NPM HOT 3
- Light level response inconsistent HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-controller.