Skip to content

korpiq/chirp-wemos-meter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chirp_wemos_azure

Software for a plant status reporting device.

Sponsored

Development Setup

Setup to compile software to run on a Wemos D1 Mini board to send Chirp sensor metrics to Azure IoT hub.

On MacOS

Script setup/macos.sh contains commands to install everything necessary to build and install this software from a MacOS machine.

Device Setup

  1. Install software on the device as usual with Arduino/Wemos.
  2. Device led should blink 10 times in 5 seconds to notify that configuration is starting.
  3. Wait 6 minutes while the device creates a filesystem on first install.
  4. Join WLAN named DEVICE_SETUP.
  5. If a dialog doesn't open up, open browser and go to any address, eg. http://set.up/
  6. Fill in requested information
    • name and password of the WLAN to use for access to Internet
    • address of MQTT server for uploading the metrics.
  7. Device led blinks 10 times in 1 second to notify that the device has been configured.
  8. Device led blinks once per second when it works normally.

Usage

You can listen in on the serial port for debug messages.

  • Send a one-letter message to get configuration report.
  • Send a JSON object to update configuration
    • "mqtt_server_url": an unused string for now

About

Program for a microcontroller to upload metrics from a moisture meter over WLAN to cloud for tracking.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published