AXIOMA

AXIOMA QALCOSONIC W1

AXIOMA QALCOSONIC W1
>D
; aktuelle Version unter https://bitshake.de/skripte
period=60
done=0
wkup=1
>B
smlj=0
->sensor53 r
>BS
=#readmeter
>S
if time%period==0
and done==0
then
=#readmeter
done=1
print done set
endif
if time%period-1==0 
and done==1
then
done=0
endif
if sml[1]>0
and smlj==0
then
smlj=1
print enabled MQTT
endif
#readmeter
print wakeup start
sml(-1 1 "2400:8N1")
for wkup 1 53 1
sml(1 1 "55555555555555555555")
next
print wakeup end
wkup=1
print wait for the meter
delay(800)
sml(-1 1 "2400:8E1")
print request data
sml(1 1 "105BFE5916")
>M 1
+1,5,rE1,0,2400,AXIOMA,4
1,=so3,16
1,0413uuUU@1000,Zählerstand,m³,qm_total,3
1,023BuuUU@1,Durchfluss,l/h,Flow,2
1,0259uuUU@100,Wassertemp.,°C,Temp,1
#