Skip to content

NicHub/lora-mailbox

Repository files navigation

LoRa MailBox

Detects when mailbox flap is opened using a PIR motion sensor and sends a notification via LoRa.

Before you start

  • Copy src/common/credentials-example.h to src/common/credentials.h and update the details with your information.
  • Copy platformio_user_preferences-example.ini to platformio_user_preferences.ini and update the details with your information.

Hardware

Software

Usefull commands

# The ESP32S3 is blocked very often.
alias esptool.py='$HOME/.platformio/packages/tool-esptoolpy/esptool.py'
esptool.py --chip esp32s3 --port $PORT erase_flash

## Troubleshooting

Mac with ARM architecture can face the following error:

Adafruit_TinyUSB_Arduino arm-none-eabi-g++: Bad CPU type in executable

This can be solved by installing Rosetta:

softwareupdate --install-rosetta --agree-to-license

License

Copyright (C) 2025, GPL-3.0-or-later, Nicolas Jeanmonod, ouilogique.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published