Skip to content

Scripts and some background information for the Masterclass Dashboards given during the Data-Driven Duurzaam in Manufactoring meeting at The Hague University of Applied Sciences [20240228]

License

Notifications You must be signed in to change notification settings

ddland/MasterClass-Dashboards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MasterClass-Dashboards

Scripts and some background information for the Masterclass Dashboards held during the Data-Driven Duurzaam in Manufacturing meeting [20240228]

The presentation, with some extra slides which give some hints about making a dashboard is here also available.

circuitpython

Code running on the picopi. All the files in this folder are already present on the device. At the school nothing has to be done.

If you want to run the device on another network, change the settings.toml file (a normal text file, editable by notepad++ or any other text-editor), specifically:

  • WIFI_SSID
  • WIFI_PASSWORD The other settings can be changed if you move to another MQTT-broker.

If you want to do something completely different with the device, Pico Projects is a nice place to start.

Dependencies

The code relies on the Adafruit Circuitpython MQTT library:

Dashboard

Running the dashboard in the cloud, with only a dependency on HiveMQ makes it impossible to store data or look back at certain time intervals. There is no data storage, only a stream of data from the sensor to the Grafana dashboard.

If you want to store the data a database setup is required. One option is influxdb. They provide a cloud-version (paid), but also a open-source version which can be configured using Docker containers. There are many guides on the internet on configuring a MQTT broker, database and visualization program on a (home)server. For example MQTT - Influx - Grafana.

For this demonstration project the configuration of docker and setting up the servers is too advanced.

About

Scripts and some background information for the Masterclass Dashboards given during the Data-Driven Duurzaam in Manufactoring meeting at The Hague University of Applied Sciences [20240228]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages