jchassin / homebridge-owfs

Home bridge plugin interfaced to OWFS (1-wire)
MIT License
5 stars 3 forks source link

Support for Temperature and Humidity Sensor... #3

Closed ctschach closed 3 years ago

ctschach commented 6 years ago

I have a combined sensor which delivers both, temperature and humidity. It would be great if home bridge-owfs could identify this and also add the humidity as a device.

Here is my output of powder:

root@knx:/home# owdir /uncached/26.935D27010000 /uncached/26.935D27010000/B1-R1-A /uncached/26.935D27010000/CA /uncached/26.935D27010000/EE /uncached/26.935D27010000/HIH3600 /uncached/26.935D27010000/HIH4000 /uncached/26.935D27010000/HTM1735 /uncached/26.935D27010000/IAD /uncached/26.935D27010000/MultiSensor /uncached/26.935D27010000/S3-R1-A /uncached/26.935D27010000/VAD /uncached/26.935D27010000/VDD /uncached/26.935D27010000/address /uncached/26.935D27010000/alias /uncached/26.935D27010000/crc8 /uncached/26.935D27010000/date /uncached/26.935D27010000/disconnect /uncached/26.935D27010000/endcharge /uncached/26.935D27010000/family /uncached/26.935D27010000/humidity /uncached/26.935D27010000/id /uncached/26.935D27010000/locator /uncached/26.935D27010000/offset /uncached/26.935D27010000/pages /uncached/26.935D27010000/r_address /uncached/26.935D27010000/r_id /uncached/26.935D27010000/r_locator /uncached/26.935D27010000/temperature /uncached/26.935D27010000/type /uncached/26.935D27010000/udate /uncached/26.935D27010000/vis

jchassin commented 6 years ago

HI could you tell me a little about the hardware you re using ?

rnilssoncx commented 6 years ago

I've added support for the following: OWFS_DS2438 - Humidity/Temp OWFS_EDS0065 - Humidity/Temp

What's the best way to get you the code?

Rob.

jchassin commented 6 years ago

Hi Robert, the best is to fork, add tou code and to send a pull request Jean

Le jeu. 17 mai 2018 à 20:17, Robert Nilsson notifications@github.com a écrit :

I've added support for the following: OWFS_DS2438 - Humidity/Temp OWFS_EDS0065 - Humidity/Temp

What's the best way to get you the code?

Rob.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/jchassin/homebridge-owfs/issues/3#issuecomment-389960817, or mute the thread https://github.com/notifications/unsubscribe-auth/AHm_cm6OQFQquwgXq-sd_TAJvRFdYKKzks5tzb7HgaJpZM4PRHFq .

rnilssoncx commented 6 years ago

Done!

On May 17, 2018, at 1:20 PM, jchassin notifications@github.com wrote:

Hi Robert, the best is to fork, add tou code and to send a pull request Jean

Le jeu. 17 mai 2018 à 20:17, Robert Nilsson notifications@github.com a écrit :

I've added support for the following: OWFS_DS2438 - Humidity/Temp OWFS_EDS0065 - Humidity/Temp

What's the best way to get you the code?

Rob.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/jchassin/homebridge-owfs/issues/3#issuecomment-389960817, or mute the thread https://github.com/notifications/unsubscribe-auth/AHm_cm6OQFQquwgXq-sd_TAJvRFdYKKzks5tzb7HgaJpZM4PRHFq .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jchassin/homebridge-owfs/issues/3#issuecomment-389961551, or mute the thread https://github.com/notifications/unsubscribe-auth/AOInVb0mqmc863LVmW0HEMBrQleUHm0Hks5tzb9igaJpZM4PRHFq.

jchassin commented 6 years ago

Thanks you, would you share the schematics of these devices ? I have limited access to my board, I'll perform the merge and publish it next week Jean

jchassin commented 6 years ago

Can you update the README file with some configuration samples ? (as per done for 1820....) Tks, Jean

rnilssoncx commented 6 years ago

Jean,

I made some major changes to the plugin. Rather than lock in the sensors supported, I made that configurable. As long as the sensor has temperature or humidity in a field, it should work.

I also added support for fakegago-history (https://github.com/simont77/fakegato-history https://github.com/simont77/fakegato-history) - this provides nice graphing in the Elgato Eve app. Not sure if any other apps are using this yet.

Here’s the link to the ESD0065: http://owfs.org/index.php?page=eds0065---temperature-humidity http://owfs.org/index.php?page=eds0065---temperature-humidity It does a lot more than just read temperature - it’s a control as well. I use them to run my dehumidifiers.

With the altered structure of the plugin it should be easy to add light sensors, for example.

I’ve tested this in my environment and it’s stable. Let me know if you have any questions.

Thanks!

Rob.

On May 18, 2018, at 10:11 AM, jchassin notifications@github.com wrote:

Can you update the README file with some configuration samples ? (as per done for 1820....) Tks, Jean

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jchassin/homebridge-owfs/issues/3#issuecomment-390238513, or mute the thread https://github.com/notifications/unsubscribe-auth/AOInVSDDEa5uXti40BHNdfvRQwXY1sdbks5tzuS_gaJpZM4PRHFq.

jchassin commented 4 years ago

Hi Rob, long time ago I did not come, are you currently using your version of the plugin ? I think we should merge it in the main branch to publish it in npmjs, if ok please just send a pull request I'll udpate the rest Jean

jchassin commented 3 years ago

It is now merged in the 1.4.0 of the plugin so I close this issue