Closed mjvanderveen closed 4 months ago
It could be hardware. How frequent are the blackouts? Were you seeing good Rx and Tx line quality when it was working and connected?
I'll change the 3.6.5 version to show the last EMS stats in the 'Bus Info' of the System Info export, even if the bus is disconnected. Which would give us more data. For example:
"Bus Info": {
"bus status": "disconnected",
"bus protocol": "Buderus",
"bus telegrams received (rx)": 758230,
"bus reads (tx)": 195335,
"bus writes (tx)": 2,
"bus incomplete telegrams": 181,
"bus reads failed": 223,
"bus writes failed": 0,
"bus rx line quality": 100,
"bus tx line quality": 100
},
BTW, I also noticed your WiFi RSSI strength is super low, not that it should affect the EMS bus, but you may find you'll get performance issues or more frequent network restarts.
This is the bus status when online:
"Bus Info":{"bus status":"connected","bus protocol":"HT3","bus telegrams received (rx)":326,"bus reads (tx)":114,"bus writes (tx)":0,"bus incomplete telegrams":1,"bus reads failed":0,"bus writes failed":0,"bus rx line quality":100,"bus tx line quality":100}
The failure is at least once daily.
The esp-32 is connected to the nefit bosch compress 3000i heat pump using the dc connector (not wired to the bus).
I think you mean the service-key connector, not the dc-connector. Make sure the plugs are fully plugged in. Some cables have a too large housing and make bad connections.
Also seems you have restarts, a bus disconnect does not clear the device list.
I automatically restart it at 6.30am every day just to ensure after a failure it comes back at least once a day.
And i manually restart it when there are issues. So yes, plenty of restarts.
I will double check the plug.
It seems you are using the 'old' E32 V1.5. The problem with this Gateway is that while the ESP32 itself has more than enough processing power for EMS-ESP, for the latest firmware versions the 512KB RAM memory is not really sufficient anymore for using with large EMS systems like heat pumps with 120+ entities, MQTT Discovery etc etc. You may experience intermittent reboots, system halts, non-responsiveness etc because of it.
Here are some tips to free up some memory on the E32 V1.5; https://emsesp.github.io/docs/Troubleshooting/#it-may-be-memory-related
The latest Gateways have a huge 8MB of PSRAM, which is more than enough for the coming years of EMS-ESP development. If you would like to upgrade to a new Gateway I can offer a discount. Please respond to the order confirmation email of the original order if you still have it or use the contact form in the webshop.
Hello,
I have a Issue with the BUS-Connection. I connect the Bus to the correct port but it have very much issues on the rx.
Can someone help me?
I'm using a esp32 "MH-ET Live 32" on a "https://github.com/rocksolidsr/esp-ems-board/tree/main" to a "Logamatic MC110"
@Cedi00123 please create a new discussion topic (and not an issue) for this. And attach the system info. It looks like lots of things wrong. Both Rx and Tx are not working. The circuit you built may not be working (it was designed for an esp8266), or the pins are switched or you're using blocked GPIOs.
PROBLEM DESCRIPTION
Frequent EMS bus disconnects that do not get resolved without a full restart. Huge daily data gaps as a result.
EMS bus disconnected. If this warning still persists after a few seconds please check settings and board profile
The esp-32 is connected to the nefit bosch compress 3000i heat pump using the dc connector (not wired to the bus).
REQUESTED INFORMATION
Searched the other issues, but those seem to be memory related. I dont see memory related errors. Hardware issue?
TO REPRODUCE
No active steps. Error is random within usually 24 hours.
EXPECTED BEHAVIOUR
The bus to stay connected to my heatpump NEFIT BOSCH compress 3000i.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
2024-03-21,15:56:29,Gegevens,ems-esp.fritz.box,kern,1,2024-03-21T15:56:29.799547+1:00 ems-esp emsesp - - - 000+00:00:20.038 I 14: Stopping Access Point2024-03-21,15:56:27,Gegevens,ems-esp.fritz.box,kern,1,2024-03-21T15:56:27.026902+1:00 ems-esp system - - - 000+00:00:17.265 I 13: NTP connected2024-03-21,15:56:27,Gegevens,ems-esp.fritz.box,daemon,1,2024-03-21T15:57:12.136469+1:00 ems-esp mqtt - - - 000+00:00:16.467 I 12: MQTT connected2024-03-21,15:56:27,Gegevens,ems-esp.fritz.box,kern,1,2024-03-21T15:57:11.919571+1:00 ems-esp emsesp - - - 000+00:00:16.221 I 11: mDNS responder service started2024-03-21,15:56:27,Gegevens,ems-esp.fritz.box,kern,1,"2024-03-21T15:57:11.891078+1:00 ems-esp emsesp - - - 000+00:00:16.221 I 10: WiFi connected with IP=192.168.178.56, hostname=ems-esp"2024-03-21,15:56:27,Gegevens,ems-esp.fritz.box,kern,1,2024-03-21T15:57:11.889571+1:00 ems-esp emsesp - - - 000+00:00:16.221 I 9: Starting NTP service2024-03-21,15:56:27,Waarschuwing,ems-esp.fritz.box,kern,1,- ems-esp emsesp - - - 000+00:00:16.000 W 8: WiFi disconnected. Reason: assoc leave (8)2024-03-21,15:56:27,Waarschuwing,ems-esp.fritz.box,kern,1,- ems-esp emsesp - - - 000+00:00:12.992 W 7: WiFi disconnected. Reason: assoc leave (8)2024-03-21,15:56:27,Gegevens,ems-esp.fritz.box,kern,1,- ems-esp emsesp - - - 000+00:00:10.026 I 6: Starting Access Point with captive portal on 192.168.4.12024-03-21,15:56:26,Waarschuwing,ems-esp.fritz.box,kern,1,- ems-esp emsesp - - - 000+00:00:09.930 W 5: WiFi disconnected. Reason: assoc leave (8)2024-03-21,15:56:26,Waarschuwing,ems-esp.fritz.box,kern,1,- ems-esp emsesp - - - 000+00:00:09.291 W 4: WiFi disconnected. Reason: unknown (39)2024-03-21,15:56:26,Waarschuwing,ems-esp.fritz.box,kern,1,- ems-esp emsesp - - - 000+00:00:03.929 W 3: WiFi disconnected. Reason: assoc leave (8)2024-03-21,15:56:26,Gegevens,ems-esp.fritz.box,kern,1,- ems-esp emsesp - - - 000+00:00:00.000 I 2: Loaded EMS device library (117 records)2024-03-21,15:56:26,Gegevens,ems-esp.fritz.box,daemon,1,- ems-esp analogsensor - - - 000+00:00:00.000 I 1: Starting Analog sensor service2024-03-21,15:56:26,Gegevens,ems-esp.fritz.box,daemon,1,- ems-esp temperaturesensor - - - 000+00:00:00.000 I 0: Starting Temperature sensor service