ray
New Member
Posts: 4
|
Post by ray on Jan 12, 2016 16:18:38 GMT
Hi all, I have a question regarding the RFM node code based on CompuTourist Gateway/Node code. Quick back ground: I have OpenHAB running on a RPi with mosquitto; I am running v2.2 of Computourist's Gateway with multiple DHT nodes (v2.1) sending temp/humidity. I have a node in the garage (based on DHT node v2.1) with two relays to control my garage doors, along with two contact switches to report on the garage doors being open/closed.
My next step is I want to use a contact switch on a door and have the node send a message immediately when the door opens. Has anyone altered/modified CompuTourist's node code to do this? Or is there another way? I have hunted around for the answer but have not found anything yet. So I figured I would ask the question before making the change, I didn't want to reinvent the wheel.
Thank you!
|
|
|
Post by computourist on Jan 12, 2016 16:57:40 GMT
Hi Ray, have a look at my DIG end node. It has a button/switch and sends a message on every state change. It should work with gateway 2.2.
|
|
ray
New Member
Posts: 4
|
Post by ray on Jan 12, 2016 17:30:47 GMT
CompuTourist, thanks for pointing that out, I'll give it a try
|
|
ray
New Member
Posts: 4
|
Post by ray on Jan 13, 2016 14:40:08 GMT
Thank you for the help, that was exactly what I was looking for. I'll be updating this thread and creating another one for a new question.
|
|