P1 Meter met ISKRA SMR 5.0

Moderator: leecollings

Post Reply
Misterik
Posts: 28
Joined: Sunday 11 December 2016 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

P1 Meter met ISKRA SMR 5.0

Post by Misterik »

Today Liander installed the following smart meter (slimme meter) https://www.liander.nl/sites/default/fi ... 2_v1_2.pdf. I already bought a p1 cable from SOSSolutions.nl, but with this cable i have problems to see the information in Domoticz. I added the hardware in Domoitcz, but i dont see any new devices. In my log I see the following information:
2017-02-01 12:01:53.321 P1: dismiss incoming - CRC failed
2017-02-01 12:01:58.326 P1: dismiss incoming - CRC failed
2017-02-01 12:02:24.355 P1: dismiss incoming - CRC failed
2017-02-01 12:02:56.323 P1: dismiss incoming - value in line "1-0:1.8.1(0 0000.877*kWh)" is not a number
2017-02-01 12:03:16.412 P1: dismiss incoming - CRC failed
2017-02-01 12:03:57.457 P1: dismiss incoming - CRC failed
2017-02-01 12:04:05.466 P1: dismiss incoming - CRC failed
2017-02-01 12:04:31.493 P1: dismiss incoming - value in line "0-1:24.2.1(700101010000W)(0000000 )" is not a number
2017-02-01 12:05:17.551 P1: dismiss incoming - CRC failed
2017-02-01 12:05:48.584 P1: dismiss incoming - CRC failed
2017-02-01 12:05:54.591 P1: dismiss incoming - CRC failed
2017-02-01 12:06:00.597 P1: dismiss incoming - CRC failed
When i connect to my RPI and type the following command : cu -l /dev/ttyUSB0 -s 115200 --parity=none
I see:
/ISK5\2M550T-1011

1-3:0.2.8(50)
0-0:1.0.0(170201121417W)
0-0:96.1.1(4530303334303036373732333137373136)
1-0:1.8.1(000000.877*kWh)
1-0:1.8.2(000000.128*kWh)
1-0:2.8.1(000000.000*kWh)
1-0:2.8.2(000000.275*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(00.000*kW)
1-0:2.7.0(00.972*kW)
0-0:96.7.21(00008)
0-0:96.7.9(00003)
1-0:99.97.0()
1-0:32.32.0(00000)
1-0:52.32.0(00000)
1-0:72.32.0(00000)
1-0:32.36.0(00002)
1-0:52.36.0(00002)
1-0:72.36.0(00002)
0-0:96.13.0()
1-0:32.7.0(235.1*V)
1-0:52.7.0(233.7*V)
1-0:72.7.0(235.5*V)
1-0:31.7.0(006*A)
1-0:51.7.0(001*A)
1-0:71.7.0(001*A)
1-0:21.7.0(00.000*kW)
1-0:41.7.0(00.319*kW)
1-0:61.7.0(00.294*kW)
1-0:22.7.0(01.582*kW)
1-0:42.7.0(00.000*kW)
1-0:62.7.0(00.000*kW)
0-1:24.1.0(003)
0-1:96.1.0(4730303332353635353032383234323136)
0-1:24.2.1(700101010000W)(00000000)
!81F1
When i searched this forum for a solution i noticed that everyone is talking about a refresh interval of 10 seconds, but mine is refreshing every second. Is this perhaps the problem? Is there a way i can slow this down? Anyone have an idea?
RPI-3 : RFLink + Zigbee2MQTT + Shelly + MySensors + Milight
Misterik
Posts: 28
Joined: Sunday 11 December 2016 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 Meter met ISKRA SMR 5.0

Post by Misterik »

gordonb3 wrote:From the times shown in the log I'd say there must be messages coming through. However if you do suspect the CRC validation you can disable it in the hardware page.
Yes messages are coming through. I forgot to accept new hardware in the first place. :(
gordonb3 wrote:This line on the other hand is something of an issue:

Code: Select all

2017-02-01 12:04:31.493 P1: dismiss incoming - value in line "0-1:24.2.1(700101010000W)(0000000 )" is not a number
Apparently ISKRA changed the format of the datetime parameter, adding 'W' for winter time, while reusing an existing value ID. That is truly bad. They should hang the bloke that did that from a tree.
Am i missing now information?

And is there anything to do about the 1 second refreshing. My logging is getting very full this way?

Code: Select all

 2017-02-01 17:01:14.307 (P1 Slimme Meter USB) P1 Smart Meter (Power)
2017-02-01 17:01:15.285 (P1 Slimme Meter USB) P1 Smart Meter (Power)
2017-02-01 17:01:16.285 (P1 Slimme Meter USB) P1 Smart Meter (Power)
2017-02-01 17:01:17.284 (P1 Slimme Meter USB) P1 Smart Meter (Power)
2017-02-01 17:01:18.307 (P1 Slimme Meter USB) P1 Smart Meter (Power)
2017-02-01 17:01:19.285 (P1 Slimme Meter USB) P1 Smart Meter (Power)
2017-02-01 17:01:20.311 (P1 Slimme Meter USB) P1 Smart Meter (Power)
2017-02-01 17:01:21.286 (P1 Slimme Meter USB) P1 Smart Meter (Power)
2017-02-01 17:01:22.291 (P1 Slimme Meter USB) P1 Smart Meter (Power)
2017-02-01 17:01:23.291 (P1 Slimme Meter USB) P1 Smart Meter (Power) 
RPI-3 : RFLink + Zigbee2MQTT + Shelly + MySensors + Milight
Misterik
Posts: 28
Joined: Sunday 11 December 2016 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 Meter met ISKRA SMR 5.0

Post by Misterik »

gordonb3 wrote:
Misterik wrote:And is there anything to do about the 1 second refreshing. My logging is getting very full this way?
No straight forward solution here. It is the meter that sends the datagrams. You'll need some filter that only allows every n-th message to be passed. This does pose a hazard though as the logs you provided appear to indicate that gas meter data is not passed in every message. If you have some mechanism in place that would ignore nine out of ten messages chances would be high that you'll never see any gas data. Which I believe in your case will be perfectly all right (jan 1, 1970 1:00 AM CET being Linux zero time tells me you do not have a gas meter attached) but would definitely not work as a generic solution for everybody. As such I strongly advise anyone participating in the Domoticz code not to try incorporate such a filter in Domoticz itself.

As far as your logs are concerned, you can set a less verbose logging level by using a different command line to start Domoticz.
Ok, no Straight forward solution. The gas meter has his own message. This is send every 5 minutes. But it seems that this message is not processed correctly, because my Gas meter is still on zero in Domoticz. Any idea how this can be solved?

Code: Select all

 2017-02-02 10:23:37.614 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-02-02 10:23:38.629 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-02-02 10:23:38.656 (P1 Slimme Meter USB) P1 Smart Meter (Gas)
2017-02-02 10:23:39.615 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-02-02 10:23:40.631 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-02-02 10:23:41.625 (P1 Slimme Meter USB) P1 Smart Meter (Electra) 
RPI-3 : RFLink + Zigbee2MQTT + Shelly + MySensors + Milight
Misterik
Posts: 28
Joined: Sunday 11 December 2016 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 Meter met ISKRA SMR 5.0

Post by Misterik »

gordonb3 wrote: Don't know about the gas meter. Given the dump from the 'cu' command I'd say the gas meter is not reporting it's values to the main smart meter (yet). As said: the last update time reported in the datagram is Jan 1, 1970 1:00 AM CET. Either the guy from Liander did something wrong or it needs some time to initialize. I'd give it some time. They'll probably call you if the data stays at zero.
Very strange but you are right...it needed some initialization. Now my gas is sending real data and my electra is sending data every 10 seconds instead of every second.

Code: Select all

2017-02-04 16:29:26.917 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-02-04 16:29:36.896 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-02-04 16:29:49.908 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-02-04 16:29:59.943 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-02-04 16:30:07.927 (P1 Slimme Meter USB) P1 Smart Meter (Gas)
2017-02-04 16:30:09.933 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-02-04 16:30:19.941 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
RPI-3 : RFLink + Zigbee2MQTT + Shelly + MySensors + Milight
adjego
Posts: 11
Joined: Monday 16 February 2015 11:42
Target OS: Raspberry Pi / ODroid
Domoticz version: V3.5163
Location: Eindhoven
Contact:

Re: P1 Meter met ISKRA SMR 5.0

Post by adjego »

Hi All, are these changes also causing my old smartmeter to now only give updates after 1 minute?
I'm on the latest Beta and some versions ago i did get updated every 10 seconds.

EDIT: Checked with a version from a friend of mine, he is still on 3.6572 and he is getting every ten seconds update.

I think it's caused by this change: https://github.com/domoticz/domoticz/co ... d181956aaa

I would like to still have the 10 seconds updates. I have a MT382 which only does updates every 10 seconds.

It's daytime now and i have solarpanels so "usagecurrent" is indeed smaller than 40!
adjego
Posts: 11
Joined: Monday 16 February 2015 11:42
Target OS: Raspberry Pi / ODroid
Domoticz version: V3.5163
Location: Eindhoven
Contact:

Re: P1 Meter met ISKRA SMR 5.0

Post by adjego »

I hope this will be resolved soon. I don't need this limitation because i have an old smartmeter.
Misterik
Posts: 28
Joined: Sunday 11 December 2016 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 Meter met ISKRA SMR 5.0

Post by Misterik »

Last sunday i updated to the beta version of Domoticz again (i was using the stable version) and i noticed that :
  • - i am getting every second a reading from the P1 meter. (my status logs only show P1 smart Meter readings :cry: )
  • - i had a abnormal reading in my electra
verbruik1.jpg
verbruik1.jpg (23.66 KiB) Viewed 7730 times
I was curious if anyone else experiencing these kind of behaviour?
RPI-3 : RFLink + Zigbee2MQTT + Shelly + MySensors + Milight
Misterik
Posts: 28
Joined: Sunday 11 December 2016 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 Meter met ISKRA SMR 5.0

Post by Misterik »

Nope...I didn't change anything.

Nice... a rate limit. I had not found that new option. Works great.
I had not checked the checkbox for CRC validation, but if I enable this I get the following messages in my log.

Code: Select all

2017-03-01 10:12:50.368 P1: dismiss incoming - CRC failed
2017-03-01 10:12:57.377 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-03-01 10:13:02.381 P1: dismiss incoming - CRC failed
2017-03-01 10:13:07.384 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-03-01 10:13:17.397 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-03-01 10:13:27.439 P1: dismiss incoming - CRC failed
RPI-3 : RFLink + Zigbee2MQTT + Shelly + MySensors + Milight
Misterik
Posts: 28
Joined: Sunday 11 December 2016 18:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: P1 Meter met ISKRA SMR 5.0

Post by Misterik »

Hi,

Hopefully anyone can explain to my, why it is useful to have the General/Voltage (i have three of them) monitored with the P1 Meter? This has been recently been added (not sure in which version exactly)

Code: Select all

 2017-04-12 14:54:35.942 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-04-12 14:54:35.963 (P1 Slimme Meter USB) General/Voltage (Voltage L1)
2017-04-12 14:54:35.983 (P1 Slimme Meter USB) General/Voltage (Voltage L2)
2017-04-12 14:54:36.008 (P1 Slimme Meter USB) General/Voltage (Voltage L3)
2017-04-12 14:54:45.957 (P1 Slimme Meter USB) P1 Smart Meter (Electra)
2017-04-12 14:54:45.977 (P1 Slimme Meter USB) General/Voltage (Voltage L1)
2017-04-12 14:54:45.998 (P1 Slimme Meter USB) General/Voltage (Voltage L2)
2017-04-12 14:54:46.018 (P1 Slimme Meter USB) General/Voltage (Voltage L3) 
RPI-3 : RFLink + Zigbee2MQTT + Shelly + MySensors + Milight
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest