I have 3 Shelly Gas Sensors in the house, and they all work as expected.
What I would like to do (as I do with my home alarm system) is run a self test once a month to verify it is still working.
Is I am running the sensor through mqtt but have not found a way with out going to the actual ip address to run a self test. The entity id of (sensor.shelly_gas_XXXXXX_self_test) only reports if the test has or has not been done.
Does any one know how to do this.
Have you had a look at the docs below, give a try to this MQTT topic and message if you have not already. There is a REST API as well.
MQTT topic
shellies/shellygas-/sensor/start_self_test
Message
Any message triggers sensor self-test
Thank you for the information. I did not know about this.
I will now try to figure out how to formulate the mqtt message.
Mark the post as a solution if it works.
I find the program MQTT explorer a good way to both monitor my MQTT server’s messages and to create messages. However I believe you can send MQTT messages via the HA developer tools as well.
2 Likes