shelly EM as meter

P1 interface and others smart meters
Post Reply
glf79
Posts: 14
Joined: Fri Sep 11, 2015 7:36 am

shelly EM as meter

Post by glf79 » Sun May 17, 2020 11:37 am

Hello,
I've bought shelly EM and I'm trying to configure it as energy consumption reader.
I'm using API-Rest for reading "realtime" consumption and it works very well; this value is used on "Meter and Sensor", consumption, live polling.
I don't have understand, how total (main 5 minute polling) works. I need a total consumption value returned by meter or metern can calculate it from historical data? This value is daily or total ?

Thanks
Gianluca

jeanmarc
Posts: 2100
Joined: Thu Aug 29, 2013 7:16 am

Re: shelly EM as meter

Post by jeanmarc » Sun May 17, 2020 12:27 pm

Hi,
It must be the last total value of your meter.

glf79
Posts: 14
Joined: Fri Sep 11, 2015 7:36 am

Re: shelly EM as meter

Post by glf79 » Sun May 17, 2020 2:54 pm

thanks jeanmarc,
thanks, I've find the total value and now also this meter work fine.

I've a strange value on dashboard (you could see at http://aurorafv.dynu.net/metern/dashboard.php) because on w value on left side of the house (on graphical rappresentation) is correct but relative value of "input" 4th row is bad.

Thanks again

jeanmarc
Posts: 2100
Joined: Thu Aug 29, 2013 7:16 am

Re: shelly EM as meter

Post by jeanmarc » Sun May 17, 2020 3:20 pm

You mean the '--' value ? Did you set them as 'meter' type ?
What's the content of /dev/shm/mN_MEMORY.json ? Total is LastX, daily value is LastX - FirstX.

glf79
Posts: 14
Joined: Fri Sep 11, 2015 7:36 am

Re: shelly EM as meter

Post by glf79 » Sat May 23, 2020 5:33 pm

Yes, I mean ---

Like you can see at:
https://bit.ly/2zZK4JQ

I've production 902w, consume: 320w but "immissioni" (IN) should be 902-302= about 581 but on the table (highlighted is wrong because indicate 902,2w)

On /dev/shm/mN_MEMORY I've:

{"msgflag1":true,"First1":47427223,"Last1":47448914,"msgflag2":false,"First2":72557,"Last2":82047$

On Index I've also a strange rapresentation because 1st day I've a cumulated Production (about 47000kw) and misleads the graph.

https://bit.ly/3ggw1QO

glf79
Posts: 14
Joined: Fri Sep 11, 2015 7:36 am

Re: shelly EM as meter

Post by glf79 » Sat May 23, 2020 6:00 pm

glf79 wrote: Sat May 23, 2020 5:33 pm
On Index I've also a strange rapresentation because 1st day I've a cumulated Production (about 47000kw) and misleads the graph.

https://bit.ly/3ggw1QO
I've fix this issue just changing the value read for the 1st day using admin - "Correction" - "Change daily value(s)"

jeanmarc
Posts: 2100
Joined: Thu Aug 29, 2013 7:16 am

Re: shelly EM as meter

Post by jeanmarc » Sat May 23, 2020 7:05 pm

Well immissioni don't show '--' but a wrong value, check your com app :roll:
Your mN_MEMORY.json file ain't complete
meters should always increase

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest