Hello,
I’ve just jumped into the world of home automation. I’m full of ideas of things that I want to know about the house when I’m not home.
At the moment I am trying to integrate alarm status from my old alarm system into HA. My alarm has 2 different functions: Fully armed, and partially armed. When the system is fully armed a LED lights up permanently on the system. When partially armed this same LED will flash. So there is 2 different signals that I want to read.
I am using an raspberry pi at the moment and already use GPIO pins for other sensors on this pi. Does anybody have any tips on how I could integrate these signals using raspberry pi GPIO?
I can connect this signal to 2 GPIO pins and set them up as binary sensors. But how would I see the difference in HA. Im not good at coding but I think its not possible without some coding inside HA.
What I esssentialy need is when the LED is flashing (1-0-1-0-1-0-1) I want to see the status Partially armed and when the LED is constantly on I want to see Fully armed.
Anyone with some knowledge that could help?
Thanks!