I’m using a Shelly PM1 to measure the output from my solar panels. Energy measurement is fine but the power measurement is strange. Power readings never exeed +300 or -300 Watt. I use Zigbee for the connection.
What could be wrong?
What could be wrong?
The value in the Shelly interface is ok, so I think it’s going wrong in HA
Can you give some more background info about your set-up?
Which Shelly device is this exactly?
I don’t know of any Shelly PM1 device.
There are Shelly 1PM devices, in four generations, and since you mention Zigbee, this probably is the 1PM Gen 4?
I don’t own a Shelly Gen 4 device, so am not sure, but isn’t the Zigbee connection only used for inclusion of the devices, and the data is always transferred via WiFi?
Just to be sure: are you aware that the 1PM also is a switch, with the change of unintentionally blocking the solar panels output, and as such switching them off?
Better would be to for instance use a Shelly EM variant, with contactless CT clamps.
Like that the solar system will never be influenced by unintentional actions or failures of a Shelly device.
Solar panels normally should of course not give a negative power output. What kind of values do you see in the Shelly interface?
How did you connect the Shelly to the solar panels?
The graph suggests a kind of differential power measurement?
Are you using a template sensor in Home Assistant to calculate the value from other sensors? If so, please show the code.
It is the 1pm-gen4. The solar panels are connected as a load
And I use the switch to switch off the panels in case of negative energy prices
In the graph below you see the purple line (power production phase 2) measured by th kWh meter and you see the Shelly power in the lower graph. As soon as the Shelly value comes above -300 it changes to +300 etc.
Yes the value is negative if I connect to the Shelly bij http but somewhere in HA the value get mangeld.
I didn code anything just connected the zigbee sensor