Hi RCS42,
I tried your instructions but am (still) stuck...
My problem:
- I had a working setup using the Jadahl package on DSM6.2 running on a DS416Play. This setup used the P1 smart meter interface for utility data logging.
- I updated to DSM7.0 without realizing that this would break this setup. Luckily I could recover an hourly backup so metering data loss should be limited.
- Meanwhile I installed Docker. Although this is not officially supported on the 416Play, a forum post suggested that I could download it from Synology's support site and choosing the DS415+ model instead. Installation went fine.
- In this docker I set up domoticz as shown in this post (
viewtopic.php?p=269673#p269673) and I could import the metering data and also the Buienradar device appears to work.
- Now the real problem: My P1 meter does not work.
In trying to solve that, I installed the DSM7.0 drivers from Jadahl (Braswell architecture). Still no go. Reading further, I found that there was supposed to be a ttyUSB0 device active (this port is also shown in the Domoticz hardware setup).
After (also) loading the ftdi_sio.ko module, I get the ttyUSB0 device. But still no go.
So my first question now is: Which drivers do I need to load?
- usbserial (think so as it is shown in both Jadahl's and your instructions)
- cp210x.ko (from Jadahl, but no /dev/ttyUSB0 is created)?
- ftdi_sio.ko (per your instructions, I did not download it so I think it is a leftover from my DMS6.2 setup)?
When trying to configure the P1 hardware in Domoticz, it is listed. But in the configuration tab I cannot enabled it (falls back to disabled every time).
I also did a test to see if there is anything coming out of the interface with "cat /dev/ttyUSB0". Nothing. When I look on the cable itself, the LEDs flash when inserting it in one of the USB port at the back, but it looks like only one message is transferred (and not acknowledged) from the meter because there is one LED blink. When I insert the cable in the front USB (where it has been working for more than two years), nothing happens, not even an initial blink of the LEDs. When I insert a USB memory stick in that port, I can see and open the files on it. Based on these experiments, I don't think that the USB port or cable are broken.
Thanks for any help,
John