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

Enable autogain for Tsl2561 sensor #1951

Closed
wants to merge 2 commits into from
Closed

Enable autogain for Tsl2561 sensor #1951

wants to merge 2 commits into from

Conversation

joba-1
Copy link
Contributor

@joba-1 joba-1 commented Feb 17, 2018

Hi Theo,

in this fork I have replaced the Tsl2561 lib with my own, mainly to enable autogain.
This enables a luminance range from a few milliLux to ~30-40k Lux (currently it is too dark around here to test really bright conditions).
I have tested it with 5.11.1 and your current dev branch. Both works fine for me so far.
Maybe you want to consider it or just fetch bits and pieces.

Also, if you have an idea how to get values less than 1 lux to domoticz, I'd like to hear it :)

@arendst
Copy link
Owner

arendst commented Feb 18, 2018

What's the light difference between 1lux and 0.1lux? Is it noticeable? If not I would settle for 0 lux.

arendst added a commit that referenced this pull request Feb 18, 2018
5.12.0b
 * Add optional TSL2561 driver using library Joba_Tsl2561 to be
enabled in user_config.h with define USE_TSL2561_JOBA (#1951)
@arendst arendst closed this Feb 18, 2018
@joba-1
Copy link
Contributor Author

joba-1 commented Feb 18, 2018 via email

curzon01 pushed a commit to curzon01/Tasmota that referenced this pull request Sep 6, 2018
5.12.0b
 * Add optional TSL2561 driver using library Joba_Tsl2561 to be
enabled in user_config.h with define USE_TSL2561_JOBA (arendst#1951)
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

Successfully merging this pull request may close these issues.

3 participants