DIY cheap USB-cable to read P1 port of Dutch smart meter

User avatar
mlamie
Posts: 75
Joined: Friday 25 October 2013 17:12
Target OS: Raspberry Pi
Domoticz version: 3.5877
Location: The Netherlands
Contact:

Re: DIY cheap USB-cable to read P1 port of Dutch smart meter

Postby mlamie » Wednesday 11 January 2017 14:48

renerene wrote:I have managed to solve the permisseon denied issue on ttyAMA0 with help from this post

The cable is succesfully tested, using my Windows10 laptop, after fidling with some settings (baudrate, stop bits, etc) in the terminal program.
However: still no smart meter devices show up in Domoticz after clicking 'enable hardware for 5 minutes'
Also, in putty i can not get correct screendumps.

Two questions:
- which port to choose? (ttyAMA0, ttyUSB0, ttyUSB1 or ttyACM0)
- what is the correct CU command line for a Kaifa MA105C?


A small tip, look at the following wiki page: https://www.domoticz.com/wiki/PersistentUSBDevices

Use the lsusb command to see all the devices connected on your Raspberry Pi.
Gateway: Raspberry Pi 3, RaZberry, RFXtrx433
Parts: Vision ZD 2102, Vision ZM 1601, Greenwave Smart plug 6, KlikAanKlikUit ACDB-7000BC, APIR-2150, AWMR-230, ESP8266 NodeMCU and a Essent E-thermostaat
IP camera: Dahua 4MP IPC-HDBW4421R-AS, Vivotek FD8134V

renerene
Posts: 27
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

Re: DIY cheap USB-cable to read P1 port of Dutch smart meter

Postby renerene » Wednesday 11 January 2017 23:17

A small tip, look at the following wiki page: https://www.domoticz.com/wiki/PersistentUSBDevices
Use the lsusb command to see all the devices connected on your Raspberry Pi.


1) Sorry, I don't get it. On which USB port is device 012?
Image

2) With help from my laptop I found out that handshake type is critical: it should be RTS/CTS. In the command line CU and in Domoticz there is no handshake parameter, that can be set. How to set the correct handshake type?
Image


Return to “Meters”

Who is online

Users browsing this forum: No registered users and 1 guest