Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change state from change node.. on node-red startup #12

Open
dezral opened this issue May 14, 2019 · 2 comments
Open

change state from change node.. on node-red startup #12

dezral opened this issue May 14, 2019 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested

Comments

@dezral
Copy link

dezral commented May 14, 2019

if i use 2 "change state" node, one for "homekit" and one from "value" but on the same "panel" the other on does not change.

like if i change one via homekit from off to on.. the on on "value" does not change with it and oppesit.

trying to make a default state with a node-red change node that injects current status if node-red crashes.

@macinspak
Copy link
Contributor

Hi, thanks for raising the issue. Can you please attach a bit more detail on exactly how you have configured it? And what you are experiencing? It's not 100% clear from that initial description. Are you able to maybe export the flows and attach to this issue? Then anyone who looks at it can simply load the flows and understand what is going wrong for you.

Thanks,
Andrew

@macinspak macinspak added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested labels May 14, 2019
@dezral
Copy link
Author

dezral commented May 15, 2019

here it is:

[{"id":"7c5a5d87.2ef32c","type":"homekit-service","z":"e55c426f.48f05","isParent":true,"bridge":"","parentService":"","name":"Sec","serviceName":"SecuritySystem","topic":"","filter":false,"manufacturer":"Default Manufacturer","model":"Default Model","serialNo":"Default Serial Number","characteristicProperties":"{\n \"SecuritySystemTargetState\": {\n \"validValues\": [1, 3]\n }\n}","x":470,"y":140,"wires":[["425d9431.9cbf6c"]]},{"id":"425d9431.9cbf6c","type":"AnamicoAlarmChangeState","z":"e55c426f.48f05","name":"","panel":"","format":"1","x":680,"y":140,"wires":[]},{"id":"dfc318c4.ad407","type":"AnamicoAlarmStateChanged","z":"e55c426f.48f05","name":"","panel":"","format":"1","sendInitialState":false,"x":280,"y":140,"wires":[["7c5a5d87.2ef32c"]]},{"id":"19887c5b.0facdc","type":"inject","z":"e55c426f.48f05","name":"AWAY_ARM HOMEKIT","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":300,"y":200,"wires":[["895dbaba.7c0c28"]]},{"id":"881a89ec.5d778","type":"AnamicoAlarmChangeState","z":"e55c426f.48f05","name":"","panel":"","format":"2","x":740,"y":360,"wires":[]},{"id":"745df68d.57855","type":"inject","z":"e55c426f.48f05","name":"DIsarm HOMEKIT","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":290,"y":240,"wires":[["ce7be2a0.30972"]]},{"id":"895dbaba.7c0c28","type":"change","z":"e55c426f.48f05","name":"1","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"SecuritySystemTargetState\":1,\"SecuritySystemCurrentState\":1}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":200,"wires":[["7c5a5d87.2ef32c"]]},{"id":"ce7be2a0.30972","type":"change","z":"e55c426f.48f05","name":"3","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"SecuritySystemTargetState\":3,\"SecuritySystemCurrentState\":3}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":610,"y":240,"wires":[["7c5a5d87.2ef32c"]]},{"id":"f0f5af27.a19b7","type":"inject","z":"e55c426f.48f05","name":"DIsarm set alarm from othernode","topic":"","payload":"3","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":330,"y":380,"wires":[["881a89ec.5d778"]]},{"id":"ccf0f258.8ec988","type":"inject","z":"e55c426f.48f05","name":"AWAY_ARM set alarm from othernode","topic":"","payload":"1","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":350,"y":340,"wires":[["881a89ec.5d778"]]}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants