IR-Schreib-Lesekopf

Moderator: leecollings

Post Reply
jossie67
Posts: 39
Joined: Wednesday 31 December 2014 12:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

IR-Schreib-Lesekopf

Post by jossie67 »

I have Landis+Gyr ZME120ACd and a IR-Schreib-Lesekopf from Udo
The IR-Schreib-Lesekopf is connected to the raspberry on /dev/ttyUSB0
I added the IR-Schreib-Lesekopf as an "SO Meter USB" on serial port /dev/ttyUSB0.
In the setup, I can change to Baudrate only to 9600 or 115200, my Landis+Gyr uses 300 Baud.
Where can I change this setting in to 300 Baud.
Raspberry Pi (3x)
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
Dlanor
Posts: 67
Joined: Sunday 22 March 2015 16:18
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: IR-Schreib-Lesekopf

Post by Dlanor »

I have the same kind of problem with my Landis+Gyr ZCF120ABd. I won't get any reading from IR-Schreib-Lesekopf on my RPI.

Code: Select all

pi@RaspberryPi ls -l /dev/serial/{by-path,by-id}/*
lrwxrwxrwx 1 root root 13 Jan  1  1970 /dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1YI4T4I-if00-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root 13 Jan  1  1970 /dev/serial/by-id/usb-Silicon_Labs_USB-IR-Kopf_0092D858-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Jan  1  1970 /dev/serial/by-path/platform-bcm2708_usb-usb-0:1.2:1.0-port0 -> ../../ttyUSB1
lrwxrwxrwx 1 root root 13 Jan  1  1970 /dev/serial/by-path/platform-bcm2708_usb-usb-0:1.3:1.0-port0 -> ../../ttyUSB0

[b]pi@RaspberryPi ~ $ cu -l /dev/ttyUSB0 -s=9600 --parity=none[/b]
Connected.

Nothing pops up on my RPI. I have tested the IR-Schreib-Lesekopf with my windows laptop. It shows up and reads the data.
test1.png
test1.png (24.26 KiB) Viewed 7380 times
Attachments
domoticz.png
domoticz.png (28.66 KiB) Viewed 7380 times
Last edited by Dlanor on Wednesday 26 September 2018 20:25, edited 2 times in total.
Domoticz| Zigbee | SONOFF
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: IR-Schreib-Lesekopf

Post by ThinkPad »

The output looks quite similar to that of a smartmeter, but similar != same.
I think Domoticz can't parse it, because it doesn't know this kind of telegram.

Maybe it can be implemented :)
I am not active on this forum anymore.
pj-r
Posts: 140
Joined: Wednesday 17 December 2014 17:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: IR-Schreib-Lesekopf

Post by pj-r »

Bit offtopic but can anyone say if I can buy ready assembled IR-Schreib-Lesekopf from somewhere?
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
Dlanor
Posts: 67
Joined: Sunday 22 March 2015 16:18
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: IR-Schreib-Lesekopf

Post by Dlanor »

pj-r wrote:Bit offtopic but can anyone say if I can buy ready assembled IR-Schreib-Lesekopf from somewhere?
Via volkszaehler.org
Domoticz| Zigbee | SONOFF
Dlanor
Posts: 67
Joined: Sunday 22 March 2015 16:18
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: IR-Schreib-Lesekopf

Post by Dlanor »

ThinkPad wrote:The output looks quite similar to that of a smartmeter, but similar != same.
I think Domoticz can't parse it, because it doesn't know this kind of telegram.

Maybe it can be implemented :)
How can i send the request to be implemented?
Domoticz| Zigbee | SONOFF
ThinkPad
Posts: 890
Joined: Tuesday 30 September 2014 8:49
Target OS: Linux
Domoticz version: beta
Location: The Netherlands
Contact:

Re: IR-Schreib-Lesekopf

Post by ThinkPad »

You can place a feature request here: http://www.domoticz.com/forum/tracker.php?p=2 and discuss about it here: http://www.domoticz.com/forum/viewforum.php?f=5 (be sure to read the rules of that subforum).
I am not active on this forum anymore.
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: IR-Schreib-Lesekopf

Post by gizmocuz »

I think for one reason is that the P1 serial port is opened with 9600 baud, Even parity, 7 bits
Maybe your serial protocol is different ?

what you can try:
install 'ser2net' and configure this that port 2000 is opening the right serial device, with the right parameters (in raw mode)
now when you connect from another machine to this port 2000, you should see the serial output

in domoticz, you can also setup a P1 meter with LAN interface

Maybe this will work

Probably later this year you will get a P1 Smart meter (i think everyone in holland will get one)
Quality outlives Quantity!
jossie67
Posts: 39
Joined: Wednesday 31 December 2014 12:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: IR-Schreib-Lesekopf

Post by jossie67 »

Gizmocuz,

I don't think I will get a new smart-meter this year, my house was build in 2008.
I have it working now also with stadverwarming, see also

http://www.domoticz.com/forum/viewtopic.php?f=14&t=5270
Raspberry Pi (3x)
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
Dlanor
Posts: 67
Joined: Sunday 22 March 2015 16:18
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: IR-Schreib-Lesekopf

Post by Dlanor »

gizmocuz wrote:Probably later this year you will get a P1 Smart meter (i think everyone in holland will get one)
I have called Stedin en our area isn't scheduled yet. They have planned it somewhere from 2017 until 2020. Just because it is working fine for them now.
Domoticz| Zigbee | SONOFF
User avatar
Domosapiens
Posts: 232
Joined: Wednesday 20 August 2014 12:08
Target OS: Windows
Domoticz version: V3.5981
Location: NL
Contact:

Re: IR-Schreib-Lesekopf

Post by Domosapiens »

In our area ENEXIS is the provider.
When I called them to tell that my meter didn't switch from high to low tariff,
it was immediate replaced by a smart meter.
In my case it was the truth (but who cares?).

Hope this helps
Domosapiens
Win Vista&7; 1#Aeon Z-Stick S2; 1#Aeotec Z-Sick Gen5, 6#Fib.FGBS001; 24#DS18B20; 8#Everspr.AN158-2; 3#Philio PAN04; 1#Philio PAN06, 1#YouLess El; 1#Fib.FGWPE; 1#ZME_RC2; 2#FAK_ZWS230, 2#Quib.ZMNHCDx, 1#Quib.ZMNHDD1, 7#EM6555
Dlanor
Posts: 67
Joined: Sunday 22 March 2015 16:18
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: IR-Schreib-Lesekopf

Post by Dlanor »

I have tried to get my Lesekopf working. I am getting one step closer but am stil far far away. I am sending

Code: Select all

pi@raspberrypi ~ $ echo -e "\x2f\x3f\x21\x0d\x0a" > /dev/ttyUSB0
pi@raspberrypi ~ $ cat /dev/ttyUSB0
(ER23)
Does anybody knows more?
Domoticz| Zigbee | SONOFF
jossie67
Posts: 39
Joined: Wednesday 31 December 2014 12:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: IR-Schreib-Lesekopf

Post by jossie67 »

Dlanor wrote:I have tried to get my Lesekopf working. I am getting one step closer but am stil far far away. I am sending
Does anybody knows more?
Check viewtopic.php?f=31&t=5390 and viewtopic.php?f=14&t=5270
Raspberry Pi (3x)
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
Dlanor
Posts: 67
Joined: Sunday 22 March 2015 16:18
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

IR-Schreib-Lesekopf

Post by Dlanor »

Thanks! I will give it a try. I give up and wait for support within Domoticz :oops: . Too much noob for this.
Domoticz| Zigbee | SONOFF
Jendemen
Posts: 9
Joined: Tuesday 10 February 2015 21:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: IR-Schreib-Lesekopf

Post by Jendemen »

How do I see on what USB port the IR-Lesekopf is connected?
When I use 'dmesg | grep ttyUSB' I see nothing, so it is a bit difficult to amend the python script which reads the Kamstrup.

Thanks!
Dlanor
Posts: 67
Joined: Sunday 22 March 2015 16:18
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: IR-Schreib-Lesekopf

Post by Dlanor »

Dlanor wrote: Tuesday 07 July 2015 17:33
Thanks! I will give it a try. I give up and wait for support within Domoticz :oops: . Too much noob for this.
Finally allmost got it working. Babysteps! @Jossie67 thanks!
Domoticz| Zigbee | SONOFF
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests