gabs4 / lopy-lora-ttn-weatherstation

LoPy script to create a The Things Network weather station

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoPy weather station

This repository contains a script to create a weather station using the LoPy, PySense and The Things Network. The script is sending for example light, humidity and temperature every 5 minutes to TTN. After sending the information a deep sleep is performed to minimize the power usage (running it on a solar panel and battery). My setup:

Retrieving the data using home assistant using the TTN component.

Modify the following lines in the script before using (values obtained from TTN):

app_eui = binascii.unhexlify('')
app_key = binascii.unhexlify('')

alt tag

About

LoPy script to create a The Things Network weather station


Languages

Language:Python 100.0%