-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Piface binding #473
Comments
From [email protected] on September 24, 2013 13:18:08 Besides from having something that could values in the range 0 to 100, I completely forgot about the temperature part of DHT22. So a string would be nice.... |
From [email protected] on September 24, 2013 19:09:26 I would suggest doing the DHT22 monitoring in a separate script (calling the software you mentioned) and use the openHAB REST API for sending data back. No need to complicate the PiFace binding for this I don't think. The watch dog idea is a good one however, it has been on my TODO list for a while. I will hopefully get a chance to implement this soon. |
From [email protected] on September 24, 2013 22:57:50 Using the OpenHAB REST API for more complex data sounds like a great idea. I also like to keep stuff uncomplicated ;-) Doing the watchdog would be fine. /Martin |
From [email protected] on September 25, 2013 16:00:21 Watchdog has been implemented and pushed to my fork ( https://github.com/sumnerboy12/openhab/commit/3b3e9fafc266436f8c818d64f4549bddf459bea9 ). |
From teichsta on November 05, 2013 14:53:56 Labels: To-Github |
watchdog implementation has been merged with PR #13 |
From [email protected] on September 24, 2013 09:51:49
My request might point in direction of a generic communication binding rather than making changes to the Piface binding. Let me know what you think.
I have been looking at Ben's excelent Piface binding, and came to the conclusion that it could do what I need for 95%. My usage is a Raspberry Pi without a Piface board. On my Raspberry I am using Pi4j to monitor pin 0.
Since it is the state of a smokedetector I need some sort of watchdog mechanism on the connection.
I have also ordered a DHT22 humidity sensor. It is not a Dallas 1-Wire sensor, so it needs its own pin and its own software. There are some samples on how to read out the sensor. For transmitting data from my Raspberry to OpenHAB I there need something more flexible than a byte. I need something that will fit values between 0 and 100.
I don't know if you think this points in a completely wrong direction of the Piface binding. I can argue for both that it does and also that it doesn't.
Please let me know if the above is possible to do in the piface binding or I have to start another binding?
/Martin
Original issue: http://code.google.com/p/openhab/issues/detail?id=473
The text was updated successfully, but these errors were encountered: