@massivenrg wrote:
Hi all. I’m new into Home Assistant. Just switching from Domoticz as I move house and decide to start from scratch in HA.
I have successfully set HA and communications through MQTT (mosquitto) for some testing sensors and switches but found an issue with pollution sensor connected to D1 mini with AFE firmware.
In MQTT topic I’m receiving{‘PM25’:‘21’,‘PM10’:‘22’}
configuration.yaml
sensor weather:
- platform: mqtt
name: “Pollution”
state_topic: “/weather/HPMA115S0/all”
unit_of_measurement: “mg/m3”this is what AFE firmware declare:
String JSON {PM25: Intiger, PM10: Intiger}Could someone give me a hint of how the sesnor_attribute should look like, please?
I would like to collect separate value for each PM - 2.5 and 10
Many thanks.
Regards
Mario
Posts: 1
Participants: 1