Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Humidity sensors #14

Open
rzr opened this issue Jan 28, 2020 · 4 comments
Open

Support Humidity sensors #14

rzr opened this issue Jan 28, 2020 · 4 comments

Comments

@rzr
Copy link
Owner

rzr commented Jan 28, 2020

This ticket is Following discussion with @dror3go:

#13

Basic support with htu21d has been tested from development branch:

https://github.com/rzr/generic-sensors-lite/commits/sandbox/rzr/devel/master

It was also tested along moziot webthing gateway:

https://github.com/rzr/mozilla-iot-generic-sensors-adapter/commits/sandbox/rzr/devel/master

htu21d

Currently it's blocked by a couple of PR (cc: @bbx10)

bbx10/node-htu21d#4

About Hygrometer API it's out of scope of W3C working group but
@enchris from Intel OTC proposed something but it's gone:

intel/zephyr.js#96

https://github.com/otcshare/hygrometer/blob/gh-pages/index.html

This could be useful if we want to redesign the project to handle several data types in the same object.

Anyway, non aligned sensors might be marked as experimental extras.

@rzr
Copy link
Owner Author

rzr commented Feb 7, 2020

Hi @dror3go

As promised, some updates:

I am about to release generic-sensor-lite with htu21d support
please can you test master branch using node and iotjs ?

Then please open PR for htu21d as temperature sensor

@rzr
Copy link
Owner Author

rzr commented Feb 19, 2020

Would you be able to test a new version of addon ?

I plan to merge your patch:

https://github.com/dror3go/generic-sensors-lite/commit/6727023aa6420b645451780039b326f6d17b8521.patch

from:

#13

rzr pushed a commit that referenced this issue Mar 3, 2020
   node lib/temperature '{ "controller": "htu21d" }'

Change-Id: Ifadc2e9d3199d260b48e41a661762bb672ce9cd3
Origin: https://github.com/dror3go/generic-sensors-lite/commit/6727023aa6420b645451780039b326f6d17b8521.patch
Author: Dror T <[email protected]>
Relate-to: #14
rzr pushed a commit that referenced this issue Mar 3, 2020
   node lib/temperature '{ "controller": "htu21d" }'

Change-Id: Ifadc2e9d3199d260b48e41a661762bb672ce9cd3
Origin: https://github.com/dror3go/generic-sensors-lite/commit/6727023aa6420b645451780039b326f6d17b8521.patch
Author: Dror T <[email protected]>
Relate-to: #14
@rzr
Copy link
Owner Author

rzr commented May 22, 2020

Please confirm it is working fine, I don't have those sensors,

May we also support ST's HTS221 Humidity and Temperature Sensor

https://www.st.com/resource/en/datasheet/hts221.pdf

Relate-to: rzr/generic-sensors-webthings#13

@rzr
Copy link
Owner Author

rzr commented Sep 24, 2020

I am considering to close this issue, may a new issue created about w3c alignments

Some hints at:

https://lists.w3.org/Archives/Public/public-device-apis/2020Jan/0004.html

intel/zephyr.js#96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant