toremick / shorai-esp32

esp32 connected to shorai heat pump
61 stars 17 forks source link

Firmware source #7

Open IntExCZ opened 3 years ago

IntExCZ commented 3 years ago

Hello toremick, could you please share the source code of firmware.bin? I would like to try to compile it for ESP8266.

Thank you a lot.

IntEx

toremick commented 3 years ago

Don think the esp8266 has enough memory to run the mqtt_as.

But you dont need the firmware, its just a basic micropython version 1.6 with a installer script that downloads what's in this repo's main folder to the esp32, and copies the two examples files from main/examples to the root of the device.

Will make release of if later, but dont have time these days.

-Tore

stoffelll commented 3 years ago

According to the source it seems the ESP8266 is able to handle mqtt_as: https://github.com/peterhinch/micropython-mqtt

  1. The "resilient" driver This is an alternative to the official driver. It has been tested on the following platforms.

ESP8266 ESP32 Pyboard D The principal features of this driver are:

Non-blocking operation for applications using uasyncio. Automatic recovery from WiFi and broker outages. True qos == 1 operation with retransmission. Improved WiFi range because of its tolerance of poor connectivity. It has the drawback of increased code size which is an issue on the ESP8266. Run as frozen bytecode it uses about 50% of the RAM on the ESP8266. On ESP32 and Pyboard D it may be run as a standard Python module.