Giter Club home page Giter Club logo

acurite-bridge's Introduction

Acurite 5n1 -> Weather Services Forwarder

Receives AcuRite 5n1 Weather Station measurements and uploads them to multiple weather services.

front

Supported weather services:

Based on TTGO / LILYGO LoRa32 (ESP32 + SX1278 433 Mhz transceiver).

Working station examples

Assemble

  1. Connect a button between GPIO4 and GND. disassembled
  2. Connect ESP32 to PC.
  3. Run Upload Filesystem Image and Upload PlatformIO targets
  4. Find ESP32 started and showing info.

Configuring data export

  1. Unplug power cable from device.
  2. Press and hold a button (connect GPIO4 to GND).
  3. Plug the power cable back holding the button. Device will start in Configuration Mode. Once it starts, release the button.
  4. Find Wi-Fi AP info and IP address on the device screen (by default it's WBridge-AP non-protected Wi-Fi network and most likely 192.168.4.1 IP).
  5. Connect to the AP, open IP address in web browser. configsite
  6. Enter your Wi-Fi Network Name (SSID) and Password.
  7. Select Weather Station from the list (the device will listen for station signals, to get updated list refresh the page). Currently supported AcuRite 5n1 only.
  8. Fill weather service credentials. Empty credentials will disable respective exporter.
  9. If you're not in UTC timezone, please specify your timezone in POSIX format, see the documentation.
  10. Click on the "SAVE SETTINGS" button.
  11. Find your device rebooted and using the new settings.

Many thanks to

Notes

  • The code is written not really efficient, consumes many memory. But this wasn't a plan to have it efficient, I wanted to have it simply working in short time :)
  • To reduce memory consumption, the code contains shrunk port of rtl_433 library copied directly to lib/.
  • It's pretty easy to support other stations (not AcuRite 5n1 only), but there was not really reasonable to have this in current use case.
  • Precipitation measurements from AcuRite 5n1 are received in weird time window, to be investigated whether they're interpreted correctly. Rain precipitation exporting to weather services are temporary disable to avoid sending garbage.

Debugging

For debugging purpose, raw weather station data and important log messages can be sent to Loki. To enable Loki logging, copy config/secrets.ini.dist into config/secrets.ini and configure Loki exporter there. Then you'll be able to read station logs remotely in Loki, without connecting ESP to PC.

Check internals at LokiLogger.

acurite-bridge's People

Contributors

shchuko avatar

Stargazers

 avatar Tim Jarzombek avatar Keith E Henry avatar

Watchers

 avatar

Forkers

chancellor1101

acurite-bridge's Issues

Percent symbol (%) in config breaks config display and read

How to reproduce

  1. Set any station password value to %Uj4F4YHLz8GEC

  2. Save setting, find config not displayed anymore

image

Workaround:

In partially displayed config set normal password value instead of "breaking" with a leading % and Save settings. After reboot, the device will be healthy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.