Implementation using Homie framework #82
Replies: 4 comments
-
Hi @jimtng - thanks for the post, I'll add a link to the README. Also an obviously better way to reset the open zones and alarm zones! Out of curiosity, are you using this with OpenHAB or other software? |
Beta Was this translation helpful? Give feedback.
-
I use OpenHAB, yes. I had fun writing a countdown rule to activate my alarm. It goes like this: "Hey Google, Initiate Self Destruct Sequence" (to activate the alarm). It would then say "Self Destruct sequence has been initiated. 2 Minute countdown" This is achieved using a timer in an openhab rule and then the item is exposed to Google Home. Regarding the way to reset, I was wondering about resetting the Zones inside the loop the same way (i.e. var[zone] = 0, thus setting all the bits for that zonegroup to 0 in one step) , but I'm not 100% sure whether bits could be set by an interrupt while I'm inside my loop, hence I'm leaving it as bitWrite. |
Beta Was this translation helpful? Give feedback.
-
This shouldn't happen, the interrupts capture the Keybus data but all of the status processing happens in
That's great to see about OpenHAB, Google integration has been on the list for a while. Awesome countdown! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the heads up. I have updated my code with the latest changes you've made in the library. It will be committed to github after I've done some tests. As for OpenHAB, it could probably use the HomeAssistant example, but I prefer my own implementation |
Beta Was this translation helpful? Give feedback.
-
Hi, I created an implementation using the Homie framework. Published here:
https://github.com/jimtng/dscalarm-mqtt
Beta Was this translation helpful? Give feedback.
All reactions