nuki_hub: M5Stack Atom S3 Lite not working

Hi all,

First of all: Apologies if this issue should be reported somewhere else. If so, please let me know.

I’m quite newbie on this ESP32/IoT stuff but recently received a Nuki Opener and I wanted to integrate it into Home Assistant without Nuki Bridge using your solution. I read M5Stack Atom Lite was recommended so I bought it… sort of, because the one I bought by mistake (I wasn’t aware of differences) was the S3 one (https://docs.m5stack.com/en/core/AtomS3 Lite) and… I’m struggling trying to install Nuki Hub on it. I’m not even sure if it is compatible at all 😦

From web installer I get this: imagen

So I tried using espressif_download_tool. I have no errors

imagen imagen

But the ESP32 AP doesn’t appear so I just wonder if maybe this ESP32S3 is supported.

From 8.24 release notes I can see “Arduino Core for ESP32 to version 2.09” which is the latest and, appartently ESP32S3 are supported (https://docs.espressif.com/projects/arduino-esp32/en/latest/getting_started.html#supported-soc-s) so I guess it should work with nuki_hub and just maybe something should be tweaked at flashing process?

I will really appreciate if confirmation can be provided about this and, if it is not supported I will be glad to provide the information I can to help to test it.

UPDATE: I’ve been reading and finally tried the esptool method to deploy the files. It seems to confirm ESP32-S3 is not being supported. Is it planned to support it in the future?

C:\Temp\nukihub_8.24>python -m esptool --chip esp32s3 --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 boot_app0.bin 0x1000 bootloader_qio_80m.bin 0x10000 nuki_hub.bin 0x8000 nuki_hub.partitions.bin
esptool.py v4.6.2
Found 1 serial ports
Serial port COM4
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: [redacted]
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 8MB
Unexpected chip id in image. Expected 9 but value was 0. Is this image for a different chip model?

A fatal error occurred: bootloader_qio_80m.bin is not an ESP32-S3 image. Use --force to flash anyway.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 24 (10 by maintainers)

Most upvoted comments

Hi,

yes I agree it’s most likely the wrong bootloader. I ordered an S3, but it’s still being shipped. Estimated delivery date is 14th December, I’ll try to figure out the correct bootloader then.