No seeing BH1750 sensor in Home Assistant



  • Hi don't understand why I am not seeing the values for my BH1750 sensor and the battery voltage. If I look at the logs it is send from the sensor to Home Assistant. Below is the logs. What is wrong here? I am running version 2.3.0 on all the nodes

    ESP gateway logs

    100589130 TSF:MSG:READ,31-31-0,s=255,c=0,t=17,pt=0,l=11,sg=0:2.3.0-alpha
    100589137 GWT:TPS:TOPIC=mygateway1-out/31/255/0/0/17,MSG SENT
    100589697 TSF:MSG:READ,31-31-0,s=255,c=3,t=6,pt=1,l=1,sg=0:0
    100589702 GWT:TPS:TOPIC=mygateway1-out/31/255/3/0/6,MSG SENT
    100589773 GWT:IMQ:TOPIC=mygateway1-in/31/255/3/0/6, MSG RECEIVED
    100589788 TSF:MSG:SEND,0-0-31-31,s=255,c=3,t=6,pt=0,l=1,sg=0,ft=0,st=OK:M
    100589855 TSF:MSG:READ,31-31-0,s=255,c=3,t=11,pt=0,l=16,sg=0:Light Lux Sensor
    100589862 GWT:TPS:TOPIC=mygateway1-out/31/255/3/0/11,MSG SENT
    100590422 TSF:MSG:READ,31-31-0,s=255,c=3,t=12,pt=0,l=3,sg=0:1.0
    100590428 GWT:TPS:TOPIC=mygateway1-out/31/255/3/0/12,MSG SENT
    100590987 TSF:MSG:READ,31-31-0,s=0,c=0,t=16,pt=0,l=0,sg=0:
    100590992 GWT:TPS:TOPIC=mygateway1-out/31/0/0/0/16,MSG SENT
    100591554 TSF:MSG:READ,31-31-0,s=5,c=0,t=30,pt=0,l=0,sg=0:
    100591559 GWT:TPS:TOPIC=mygateway1-out/31/5/0/0/30,MSG SENT
    100592121 TSF:MSG:READ,31-31-0,s=255,c=3,t=26,pt=1,l=1,sg=0:2
    100592342 TSF:MSG:SEND,0-0-31-31,s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=OK:1
    100592425 TSF:MSG:READ,31-31-0,s=5,c=1,t=38,pt=7,l=5,sg=0:3.28
    100592431 GWT:TPS:TOPIC=mygateway1-out/31/5/1/0/38,MSG SENT
    100592992 TSF:MSG:READ,31-31-0,s=255,c=3,t=0,pt=1,l=1,sg=0:100
    100592997 GWT:TPS:TOPIC=mygateway1-out/31/255/3/0/0,MSG SENT
    100623883 TSF:MSG:READ,31-31-0,s=0,c=1,t=37,pt=3,l=2,sg=0:11
    

    Log from HA

    2018-07-20 21:04:05 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 31;255;3;0;11;Light Lux Sensor
    2018-07-20 21:04:05 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 31 child 255
    2018-07-20 21:04:05 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 31
    2018-07-20 21:04:05 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 31;255;3;0;12;1.0
    2018-07-20 21:04:05 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 31 child 255
    2018-07-20 21:04:05 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 31
    2018-07-20 21:04:06 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 31;0;0;0;16;
    2018-07-20 21:04:06 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 31 child 0
    2018-07-20 21:04:06 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] No child values for node 31 child 0
    2018-07-20 21:04:06 DEBUG (MainThread) [mysensors.gateway_mqtt] Subscribing to: mygateway1-out/31/0/1/+/+, qos: 0
    2018-07-20 21:04:06 DEBUG (MainThread) [mysensors.gateway_mqtt] Subscribing to: mygateway1-out/31/0/2/+/+, qos: 0
    2018-07-20 21:04:06 DEBUG (MainThread) [mysensors.gateway_mqtt] Subscribing to: mygateway1-out/31/+/4/+/+, qos: 0
    2018-07-20 21:04:07 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 31;5;0;0;30;
    2018-07-20 21:04:07 WARNING (MainThread) [mysensors] Not a valid message: Not valid message sub-type: 30 for dictionary value @ data['sub_type']
    2018-07-20 21:04:07 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 31;0;1;0;37;214
    2018-07-20 21:04:07 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 31 child 0
    2018-07-20 21:04:07 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {37: '214'}: sensor platform: node 31 child 0: S_LIGHT_LEVEL requires value_type V_LIGHT_LEVEL @ data[23]```

 

362
Online

8.0k
Users

8.8k
Topics

94.3k
Posts