# Monitoring of electricity flows (becomes) from FVE by Shelly 3EM

**URL:** <https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361>\
**Category:** Devices\
**Tags:** flow\
**Created:** [July 27, 2023, 9:11am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361 "2023-07-27T09:11:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magic/32/12395_2.png) [@Magic](https://community.homey.app/u/Magic)\
**Post date:** [July 27, 2023, 9:11am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/1 "2023-07-27T09:11:32Z")

</div>

Hi all,  
Does anyone have an idea, please, of how to monitor the overflows from the PV plant to the network in a horizon of, for example, 5 minutes? For example: if in the past 5 minutes more than 50W (in total) was overflowed into the distribution network on 1 phase, then do …  
PV inverter is Goodwe  
Thank you all

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 27, 2023, 11:25am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/2 "2023-07-27T11:25:58Z")

</div>

So you mean for 5 minutes at least 50 W?  
If the power drops below 50 W within the 5 minutes, then the flow should be restarted when the power rises above 50 W again?

---

<div class="post-metadata">

**Author:** ![Magic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magic/32/12395_2.png) [@Magic](https://community.homey.app/u/Magic)\
**Post date:** [July 27, 2023, 11:40am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/3 "2023-07-27T11:40:21Z")

</div>

I mean more than 50W in 5minutes \> alert me, restart timer and W value and repeat the counter. (time and Watt are for example)

[Mode break: removed private information /caseda]

---

<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:** [July 27, 2023, 11:57am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/4 "2023-07-27T11:57:43Z")

</div>

> [@Magic](#):
>
> more than 50W in 5minutes \> alert me, restart timer and W value and repeat the counter.

This card does exactly what you describe

 ![Screenshot_20230727-135445_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/4/a492441e7611331e076418cb4c7c8f7a623300e7.jpeg)

The option “Continuously while true” starts the card over and triggers again when the value \>= 50W for 5 minutes _again_, and it keeps repeating.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [July 27, 2023, 12:10pm UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/5 "2023-07-27T12:10:53Z")

</div>

Okay, you didn’t understand my question. It’s a different between **in** 5 minutes or **for** 5 minutes.  
But you already got help.

---

<div class="post-metadata">

**Author:** ![Magic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magic/32/12395_2.png) [@Magic](https://community.homey.app/u/Magic)\
**Post date:** [July 27, 2023, 12:28pm UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/6 "2023-07-27T12:28:45Z")

</div>

correctly, the sum of consumption in 5 minutes is more than xx 50W. So an average of instantaneous values. Consumption flies(increae) randomly in bursts from 5-150W

---

<div class="post-metadata">

**Author:** ![Magic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magic/32/12395_2.png) [@Magic](https://community.homey.app/u/Magic)\
**Post date:** [July 27, 2023, 12:37pm UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/7 "2023-07-27T12:37:06Z")

</div>

the goal is to monitor the flows into the distribution network from the PV plant. The top ones cannot be monitored, but from the average one can already conclude that something is wrong.

---

<div class="post-metadata">

**Author:** ![Magic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magic/32/12395_2.png) [@Magic](https://community.homey.app/u/Magic)\
**Post date:** [July 28, 2023, 6:09am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/8 "2023-07-28T06:09:28Z")

</div>

I need to evaluate the average flow rate, which is intermittent from 5-100W for a period of time (perhaps 5 minutes). So this flow cannot be used  
Thank you

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [July 28, 2023, 7:04am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/9 "2023-07-28T07:04:10Z")

</div>

I believe it is easier to use (Wh) rather than power (W) for this, assuming there is a tag for that.  
Trigger a flow every 5 minutes, or even easier 6 minutes as that’s a tenth of an hour.  
If the delivered energy has increased more than 5 Wh since the last reading then you have had an average power output above 50W.  
This technique requires a variable to hold the value of the last reading which will then be updated after each evaluation.

---

<div class="post-metadata">

**Author:** ![Magic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magic/32/12395_2.png) [@Magic](https://community.homey.app/u/Magic)\
**Post date:** [July 28, 2023, 7:25am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/10 "2023-07-28T07:25:20Z")

</div>

But I don’t know where to get the Wh data from the delivery to the GRID. I couldn’t find a negative consumption counter on Shelly (in Homey).

---

<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:** [July 28, 2023, 11:15am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/11 "2023-07-28T11:15:09Z")

</div>

You’re welcome. I cannot help when you change your usecase. This was the version I responded to

 ![Screenshot_20230728-131250_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/2/12c1091ad64e82614278f24fd74d57c021cad5a3.jpeg)

🤪

---

<div class="post-metadata">

**Author:** ![Magic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magic/32/12395_2.png) [@Magic](https://community.homey.app/u/Magic)\
**Post date:** [July 28, 2023, 11:32am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/12 "2023-07-28T11:32:54Z")

</div>

this issue is poorly described in English. However, it is thought in the sum. The result should be the monitoring of PV production flows into the distribution network, as it is written in the title.

[Mod break: removed private information /Caseda]

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [July 28, 2023, 10:30pm UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/13 "2023-07-28T22:30:02Z")

</div>

> [@Magic](#):
>
> I couldn’t find a negative consumption counter on Shelly

I don’t have the 3EM so I can’t check, but perhaps it’s called “Returned Energy”

Probably better to ask in the general support thread for Shelly, I believe it will increase your chances to get an accurate answer.

> [@\[APP\]\[Pro&Cloud\] Shelly](https://community.homey.app/t/app-pro-cloud-shelly/765):
>
> [image] Control Shelly devices with Homey Description: This Homey app allows you to control a wide variety of Shelly devices. App Store Page: [Shelly App for Homey | Homey](https://homey.app/a/cloud.shelly) (changelog is at the bottom) Supported devices: All Shelly WiFI, Wave and Bluetooth devices are supported. See the app store description or [this page](https://github.com/jghaanstra/cloud.shelly/blob/master/README.txt) for the full list. Knowledge base: View the Shelly devices knowledge base [here](https://kb.shelly.cloud/knowledge-base/devices). API documentation: If you want to know more about integration, check out the documentation [here](https://shelly-api-docs.shelly.cloud/). …

---

<div class="post-metadata">

**Author:** ![Jiri\_Pech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jiri_pech/32/48190_2.png) [@Jiri\_Pech](https://community.homey.app/u/Jiri_Pech)\
**Post date:** [August 1, 2023, 11:43am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/14 "2023-08-01T11:43:41Z")

</div>

Goodwee inverters have their own app (as i know) which can operate on mod bus with 5s delay in data.

---

<div class="post-metadata">

**Author:** ![Magic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magic/32/12395_2.png) [@Magic](https://community.homey.app/u/Magic)\
**Post date:** [August 1, 2023, 12:36pm UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/15 "2023-08-01T12:36:24Z")

</div>

Hi Jiri, i used goodwe app for homey, works great, but I did not manage to put together any condition where I can reach the sum of all the Returned energy - their average for the time (for example 5 minutes)

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [August 1, 2023, 5:00pm UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/16 "2023-08-01T17:00:13Z")

</div>

But the inverter doesn’t know how much energy is delivered to the grid, which I believe is what this question is about. For that you have to read the Shelly, which is why I recommended to ask in the Shelly thread.

---

<div class="post-metadata">

**Author:** ![Jiri\_Pech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jiri_pech/32/48190_2.png) [@Jiri\_Pech](https://community.homey.app/u/Jiri_Pech)\
**Post date:** [August 1, 2023, 6:05pm UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/17 "2023-08-01T18:05:36Z")

</div>

Inverter does know it (if there is nothing bypassed like my wallbox). But better data you can get in Insights.

 ![IMG_0407](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/8/6857f33ecbb3dc084720f1cd16634fbc74371c18.jpeg)

---

<div class="post-metadata">

**Author:** ![Magic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magic/32/12395_2.png) [@Magic](https://community.homey.app/u/Magic)\
**Post date:** [August 2, 2023, 4:31am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/18 "2023-08-02T04:31:08Z")

</div>

I know this counter, and I follow it. But these are current values, where the range is from 5 - 5000W (the plus value is supply to the network). But i need to get the average value for maybe 5 minutes. I need to know that something has failed and I have large deliveries to the network, peak and second deliveries are not problem.  
Thank you for tip

---

<div class="post-metadata">

**Author:** ![Magic](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/magic/32/12395_2.png) [@Magic](https://community.homey.app/u/Magic)\
**Post date:** [August 2, 2023, 4:40am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/19 "2023-08-02T04:40:21Z")

</div>

maybe this could work. I will test

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/7/b70a2116776933cd36056a2f80349e46719edd84.png)

---

<div class="post-metadata">

**Author:** ![Jiri\_Pech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jiri_pech/32/48190_2.png) [@Jiri\_Pech](https://community.homey.app/u/Jiri_Pech)\
**Post date:** [August 2, 2023, 7:06am UTC](https://community.homey.app/t/monitoring-of-electricity-flows-becomes-from-fve-by-shelly-3em/85361/20 "2023-08-02T07:06:43Z")

</div>

What about using something like this? [Better Logic Library App for Homey | Homey](https://homey.app/en-us/app/net.i-dev.betterlogic/Better-Logic-Library/) 🙂
