# SHelly 1 pm inverts measured solar power

**URL:** https://community.homey.app/t/shelly-1-pm-inverts-measured-solar-power/86974
**Category:** Questions & Help
**Created:** [August 13, 2023, 5:27pm UTC](https://community.homey.app/t/shelly-1-pm-inverts-measured-solar-power/86974 "2023-08-13T17:27:25Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Martin\_Meuleman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_meuleman/32/72257_2.png) [@Martin\_Meuleman](https://community.homey.app/u/Martin_Meuleman)
#### Post date: [August 13, 2023, 5:27pm UTC](https://community.homey.app/t/shelly-1-pm-inverts-measured-solar-power/86974/1 "2023-08-13T17:27:25Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Sebas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebas/32/33892_2.png) [@Sebas](https://community.homey.app/u/Sebas)
#### Post date: [December 19, 2024, 2:39pm UTC](https://community.homey.app/t/shelly-1-pm-inverts-measured-solar-power/86974/2 "2024-12-19T14:39:58Z")

</div>

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”

---

<div class="post-metadata">

### Author: ![Martin\_Meuleman](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/martin_meuleman/32/72257_2.png) [@Martin\_Meuleman](https://community.homey.app/u/Martin_Meuleman)
#### Post date: [December 27, 2024, 6:52pm UTC](https://community.homey.app/t/shelly-1-pm-inverts-measured-solar-power/86974/3 "2024-12-27T18:52:04Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Sebas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebas/32/33892_2.png) [@Sebas](https://community.homey.app/u/Sebas)
#### Post date: [December 27, 2024, 7:53pm UTC](https://community.homey.app/t/shelly-1-pm-inverts-measured-solar-power/86974/4 "2024-12-27T19:53:35Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Sebas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebas/32/33892_2.png) [@Sebas](https://community.homey.app/u/Sebas)
#### Post date: [January 7, 2025, 1:25pm UTC](https://community.homey.app/t/shelly-1-pm-inverts-measured-solar-power/86974/5 "2025-01-07T13:25:25Z")

</div>

@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”

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/1/a1db01e5fad6f3e1590d0671b713e9c2a1532744.png)  
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](https://homey.app/nl-nl/app/com.arjankranenburg.virtual/Virtuele-Apparaten/) )  
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

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/8/185291b755e432d61347df39ed26bebfcbbdccad.png)  
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 😃

---

<div class="post-metadata">

### Author: ![S\_van\_Huizen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/s_van_huizen/32/120782_2.png) [@S\_van\_Huizen](https://community.homey.app/u/S_van_Huizen)
#### Post date: [March 19, 2026, 7:15am UTC](https://community.homey.app/t/shelly-1-pm-inverts-measured-solar-power/86974/6 "2026-03-19T07:15:46Z")

</div>

Is it possible to use an EM mini gen4 for this?

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [March 19, 2026, 1:11pm UTC](https://community.homey.app/t/shelly-1-pm-inverts-measured-solar-power/86974/7 "2026-03-19T13:11:54Z")

</div>

When you mean with “this”: measuring 1-phase solar power & energy: Yes

 ![Screenshot_20260319_141013_Ecosia](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/4/64bcea58b44cbd9b38d39a9f35bbf7ca6570a1a7.jpeg)
