android icon indicating copy to clipboard operation
android copied to clipboard

Device sensor: relative humidity

Open MayeulC opened this issue 3 years ago • 7 comments

Is your feature request related to a problem? Please describe. My Galaxy S4 has a lot of sensors, including relative humidity, ambient temperature, pressure and illuminance.

Only a few are currently supported. I'm opening this issue for the relative humidity sensor. These phones are very cheap second-hand, so I could even drop a few here and there.

Describe the solution you'd like Support for using the phone's relative humidity sensor in homeassistant.

Describe alternatives you've considered, if any #1235 is an issue about temperature.

Additional context #1235 contains some information on how to implement this. It should be fairly close to the pressure sensor and/or light sensor.

MayeulC avatar Jul 09 '21 12:07 MayeulC

I haven't seen a device that has ambient temp or humidity, are you sure that device has them and runs a version of android that the app supports? This one may need someone who has a device with proper support to implement.

dshokouhi avatar Jul 09 '21 15:07 dshokouhi

I'm quite sure it is, it's documented in the article linked in #1235

Here's what SatStat sees on my GS4 running Lineage 17.1 (Android 10):

Screenshot_20210719-183416_SatStat

I might try to implement it myself in a few months (I read it should be python somewhere, which should be just fine for me, but java is quite simple too, the only issue is the toolchain), but I could also test some other implementation in the meantime.

MayeulC avatar Jul 19 '21 16:07 MayeulC

I might try to implement it myself in a few months (I read it should be python somewhere, which should be just fine for me, but java is quite simple too, the only issue is the toolchain), but I could also test some other implementation in the meantime.

the android app is written in Kotlin, the readme in the repo has all the info you need to get started developing....You can probably use one of the existing environmental sensors as a base since most of the code is there.

dshokouhi avatar Jul 19 '21 16:07 dshokouhi

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 08 '22 23:01 stale[bot]

Sorry for the rant here, but I have to answer to keep this open, and I hate stalebot. Yes, this is still unsuported. It's a feature request, not a bug. The "issue" can remain open to concentrate useful info and coordinate response here, thank you. My message and the previous one are just more notification noise.

https://drewdevault.com/2021/10/26/stalebot.html

MayeulC avatar Jan 20 '22 10:01 MayeulC

I'll like add a +1 here ^^

In my case I have a CAT S61 which has even an air quality sensor... it would be nice to send this easily through the app :)

emilic14 avatar Mar 17 '23 07:03 emilic14

Same overhere The usecase would be to use a cheap mobile phone as dashboard panel (in kiosk mode) but also report back temperature and humidity via mobile device integration sot that hassio can act upon it

broekd avatar Jan 24 '24 19:01 broekd