Please copy log to pastebin or any similar service. In the log has to be moment shellies_announce
automation start.
Check your MQTT configuration:
Data in your config entry is going to override your configuration.yaml
Check your MQTT broker log. It looks like HA doesnât receive subscribed MQTT topics at all.
I saw a pletora of errors in the log, so I decided to uninstall Mosquitto, delete it from the integrations, and start from scratch.
After a few restarts I finally got it working without problems.
Thanks for your time and help!
Does anyone have a Shelly Bulb and use it with HA via MQTT?
New version: 0.10.0
Changelog:
- add support for ShellyEM
Hi Bieniu,
For the sake of keeping the standards, the unit for reactive power in ShellyEM, should be âVARâ instead of âWâ.
Honestly, I didnât check what reactive power is. Iâll fix this in the evening. Thanks for the information.
New version: 0.10.1
Changelog:
- fix unit for reactive power sensor (ShellyEM)
- add overpower binary sensor for Shelly RGBW2
Is it possible to integrate the motion sensor and the battery level of the shelly sense?
Script supports battery and motion sensor for Shelly Sense.
the script only detected the temperature, humidity, brightness and battery (sorry). I do not see the motion entity.
There was a small mistake in the script. Fixed. Thanks for information.
New version: 0.10.2
Changelog:
- fix expire_after error for binary_sensors
thank you, very fast!
This is an amazing script. I canât understand why the repo has only a few stars.
Thanks for your kind words.
Hi, I have the ShellyEM that generates these errors for both probes:
Exception in async_discover_sensor when dispatching âmqtt_discovery_new_sensor_mqttâ: ({ânameâ: âShellyEM XXXXXX Voltage 0â, âstate_topicâ: âshellies/shellyem-XXXXXX/emeter/0/voltageâ, âunit_of_measurementâ: âVARâ, âvalue_templateâ: â{{ value | float | round(1) }}â, âdevice_classâ: ââ, âavailability_topicâ: âshellies/shellyem-XXXXXX/onlineâ, âpayload_availableâ: âtrueâ, âpayload_not_availableâ: âfalseâ, âunique_idâ: âshellyem-B9E308-emeter-voltage-0â, âqosâ: â0â, âdeviceâ: {âidentifiersâ: [âA4CF12XXXXXXâ], ânameâ: âShellyEM XXXXXXâ, âmodelâ: âShellyEMâ, âsw_versionâ: â20190719-094008/v1.5.0-em@6efff52dâ, âmanufacturerâ: âAllterco Roboticsâ}, âplatformâ: âmqttâ},)
Exception in async_discover_sensor when dispatching âmqtt_discovery_new_sensor_mqttâ: ({ânameâ: âShellyEM XXXXXX Reactive_power 0â, âstate_topicâ: âshellies/shellyem-XXXXXX/emeter/0/reactive_powerâ, âunit_of_measurementâ: âWâ, âvalue_templateâ: â{{ value | float | round(1) }}â, âdevice_classâ: ââ, âavailability_topicâ: âshellies/shellyem-XXXXXX/onlineâ, âpayload_availableâ: âtrueâ, âpayload_not_availableâ: âfalseâ, âunique_idâ: âshellyem-XXXXXX-emeter-reactive_power-0â, âqosâ: â0â, âdeviceâ: {âidentifiersâ: [âA4CF12XXXXXXâ], ânameâ: âShellyEM XXXXXXâ, âmodelâ: âShellyEMâ, âsw_versionâ: â20190719-094008/v1.5.0-em@6efff52dâ, âmanufacturerâ: âAllterco Roboticsâ}, âplatformâ: âmqttâ},)
Only power_0 and power_1 work.
Where is the problem?
thank you
I had the same issue so I had to add the other measurements manuallyâŚ
You should be able to see the other parameters using MQTT Lense or similar
Cheers
BT