I’m trying to achieve Shelly2 power readings using stock firmware over MQTT.
Switch conrtol itself works fine, but I’m not able to see power in OH interface.
Item configuration is as follows:
Number Shelly_V2 “Ceiling [%.1f W]” (FF_Ieva) {
In the log I have following message:
2018-11-16 00:35:52.914 [WARN ] [b.core.events.EventPublisherDelegate] - given new state is NULL, couldn’t post update for ‘Shelly_V2’
No, despite the fact that there are 2 switches, power metering is common.
Could not find configuration example for Openhab, but for Home Assistant is is as follows:
"
sensor:
There are errors in you binding definition, for example extraneous )
You also don’t need the outbound definition as it is a read only item and therefore you can remove the autoupdate="false"
Number Shelly_V2 “Ceiling [%.1f W]” (FF_Ieva) { mqtt="<[broker:shellies/shellyswitch-32B67E/relay/power:state:default]" }