SHelly 1 pm inverts measured solar power

I have solar panels that are connected to my electricity grid through a Shelly 1 pm to measure the generated power and pass it on to my Homey system. I have indicated as the source for the device that it is a solar panel. The measured values of my solar panels should now be displayed in the ‘outer ring’ of the ‘Energy Tab’. That’s not happening. They appear in the inner ring. I understand that this is caused by Shelly passing on the measured values not negative to Homey. How can I ensure that those values are correctly entered in Homey? Or should I use other devices instead of Shelly to measure the generated power, and if so, which ones?

Thanks ,
Martin

1 Like

Hello there I am thinking of doing the same thing does this work in the mean time ? if so I’m gonna buy the “shelly pm mini gen3”

Hi Sebas,
The problem is still the same. I’ve indicated de Shelly devices as ‘other’ instead as ‘Solar’. The produced energy will now show up in the outer ring but for the rest the devices are not recognized as solar panels. I consider buying the Homewizard Wi-Fi kWh meter 1-fase.
Sorry I can’t help you further.
Martin

Yes thanks, so Ive bought the shelly pm mini (16A current limit) but it appears as a sensor and there’s no option “whats plugged in” so ive asked the app developer about it.

@Martin_Meuleman I have found a solution
1-My first issue that I couldn’t configure the “Shelly pm mini” as a solar panel (After contacting the Shelly support) they have told that with a flow it is possible to change “Whats plugged in”


So that’s a fix for the first item

2- I was also having the “issue” shelly displayes 1000Watt for solar power as -1000Watt and that didnt really work great for the energy app part. So here are the steps ive done for a fix.
2a- undo the fix i’ve just talked about set this Shelly_Solarpanel to a OTHER device
2b- install the app “Virtual device” ( Virtuele Apparaten App voor Homey | Homey )
2c- Create a device “Shelly_Solarpanel_Virtual” with in my case the capabilities power as in Watt and Energie as in kWh total production
2d- Create a numeric variable “n_Solarpanel_Power”
2e- Copy this flow I’ve made
2e ----So every 15s THEN
------n_Solarpanel_Power = Shelly_Solarpanel power *-1 // This is to invert the value make negative positive
-----write the n_Solarpanel_Power to the Shelly_Solarpanel_Virtual WITH a 1s delay to make sure Homey first calculates the numeric value and then write it to this virtual device
----Also copy paste the total energy measured from the real shelly to the virtual shelly

2f and then you get values like this


2g- and then only the virtual device is shown in the energy ring (in my Dutch case the Zonnepalen_Virtual)

I do hope all this does make sense to you :smiley: