iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

Some sensors in AirMonitor are not recognized #242

Open Kalparang opened 6 months ago

Kalparang commented 6 months ago

Is your feature request related to a problem? Please describe:

https://www.samsung.com/sec/business/cooling-for-residential/airmonitor-acm-b1m1sc/ACM-B1M1SC/ The AirMonitor Plus has temperature, humidity, dust, gas, and carbon dioxide sensors. However, the only sensors visible through homebridge are temperature and humidity. It would be nice to see the rest of the sensors as well.

Describe the solution you'd like:

AirMonitorPlus_DeviceData.json Device Attributes.json

Device Data extracted from debug logs and Device Attribute downloaded from the smartthings site. Of these, I would like to see carbonDioxide, dustLevel, fineDustLevel, veryFineDustLevel, and odorLevel added. odorLevel is a composite GAS sensor with a value of 1 to 4, where 1 is good and 4 is bad.

Describe alternatives you've considered:

Additional context:

iklein99 commented 6 months ago

It would be possible to add CO2, dust, fine dust and general air quality, but it doesn't appear that Homebridge supports odor or gas level of any sort. This would be a bit of work to do, I'll consider it when I have time. If anyone wants to fork and implement, let me know.