[SOLVED] Sonoff Pow

Hi,
I’m trying to set up my Sonoff Pow.

Items:

Switch Klimaanlage "Klimaanlage" <aircondition> (BA) { mqtt=">[broker:cmnd/sonoffpow-klimaanlage/POWER:command:*:default], <[broker:stat/sonoffpow-klimaanlage/POWER:state:default]" }

Number Klimaanlage_Power "Klimaanlage Stromverbrauch [%.1f W]" (BA,gPower) { mqtt="<[broker:tele/sonoffpow-klimaanlage/SENSOR:state:JSONPATH($.ENERGY.Power)]" }

Sitemap:

	Switch item=Klimaanlage label="Klimaanlage" icon="light"
	Text item=Klimaanlage_Power icon="light"

The switch is working, but the Power consumption not.
Why?
Thanks!

Do you have the JSONPath transformation installed?
Do you see any log entries for that item?

1 Like

My fault, JSONPath was not installed :/.

Thanks!