getting your digital energy meter data

Posted on
Fri Mar 18, 2016 4:49 am
henkjanvries offline
User avatar
Posts: 108
Joined: May 05, 2012

getting your digital energy meter data

Is there someone that is getting its data from their digital power meter via a P1 port?

Im just curious, because i also want to have my solar data in indigo to use that as a data hub.

Hope t o hear a find/solution/tip

Posted on
Fri Mar 18, 2016 11:44 am
Jarimac offline
Posts: 5
Joined: Jan 06, 2016

Re: getting your digital energy meter data

Henk Jan
I am developing at this moment an Indigo plugin but I don’t I don’t have “smart meter”
What I am currently doing is using an arduino simulator that send the telegram message equivalent to a P1 port.

The proposed hardware setup is a bluetooth interface connected to a P1 port using
https://www.adafruit.com/product/1588

P1 —> Bluetooth —> Bluetooth —> OSX indigo plugin

Every 10 seconds the P1 port will transmit the data and how do we handle this amount of data

Issues that I am having collecting data
Single or 3 phase
High low tariff electricity
Solar energy
recording of Watts into database 6 * 60 *24
should we average watts in minute periods ?

recording of kWh into database (on hourly basis)
recording of gas into database (on hourly basis)


I just found a good link for
https://github.com/jvhaarst/DSMR-P1-telegram-reader

sample telegram
Code: Select all
DSRM 4.0 telegram

/ISk5\2MT382-1 000
1 -3:0.2.8(40)
0-0:1 .0.0(1 01 2091 1 3020W)
0-0:96.1 .1 (4B384547303034303436333935353037)
1-0:1 .8.1 (1 23456.789*kWh)
1-0:1 .8.2(1 23456.789*kWh)
1-0:2.8.1 (1 23456.789*kWh)
1-0:2.8.2(1 23456.789*kWh)
0-0:96.1 4.0(0002)
1-0:1 .7.0(01 .1 93*kW)
1-0:2.7.0(00.000*kW)
0-0:1 7.0.0(01 6.1 *kW)
0-0:96.3.1 0(1 )
0-0:96.7.21 (00004)
0-0:96.7.9(00002)
1-0:99:97.0(2)(0:96.7.1 9)(1 01 2081 5241 5W)(0000000240*s)(1 01 2081 51 004W)(00000000301 *s)
1-0:32.32.0(00002)
1-0:52.32.0(00001 )
1-0:72:32.0(00000)
1-0:32.36.0(00000)
1-0:52.36.0(00003)
1-0:72.36.0(00000)
0-0:96.1 3.1 (3031 203631 203831 )
0-0:96.1 3.0(3031 32333435363738393A3B3C3D3E3F3031 32333435363738393A3B3C3D3E3F3031 32333435363738393A3B
3C3D3E3F3031 32333435363738393A3B3C3D3E3F3031 32333435363738393A3B3C3D3E3F)
0-1:24.1 .0(03)
0-1:96.1 .0(3232323241 42434431 3233343536373839)
0-1:24.2.1 (1 01 2091 1 0000W)(1 2785.1 23*m3)
0-1:24.4.0(1 )
!522B


I only started using Indigo 4 month ago and also learning Python on it's way so it might take some time but keen to see other users.

I will be ordering a smart meter soon but I don't have solar power system.

JanR

Posted on
Fri Apr 08, 2016 3:37 am
henkjanvries offline
User avatar
Posts: 108
Joined: May 05, 2012

Re: getting your digital energy meter data

Id like to help, my python isnt to good, but im able to do what i want.

Let me know what i could do.

Posted on
Fri Apr 08, 2016 11:16 am
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: getting your digital energy meter data

Why do you have to add Bluetooth to it. Use an arduino/esp and add the sensor directly. Then use the arduino plugin or any other tool to send it to indigo via wifi.


Sent from my iPhone using Tapatalk

Posted on
Sun Apr 10, 2016 2:03 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: getting your digital energy meter data

Or if you want a wider audience, the global cache IP2SER devices take serial data and make it available via IP, then the cynical network plugin can probably read it or be tweaked to configure it.

I don't know exactly what the P1 data is but that adafruit device is serial so I'm making assumptions. :-)


Sent from my iPhone using Tapatalk

Posted on
Mon Oct 03, 2016 11:49 pm
alan_smithee offline
Posts: 1
Joined: Oct 03, 2016

Re: getting your digital energy meter data

I'm thinking about switiching over to Indigo as soon as 7 releases and I'm looking for alternatives for the plugins that I'm currently using with my Vera Edge. The Vera has a smartmeter pluging that works with most smartmeters.
Image
http://forum.micasaverde.com/index.php?topic=32081.0

And it is possible to run an adapted version of the Vera OS on your Mac
https://forum.mysensors.org/topic/1806/openluup-a-vera-emulator-for-all-platforms/10

There is also an Openhab version for the smartmeter but I haven't tested this.
https://github.com/openhab/openhab/wiki/DSMR-binding

So there's quite a lot out there already but nothing for Indigo yet.

Posted on
Tue Oct 04, 2016 9:20 am
Different Computers offline
User avatar
Posts: 2541
Joined: Jan 02, 2016
Location: East Coast

Re: getting your digital energy meter data

alan_smithee wrote:
And it is possible to run an adapted version of the Vera OS on your Mac
https://forum.mysensors.org/topic/1806/openluup-a-vera-emulator-for-all-platforms/10



Sorry for hijacking the thread, but would this emulator allow use of the Vera plugin for Indigo, targeting the emulator on the Mac? If so, that's free lock support, among other things.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Wed May 22, 2019 2:10 am
Hans Kiesewetter offline
Posts: 11
Joined: Nov 19, 2014

Re: getting your digital energy meter data

I use a Beeclear (www.beeclear.nl) that is connected to the P1-port. This small box has all you need for monitoring your energy consumption, including WiFi and a web server, but you also can import the data into Indigo with a simple python script and store values into variables.
Then I used the plugin IndigoPlotD to make plots, present this plot on ControlPages, (and even send a daily report with values and graphs to my own mail.)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests