vagrant@vagrant:~$ vagrant@vagrant:~$ curl -H "X-Boxee-Auth: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJRCI6ImJmNzY2NTkxLTU0YTgtNGY1Yy1iN2FlLTY4OWJlODQ2YmRkZCIsImV4cCI6MTY2MTU2NzY0OSwiaXNzIjoiYm94ZWUtc2VydmljZSJ9.Aygr19ECRBB_nfkESThQ6RLZy5o29Gl-_i5SCAkBys8" -H "Content-Type: application/json" https://api.box-ee.com/api/v1/device/list | jq Q6RLZy5o29Gl-_i5SCAkBys8" -H "Content-Type: application/json" https://api.box-ee.com/api/v1/device/list | jq % % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 57 100 57 0 0 195 0 --:--:-- --:--:-- --:--:-- 195{ "count": 0, "devices": [], "msg": "found", "status_code": 200}vagrant@vagrant:~$ e vagrant@vagrant:~$ ex vagrant@vagrant:~$ exi vagrant@vagrant:~$ exit vagrant@vagrant:~$ exitexit
Box-ee Documentation
Back to homepage

Micropython

BOX-EE is written in python using the very awesome micropython project

Download Micropython for ESP32

Official firmware downloads can be found on the micropython site.

This is just a proxy set of instructions on how to flash an ESP32. To get a much more in-depth and official documentation on this section, it’s recommended to follow their guides.

For those who already have the micropython firmware for ESP32 and also have downloaded the esptool, skip over to the upload code

Install esptool.py Tool

esptool is a command line tool used to flash ESP devices.

  1. running esptool.py requires sudo access
  2. Install esptool.py via pip
    • pip3 install esptool
  3. Connect an Espressif chip to your computer.
    • Run esptool.py commands: esptool.py -p PORT flash_id

Upload Code