thejeffreystone / hassio_addons

Apache License 2.0
49 stars 29 forks source link

LaCrosse brightness sensor values not recognized #10

Open andreas-2017 opened 3 years ago

andreas-2017 commented 3 years ago

Using version: 0.3.1b

Currently there are three LaCrosse devices in my house. A combined temperature/humidity sensor, a rain meter and a brightness sensor. The first two are shown correctly with all entities. But the brightness sensor only shows noise, RSSI and SNR. Brightness and exposure values are missing.

When testing with rtl-433 I can see the values:

> rtl_433 -C si -M level -R 124

time      : 2021-04-11 11:05:25
model     : LaCrosse-WS7000-22/25                  id        : 16
channel   : 0            Temperature: 14.700       Humidity  : 20            MIC       : CHECKSUM
Modulation: ASK          Freq      : 433.9 MHz
RSSI      : -8.2 dB      SNR       : 29.2 dB       Noise     : -37.4 dB
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
time      : 2021-04-11 11:05:36
model     : LaCrosse-WS7000-16                     id        : 39
channel   : 7            Rain counter: 691.200     MIC       : CHECKSUM
Modulation: ASK          Freq      : 433.9 MHz
RSSI      : -6.5 dB      SNR       : 32.7 dB       Noise     : -39.1 dB
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _time      : 2021-04-11 11:06:23
model     : LaCrosse-WS2500-19                     id        : 87
channel   : 7            Brightness: 41200         Exposition: 1161          MIC       : CHECKSUM
Modulation: ASK          Freq      : 434.0 MHz
RSSI      : -0.1 dB      SNR       : 42.0 dB       Noise     : -42.1 dB

Configuration is the same as I used for rtl-433: PROTOCOL = -R 124

Any idea how to get the important values from the brightness sensor into Home Assistant?

thejeffreystone commented 3 years ago

I added a Brightness definition...not sure that will do it. So when you get a chance update and let me know. I dont have a way to test that locally as of right now.