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:
sudo cu -l /dev/ttyUSB0 -s 115200 --parity=none -E q" now
Due to Belgian legislation, regarding the temperature compensation of the Gas meter, they have created a Belgian extension to the Dutch Smart Meter Requirements.
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