Hi,
Let me first of all congratulate you for setting up such a nice community!
Here is my problem with Bruhs Multisensor:
I can control the RGB LED using HA, so I guess the communication works over mqtt, however the sensor values do not show up in HA at all. Did anybody experience this issues also?
I have set up a wemos d1 running bruh’s multisensor sketch with all the sensors and the LED connected.
The output of my serial monitor is:
{“state”:“OFF”,“color”:{“r”:255,“g”:255,“b”:255},“brightness”:255,“humidity”:“26.80”,“motion”:“standby”,“ldr”:“31”,“temperature”:“23.30”,“heatIndex”:“16.59”}
So I guess the sensors and LED are working nicely and are broadcasting using mqtt (wemos is connected to mqtt: “Attempting MQTT connection…connected”).
Settings:
- raspberry pi 3 running raspian
- home assistant 0.63.3 (https://home-assistant.io/docs/installation/raspberry-pi/)
- mqtt settings in HA are: “mqtt:” in the configuration.yaml
- configuration.yaml
sensor 3:- platform: mqtt
state_topic: “bruh/sensornode1”
name: “SN1 Humidity”
unit_of_measurement: “%”
value_template: ‘{{ value_json.humidity | round(1) }}’
sensor 4: - platform: mqtt
state_topic: “bruh/sensornode1”
name: “SN1 LDR”
##This sensor is not calibrated to actual LUX. Rather, this a map of the input voltage ranging from 0 - 1023.
unit_of_measurement: “LUX”
value_template: ‘{{ value_json.ldr }}’
sensor 5: - platform: mqtt
state_topic: “bruh/sensornode1”
name: “SN1 PIR”
value_template: ‘{{ value_json.motion }}’
- platform: mqtt
sensor 6:
- platform: mqtt
state_topic: “bruh/sensornode1”
name: “SN1 Temperature”
unit_of_measurement: " F"
value_template: ‘{{ value_json.temperature | round(1) }}’
I have another sensor with a DHT22 sensor connected to a nodemcu, which also broadcasts over mqtt and this one works very well:
Does anybody have a clue what is going on? Thanks in advance!