<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo,<div class=""><br class=""></div><div class="">gibt es jemanden, der einen Wärmemengenzähler<span style="font-stretch: normal; line-height: normal;" class=""> </span>ULTRAHEAT<span style="font-stretch: normal; line-height: normal;" class="">®</span>T550 <span style="font-stretch: normal; line-height: normal;" class="">(UH50…) beim Volkszähler eingebunden hat.</span></div><div class=""><span style="font-stretch: normal; line-height: normal;" class=""><br class=""></span></div><div class=""><span style="font-stretch: normal; line-height: normal;" class="">Mit diesem script in python schaffe ich es zwar den Zählerstand auszulesen:</span></div><div class=""><span style="font-stretch: normal; line-height: normal;" class=""><br class=""></span></div><div class=""><span style="font-stretch: normal; line-height: normal;" class=""><pre style="word-wrap: break-word; white-space: pre-wrap;" class=""><i class=""><font size="1" class="">#!/usr/bin/python
from __future__ import print_function
import serial, time
ser = serial.Serial("/dev/ttyUSB0", baudrate=300, bytesize=7, parity="E", stopbits=1, timeout=2, xonxoff=0, rtscts=0)
#send init message
ser.write("\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00")
ser.write("\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00")
#send request message
ser.write("/?!\x0D\x0A")
ser.flush();
time.sleep(.5)
#send read identification message
print(ser.readline())
#change baudrate
ser.baudrate=2400
try:
#read data message
while True:
response = ser.readline()
print(response, end="")
if "!" in response:
break
finally:
ser.close()</font></i></pre><div class=""><br class=""></div></span></div><div class=""><span style="font-stretch: normal; line-height: normal;" class=""><br class=""></span></div><div class="">Ich bekomme aber keine aktuellen Verbrauchswerte, sondern, neben vielem anderen, nur den Zählerstand unter 6.8.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><pre style="font-size: 0.846em; font-family: Monaco, monospace, sans-serif; background-color: rgb(245, 245, 245); border-width: 1px; border-style: solid; border-color: rgb(221, 221, 221) rgb(204, 204, 204) rgb(204, 204, 204) rgb(221, 221, 221); padding: 1em; white-space: pre-wrap; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px;" class="">/LUGCUH50
6.8(0074900*kWh)6.26(04142.48*m3)9.21(66409080)
6.26*01(03957.55*m3)6.8*01(0071925*kWh)
F(0)9.20(66409080)6.35(60*m)
6.6(0016.2*kW)6.6*01(0015.3*kW)6.33(001.608*m3ph)9.4(094.4*C&092.9*C)
6.31(0046124*h)6.32(0000000*h)9.22(R)9.6(000&66409080&0&000&66409080&0)
9.7(60000)6.32*01(0000000*h)6.36(01-01&00:00)6.33*01(001.608*m3ph)
6.8.1()6.8.2()6.8.3()6.8.4()6.8.5()
6.8.1*01()6.8.2*01()6.8.3*01()
6.8.4*01()6.8.5*01()
9.4*01(094.4*C&092.9*C)
6.36.1(2016-01-18)6.36.1*01(2011-07-13)
6.36.2(2015-01-07)6.36.2*01(2015-01-07)
6.36.3(2014-12-23)6.36.3*01(2014-12-23)
6.36.4(2014-03-14)6.36.4*01(2014-03-14)
6.36.5()6.36*02(01&00:00)9.36(2016-02-12&19:36:08)9.24(1.5*m3ph)
9.17(0)9.18()9.19()9.25()
9.1(0&1&0&0000&CECV&CECV&1&5.16&5.16&F&101008&1>1>04&08&0)
9.2(&&)9.29()9.31(0014842*h)
9.0.1(00000000)9.0.2(00000000)9.34.1(000.00000*m3)9.34.2(000.00000*m3)
8.26.1(00000000*m3)8.26.2(00000000*m3)
8.26.1*01(00000000*m3)8.26.2*01(00000000*m3)
6.26.1()6.26.4()6.26.5()
6.26.1*01()6.26.4*01()6.26.5*01()0.0(66409080)
!</pre><div class=""><br class=""></div></div><div class=""><br class=""></div><div class="">Wie könnte man das machen?</div><div class=""><br class=""></div><div class="">Niko</div><div class=""><br class=""></div><div class=""><span style="font-stretch: normal; line-height: normal;" class=""><br class=""></span></div><div class=""><span style="font-stretch: normal; line-height: normal;" class=""><br class=""></span></div><div class=""><span style="font-stretch: normal; line-height: normal;" class=""><br class=""></span></div><div class=""><span style="font-stretch: normal; line-height: normal;" class=""><br class=""></span></div></body></html>