Page 1 of 1

Another strange P1 problem and work around

Posted: Wednesday 08 February 2017 13:29
by Camstar
Hi,

A lot of topics cover problems connecting a smart meter to Domoticz. I have read them all (as far as I know) but did not find my problem and (sort of) solution.

I have connected my meter using a serial - usb converter and verified it worked using

Code: Select all

cu -l /dev/ttyUSB0 -s 9600 --parity=none
It worked great, every 10 seconds a new message containg the data

Then I added the hardware (sorry for the dutch language, but you get the point)
Hardware.PNG
Hardware.PNG (105.04 KiB) Viewed 870 times
As a number of people discovered, no devices were added, and no additional log lines were added beyond these:

2017-02-08 11:32:57.509 P1 Smart Meter: Using serial port: /dev/ttyUSB0

I have been trying a lot of things since then but when I accidentily entered

Code: Select all

cu -l /dev/ttyUSB0 -s 9600 --parity=none|bash
Domoticz actually started receiving correct metering data, and I was able to add the devices for power and gas.

I am still not sure what caused the problem in the first place, and this solution is just a work around. But maybe someone can use this to create a better solution.