Skip to content
Compare
Choose a tag to compare
@nemik nemik released this 06 Nov 20:23

What's new in this release:

  • add a new option to eliminate LEDs even when starting up in normal mode
  • improve upgrade process to show current version and not have browser cache it. eliminate caching headers from the JSON response that send version number

How to Flash

Config menu (firmware version 11 or newer)

If you're running detectors with firmware version 11 or newer, you can put the detector into the 'config' mode (orange LED) and from the web interface go to the firmware section. Just follow the instructions and upload the right new firmware version and you'll be set.

Linux or OS X

Connect the Happy Bubbles device over USB to a computer and find which port it's connected to, like /dev/ttyUSB0

Then while holding the 'flash' button on the board, press the 'reset' button too; then let go of both buttons.

Get esptool.py and then run:

curl -L https://github.com/happy-bubbles/presence-firmware/releases/download/13/happy-bubbles-ble.tgz | \
    tar xzf -
cd happy-bubbles-ble
esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash -fs 32m -ff 80m \
    0x00000 boot_v1.5.bin 0x1000 user1.bin 0x3FE000 blank.bin

Windows

Connect the Happy Bubbles device over USB to a computer and find which port it's connected to, like COM3

Get nodemcu-flasher and download the Happy Bubbles release, untar it.

In the config section, assign

  • "boot_v1.5.bin" to offset 0x00000
  • "blank.bin" to offset 0x3FE000
  • "user1.bin" to 0x01000

Then while holding the 'flash' button on the board, press the 'reset' button too; then let go of both buttons.

Click the 'Flash' button on nodemcu-flasher.