P1 smart meter USB (fluvius, Belgian)) not found
Moderator: leecollings
-
- Posts: 21
- Joined: Wednesday 04 December 2019 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.02
- Location: Laarne, Belgium
- Contact:
P1 smart meter USB (fluvius, Belgian)) not found
Hiy Guys,
I tried several things but I cant seem to found my meter. (elek and gas)
The P1-port is connected on my Pi with a P1-USB cable.
When i connect, 2 leds blink in the usb-part of the cable.
actif: yes
I selected the right USB-port on the pi
Time-out: disabled
baudrate: 115200
CRC :on
Any ideas? Do I have to program some software on the pi?
Thank you verry much!
I tried several things but I cant seem to found my meter. (elek and gas)
The P1-port is connected on my Pi with a P1-USB cable.
When i connect, 2 leds blink in the usb-part of the cable.
actif: yes
I selected the right USB-port on the pi
Time-out: disabled
baudrate: 115200
CRC :on
Any ideas? Do I have to program some software on the pi?
Thank you verry much!
- FireWizard
- Posts: 1747
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Hi,
Which Domoticz software version do you run on your Rasberry Pi?
Regards
Which Domoticz software version do you run on your Rasberry Pi?
Regards
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Can you check if the PI does get some data from the meter ?
stop domoticz to free up the port
Code: Select all
sudo chmod 666 /dev/ttyUSB-P1 # or any other port name where your P1 meter is connected to
sudo cu -l /dev/ttyUSB-P1 -s 115200 --parity=none -E q
- Spoiler: show
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 21
- Joined: Wednesday 04 December 2019 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.02
- Location: Laarne, Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Hi FireWizard,
The PI runs Domoticz V4.10717
The PI runs Domoticz V4.10717
- FireWizard
- Posts: 1747
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Hi,
My next question would have been, what waaren has written above.
Please check it.
Do not forget to stop Domoticz, so that the port will be released.
Belgian gasmeter is supported from version 4.11256 (thanks waaren for your wiki).
Electricity is ok with v 4.10717.
Lets try to get the electricity first.
Afterwards you can upgrade
Regards
My next question would have been, what waaren has written above.
Please check it.
Do not forget to stop Domoticz, so that the port will be released.
Belgian gasmeter is supported from version 4.11256 (thanks waaren for your wiki).
Electricity is ok with v 4.10717.
Lets try to get the electricity first.
Afterwards you can upgrade
Regards
-
- Posts: 21
- Joined: Wednesday 04 December 2019 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.02
- Location: Laarne, Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Hi,
I stopt domoticz,
I did dmesg to find the port name: usb 1-1.3: FTDI USB serial device converter now attached to ttyUSB0
So the port is ttyUSB0, i assume.
I tried the code.
sudo chmod 666 /dev/ttyUSB0 : no reaction noticeble on the pi (that's a good sign?)
sudo cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q: Sudo cu: command not found
What dit i do wrong?
I stopt domoticz,
I did dmesg to find the port name: usb 1-1.3: FTDI USB serial device converter now attached to ttyUSB0
So the port is ttyUSB0, i assume.
I tried the code.
sudo chmod 666 /dev/ttyUSB0 : no reaction noticeble on the pi (that's a good sign?)
sudo cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q: Sudo cu: command not found
What dit i do wrong?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
On most linux type of systems not all available tools are installed. On your system cu does not seem to be installed.
on the CLI do
Code: Select all
sudo apt update # get latest information on available packages
sudo apt install cu # download and install the cu tool
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 21
- Joined: Wednesday 04 December 2019 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.02
- Location: Laarne, Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Hi,
I installed de cu.
When i trie the code "sudo cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q" now,
The pi answers "connected"
one step closer
I installed de cu.
When i trie the code "sudo cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q" now,
The pi answers "connected"
one step closer
-
- Posts: 21
- Joined: Wednesday 04 December 2019 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.02
- Location: Laarne, Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Maybe I have a problem with the DSMR-version.
Witch code I have tu use to change the DSMR-version?
Witch code I have tu use to change the DSMR-version?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Even with another DSMR version you should see something if connected to the right port. Maybe if you change baudrate / parity ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 21
- Joined: Wednesday 04 December 2019 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.02
- Location: Laarne, Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
I'm sure its DSMR5 , so baudrate should be 115200?
I changed de parity to "even", are there other options?
the pi respondend again "connected"
is it normal I'm blocked after this? I have to abbord the sesion and start again with putty.
I changed de parity to "even", are there other options?
the pi respondend again "connected"
is it normal I'm blocked after this? I have to abbord the sesion and start again with putty.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
See one of previous posts..
If you want to stop the cu command use [esc]q or sudo pkill cu from another terminal window
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 21
- Joined: Wednesday 04 December 2019 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.02
- Location: Laarne, Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
okay, thanks,
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
you are not receiving data you mean?
i'm also reading out my data from P1 smart meter from Fluvius(Belgium)
But you need to ask Fluvius te open the port (can be done by their website, and standard, the port is closed)
They can open it from distance.
If you need more help about this, ask me
i'm also reading out my data from P1 smart meter from Fluvius(Belgium)
But you need to ask Fluvius te open the port (can be done by their website, and standard, the port is closed)
They can open it from distance.
If you need more help about this, ask me
-
- Posts: 21
- Joined: Wednesday 04 December 2019 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.02
- Location: Laarne, Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Hi Ropske,
I already did that. I opend the port also online with the slider button.
Normally this is not the problem.
Thank you for your advice!
How can I be shure i recieve data? Control with laptop,...?
I already did that. I opend the port also online with the slider button.
Normally this is not the problem.
Thank you for your advice!
How can I be shure i recieve data? Control with laptop,...?
- FireWizard
- Posts: 1747
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Hi,
In Belgium, they have started to roll out Smart Meters from approx spring 2019.
They have decided to use the DSMR 5.0.2 specification.
This specification (if you want more background) you can find at:
https://www.netbeheernederland.nl/_uplo ... fce1f1.pdf
As you will see in this specification in chapter 6.1 (page 15). they use 1 start bit, 8 data bits, no parity bit and 1 stop bit (8N1).
The transfer speed is fixed to 115200.
So testing the communication with other parameters is a waste of time.
So the correct command for cu is:
The links to these requirements you can find at: https://github.com/domoticz/domoticz/issues/3677
In The Netherlands, the P1 port is enabled by default. This is not the case in Belgium.
You have to make a request. See: https://www.dialoog.be/digitale-meter/d ... -meter.pdf.
The last 2 sentences under "Wat doet het? " will tell you that.
The fact that, if you use cu and it says "connected", tells you that you have used the correct command, but the smart meter does not send any data.
Even, if your communication parameters are incorrect, you should see something unreadable.
It can have the following causes:
1.You are connected to the wrong USB.
I assume, you have checked that and that the device is /dev/ttyUSB0.
However after a reboot it may change.
See: https://www.domoticz.com/wiki/PersistentUSBDevices OR https://www.domoticz.com/wiki/Assign_fi ... o_USB_port
2. Your P1 Smart Meter port is not activated, yet. Did you receive any confirmation?
3. You did not mention the smart meter type.
Some smart meters require a resistor, as the output is "open collector". (My Landis & Gyr E350 needed it too)
The following document may be helpful: http://domoticx.com/p1-poort-slimme-meter-hardware/
A lot of non functioning communication has been caused by bad cables, also types that looked good.
The best way to check that your communication is ok, is to use an older type laptop, that still has a serial port.
If needed you can solder a resistor in the DB9 connector and to check the communication with a terminal program (e.g. Putty)
If not you have to use your serial/USB converter.
If you have a gas meter connected, you will not see it, if you use the latest stable version v4.10717.
The Belgian gas meter is supported since V4.11284 (September 5th). So I suggest, that, if you have a gas meter, you upgrade Domoticz to the latest beta, as soon as you have communication.
Please post your results,
Regards
In Belgium, they have started to roll out Smart Meters from approx spring 2019.
They have decided to use the DSMR 5.0.2 specification.
This specification (if you want more background) you can find at:
https://www.netbeheernederland.nl/_uplo ... fce1f1.pdf
As you will see in this specification in chapter 6.1 (page 15). they use 1 start bit, 8 data bits, no parity bit and 1 stop bit (8N1).
The transfer speed is fixed to 115200.
So testing the communication with other parameters is a waste of time.
So the correct command for cu is:
Due to Belgian legislation, regarding the temperature compensation of the Gas meter, they have created a Belgian extension to the Dutch Smart Meter Requirements.sudo cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q" now
The links to these requirements you can find at: https://github.com/domoticz/domoticz/issues/3677
In The Netherlands, the P1 port is enabled by default. This is not the case in Belgium.
You have to make a request. See: https://www.dialoog.be/digitale-meter/d ... -meter.pdf.
The last 2 sentences under "Wat doet het? " will tell you that.
The fact that, if you use cu and it says "connected", tells you that you have used the correct command, but the smart meter does not send any data.
Even, if your communication parameters are incorrect, you should see something unreadable.
It can have the following causes:
1.You are connected to the wrong USB.
I assume, you have checked that and that the device is /dev/ttyUSB0.
However after a reboot it may change.
See: https://www.domoticz.com/wiki/PersistentUSBDevices OR https://www.domoticz.com/wiki/Assign_fi ... o_USB_port
2. Your P1 Smart Meter port is not activated, yet. Did you receive any confirmation?
3. You did not mention the smart meter type.
Some smart meters require a resistor, as the output is "open collector". (My Landis & Gyr E350 needed it too)
The following document may be helpful: http://domoticx.com/p1-poort-slimme-meter-hardware/
A lot of non functioning communication has been caused by bad cables, also types that looked good.
The best way to check that your communication is ok, is to use an older type laptop, that still has a serial port.
If needed you can solder a resistor in the DB9 connector and to check the communication with a terminal program (e.g. Putty)
If not you have to use your serial/USB converter.
If you have a gas meter connected, you will not see it, if you use the latest stable version v4.10717.
The Belgian gas meter is supported since V4.11284 (September 5th). So I suggest, that, if you have a gas meter, you upgrade Domoticz to the latest beta, as soon as you have communication.
Please post your results,
Regards
Last edited by FireWizard on Sunday 08 December 2019 18:10, edited 1 time in total.
-
- Posts: 21
- Joined: Wednesday 04 December 2019 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.02
- Location: Laarne, Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Hi FireWizard,
The type is Siconia.
I followed all the steps above without any results.
Normally the P1-port is available ( I did the stuff i had to do to open it by fluvius)
But i do doubt that the meter is sending any data.
Unfortunitly, I do not have a pc with a serial port available.
I tried in the passed to use the Benext gateway to read the P1 port, Also without any results.
The cable I use is new. It should be okay.
I really start to think that de P1 port just doesn't works.
Thank you verry much for your help.
The type is Siconia.
I followed all the steps above without any results.
Normally the P1-port is available ( I did the stuff i had to do to open it by fluvius)
But i do doubt that the meter is sending any data.
Unfortunitly, I do not have a pc with a serial port available.
I tried in the passed to use the Benext gateway to read the P1 port, Also without any results.
The cable I use is new. It should be okay.
I really start to think that de P1 port just doesn't works.
Thank you verry much for your help.
- FireWizard
- Posts: 1747
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Hi,
Your type Siconia is made by Sagemcom.
Have you seen this (Dutch) thread?
https://gathering.tweakers.net/forum/li ... es/1792159
And this:
http://www.smartmeterdashboard.nl/blog/ ... immemeters.
But for sure it is essential that the port is enabled.
Regards
Your type Siconia is made by Sagemcom.
Have you seen this (Dutch) thread?
https://gathering.tweakers.net/forum/li ... es/1792159
And this:
http://www.smartmeterdashboard.nl/blog/ ... immemeters.
But for sure it is essential that the port is enabled.
Regards
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
your cable is the correct one? and it is plugged in into P1 instead of S1?
-
- Posts: 21
- Joined: Wednesday 04 December 2019 18:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.02
- Location: Laarne, Belgium
- Contact:
Re: P1 smart meter USB (fluvius, Belgian)) not found
Hi Ropske,
I have the FTDI Ltd FT232 Serial (UART) IC cable from robbshop.
I hope this is the right one?
I have the FTDI Ltd FT232 Serial (UART) IC cable from robbshop.
I hope this is the right one?
Who is online
Users browsing this forum: No registered users and 1 guest