I have an RM4 unit with the temperature and humidity sensor. I had add to the following areas code to implement the humidity sensor.
in def broadlink_rm_temperature_timer section added following lines below mqttc.publish(topic, temperature, qos=qos, retain=retain)
and to keep response from indicating an warning added following in def on_message(client, device, msg): after the if command == 'temperature' or \ statement :
command == 'humidity' or \
you might consider adding to your code or a variation if you want to have independent timers for temperature and humidity.
Thanks for the excellent software, it is working great with broadlink and Nymea
I have an RM4 unit with the temperature and humidity sensor. I had add to the following areas code to implement the humidity sensor. in def broadlink_rm_temperature_timer section added following lines below mqttc.publish(topic, temperature, qos=qos, retain=retain)
and to keep response from indicating an warning added following in def on_message(client, device, msg): after the if command == 'temperature' or \ statement : command == 'humidity' or \
you might consider adding to your code or a variation if you want to have independent timers for temperature and humidity.
Thanks for the excellent software, it is working great with broadlink and Nymea