Skip to content

manowark/esp32-firmware

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Svitlo Pulse firmware: ESP32-C3 based sensor for Svitlobot (Work In Progress)

EN | UA

This is the firmware for the simple mains sensor, built using ESP32-C3 Super Mini board. It integrates with https://svitlobot.in.ua/ - a free volunteer project for electricity state monitoring. The device sends a ping to Svitlobot Service every minute. When mains goes off, the device stops sending ping, thus Svitlobot detects power outages after some time.

How to use it?

  1. Buy a ESP32-C3 Super Mini board.
  2. Flash it with released firmware (see Releases page, coming soon) either with Svitlo Pulse Web Installer (coming soon), ESPHome Web Installer or other preferred method.
    • Alternatively, you can build and flash it yourself, see below.
  3. Configure it before flashing in Svitlo Pulse Web Installer (coming soon) or at runtime using Android app.
  4. Connect it to 5V USB adapter, typically used for smartphone charging, and that's it!

Build instructions

  1. Install VSCode IDE
  2. Install Platformio VSCode plugin
  3. Clone this repo
  4. Open the repo folder in VSCode
  5. (Optional) Adjust build-time firmware configuration, see below.
  6. Use Platformio project tasks to build the firmware

Build-time configuration

For different reasons you may want to customize the defaults firmware runs with. For example, it might be hardcoding the WiFI credentials and / or Svitlobot key.

Please see the instructions and config parameters in ./env.example file. Alternatively, you can customize the same values in ./src/defconfig.hpp.

About

ESP32-C3 firmware for SvitloPulse project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 67.8%
  • C++ 31.0%
  • Other 1.2%