MKRFox1200 Weather Station π‘π
This project discribes how to monitor weather data with the Sigfox network (LPWAN ~ 6 months battery life with 2x AA).
- Activate your device and create an account (if you don't already have one) on the Sigfox Backend platform
- Create an account on sigfox.thethings.io
-
Install the Arduino IDE
-
Select the MKRFox1200 board
-
Install the following librairies:
- Arduino SigFox for MKRFox1200
- Arduino Low Power
- RTCZero
- DHT sensor library (Adafruit) β version 1.2.3 β
-
Flash the board with the code provided in this repo
-
Copy & paste this code in the "Cloud Code"
sigfox_parser
function at https://sigfox.thethings.io/ -
Create a Sigfox backend callback for your device
- Use the following custom payload config:
moduleTemp::int:16:little-endian dhtTemp::int:16:little-endian dhtHum::uint:16:little-endian lastMsg::uint:8
- Use the following URL pattern (replace the 'X' with your own subscription URL information after creating a new product on sigfox.thethings.io)
https://subscription.thethings.io/sgfx/XXXXX/XXXXXXXXXXXXX?id={device}&data={data}&moduleTemp={customData#moduleTemp}&dhtTemp={customData#dhtTemp}&dhtHum={customData#dhtHum}&lastMsg={customData#lastMsg}
-
Design a nice dashboard for your Sigfox connected weather station
-
Enjoy! π
Antoine de Chassey
Hey dude! Help me out for a couple of π» or β!