Heishamon hang / crash
My Heishamon crashes every day at least once and I have to press the reset button. I have 2 temperature Sensors connected (DS18b20 ) Proxy for Panasonic App connected. USB-C power source from a Raspberry Pi4 No user defined scripts
How can I check what's the cause for the crash?
If i remember correctly you can log heishamon output via this usb output.. so make log to raspberry and post it here
If i remember correctly you can log heishamon output via this usb output.. so make log to raspberry and post it here
Is there a doc how to do it? It seems like there is a debug log to MQTT is that the same?
Here are the last logs sent to MQTT:
Wed Nov 12 05:39:59 2025 (151168054): PROXY Checksum and header received ok!
Wed Nov 12 05:39:59 2025 (151168056): PROXY requests basic data
Wed Nov 12 05:40:00 2025 (151168815): Received 1wire sensor temperature (28aab3d0181302e7): 23.19
Wed Nov 12 05:40:00 2025 (151168832): Received 1wire sensor temperature (28dbc2da1f13016b): 22.94
Wed Nov 12 05:40:01 2025 (151169978): Heishamon stats: Uptime: 1 day 17 hours 59 minutes 29 seconds ## Free memory: 69% ## Free PSRAM: 2074340 bytes ## Free heap: 243476 bytes ## Wifi: 100% (RSSI: -38) ## Ethernet: not installed ## Mqtt reconnects: 1 ## Correct data: 100.00% Rules active: 0
Wed Nov 12 05:40:01 2025 (151169983): Requesting new panasonic data
Wed Nov 12 05:40:01 2025 (151169984): sent bytes: 111 including checksum value: 18
Wed Nov 12 05:40:01 2025 (151170453): Received 203 bytes data
Wed Nov 12 05:40:01 2025 (151170455): Checksum and header received ok!
Wed Nov 12 05:40:01 2025 (151170458): received TOP5 Main_Inlet_Temp: 22.75
Wed Nov 12 05:40:01 2025 (151170462): received TOP65 Pump_Speed: 2400
Wed Nov 12 05:40:02 2025 (151170958): PROXY Received 111 bytes
Wed Nov 12 05:40:02 2025 (151170960): PROXY Checksum and header received ok!
Wed Nov 12 05:40:02 2025 (151170962): PROXY requests basic data
Wed Nov 12 05:40:05 2025 (151173862): PROXY Received 111 bytes
Wed Nov 12 05:40:05 2025 (151173864): PROXY Checksum and header received ok!
Wed Nov 12 05:40:05 2025 (151173866): PROXY requests basic data
Wed Nov 12 05:40:08 2025 (151176764): PROXY Received 111 bytes
Wed Nov 12 05:40:08 2025 (151176767): PROXY Checksum and header received ok!
Wed Nov 12 05:40:08 2025 (151176769): PROXY requests basic data
Wed Nov 12 05:40:09 2025 (151178050): Requesting new 1wire temperatures
Wed Nov 12 05:40:10 2025 (151178819): Received 1wire sensor temperature (28aab3d0181302e7): 23.12
Wed Nov 12 05:40:11 2025 (151179682): PROXY Received 111 bytes
Wed Nov 12 05:40:11 2025 (151179684): PROXY Checksum and header received ok!
Wed Nov 12 05:40:11 2025 (151179686): PROXY requests basic data
Wed Nov 12 05:40:14 2025 (151182618): PROXY Received 111 bytes
Wed Nov 12 05:40:14 2025 (151182620): PROXY Checksum and header received ok!
Wed Nov 12 05:40:14 2025 (151182622): PROXY requests basic data
Wed Nov 12 05:40:17 2025 (151185519): PROXY Received 111 bytes
Wed Nov 12 05:40:17 2025 (151185521): PROXY Checksum and header received ok!
Wed Nov 12 05:40:17 2025 (151185523): PROXY requests basic data
Wed Nov 12 05:40:19 2025 (151188054): Requesting new 1wire temperatures
Wed Nov 12 05:40:19 2025 (151188420): PROXY Received 111 bytes
Wed Nov 12 05:40:19 2025 (151188422): PROXY Checksum and header received ok!
Wed Nov 12 05:40:19 2025 (151188424): PROXY requests basic data
Wed Nov 12 05:40:22 2025 (151191331): PROXY Received 111 bytes
Wed Nov 12 05:40:22 2025 (151191333): PROXY Checksum and header received ok!
Wed Nov 12 05:40:22 2025 (151191335): PROXY requests basic data
Wed Nov 12 05:40:25 2025 (151194239): PROXY Received 111 bytes
Wed Nov 12 05:40:25 2025 (151194241): PROXY Checksum and header received ok!
Wed Nov 12 05:40:25 2025 (151194243): PROXY requests basic data
Wed Nov 12 05:40:28 2025 (151197148): PROXY Received 111 bytes
Wed Nov 12 05:40:28 2025 (151197150): PROXY Checksum and header received ok!
Wed Nov 12 05:40:28 2025 (151197152): PROXY requests basic data
Wed Nov 12 05:40:29 2025 (151198058): Requesting new 1wire temperatures
Wed Nov 12 05:40:30 2025 (151198827): Received 1wire sensor temperature (28aab3d0181302e7): 23.19
Wed Nov 12 05:40:30 2025 (151198844): Received 1wire sensor temperature (28dbc2da1f13016b): 22.94
Wed Nov 12 05:40:31 2025 (151199979): Heishamon stats: Uptime: 1 day 17 hours 59 minutes 59 seconds ## Free memory: 69% ## Free PSRAM: 2074372 bytes ## Free heap: 243476 bytes ## Wifi: 100% (RSSI: -38) ## Ethernet: not installed ## Mqtt reconnects: 1 ## Correct data: 100.00% Rules active: 0
Wed Nov 12 05:40:31 2025 (151199985): Requesting new panasonic data
Wed Nov 12 05:40:31 2025 (151199987): sent bytes: 111 including checksum value: 18
Wed Nov 12 05:40:31 2025 (151200050): PROXY Received 111 bytes
Wed Nov 12 05:40:31 2025 (151200052): PROXY Checksum and header received ok!
Wed Nov 12 05:40:31 2025 (151200054): PROXY requests basic data
Wed Nov 12 05:40:31 2025 (151200453): Received 203 bytes data
Wed Nov 12 05:40:31 2025 (151200455): Checksum and header received ok!
Wed Nov 12 05:40:31 2025 (151200458): received TOP65 Pump_Speed: 2350
Wed Nov 12 05:40:34 2025 (151202995): PROXY Received 111 bytes
Wed Nov 12 05:40:34 2025 (151202997): PROXY Checksum and header received ok!
Wed Nov 12 05:40:34 2025 (151202999): PROXY requests basic data
Wed Nov 12 05:40:37 2025 (151205890): PROXY Received 111 bytes
Wed Nov 12 05:40:37 2025 (151205892): PROXY Checksum and header received ok!
Wed Nov 12 05:40:37 2025 (151205894): PROXY requests basic data
Wed Nov 12 05:40:39 2025 (151208062): Requesting new 1wire temperatures
Wed Nov 12 05:40:40 2025 (151208799): PROXY Received 111 bytes
Wed Nov 12 05:40:40 2025 (151208801): PROXY Checksum and header received ok!
Wed Nov 12 05:40:40 2025 (151208803): PROXY requests basic data
Wed Nov 12 05:40:40 2025 (151208952): Received 1wire sensor temperature (28aab3d0181302e7): 23.12
Wed Nov 12 05:40:43 2025 (151211704): PROXY Received 111 bytes
Wed Nov 12 05:40:43 2025 (151211706): PROXY Checksum and header received ok!
Wed Nov 12 05:40:43 2025 (151211708): PROXY requests basic data
Wed Nov 12 05:40:46 2025 (151214599): PROXY Received 111 bytes
Wed Nov 12 05:40:46 2025 (151214601): PROXY Checksum and header received ok!
Wed Nov 12 05:40:46 2025 (151214603): PROXY requests basic data
Wed Nov 12 05:40:49 2025 (151217509): PROXY Received 111 bytes
Wed Nov 12 05:40:49 2025 (151217511): PROXY Checksum and header received ok!
Wed Nov 12 05:40:49 2025 (151217513): PROXY requests basic data
Wed Nov 12 05:40:49 2025 (151218066): Requesting new 1wire temperatures
Wed Nov 12 05:40:50 2025 (151218835): Received 1wire sensor temperature (28aab3d0181302e7): 23.19
Wed Nov 12 05:40:51 2025 (151220416): PROXY Received 111 bytes
Wed Nov 12 05:40:51 2025 (151220418): PROXY Checksum and header received ok!
Wed Nov 12 05:40:51 2025 (151220420): PROXY requests basic data
Wed Nov 12 05:40:54 2025 (151223330): PROXY Received 111 bytes
Wed Nov 12 05:40:54 2025 (151223332): PROXY Checksum and header received ok!
Wed Nov 12 05:40:54 2025 (151223334): PROXY requests basic data
Wed Nov 12 05:40:57 2025 (151226230): PROXY Received 111 bytes
Wed Nov 12 05:40:57 2025 (151226233): PROXY Checksum and header received ok!
Wed Nov 12 05:40:57 2025 (151226237): PROXY requests basic data
Wed Nov 12 05:40:59 2025 (151228070): Requesting new 1wire temperatures
Wed Nov 12 05:41:00 2025 (151228839): Received 1wire sensor temperature (28aab3d0181302e7): 23.12
Wed Nov 12 05:41:00 2025 (151228856): Received 1wire sensor temperature (28dbc2da1f13016b): 22.94
Wed Nov 12 05:41:00 2025 (151229149): PROXY Received 111 bytes
Wed Nov 12 05:41:00 2025 (151229152): PROXY Checksum and header received ok!
Wed Nov 12 05:41:00 2025 (151229153): PROXY requests basic data
Wed Nov 12 05:41:01 2025 (151229980): Heishamon stats: Uptime: 1 day 18 hours 0 minutes 29 seconds ## Free memory: 69% ## Free PSRAM: 2074372 bytes ## Free heap: 243476 bytes ## Wifi: 100% (RSSI: -37) ## Ethernet: not installed ## Mqtt reconnects: 1 ## Correct data: 100.00% Rules active: 0
Wed Nov 12 05:41:01 2025 (151229985): Requesting new panasonic data
Wed Nov 12 05:41:01 2025 (151229987): sent bytes: 111 including checksum value: 18
Wed Nov 12 05:41:02 2025 (151230453): Received 203 bytes data
Wed Nov 12 05:41:02 2025 (151230455): Checksum and header received ok!
Wed Nov 12 05:41:02 2025 (151230457): received TOP5 Main_Inlet_Temp: 22.50
Wed Nov 12 05:41:02 2025 (151230461): received TOP65 Pump_Speed: 2400
My Icinga confirmed the host ist not available anymore:
Both LEDs are on. Left under reset button is green and the right one (bigger) is yellow or someting.
No you should pick it up from usb, usb should be visible as tty (serial) interface, if you are familiar with Linux you should certainly know how to do :) there is no detailed manual about this. It's just debug port where are spit all system data, so there should be clue about what is happening. It could be that device is loses wifi, and went to local AP mode.. second could be that heishamon crashes.. but it should be reboot on crash.. so i think you are just losing network connection.. or something unknown happens
Do you have version 3.9 installed? It’s important because there was a significant change in the handling of the DS18B20
Do you have version 3.9 installed? It’s important because there was a significant change in the handling of the DS18B20
Yes. I Think, I'll start to disconnect everything and keep just the heatpump connected. If that works for a week, I'll connect the proxy and after that the DS18B20 Sensors. Maybe I'll find out what device is causing the crashes...
I disconnected everything but the heatpump and it still crashes afer one day. With and without usb-c power supply. So I tried to turn off everything in the settings and now it seams to work since more than 3 days. I'll try to connect the panasonic app device and turn on the proxy. Let's see if it crashes again.
It seems like, I found the problem. The heishamon looses the connection but doesn't reconnect. It starts the failsafe hotspot like in: https://github.com/Egyras/HeishaMon/issues/689
I flashed the latest bin described in this issue: https://github.com/IgorYbema/HeishaMon/blob/main/binaries/model-type-large/HeishaMon.ino.esp32-v3.9.complete.bin
but still the same problems. My Wifi signal is 100%. The AP is in the same room. I'll try to disable the hotspot when not connected. Maybe this helps?
is there a rule to automatically reboot if the connection to a mqtt server is lost? Maybe that could help
https://github.com/Egyras/HeishaMon/issues/735#issuecomment-3531543226