O clock não tem de ficar a zero. Tem de parar.
18:13:07.438 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:13:07","Uptime":"0T01:12:56","UptimeSec":4376,"Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:13:07.448 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:13:07","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:13:12.414 WIF: Sending Gratuitous ARP
18:13:15.772 WIF: Checking connection...
18:13:17.409 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:13:17","Uptime":"0T01:13:06","UptimeSec":4386,"Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:13:17.419 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:13:17","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:13:27.414 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:13:27","Uptime":"0T01:13:16","UptimeSec":4396,"Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:13:27.424 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:13:27","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:13:35.766 WIF: Checking connection...
18:13:36.623 HTP: Main Menu
18:13:37.694 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:13:37","Uptime":"0T01:13:26","UptimeSec":4406,"Heap":15,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":85,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:13:37.703 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:13:37","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:13:39.921 HTP: Consoles
18:13:41.338 HTP: Edit Script
18:13:43.667 Script: nv=32, tv=16, vns=211, vmem=1955, smem=5900
18:13:43.672 Script: performs "SerialLog 0"
18:13:43.674 SRC: Rule
18:13:43.676 CMD: Grp 0, Cmd 'SERIALLOG', Idx 1, Len 1, Pld 0, Data '0'
18:13:43.682 MQT: stat/edpbox1/RESULT = {"SerialLog":{"0":{"Active":"0"}}}
18:13:43.684 Script: performs "Sensor53 r"
18:13:43.685 SRC: Rule
18:13:43.688 CMD: Grp 0, Cmd 'SENSOR', Idx 53, Len 1, Pld -99, Data 'r'
18:13:43.697 SNS: Hardware Serial
18:13:43.699 meters: 1 , decode lines: 23, memory used: 3127 bytes
18:13:43.705 MQT: stat/edpbox1/RESULT = {"Time":"2023-08-23T18:13:43","SML":{"CMD":"restart"}}
18:13:43.712 HTP: Consoles
18:13:44.346 CFG: Saved to flash at FB, Count 5058, Bytes 4096
18:13:44.356 cnt=1
18:13:44.422 cnt=2
18:13:45.426 cnt=3
18:13:45.626 HTP: Main Menu
18:13:46.399 cnt=4
18:13:47.403 cnt=5
18:13:48.406 cnt=6
18:13:49.001 HTP: Consoles
18:13:49.394 cnt=7
18:13:50.394 cnt=8
18:13:50.762 HTP: Console
18:13:51.725 cnt=9
18:13:52.394 cnt=10
18:13:53.423 cnt=11
18:13:54.396 cnt=12
18:13:55.403 cnt=13
18:13:56.409 cnt=14
18:13:57.768 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:13:57","Uptime":"0T01:13:46","UptimeSec":4426,"Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:13:57.783 cnt=15
18:13:58.407 cnt=16
18:13:58.700 WIF: Checking connection...
18:13:59.409 cnt=17
18:14:00.741 cnt=18
18:14:01.412 cnt=19
18:14:02.420 cnt=20
18:14:03.465 cnt=21
18:14:04.432 cnt=22
18:14:05.389 cnt=23
18:14:08.521 SRC: File
18:14:08.525 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 454, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/uptime/config {"name":"EB1 ESP Uptime","unique_id":"EB1_ESP_Uptime","state_topic":"tele/edpbox1/STATE","value_template":"{{ ( value_json.UptimeSec / 3600 ) | round(1) }}","unit_of_measurement":"h","icon":"mdi:alarm","availability_topic":"tele/edpbox1/LWT","payload_available":"Online","payload_not_available":"Offline","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:08.530 MQT: homeassistant/sensor/nikito7-EB1/uptime/config = {"name":"EB1 ESP Uptime","unique_id":"EB1_ESP_Uptime","state_topic":"tele/edpbox1/STATE","value_template":"{{ ( value_json.UptimeSec / 3600 ) | round(1) }}","unit_of_measurement":"h","icon":"mdi:alarm","availability_topic":"tele/edpbox1/LWT","payload_available":"Online","payload_not_available":"Offline","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:08.571 SRC: File
18:14:08.574 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 327, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/freeheap/config {"name":"EB1 ESP Free Heap","unique_id":"EB1_ESP_Heap","state_topic":"tele/edpbox1/STATE","value_template":"{{ value_json.Heap }}","unit_of_measurement":"kB","icon":"mdi:chip","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:08.582 MQT: homeassistant/sensor/nikito7-EB1/freeheap/config = {"name":"EB1 ESP Free Heap","unique_id":"EB1_ESP_Heap","state_topic":"tele/edpbox1/STATE","value_template":"{{ value_json.Heap }}","unit_of_measurement":"kB","icon":"mdi:chip","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:08.621 SRC: File
18:14:08.624 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 346, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/signal/config {"name":"EB1 ESP Signal","unique_id":"EB1_ESP_Signal","state_topic":"tele/edpbox1/STATE","value_template":"{{ value_json.Wifi.Signal }}","unit_of_measurement":"dB","device_class":"signal_strength","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:08.634 MQT: homeassistant/sensor/nikito7-EB1/signal/config = {"name":"EB1 ESP Signal","unique_id":"EB1_ESP_Signal","state_topic":"tele/edpbox1/STATE","value_template":"{{ value_json.Wifi.Signal }}","unit_of_measurement":"dB","device_class":"signal_strength","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:08.671 SRC: File
18:14:08.675 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 361, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/vcc/config {"name":"EB1 ESP Vcc","unique_id":"EB1_ESP_Vcc","state_topic":"tele/edpbox1/STATE","value_template":"{{ value_json.Vcc|float(0.000) }}","unit_of_measurement":"V","device_class":"voltage","state_class":"measurement","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:08.684 MQT: homeassistant/sensor/nikito7-EB1/vcc/config = {"name":"EB1 ESP Vcc","unique_id":"EB1_ESP_Vcc","state_topic":"tele/edpbox1/STATE","value_template":"{{ value_json.Vcc|float(0.000) }}","unit_of_measurement":"V","device_class":"voltage","state_class":"measurement","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:08.720 CMD: sensor53 d1
18:14:08.722 SRC: WebConsole from 10.19.0.12
18:14:08.724 CMD: Grp 0, Cmd 'SENSOR', Idx 53, Len 2, Pld -99, Data 'd1'
18:14:08.730 MQT: stat/edpbox1/RESULT = {"Time":"2023-08-23T18:14:08","SML":{"CMD":"dump: 1"}}
18:14:09.439 cnt=27
18:14:09.460 SRC: File
18:14:09.464 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 493, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/clock/config {"name":"EB1 Clock","uniq_id":"EB1_Clock","stat_t":"tele/edpbox1/SENSOR","val_tpl":"{%% if value_json.EB1.CS is defined %%} {%% set hh = states('sensor.eb1_clock_h')|string %%} {%% set mm = states('sensor.eb1_clock_m')|int(0) %%} {%% set ss = value_json.EB1.CS|int(0) %%} {{ hh + ':' + '{0:02d}'.format(mm) + ':' + '{0:02d}'.format(ss) }} {%% else %%} {{ states('sensor.eb1_clock') }} {%% endif %%}","icon":"mdi:clock","dev":{"ids":"nikito7-EB1"}}'
18:14:09.469 MQT: homeassistant/sensor/nikito7-EB1/clock/config = {"name":"EB1 Clock","uniq_id":"EB1_Clock","stat_t":"tele/edpbox1/SENSOR","val_tpl":"{% if value_json.EB1.CS is defined %} {% set hh = states('sensor.eb1_clock_h')|string %} {% set mm = states('sensor.eb1_clock_m')|int(0) %} {% set ss = value_json.EB1.CS|int(0) %} {{ hh + ':' + '{0:02d}'.format(mm) + ':' + '{0:02d}'.format(ss) }} {% else %} {{ states('sensor.eb1_clock') }} {% endif %}","icon":"mdi:clock","dev":{"ids":"nikito7-EB1"}} (retained)
18:14:09.522 SRC: File
18:14:09.526 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 373, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/clockesp/config {"name":"EB1 ESP Clock","unique_id":"EB1_ESP_Clock","state_topic":"tele/edpbox1/SENSOR","value_template":" {%% if value_json.Time is defined %%} {{ value_json.Time.split('T')[1]|string }} {%% endif %%}","icon":"mdi:clock","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:09.532 MQT: homeassistant/sensor/nikito7-EB1/clockesp/config = {"name":"EB1 ESP Clock","unique_id":"EB1_ESP_Clock","state_topic":"tele/edpbox1/SENSOR","value_template":" {% if value_json.Time is defined %} {{ value_json.Time.split('T')[1]|string }} {% endif %}","icon":"mdi:clock","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:09.595 SRC: File
18:14:09.598 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 423, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/volt/config {"name":"EB1 Voltage L1","unique_id":"EB1_VolL1","state_topic":"tele/edpbox1/SENSOR","value_template":"{%% set x = value_json['EB1']['Voltage']|float(0) %%} {%% if x > 0 %%} {{ x }} {%% endif %%}","unit_of_measurement":"V","device_class":"voltage","state_class":"measurement","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:09.604 MQT: homeassistant/sensor/nikito7-EB1/volt/config = {"name":"EB1 Voltage L1","unique_id":"EB1_VolL1","state_topic":"tele/edpbox1/SENSOR","value_template":"{% set x = value_json['EB1']['Voltage']|float(0) %} {% if x > 0 %} {{ x }} {% endif %}","unit_of_measurement":"V","device_class":"voltage","state_class":"measurement","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:09.656 SRC: File
18:14:09.660 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 427, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/current/config {"name":"EB1 Current L1","unique_id":"EB1_CurL1","state_topic":"tele/edpbox1/SENSOR","value_template":"{%% set x = value_json['EB1']['Current']|float(0) %%} {%% if x > -1 %%} {{ x }} {%% endif %%}","unit_of_measurement":"A","device_class":"current","state_class":"measurement","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:09.665 MQT: homeassistant/sensor/nikito7-EB1/current/config = {"name":"EB1 Current L1","unique_id":"EB1_CurL1","state_topic":"tele/edpbox1/SENSOR","value_template":"{% set x = value_json['EB1']['Current']|float(0) %} {% if x > -1 %} {{ x }} {% endif %}","unit_of_measurement":"A","device_class":"current","state_class":"measurement","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:10.409 cnt=28
18:14:10.772 > 01 04 00 01 00 01 60 0a
18:14:11.422 cnt=29
18:14:12.447 WIF: Sending Gratuitous ARP
18:14:12.457 cnt=30
18:14:12.859 > 01 04 00 6c 00 02 b1 d6
18:14:13.412 cnt=31
18:14:14.374 > 01 04 00 16 00 02 90 0f
18:14:14.430 cnt=32
18:14:15.431 cnt=33
18:14:16.132 > 01 04 00 26 00 03 51 c0
18:14:16.262 : 01 04 04 09 6c 00 06 b8 07
18:14:16.411 cnt=34
18:14:17.422 cnt=35
18:14:17.636 > 01 04 00 79 00 03 61 d2
18:14:17.803 : 01 04 08 00 01 ff 0b 00 00 00 00 85 03
18:14:18.234 CMD: sensor53 d1
18:14:18.236 SRC: WebConsole from 10.19.0.12
18:14:18.238 CMD: Grp 0, Cmd 'SENSOR', Idx 53, Len 2, Pld -99, Data 'd1'
18:14:18.244 MQT: stat/edpbox1/RESULT = {"Time":"2023-08-23T18:14:18","SML":{"CMD":"dump: 1"}}
18:14:18.706 cnt=36
18:14:19.410 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:14:19","Uptime":"0T01:14:08","UptimeSec":4448,"Heap":14,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":130,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:14:19.423 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:14:19","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:14:19.436 cnt=37
18:14:19.791 > 01 04 00 7f 00 02 40 13
18:14:19.958 : 01 04 0c 00 00 d1 ef 00 00 57 38 00 00 d5 e4 ba 16
18:14:20.209 WIF: Checking connection...
18:14:20.417 cnt=38
18:14:23.555 SRC: File
18:14:23.559 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 447, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/powexp/config {"name":"EB1 Active Power Export","unique_id":"EB1_ActPowExp","state_topic":"tele/edpbox1/SENSOR","value_template":"{%% set x = value_json['EB1']['Active Power Export']|int(0) %%} {%% if x > -1 %%} {{ x }} {%% endif %%}","unit_of_measurement":"W","device_class":"power","state_class":"measurement","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:23.570 MQT: homeassistant/sensor/nikito7-EB1/powexp/config = {"name":"EB1 Active Power Export","unique_id":"EB1_ActPowExp","state_topic":"tele/edpbox1/SENSOR","value_template":"{% set x = value_json['EB1']['Active Power Export']|int(0) %} {% if x > -1 %} {{ x }} {% endif %}","unit_of_measurement":"W","device_class":"power","state_class":"measurement","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:23.624 SRC: File
18:14:23.627 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 397, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/freq/config {"name":"EB1 Frequency","unique_id":"EB1_Frequency","state_topic":"tele/edpbox1/SENSOR","value_template":"{%% set x = value_json.EB1.Frequency|float(0) %%} {%% if x > 0 %%} {{ x }} {%% endif %%}","unit_of_measurement":"Hz","device_class":"frequency","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:23.633 MQT: homeassistant/sensor/nikito7-EB1/freq/config = {"name":"EB1 Frequency","unique_id":"EB1_Frequency","state_topic":"tele/edpbox1/SENSOR","value_template":"{% set x = value_json.EB1.Frequency|float(0) %} {% if x > 0 %} {{ x }} {% endif %}","unit_of_measurement":"Hz","device_class":"frequency","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:23.688 SRC: File
18:14:23.692 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 420, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/tt1/config {"name":"EB1 T1 Vazio","unique_id":"EB1_TotEneT1","state_topic":"tele/edpbox1/SENSOR","value_template":"{%% set x = value_json.EB1.TET1|float(0) %%} {%% if x > 0 %%} {{ x }} {%% endif %%}","unit_of_measurement":"kWh","device_class":"energy","state_class":"total_increasing","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:23.700 MQT: homeassistant/sensor/nikito7-EB1/tt1/config = {"name":"EB1 T1 Vazio","unique_id":"EB1_TotEneT1","state_topic":"tele/edpbox1/SENSOR","value_template":"{% set x = value_json.EB1.TET1|float(0) %} {% if x > 0 %} {{ x }} {% endif %}","unit_of_measurement":"kWh","device_class":"energy","state_class":"total_increasing","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:23.753 SRC: File
18:14:23.756 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 420, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/tt2/config {"name":"EB1 T2 Ponta","unique_id":"EB1_TotEneT2","state_topic":"tele/edpbox1/SENSOR","value_template":"{%% set x = value_json.EB1.TET2|float(0) %%} {%% if x > 0 %%} {{ x }} {%% endif %%}","unit_of_measurement":"kWh","device_class":"energy","state_class":"total_increasing","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:23.763 MQT: homeassistant/sensor/nikito7-EB1/tt2/config = {"name":"EB1 T2 Ponta","unique_id":"EB1_TotEneT2","state_topic":"tele/edpbox1/SENSOR","value_template":"{% set x = value_json.EB1.TET2|float(0) %} {% if x > 0 %} {{ x }} {% endif %}","unit_of_measurement":"kWh","device_class":"energy","state_class":"total_increasing","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:24.210 SRC: File
18:14:24.214 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 421, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/tt3/config {"name":"EB1 T3 Cheias","unique_id":"EB1_TotEneT3","state_topic":"tele/edpbox1/SENSOR","value_template":"{%% set x = value_json.EB1.TET3|float(0) %%} {%% if x > 0 %%} {{ x }} {%% endif %%}","unit_of_measurement":"kWh","device_class":"energy","state_class":"total_increasing","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:24.220 MQT: homeassistant/sensor/nikito7-EB1/tt3/config = {"name":"EB1 T3 Cheias","unique_id":"EB1_TotEneT3","state_topic":"tele/edpbox1/SENSOR","value_template":"{% set x = value_json.EB1.TET3|float(0) %} {% if x > 0 %} {{ x }} {% endif %}","unit_of_measurement":"kWh","device_class":"energy","state_class":"total_increasing","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:24.278 SRC: File
18:14:24.281 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 423, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/totalimp/config {"name":"EB1 Import","unique_id":"EB1_TotEneImp","state_topic":"tele/edpbox1/SENSOR","value_template":"{%% set x = value_json.EB1.TEI|float(0) %%} {%% if x > 0 %%} {{ x }} {%% endif %%}","unit_of_measurement":"kWh","device_class":"energy","state_class":"total_increasing","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:24.288 MQT: homeassistant/sensor/nikito7-EB1/totalimp/config = {"name":"EB1 Import","unique_id":"EB1_TotEneImp","state_topic":"tele/edpbox1/SENSOR","value_template":"{% set x = value_json.EB1.TEI|float(0) %} {% if x > 0 %} {{ x }} {% endif %}","unit_of_measurement":"kWh","device_class":"energy","state_class":"total_increasing","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:24.340 SRC: File
18:14:24.343 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 423, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/totalexp/config {"name":"EB1 Export","unique_id":"EB1_TotEneExp","state_topic":"tele/edpbox1/SENSOR","value_template":"{%% set x = value_json.EB1.TEE|float(0) %%} {%% if x > 0 %%} {{ x }} {%% endif %%}","unit_of_measurement":"kWh","device_class":"energy","state_class":"total_increasing","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}}'
18:14:24.349 MQT: homeassistant/sensor/nikito7-EB1/totalexp/config = {"name":"EB1 Export","unique_id":"EB1_TotEneExp","state_topic":"tele/edpbox1/SENSOR","value_template":"{% set x = value_json.EB1.TEE|float(0) %} {% if x > 0 %} {{ x }} {% endif %}","unit_of_measurement":"kWh","device_class":"energy","state_class":"total_increasing","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito7"}} (retained)
18:14:24.399 cnt=42
18:14:24.417 SRC: File
18:14:24.421 CMD: Grp 0, Cmd 'PUBLISH', Idx 2, Len 430, Pld -99, Data 'homeassistant/sensor/nikito7-EB1/tarifa/config {"name":"EB1 Tariff","unique_id":"EB1_Tariff","state_topic":"tele/edpbox1/SENSOR","value_template":"{%% set x = value_json.EB1.Tariff|int(0) %%} {%% if x == 1 %%} {{ 'Vazio' }} {%% elif x == 2 %%} {{ 'Ponta' }} {%% elif x == 3 %%} {{ 'Cheias' }} {%% endif %%}","icon":"mdi:counter","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito"}}'
18:14:24.426 MQT: homeassistant/sensor/nikito7-EB1/tarifa/config = {"name":"EB1 Tariff","unique_id":"EB1_Tariff","state_topic":"tele/edpbox1/SENSOR","value_template":"{% set x = value_json.EB1.Tariff|int(0) %} {% if x == 1 %} {{ 'Vazio' }} {% elif x == 2 %} {{ 'Ponta' }} {% elif x == 3 %} {{ 'Cheias' }} {% endif %}","icon":"mdi:counter","device":{"identifiers":"nikito7-EB1","name":"EB1","model":"Easy HAN RS485","manufacturer":"nikito"}} (retained)
18:14:25.021 > 01 04 00 01 00 01 60 0a
18:14:25.420 cnt=43
18:14:26.433 cnt=44
18:14:26.484 > 01 04 00 6c 00 02 b1 d6
18:14:27.409 cnt=45
18:14:28.305 > 01 04 00 16 00 02 90 0f
18:14:28.411 cnt=46
18:14:29.425 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:14:29","Uptime":"0T01:14:18","UptimeSec":4458,"Heap":14,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":99,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:14:29.438 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:14:29","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:14:29.451 cnt=47
18:14:30.052 > 01 04 00 26 00 03 51 c0
18:14:30.203 : 01 04 04 09 61 00 06 29 c4
18:14:30.413 cnt=48
18:14:31.417 cnt=49
18:14:31.576 > 01 04 00 79 00 03 61 d2
18:14:31.723 : 01 04 08 00 01 ff 0b 00 00 00 00 85 03
18:14:32.388 cnt=50
18:14:59.453 cnt=77
18:15:00.363 > 01 44 06 01 83 ad
18:15:00.417 cnt=78
18:15:00.968 WIF: Checking connection...
18:15:01.386 cnt=79
18:15:01.902 > 01 04 00 01 00 01 60 0a
18:15:02.415 cnt=80
18:15:03.373 > 01 04 00 6c 00 02 b1 d6
18:15:03.429 cnt=81
18:15:04.438 cnt=82
18:15:04.895 > 01 04 00 16 00 02 90 0f
18:15:05.404 cnt=83
18:15:06.356 > 01 04 00 26 00 03 51 c0
18:15:06.409 cnt=84
18:15:06.530 : 01 04 04 09 5f 00 06 48 08
18:15:07.393 cnt=85
18:15:07.905 > 01 04 00 79 00 03 61 d2
18:15:08.062 : 01 04 08 00 01 ff 0c 00 00 00 00 30 c3
18:15:08.415 cnt=86
18:15:09.366 > 01 04 00 7f 00 02 40 13
18:15:09.424 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:15:09","Uptime":"0T01:14:58","UptimeSec":4498,"Heap":14,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":99,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:15:09.439 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:15:09","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:15:09.453 cnt=87
18:15:09.521 : 01 04 0c 00 00 d1 ef 00 00 57 38 00 00 d5 e5 7b d6
18:15:10.388 cnt=88
18:15:10.896 > 01 04 00 0b 00 04 80 0b
18:15:11.200 : 01 04 0a 00 00 00 62 00 00 00 00 02 9c 93 b2
18:15:11.401 cnt=89
18:15:12.354 > 01 44 06 01 83 ad
18:15:12.401 WIF: Sending Gratuitous ARP
18:15:12.411 cnt=90
18:15:13.420 cnt=91
18:15:13.887 > 01 04 00 01 00 01 60 0a
18:15:14.390 cnt=92
18:15:15.356 > 01 04 00 6c 00 02 b1 d6
18:15:15.415 cnt=93
18:15:16.428 cnt=94
18:15:16.881 > 01 04 00 16 00 02 90 0f
18:15:17.391 cnt=95
18:15:18.396 > 01 04 00 26 00 03 51 c0
18:15:18.406 cnt=96
18:15:18.545 : 01 04 04 09 44 00 06 38 0f
18:15:19.410 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:15:19","Uptime":"0T01:15:08","UptimeSec":4508,"Heap":14,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":99,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:15:19.424 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:15:19","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:15:19.437 cnt=97
18:15:19.903 > 01 04 00 79 00 03 61 d2
18:15:20.192 : 01 04 08 00 01 ff 0c 00 00 00 00 30 c3
18:15:20.403 cnt=98
18:15:20.963 WIF: Checking connection...
18:15:21.363 > 01 04 00 7f 00 02 40 13
18:15:21.418 cnt=99
18:15:21.526 : 01 04 0c 00 00 d1 ef 00 00 57 38 00 00 d5 e5 7b d6
18:15:22.890 > 01 04 00 0b 00 04 80 0b
18:15:23.200 : 01 04 0a 00 00 00 61 00 00 00 00 02 a5 60 a0
18:15:24.403 > 01 44 06 01 83 ad
18:15:25.878 > 01 04 00 01 00 01 60 0a
18:15:27.387 > 01 04 00 6c 00 02 b1 d6
18:15:28.859 > 01 04 00 16 00 02 90 0f
18:15:29.415 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:15:29","Uptime":"0T01:15:18","UptimeSec":4518,"Heap":14,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":99,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:15:29.430 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:15:29","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:15:30.357 > 01 04 00 26 00 03 51 c0
18:15:30.498 : 01 04 04 09 46 00 06 99 cf
18:15:32.430 > 01 04 00 79 00 03 61 d2
18:15:32.587 : 01 04 08 00 01 ff 0d 00 00 00 00 0d 03
18:15:33.942 > 01 04 00 7f 00 02 40 13
18:15:34.198 : 01 04 0c 00 00 d1 ef 00 00 57 38 00 00 d5 e6 3b d7
18:15:35.778 > 01 04 00 0b 00 04 80 0b
18:15:35.932 : 01 04 0a 00 00 00 64 00 00 00 00 02 9b b4 70
18:15:37.246 > 01 44 06 01 83 ad
18:15:38.949 > 01 04 00 01 00 01 60 0a
18:15:39.403 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:15:39","Uptime":"0T01:15:28","UptimeSec":4528,"Heap":14,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":100,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:15:39.422 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:15:39","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:15:40.441 > 01 04 00 6c 00 02 b1 d6
18:15:41.454 WIF: Checking connection...
18:15:42.153 > 01 04 00 16 00 02 90 0f
18:15:43.666 > 01 04 00 26 00 03 51 c0
18:15:43.817 : 01 04 04 09 6a 00 06 58 06
18:15:45.497 > 01 04 00 79 00 03 61 d2
18:15:45.648 : 01 04 08 00 01 ff 0d 00 00 00 00 0d 03
18:15:46.956 > 01 04 00 7f 00 02 40 13
18:15:47.191 : 01 04 0c 00 00 d1 ef 00 00 57 38 00 00 d5 e6 3b d7
18:15:48.753 > 01 04 00 0b 00 04 80 0b
18:15:48.902 : 01 04 0a 00 00 00 63 00 00 00 00 02 9c 83 72
18:15:49.399 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:15:49","Uptime":"0T01:15:38","UptimeSec":4538,"Heap":14,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":100,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:15:49.419 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:15:49","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:15:50.233 > 01 44 06 01 83 ad
18:15:51.960 > 01 04 00 01 00 01 60 0a
18:15:53.462 > 01 04 00 6c 00 02 b1 d6
18:15:55.362 > 01 04 00 16 00 02 90 0f
18:15:56.886 > 01 04 00 26 00 03 51 c0
18:15:57.020 : 01 04 04 09 3f 00 06 48 16
18:15:58.741 > 01 04 00 79 00 03 61 d2
18:15:58.878 : 01 04 08 00 01 ff 0d 00 00 00 00 0d 03
18:15:59.427 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:15:59","Uptime":"0T01:15:48","UptimeSec":4548,"Heap":14,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":107,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:15:59.443 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:15:59","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:16:00.212 > 01 04 00 7f 00 02 40 13
18:16:00.374 : 01 04 0c 00 00 d1 ef 00 00 57 38 00 00 d5 e6 3b d7
18:16:01.956 > 01 04 00 0b 00 04 80 0b
18:16:02.183 : 01 04 0a 00 00 00 61 00 00 00 00 02 ac a0 a6
18:16:02.442 WIF: Checking connection...
18:16:03.462 > 01 44 06 01 83 ad
18:16:04.973 > 01 04 00 01 00 01 60 0a
18:16:06.480 > 01 04 00 6c 00 02 b1 d6
18:16:08.093 > 01 04 00 16 00 02 90 0f
18:16:09.409 MQT: tele/edpbox1/STATE = {"Time":"2023-08-23T18:16:09","Uptime":"0T01:15:58","UptimeSec":4558,"Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":99,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:04"}}
18:16:09.425 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-23T18:16:09","EB1":{"CH":0,"CM":0,"CS":0,"Voltage":0.0,"Current":0.0,"TEI":0.00,"TEE":0.00,"TET1":0.00,"TET2":0.00,"TET3":0.00,"Power":0,"Active Power Export":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0,"LP6_EXP":0}}
18:16:09.695 > 01 04 00 26 00 03 51 c0
18:16:09.840 : 01 04 04 09 2c 00 06 b9 d3
18:16:11.208 > 01 04 00 79 00 03 61 d2
18:16:11.343 : 01 04 08 00 01 ff 0e 00 00 00 00 49 03
Isso está a funcionar…
Sensor53 d0
Agora tens de saber a que hora o relógio pára
Consoles > Console:
sensor53 d0
enter
E agora: Sensor53 d1 ?
Chega-me as linhas mais recentes
Aparentemente funciona às vezes.
Actualiza os ficheiros
Continua tudo a zero, http://u.easyhan.pt/setup/EB1/ meti os dados que disseste e estou a usar este firmware
Easy HAN RS485 4M-13.0.0-1 / Tasmota 13.0.0 by Theo Arends
12:02:53.519 WIF: Network 12, AP-, SSId MEO-CASA, Channel 1, BSSId 00:06:91:CA:ED:80, RSSI -95, Encryption 1
12:02:54.110 MQT: tele/edpbox1/STATE = {"Time":"2023-08-24T12:02:54","Uptime":"0T01:28:03","UptimeSec":5283,"Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:10"}}
12:02:54.127 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-24T12:02:54","EB1":{"CH":0,"CM":0,"CS":0,"VL1":0.0,"Current":0.0,"TEI":0.000,"TEE":0.000,"TET1":0.000,"TET2":0.000,"TET3":0.000,"Power":0,"APE":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"CT4":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0.000,"LP4":0.000,"LP5":0.000,"LP6_EXP":0.000},"HAN":{"s0":0.000,"s1":0.000,"s2":0.000,"ck":"00:00:00"}}
12:02:56.557 CMD: Sensor53 d1
12:02:56.559 SRC: WebConsole from 10.19.0.12
12:02:56.563 CMD: Grp 0, Cmd 'SENSOR', Idx 53, Len 3, Pld -99, Data 'd1 '
12:02:56.570 MQT: stat/edpbox1/RESULT = {"Time":"2023-08-24T12:02:56","SML":{"CMD":"dump: 1"}}
12:02:57.414 > 01 04 00 26 00 03 51 c0
12:02:58.498 > 01 04 00 79 00 03 61 d2
12:02:59.629 > 01 04 00 7f 00 01 00 12
12:03:00.690 > 01 04 00 0b 00 07 c0 0a
12:03:01.820 > 01 44 06 01 83 ad
12:03:02.996 > 01 04 00 01 00 01 60 0a
12:03:04.113 > 01 04 00 6c 00 02 b1 d6
12:03:05.104 MQT: tele/edpbox1/STATE = {"Time":"2023-08-24T12:03:05","Uptime":"0T01:28:14","UptimeSec":5294,"Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":99,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":92,"Signal":-54,"LinkCount":1,"Downtime":"0T00:00:10"}}
12:03:05.121 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-24T12:03:05","EB1":{"CH":0,"CM":0,"CS":0,"VL1":0.0,"Current":0.0,"TEI":0.000,"TEE":0.000,"TET1":0.000,"TET2":0.000,"TET3":0.000,"Power":0,"APE":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"CT4":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0.000,"LP4":0.000,"LP5":0.000,"LP6_EXP":0.000},"HAN":{"s0":0.000,"s1":0.000,"s2":0.000,"ck":"00:00:00"}}
12:03:05.239 > 01 04 00 16 00 02 90 0f
12:03:06.421 > 01 04 00 26 00 03 51 c0
12:03:07.486 > 01 04 00 79 00 03 61 d2
12:03:07.488 WIF: Checking connection...
12:03:08.627 > 01 04 00 7f 00 01 00 12
12:03:09.727 > 01 04 00 0b 00 07 c0 0a
12:03:10.929 > 01 44 06 01 83 ad
12:03:12.002 > 01 04 00 01 00 01 60 0a
12:03:13.126 > 01 04 00 6c 00 02 b1 d6
12:03:14.188 > 01 04 00 16 00 02 90 0f
12:03:14.203 CMD: Sensor53 d0
12:03:14.205 SRC: WebConsole from 10.19.0.12
12:03:14.208 CMD: Grp 0, Cmd 'SENSOR', Idx 53, Len 2, Pld -99, Data 'd0'
12:03:14.214 MQT: stat/edpbox1/RESULT = {"Time":"2023-08-24T12:03:14","SML":{"CMD":"dump: 0"}}
12:03:16.147 MQT: tele/edpbox1/STATE = {"Time":"2023-08-24T12:03:16","Uptime":"0T01:28:25","UptimeSec":5305,"Heap":13,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":29,"MqttCount":1,"Wifi":{"AP":2,"SSId":"Casa Murtal","BSSId":"54:AF:97:27:7C:56","Channel":1,"Mode":"11n","RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:10"}}
12:03:16.166 MQT: tele/edpbox1/SENSOR = {"Time":"2023-08-24T12:03:16","EB1":{"CH":0,"CM":0,"CS":0,"VL1":0.0,"Current":0.0,"TEI":0.000,"TEE":0.000,"TET1":0.000,"TET2":0.000,"TET3":0.000,"Power":0,"APE":0,"Factor":0.000,"Frequency":0.0,"Tariff":0,"CT1":0.00,"CT4":0.00,"LP1_Y":0,"LP1_M":0,"LP1_D":0,"LP1_HH":0,"LP1_MM":0,"LP3_IMP":0.000,"LP4":0.000,"LP5":0.000,"LP6_EXP":0.000},"HAN":{"s0":0.000,"s1":0.000,"s2":0.000,"ck":"00:00:00"}}
Para o caso de alguém ter o mesmo problema de ter tudo a zeros (como eu e o @diogopms), após contactar o @nikito7, indicou-me que a solução é correr estes comandos na consola:
Backlog UfsRename script.txt,script-mN1.txt; UfsRename script-mN2.txt,script.txt; Script 1; Restart 1;
No meu caso (que tenho um Landis) resolveu. Obrigado!
A partir da passada sexta-feira (15 de setembro) às 19h00, voltei a ter tudo a zeros sem ter feito qualquer alteração.
Achei que teria sido algum update que tivesse sido feito de forma automática e que tivesse desfeito as alterações efetuadas dos comandos, e corri-os novamente.
Pior a emenda que o soneto, fiquei sem qualquer informação na página principal. Apenas os botões aparecem agora.
Repus os ficheiros script.txt
e script-mN2.txt
através do gestor de ficheiros, reiniciei a box, mas está igual.
O que posso fazer? Firmware upgrade? Reset das configurações (se fizer isto, tenho de reconfigurar WiFi e MQTT outra vez, certo)?
Alguém teve problemas semelhantes após já ter isto tudo a funcionar?
Consola: Script 1
Há um caso reportado de alteração de mN2 para mN1, por parte da e-redes.
Consola: Script 1
Aparente correr isto não fez nada.
Há um caso reportado de alteração de mN2 para mN1, por parte da e-redes.
Como posso saber se é o mesmo comigo? Passo a usar o mN1 e vejo se tenho dados?
Vê se o script.txt está a zero bytes
Alternando
[ https://github.com/nikito7/easyhan/blob/dev/edpbox/Easy-HAN-RS485.md#mn2-stop-bits-2 ]
Aparentemente foi mesmo isso, mudaram para mN1
.
Isto é algo habitual? Há a possibilidade de mudarem outra vez para mN2
, ou se mudaram para mN1
agora não voltam a mudar para mN2
?