Thanks to the work of github member “Hypfer”, it’s now possible to use the cheap IKEA PM2.5 sensors as a MQTT source. I set it up with my homey as follows:
Applied the hardware mod with a Wemos D1 Mini
Put the supplied sketch onto the D1.
Installed MQTT broker and MQTT client on Homey.
Set up MQTT on the D1
Create a virtual device on Homey (type: sensor, air quality) by using the Virtual Devices app
Add a flow to homey: "
IF
MQTT Client Trigger when a message is received on
“/home/data/pm25/1”
THEN
PM2.5 (virtual sensor) Set the value of a virtual sensor measure_pm25 to “message recived via topic”
I have done al the steps as mentioned in the first post. Unfortunatly I don’t receive anything from the sensor. In the developer tools I see that it is pushing data to the pm25 sensor. But still nothing is received…