Skip to content

Conversion from lux to Zigbee representation #7

Description

@turboproc

Hi @koptserg, was building a similar sensor this weekend using a BH1750 sensor as well. When reading the Zigbee Cluster specification (section 4.2.2.2.1) I understood that the value to be send over the air should be something like 10.000 x log10(lux) + 1. Wondering whether this was missing in your code (might have overlooked) or whether you ommitted this on purpose.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions