New plugin for reading the gas and electricity usage from a Dutch Smart meter

Newbie: Is this available in the app store of vera? under what name?

I ordered a P1 → USB cable (http://www.wirelesswonen.nl/Webwinkel-Product-22714125/Kabel-tbv-Slimme-meter.html) and plugged it in my Vera2 (UI5). Works like a charm!! ;D

Thank you for your good work!

I was not able to find it in the app store, installed it manually as explained in this forum.

I was not able to find it in the app store, installed it manually as explained in this forum.[/quote]

There are several versions under several postst… what is the latest? version “b”?

I bought my smart meter cable at [url=http://www.robbshop.nl/overige/slimme-meter-kabel-detail]http://www.robbshop.nl/overige/slimme-meter-kabel-detail[/url] They have good prices and free delivery.

Hi all,

everything is in place. Plugin installed, cable connected, devices are there, datamine is working (for other devices for months). But no meters yet… they will probaly come monday. (and that could be the answer for my question, but I doubt it is).

In advance I have a question.

I have used datamine for all kinds of logging of other sensors. Also for this pluging I would like to monitor and mine. When I want to select the devices/values to log, I can only choose “1” device: Gas.

I can choose: Powermeter InportRate1 (till 4) and they all show as gas…

How can I log:
Day usage
Night usage
Gas
(I don’t deliver back energy).

Any good tips? Experiences?

@sandertl

Have a look at the dutch meter additional plugin
There you have a daily high low and gas recording
Further a monthy and yearly recording

Rgds
Huib

[quote=“huib, post:87, topic:171668”]@sandertl

Have a look at the dutch meter additional plugin
There you have a daily high low and gas recording
Further a monthy and yearly recording

Rgds
Huib[/quote]

Huib,

Thanks for your reply.

Of course I need the data next to other data that is in datamine. So question is still valid and unanswered.

[quote=“Peter, post:75, topic:171668”]It was not the problem.

I thought why there is a bracket arround findChild by import rate 1, which is not arround findchild by export rate.
But when I changed it, I saw my actual usage was changed to 0 watt on my Dutch smart Meter.

– import rate 1
luup.variable_set(“urn:micasaverde-com:serviceId:EnergyMetering1”, “Watts”, 0, findChild(THIS_DEVICE,“ImportRate” … (1+(activeTariff % 2))))

– export rate 1
luup.variable_set(“urn:micasaverde-com:serviceId:EnergyMetering1”, “Watts”, 0, (findChild(THIS_DEVICE,“ExportRate” … (1+(activeTariff % 2)))*-1))[/quote]

Peter,

you have posted this and another message about the “(”. Did it help? Was it meant to “not be” there?

And another question:

The “Powermeter ImportRate2” is showing 2 values…
when I click the configure button is shows 0.107 KWH and after closing the realt time value is given (as in picture)…

Shouldn’t the value “Powermeter ImportRate2” be the same as “actual usage” of the master device?

RESOLVED: after a while and a reboot is was gone.

Any thoughts on how I can acheive a “seperate” Gasmeter device (besides the 4 seperate existing devices)? Now the gas value is given in the master device. Electric values are also passed through to the four seperate values (day/night/in/out).

Thanks.

After upgading to Vera3 (from Vera2) I cannot read my metervalues anymore…

Failed to open IO Port is the error on top of Vera.

have tried several things… change IOdevice number (is 102 and tried 101 and 103)… removed the meterkast device and recreated (but now I only have 1 out of 5 previous devices). Values keep empty.

what could be wrong with my settings? the serial port setting is as follows attached.

Databit should be on 8 and not on 7.

Verstuurd van mijn ASUS Transformer Pad TF300T met Tapatalk

Hi mfp, why? P1 is 7 bits. See also first post.

After the device is created you have to configure the serial port. First attach the cable. Go to apps=>develop apps=>serial port configuration and select the correct USB device. Set the serial parameters to 9600,even,7bits,1stop bit
In the dropdown box select the name you used creating your device.

Btw have tried to be sure… same problem.

You`re right confused the settings with another device, your settings are correct. Can you see anaything in your logfile?

Where can I find the logfile for this?

Login with a a client like telnet. On Windows you can use puTTY.

You can find the logfile in var/log/cmh/LuaUPnP.log. With vi you could read the file.

If you are on windows you could also transfer the file to the windows machine and read it over there. To do this you could use the tool WinSCP.

[quote=“SanderL, post:91, topic:171668”]Any thoughts on how I can acheive a “seperate” Gasmeter device (besides the 4 seperate existing devices)? Now the gas value is given in the master device. Electric values are also passed through to the four seperate values (day/night/in/out).

Thanks.[/quote]

I also tried to achieve this by editing some files but i never got it working (not even close). Would be nice if someone could fix that, or give advice on how to do this.

Also someone know if it is possible to change the code so that the data can be taken from a raspberry pi with ser2net where the p1 cable is connected to?

Would it be possible to use ‘Actual usage’ (watt) as input for the Datamine plugin’s dashboard tab?

The manual reads: “The whole-house gauge provides the current whole house energy use. It is a sum of all the whole house energy categories…”

‘Actual usage’ collected with the Dutch Smart meter plugin equals the ‘whole house energy usage’, but the datamine plugin needs to know that. Possible?

I found already a way to connect the plugin to my raspberry pi.
The app IPSerial Plugin which can be found in the app store does the trick.