P1 Smart Meter USB devices not showing up
Moderators: leecollings, remb0
-
- Posts: 13
- Joined: Tuesday 19 June 2018 11:29
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Contact:
P1 Smart Meter USB devices not showing up
Version: 4.10717
Platform: Synology 6.2 (Jadahl package)
Plugin/Hardware: P1 Smart Meter USB
I have a smart meter for electricity and gas (Dutch, ISKRA AM550). I connected the P1 smart meter cable (USB type, FTDI) to the smart meter, but no devices are showing up.
I tried the usual 'suspects':
- baudrate 115200 (changed to 9600 to be sure this isn't the problem).
- Added a 10K pull up resistor to the cable
- I tried connecting the cable to Windows, using the Br@y++ terminal, 115200, 8, N, no handshake, data is coming in (readable), and i can see gas and electricity data coming in.
- tested the connection using dmesg in the SSH terminal
- Limited the data to 10 seconds in the hardware tab
- tried unchecking the CRC message validation.
- Connection is to /dev/ttyUSB0 (where the USB is connected to according to dmesg)
I also tried reinstalling the Synology package, updating the USB serial drivers (jadahl package), unplugging the cable, rebooting Syno and Domoticz, but no luck unfortonately.
What else can i try for the devices to show up?
Platform: Synology 6.2 (Jadahl package)
Plugin/Hardware: P1 Smart Meter USB
I have a smart meter for electricity and gas (Dutch, ISKRA AM550). I connected the P1 smart meter cable (USB type, FTDI) to the smart meter, but no devices are showing up.
I tried the usual 'suspects':
- baudrate 115200 (changed to 9600 to be sure this isn't the problem).
- Added a 10K pull up resistor to the cable
- I tried connecting the cable to Windows, using the Br@y++ terminal, 115200, 8, N, no handshake, data is coming in (readable), and i can see gas and electricity data coming in.
- tested the connection using dmesg in the SSH terminal
- Limited the data to 10 seconds in the hardware tab
- tried unchecking the CRC message validation.
- Connection is to /dev/ttyUSB0 (where the USB is connected to according to dmesg)
I also tried reinstalling the Synology package, updating the USB serial drivers (jadahl package), unplugging the cable, rebooting Syno and Domoticz, but no luck unfortonately.
What else can i try for the devices to show up?
-
- Posts: 120
- Joined: Tuesday 18 October 2016 13:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10915
- Contact:
P1 Smart Meter USB devices not showing up
Did you allow Domoticz to accept new hardware - in settings there is a switch ....
-
- Posts: 13
- Joined: Tuesday 19 June 2018 11:29
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Contact:
- FireWizard
- Posts: 1863
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 Smart Meter USB devices not showing up
Hello,
Please confirm, once more, as Snowtiger mentioned a switch, that the checkbox "Accept new Hardware Devices" is checked or that you have pressed the button "Allow for 5 Minutes". You will find this in "Setup" - "Settings"- "System". See:
Next step is to verify in "Setup" - "Devices" that several new devices are recognised.
If so, check that those devices are enabled.
See:
If you see the devices related to your Smart Meter, check that they show a "blue arrow". If they show a "green arrow", click on it so that they turn to blue.
If your devices are not shown in the devices list, try the following:
1. Open a terminal.
2. Issue the following command: cu -l /dev/ttyUSB0 -s 115200 --parity=none
(maybe you have to install cu first).
That should result that the RAW protocol is shown. (Similar as on your Windows PC)
See also this topic: viewtopic.php?f=14&t=27047
Regards
Please confirm, once more, as Snowtiger mentioned a switch, that the checkbox "Accept new Hardware Devices" is checked or that you have pressed the button "Allow for 5 Minutes". You will find this in "Setup" - "Settings"- "System". See:
Next step is to verify in "Setup" - "Devices" that several new devices are recognised.
If so, check that those devices are enabled.
See:
If you see the devices related to your Smart Meter, check that they show a "blue arrow". If they show a "green arrow", click on it so that they turn to blue.
If your devices are not shown in the devices list, try the following:
1. Open a terminal.
2. Issue the following command: cu -l /dev/ttyUSB0 -s 115200 --parity=none
(maybe you have to install cu first).
That should result that the RAW protocol is shown. (Similar as on your Windows PC)
See also this topic: viewtopic.php?f=14&t=27047
Regards
Last edited by FireWizard on Sunday 23 June 2019 14:48, edited 1 time in total.
-
- Posts: 13
- Joined: Tuesday 19 June 2018 11:29
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Contact:
Re: P1 Smart Meter USB devices not showing up
As verified before, yes, the checkbox is ticked. I also tried the 'accept new hardware' just to make sure.FireWizard wrote: ↑Monday 20 May 2019 14:22 Hello,
Please confirm, once more, as Snowtiger mentioned a switch, that the checkbox "Accept new Hardware Devices" is checked or that you have pressed the button "Allow for 5 Minutes". You will find this in "Setup" - "Settings"- "System". See:
Checkbox_Enable_hardware.png
No, not showing up unfortunately.FireWizard wrote: ↑Monday 20 May 2019 14:22 Next step is to verify in "Setup" - "Devices" that several new devices are recognised.
If so, check that those devices are enabled.
See:
Enable_devices.png
If you see the devices related to your Smart Meter, check that they show a "blue arrow". If they show a "green arrow", click on it so that they turn to blue.
Will try that, first i have to get CU workingFireWizard wrote: ↑Monday 20 May 2019 14:22 If your devices are not shown in the devices list, try the following:
1. Open a terminal.
2. Issue the following command: cu -l /dev/ttyUSB0 -s 115200 --parity=none
(maybe you have to install cu first.
That should result that the RAW protocol is shown. (Similar as on your Windows PC)
See also this topic: viewtopic.php?f=14&t=27047
Regards

-
- Posts: 13
- Joined: Tuesday 19 June 2018 11:29
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Contact:
Re: P1 Smart Meter USB devices not showing up
FireWizard wrote: ↑Monday 20 May 2019 14:22 If your devices are not shown in the devices list, try the following:
1. Open a terminal.
2. Issue the following command: cu -l /dev/ttyUSB0 -s 115200 --parity=none
(maybe you have to install cu first.
That should result that the RAW protocol is shown. (Similar as on your Windows PC)
See also this topic: viewtopic.php?f=14&t=27047
Regards
I have connected using minicom, and the following is showing up (after closing the connection)Will try that, first i have to get CU working![]()
Code: Select all
Welcome to minicom 2.7.1
OPTIONS:
Port /dev/ttyUSB0, 20:20:11
Press CTRL-A Z for help on special keys
ISK5\2M550E-1012
1-3:0.2.8(50)
0-0:1.0.0(190520202311S)
0-0:96.1.1(4530303433303036393831313138383137)
1-0:1.8.1(001229.083*kWh)
1-0:1.8.2(001234.148*kWh)
1-0:2.8.1(000000.000*kWh)
1-0:2.8.2(000000.000*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(00.696*kW)
1-0:2.7.0(00.000*kW
-
- Posts: 13
- Joined: Tuesday 19 June 2018 11:29
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Contact:
Re: P1 Smart Meter USB devices not showing up
I found the problem. When connecting the /dev/ttyUSB0 with minicom, and disconnecting (hanging up), the log file in domoticz recognizes the gas and electricity meter.All of a sudden, the connection started working. I did the following:
- Stop Domoticz
- Connect using minicom
- Disconnected using minicom (hanging up the line).
- Perform the following command (not sure if this is the one that helped): sudo mknod /dev/ttyUSB1 c 188 1
- Start Domoticz again
Boom, all the devices are added.
No clue why everything did not work before, but i'm glad it all works now!
okay forget it... it added the devices for a reason, but they don't update.... think the testing of the settings made domoticz to suddenly recognize the devices... but now i have to get them working and updating again...
Code: Select all
2019-05-20 21:01:57.427 (P1Meter) P1 Smart Meter (Power)
2019-05-20 21:01:57.429 (P1Meter) General/Voltage (Voltage L1)
2019-05-20 21:01:57.430 (P1Meter) Usage (Usage L1)
2019-05-20 21:01:57.432 (P1Meter) Usage (Delivery L1)
2019-05-20 21:01:57.433 (P1Meter) P1 Smart Meter (Gas)
2019-05-20 21:01:57.369 Status: P1 Smart Meter: Meter reports as DSMR 5.0
2019-05-20 21:01:57.417 Status: P1 Smart Meter: Found gas meter on M-Bus channel 2
However, Domoticz only updates when i hang up minicom

- FireWizard
- Posts: 1863
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 Smart Meter USB devices not showing up
Hi,
I do not fully understand, what you mean with "the log file in domoticz recognizes the gas and electricity meter". What I see is that the protocol starts.
With DSMR 5.0, you will have a telegram every second, unless you configured another setting.
You said the connection does not close correctly. However the connection should be open.
You should see that in the log.
If you hangup minicom, then the port will be opened by Domoticz and you should receive data.
Regards
I do not fully understand, what you mean with "the log file in domoticz recognizes the gas and electricity meter". What I see is that the protocol starts.
With DSMR 5.0, you will have a telegram every second, unless you configured another setting.
You said the connection does not close correctly. However the connection should be open.
You should see that in the log.
If you hangup minicom, then the port will be opened by Domoticz and you should receive data.
Regards
-
- Posts: 13
- Joined: Tuesday 19 June 2018 11:29
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Contact:
Re: P1 Smart Meter USB devices not showing up
I understand that the problem is vague, i will try to explain what happens.
- When connecting the P1 cable to the synology, the LED blinks once on my cable.
- No logfiles about DSMR or whatever showing up in Domoticz.
- When opening the serial connection using minicom, no data is showing.
- when disconnecting (hanging up) the connection, no data is shown.
- AFTER hanging up in minicom (and only then), Domoticz shows the data in the log file (... meter found). Still, no data shown in minicom.
- Domoticz only updates the data once, no more data is coming in.
So it looks like Domoticz cannot open the serial connection correctly, or something else is blocking the data coming in Domoticz. When i perform the same routine with minicom as before, Domoticz again recognizes the data (still once), and updates the values. But once more, only once.
When i disable the serial port/hardware in Domoticz, and trying to connect using minicom, still no data is shown. When i hangup in minicom, a part of the DSMR data is shown in minicom (only once, no updates still).
- When connecting the P1 cable to the synology, the LED blinks once on my cable.
- No logfiles about DSMR or whatever showing up in Domoticz.
- When opening the serial connection using minicom, no data is showing.
- when disconnecting (hanging up) the connection, no data is shown.
- AFTER hanging up in minicom (and only then), Domoticz shows the data in the log file (... meter found). Still, no data shown in minicom.
- Domoticz only updates the data once, no more data is coming in.
So it looks like Domoticz cannot open the serial connection correctly, or something else is blocking the data coming in Domoticz. When i perform the same routine with minicom as before, Domoticz again recognizes the data (still once), and updates the values. But once more, only once.
When i disable the serial port/hardware in Domoticz, and trying to connect using minicom, still no data is shown. When i hangup in minicom, a part of the DSMR data is shown in minicom (only once, no updates still).
- FireWizard
- Posts: 1863
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 Smart Meter USB devices not showing up
Hello,
Thank you for your (now much clearer) explanation. Indeed it is vague.
First, after a restart of Domoticz or a reboot you should see the following in your Domoticz log file:
Tab: Status:
2019-05-22 11:05:09.507 Status: P1 Smart Meter: Using serial port: /dev/ttyUSB-P1
2019-05-22 11:05:09.510 Status: P1 Smart Meter: Worker started...
Some lines later you should see something like:
2019-05-22 11:05:09.659 Status: P1 Smart Meter: Meter reports as DSMR 5.0
2019-05-22 11:05:10.030 Status: P1 Smart Meter: Found gas meter on M-Bus channel 1
If you go to Tab All you will see at regular intervals, dependent on you setting, the following.
2019-05-22 11:08:20.217 (Smart KwH and Gas Meter) P1 Smart Meter (Electriciteitsverbruik)
2019-05-22 11:08:20.229 (Smart KwH and Gas Meter) General/Voltage (Voltage L1)
2019-05-22 11:08:20.241 (Smart KwH and Gas Meter) General/Voltage (Voltage L2)
2019-05-22 11:08:20.252 (Smart KwH and Gas Meter) General/Voltage (Voltage L3)
2019-05-22 11:08:20.262 (Smart KwH and Gas Meter) Usage (Power Consumption L1)
2019-05-22 11:08:20.270 (Smart KwH and Gas Meter) Usage (Power Consumption L2)
2019-05-22 11:08:20.278 (Smart KwH and Gas Meter) Usage (Power Consumption L3)
2019-05-22 11:08:20.286 (Smart KwH and Gas Meter) Usage (Power Delivery L1)
2019-05-22 11:08:20.294 (Smart KwH and Gas Meter) Usage (Power Delivery L2)
2019-05-22 11:08:20.302 (Smart KwH and Gas Meter) Usage (Power Delivery L3)
(This is an example of a 3 phase Smart meter, if you have a 1 Phase Smartmeter, you have only data for L1)
I'm sorry to say that I don"t have any other options at the moment, except one:
Do you have a possibility to install Domoticz on another device, e.g. a Raspberry Pi or a Windows laptop or an old laptop, where you install Linux on, and then install the latest Domoticz. You can test that, in order to exclude the cable, the Smart meter itself, or a setting in Domoticz?
It looks that it has something to do with a port, either in the Smart Meter or on you Synology.
Regards
Thank you for your (now much clearer) explanation. Indeed it is vague.
First, after a restart of Domoticz or a reboot you should see the following in your Domoticz log file:
Tab: Status:
2019-05-22 11:05:09.507 Status: P1 Smart Meter: Using serial port: /dev/ttyUSB-P1
2019-05-22 11:05:09.510 Status: P1 Smart Meter: Worker started...
Some lines later you should see something like:
2019-05-22 11:05:09.659 Status: P1 Smart Meter: Meter reports as DSMR 5.0
2019-05-22 11:05:10.030 Status: P1 Smart Meter: Found gas meter on M-Bus channel 1
If you go to Tab All you will see at regular intervals, dependent on you setting, the following.
2019-05-22 11:08:20.217 (Smart KwH and Gas Meter) P1 Smart Meter (Electriciteitsverbruik)
2019-05-22 11:08:20.229 (Smart KwH and Gas Meter) General/Voltage (Voltage L1)
2019-05-22 11:08:20.241 (Smart KwH and Gas Meter) General/Voltage (Voltage L2)
2019-05-22 11:08:20.252 (Smart KwH and Gas Meter) General/Voltage (Voltage L3)
2019-05-22 11:08:20.262 (Smart KwH and Gas Meter) Usage (Power Consumption L1)
2019-05-22 11:08:20.270 (Smart KwH and Gas Meter) Usage (Power Consumption L2)
2019-05-22 11:08:20.278 (Smart KwH and Gas Meter) Usage (Power Consumption L3)
2019-05-22 11:08:20.286 (Smart KwH and Gas Meter) Usage (Power Delivery L1)
2019-05-22 11:08:20.294 (Smart KwH and Gas Meter) Usage (Power Delivery L2)
2019-05-22 11:08:20.302 (Smart KwH and Gas Meter) Usage (Power Delivery L3)
(This is an example of a 3 phase Smart meter, if you have a 1 Phase Smartmeter, you have only data for L1)
I'm sorry to say that I don"t have any other options at the moment, except one:
Do you have a possibility to install Domoticz on another device, e.g. a Raspberry Pi or a Windows laptop or an old laptop, where you install Linux on, and then install the latest Domoticz. You can test that, in order to exclude the cable, the Smart meter itself, or a setting in Domoticz?
It looks that it has something to do with a port, either in the Smart Meter or on you Synology.
Regards
Last edited by FireWizard on Saturday 22 June 2019 14:15, edited 1 time in total.
-
- Posts: 13
- Joined: Tuesday 19 June 2018 11:29
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Contact:
Re: P1 Smart Meter USB devices not showing up
Tried installing domoticz on my Windows and the same happens. Only opening the port, no data (however, i cannot 'fool' Domoticz as i did with minicom as Windows blocks the port for simultaneous connection to the COM port).
I tried to exclude that the cable is the problem, but this is still bothering me:
When connecting to terminal (Br@y++) on Windows, using 115200, 8 bit, no parity, stop bits 1, no handshake (so the same as in Domoticz i suppose?), i get perfect results (updating EVERY second):
So it looks like the cable is fine, but Domoticz does not want to recognize the cable or something?
I tried to exclude that the cable is the problem, but this is still bothering me:
When connecting to terminal (Br@y++) on Windows, using 115200, 8 bit, no parity, stop bits 1, no handshake (so the same as in Domoticz i suppose?), i get perfect results (updating EVERY second):
Code: Select all
/ISK5\2M550E-1012
1-3:0.2.8(50)
0-0:1.0.0(190522212309S)
0-0:96.1.1(4530303433303036393831313138383137)
1-0:1.8.1(001233.103*kWh)
1-0:1.8.2(001245.682*kWh)
1-0:2.8.1(000000.000*kWh)
1-0:2.8.2(000000.000*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(00.569*kW)
1-0:2.7.0(00.000*kW)
0-0:96.7.21(00008)
0-0:96.7.9(00003)
1-0:99.97.0(1)(0-0:96.7.19)(171012124721S)(0000000180*s)
1-0:32.32.0(00008)
1-0:32.36.0(00001)
0-0:96.13.0()
1-0:32.7.0(227.2*V)
1-0:31.7.0(002*A)
1-0:21.7.0(00.569*kW)
1-0:22.7.0(00.000*kW)
0-2:24.1.0(003)
0-2:96.1.0(4730303332353635353730333034323138)
0-2:24.2.1(190522212007S)(00573.581*m3)
!DAA0
/ISK5\2M550E-1012
1-3:0.2.8(50)
0-0:1.0.0(190522212310S)
0-0:96.1.1(4530303433303036393831313138383137)
1-0:1.8.1(001233.103*kWh)
1-0:1.8.2(001245.682*kWh)
1-0:2.8.1(000000.000*kWh)
1-0:2.8.2(000000.000*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(00.569*kW)
1-0:2.7.0(00.000*kW)
0-0:96.7.21(00008)
0-0:96.7.9(00003)
1-0:99.97.0(1)(0-0:96.7.19)(171012124721S)(0000000180*s)
1-0:32.32.0(00008)
1-0:32.36.0(00001)
0-0:96.13.0()
1-0:32.7.0(227.5*V)
1-0:31.7.0(002*A)
1-0:21.7.0(00.568*kW)
1-0:22.7.0(00.000*kW)
0-2:24.1.0(003)
0-2:96.1.0(4730303332353635353730333034323138)
0-2:24.2.1(190522212007S)(00573.581*m3)
!1C2A
/ISK5\2M550E-1012
1-3:0.2.8(50)
0-0:1.0.0(190522212311S)
0-0:96.1.1(4530303433303036393831313138383137)
1-0:1.8.1(001233.103*kWh)
1-0:1.8.2(001245.682*kWh)
1-0:2.8.1(000000.000*kWh)
1-0:2.8.2(000000.000*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(00.567*kW)
1-0:2.7.0(00.000*kW)
0-0:96.7.21(00008)
0-0:96.7.9(00003)
1-0:99.97.0(1)(0-0:96.7.19)(171012124721S)(0000000180*s)
1-0:32.32.0(00008)
1-0:32.36.0(00001)
0-0:96.13.0()
1-0:32.7.0(227.3*V)
1-0:31.7.0(002*A)
1-0:21.7.0(00.567*kW)
1-0:22.7.0(00.000*kW)
0-2:24.1.0(003)
0-2:96.1.0(4730303332353635353730333034323138)
0-2:24.2.1(190522212007S)(00573.581*m3)
!181E
/ISK5\2M550E-1012
1-3:0.2.8(50)
0-0:1.0.0(190522212312S)
0-0:96.1.1(4530303433303036393831313138383137)
1-0:1.8.1(001233.103*kWh)
1-0:1.8.2(001245.682*kWh)
1-0:2.8.1(000000.000*kWh)
1-0:2.8.2(000000.000*kWh)
0-0:96.14.0(0002)
1-0:1.7.0(00.567*kW)
1-0:2.7.0(00.000*kW)
0-0:96.7.21(00008)
0-0:96.7.9(00003)
1-0:99.97.0(1)(0-0:96.7.19)(171012124721S)(0000000180*s)
1-0:32.32.0(00008)
1-0:32.36.0(00001)
0-0:96.13.0()
1-0:32.7.0(227.3*V)
1-0:31.7.0(002*A)
1-0:21.7.0(00.567*kW)
1-0:22.7.0(00.000*kW)
0-2:24.1.0(003)
0-2:96.1.0(4730303332353635353730333034323138)
0-2:24.2.1(190522212007S)(00573.581*m3)
!EBBE
- FireWizard
- Posts: 1863
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
Re: P1 Smart Meter USB devices not showing up
Hi,
Your test was useful, as we are now sure that the cable and the Port P1 on your smart meter are functioning.
Also your port on Windows is OK.
We have to focus on how Domoticz deals with the port.
Did you follow this wiki guide: https://www.domoticz.com/wiki/PersistentUSBDevices
The communication protocol on your Iskra meter is DSMR 5
You see that in the first line of your protocol output (1-3:0.2.8(50)).
That means that your communication parameters are correct (115.200 Bd, 8 bits, no parity and 1 stop bit).
So keep it that way.
I do not know if your Synology NAS also may change the USB port. Someone?
But configuring will not harm.
Regards
Your test was useful, as we are now sure that the cable and the Port P1 on your smart meter are functioning.
Also your port on Windows is OK.
We have to focus on how Domoticz deals with the port.
Did you follow this wiki guide: https://www.domoticz.com/wiki/PersistentUSBDevices
The communication protocol on your Iskra meter is DSMR 5
You see that in the first line of your protocol output (1-3:0.2.8(50)).
That means that your communication parameters are correct (115.200 Bd, 8 bits, no parity and 1 stop bit).
So keep it that way.
I do not know if your Synology NAS also may change the USB port. Someone?
But configuring will not harm.
Regards
-
- Posts: 13
- Joined: Tuesday 19 June 2018 11:29
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10717
- Contact:
Re: P1 Smart Meter USB devices not showing up
Okay it took a while to figure out, but the outcome was quite easy: solved this problem!
How? Just buy a new cable.
Somehow the old cable happened to be faulty. Unfortunately it worked on my old smart meter, but requirements changed.
It was now just plug and go.
Thanks for the effort though!
How? Just buy a new cable.
Somehow the old cable happened to be faulty. Unfortunately it worked on my old smart meter, but requirements changed.
It was now just plug and go.
Thanks for the effort though!
- FireWizard
- Posts: 1863
- Joined: Tuesday 25 December 2018 12:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Voorthuizen (NL)
- Contact:
[Solved] Re: P1 Smart Meter USB devices not showing up
Hello,
Thanks for your feedback.
Quite often the problem is the cable, in spite of the fact that it looks ok with a terminal program.
Regards
Thanks for your feedback.
Quite often the problem is the cable, in spite of the fact that it looks ok with a terminal program.
Regards
Who is online
Users browsing this forum: No registered users and 1 guest