Skip to content

anthonyolazabal/ESP32-DATAHUB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32-DATAHUB

Code from the blog article on ESP32 and LoRaWAN. Link to the article: To be provided when published.

Prerequisites

In order to be able to configure the DataHub policy, you need:

  • The HiveMQ API enabled on the broker
  • The HiveMQ MQTT CLI (latest version)

Upload the schema(s)

mqtt hivemq schema create --id pre-lorawan-application --type json --file pre-schema.json
mqtt hivemq schema create --id post-lorawan-application --type json --file post-schema.json

Upload the script

mqtt hivemq script create --id lorawan-transformation --type transformation --file script.js

Upload the policy

mqtt hivemq data-policy create --file policy.json

Run Arduino code

The Arduino code has been created from a sample provided on SeeedStudio Wiki and modified to fit our requirments.

It will run on the following setup:

Follow the setups in the article to wire everything together and deploy the code on it.

About

Code from the blog article on ESP32 and LoRaWAN.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published