Moin zusammen,
ich habe meinen ESP8266 erfolgreich mit den nötigen Parametern geflasht und einen Fototransistor mit Pullup an D7 (GPIO13) angeschlossen.
Mein Script:
>D
>B
->sensor53 r
tper=10
>M
+1,13,s,1,9600,SML
1,77070100010800ff@1000,Arbeit,kWh,Arbeit,1
1,77070100100700ff@1000,Leistung,W,Leistung,1
1,7707010002080061@1000,Woche,kWh,Woche,1
#
liefert mir auch den Gesamtverbrauch, jedoch nicht den momentanen Wert der aktiven Leistung (oder auch andere Werte).
Output sensor53 d1:
Spoiler
11:30:09.510 CMD: sensor53 d1
11:30:09.516 MQT: stat/Smartmeter_IR/RESULT = {"Time":"2022-06-10T11:30:09","SML":{"CMD":"dump: 1"}}
11:30:09.732 1b 1b 1b 1b 01 01 01 01 76 05 08 5b 61 4a 62 00 62 00 72 65 00 00 01 01 76 01 01 05 02 c9 20 6e 0b 0a 01 41 50 41 01 05 de
11:30:09.782 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 6f 74
11:30:09.783 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:09.785 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:09.833 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:10.732 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 90 57 00 76 05 08 5b 61 4c 62 00 62 00
11:30:10.782 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 70 74
11:30:10.784 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:10.785 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:10.832 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:11.734 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 bb 78 00 76 05 08 5b 61 4f 62 00 62 00
11:30:11.785 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 71 74
11:30:11.787 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:11.789 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:11.835 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:12.735 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 a1 9e 00 76 05 08 5b 61 52 62 00 62 00
11:30:12.786 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 72 74
11:30:12.788 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:12.790 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:12.835 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:13.738 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 ee 42 00 76 05 08 5b 61 55 62 00 62 00
11:30:13.741 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 73 74
11:30:13.789 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:13.792 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:13.839 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:14.719 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 24 f1 00 76 05 08 5b 61 58 62 00 62 00
11:30:14.768 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 74 74
11:30:14.771 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:14.818 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:14.822 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:15.723 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 fa 80 00 76 05 08 5b 61 5b 62 00 62 00
11:30:15.774 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 75 74
11:30:15.776 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:15.823 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:15.825 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:16.724 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 ab 41 00 76 05 08 5b 61 5e 62 00 62 00
11:30:16.774 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 76 74
11:30:16.777 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:16.823 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:16.825 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:17.731 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 44 36 00 76 05 08 5b 61 61 62 00 62 00
11:30:17.733 : 77 01 63 44 2d 00 76 05 08 5b 61 63 62 00 62 00 72 65 00 00 07 01
11:30:17.736 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20
11:30:17.738 : 77 74
11:30:17.781 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:17.784 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:17.832 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:18.388 MQT: tele/Smartmeter_IR/STATE = {"Time":"2022-06-10T11:30:18","Uptime":"0T00:00:20","UptimeSec":20,"Heap":21,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"Biddebaba","BSSId":"5C:49:79:40:59:B9","Channel":11,"Mode":"11n","RSSI":42,"Signal":-79,"LinkCount":1,"Downtime":"0T00:00:04"}}
11:30:18.397 MQT: tele/Smartmeter_IR/SENSOR = {"Time":"2022-06-10T11:30:18","SML":{"Arbeit":5341.0,"Leistung":0.0,"Woche":0.0}}
11:30:18.684 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 8e 85 00 76 05 08 5b 61 64 62 00 62 00
11:30:18.733 : 77 0b 0a 01 41 50 41 01 05 de ff 46 72 62 01 65 02 c9 20 78 01 63 7b 65 00 76 05 08 5b 61 66 62 00 62 00 72 65 00 00 07
11:30:18.782 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 78 74
11:30:18.785 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:18.787 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:18.833 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:19.736 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 28 80 00 76 05 08 5b 61 67 62 00 62 00
11:30:19.739 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 79 74
11:30:19.786 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:19.788 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:19.836 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:20.737 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 4f a4 00 76 05 08 5b 61 6a 62 00 62 00
11:30:20.740 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 7a 74
11:30:20.787 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:20.789 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:20.837 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:21.738 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 00 78 00 76 05 08 5b 61 6d 62 00 62 00
11:30:21.741 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 7b 74
11:30:21.789 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:21.791 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:21.922 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:22.728 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 ca cb 00 76 05 08 5b 61 70 62 00 62 00
11:30:22.778 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 7c 74
11:30:22.780 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:22.783 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:22.828 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:23.731 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 69 78 00 76 05 08 5b 61 73 62 00 62 00
11:30:23.780 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 7d 74
11:30:23.782 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:23.785 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:23.830 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:24.651 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 38 b9 00 76 05 08 5b 61 76 62 00 62 00
11:30:24.750 : 77 62 00 62 00 72 65 00 00 01 01 76 01 01 05 02 c9 20 7d 0b 0a 01 41 50 41 01 05 de ff 46 72 62 01 65 02 c9 20 7e 01 63
11:30:24.753 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 7e 74
11:30:24.756 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:24.802 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:24.852 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:25.752 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 41 80 00 76 05 08 5b 61 79 62 00 62 00
11:30:25.754 : 77 01 0b 0a 01 41 50 41 01 05 de ff 46 07 01 00 62 0a ff ff 72 62 01 65 02 c9 20 7f 74
11:30:25.801 : 77 07 01 00 60 32 01 01 01 01 01 01 04 41 50 41 01
11:30:25.804 : 77 07 01 00 60 01 00 ff 01 01 01 01 0b 0a 01 41 50 41 01 05 de ff 46 01
11:30:25.852 : 77 07 01 00 01 08 00 ff 65 00 1c 01 04 01 62 1e 52 03 69 00 00 00 00 00 00 14 dd 01
11:30:25.902 : 77 07 01 00 02 08 00 ff 01 01 62 1e 52 03 69 00 00 00 00 00 00 00 00 01 01 01 63 8b 33 00 76 05 08 5b 61 7c 62 00 62 00
11:30:26.410 CMD: sensor53 d0
11:30:26.417 MQT: stat/Smartmeter_IR/RESULT = {"Time":"2022-06-10T11:30:26","SML":{"CMD":"dump: 0"}}
11:30:28.397 MQT: tele/Smartmeter_IR/STATE = {"Time":"2022-06-10T11:30:28","Uptime":"0T00:00:30","UptimeSec":30,"Heap":21,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":1,"SSId":"Biddebaba","BSSId":"5C:49:79:40:59:B9","Channel":11,"Mode":"11n","RSSI":38,"Signal":-81,"LinkCount":1,"Downtime":"0T00:00:04"}}
11:30:28.407 MQT: tele/Smartmeter_IR/SENSOR = {"Time":"2022-06-10T11:30:28","SML":{"Arbeit":5341.0,"Leistung":0.0,"Woche":0.0}}
Hat jemand eine Idee, woran das liegen könnte?
Den Pin habe ich eingegeben und sehe auch über das Display vom Zähler (NORAX3D) alle Werte.