klein0r / ioBroker.awtrix-light

Integrate your Awtrix Light device (e.g. Ulanzi TC001) via HTTP
https://haus-automatisierung.com
MIT License
62 stars 4 forks source link

LUX Sensor value #104

Closed Rushmed closed 8 months ago

Rushmed commented 8 months ago

The problem

Hi, compared to other LDR sensors in my house the lux value shown in the awtrix adapter objects is way too low (5...100 times too low). Where does this value come from? Cant find the request command for Awtrix-light. Is it sure given in lux or maybe percent? Maybe there are some other mathematics in background. Auto brightness is working well. But I cant use this sensor for other automations because in dimm light situations its very fast at 0 or zero even if theres much light in the room.

Tested this on two Ulanzis.

Version of nodejs

v18.19.0

Version of ioBroker js-controller

5.0.17

Version of Adapter

v0.10.2

Version of awtrix-light firmware

0.91

Operating system running ioBroker

Linux Bookworm

Checklist of files to include below

Additional information & file uploads

No response

github-actions[bot] commented 8 months ago

Thanks for reporting a new issue @Rushmed!

  1. Please make sure your topic is not covered in the documentation
  2. Ensure that you use the latest beta version (not the current stable version): 0.10.2
  3. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  4. Search for the issue topic in other/closed issues to avoid duplicates!

    Otherwise this issue will be closed.

klein0r commented 8 months ago

Where does this value come from?

From awtrix-light. The value is requested via http and the value will be written to the state (without any modification). This is not an adapter issue.

Rushmed commented 8 months ago

Ok I asked Blueforcer. Pls find his answer here: https://github.com/Blueforcer/awtrix-light/issues/433#issuecomment-1859134533 The given value of the light sensor in the adapter is NOT lux. Pls @klein0r fix unit and name. Thanks in further.