Closed lembnau closed 5 months ago
which device? which mode (os-mode or standard)? what do you mean with "no communication" -> http, mqtt, lin
Normally, when you are in http-communication, you see this more often (unfortunately, the chips don't have enough RAM and micropython unfortunately packs the "normal" code into the RAM area
This is the log
The error is not really a software error. A memory error is triggered when you try to fetch the subscription. This is not possible in the versions that is in the repo. Without a complete log and details about the version and also the hardware you are using, I can’t help.
IT seams that I have the same issue. I will try to get some detailed logs about it. In case, the ESP is simply running out of memory, how to deal with it? One approach would be to switch off the controller by the MQTT receiver. Im my case the VenusOS, which fortunatly have relays. Or is it possible to reset the ESP on low memory?
Follow up to be expected.
kind regards
Carsten O.
Hi Carsten,
that is very unlikely. Inetbox2mqtt is now very often used and has been tested for many months. Are you using the LAN connection and the WOMOLIN hardware? I really need the logs and the point at which the ESP32 exits. I myself run the code on an RPI, which has a larger RAM area. Jan has used the newer ESP32s, but the memory is switched via a mapping, which the micropython does not support.
In the moment, the connection is by WiFi. If I connect my laptop to my router by cable, the LED on the router lights, connecting the TiN-Controller, the LED stays off. I think, I first have to enable the physical EtherNet Port of the WomoLiN TiN-Copntroller.
`Der Ethernet PHY verwendet den KSZ8081RNA-Chip, der eine externe Taktquelle (25 MHz) benötigt, die über den IO16-Pin des ESP32 bereitgestellt werden muss.
Um das Ethernet PHY zu konfigurieren, wird folgender IDF Software Befehl verwendet: eth->phy_reg_write(eth, ksz80xx->addr, 0x1f, 0x80)
found in: https://gitlab.womolin.de/public-repository/esp32-lin-software `
I hope to supply more and deeper information at the weekend.
Hi,
nach ein paar Stunden bekomme ich im seriellen Monitor (Putty) diesen Fehler und es findet keine Kommunication mehr statt