Commit Graph

8 Commits

Author SHA1 Message Date
dc5d066698 Read project name from database 2020-09-20 17:53:48 +02:00
e02af3c353 Store timestamp in database 2020-09-20 17:53:23 +02:00
5045802242 Fix: SQL Query scan device 2020-09-20 17:44:47 +02:00
f21e4ff1d6 Expand database and device 2020-09-13 18:37:22 +02:00
ac3bb1ebe9 Write data in database table 2020-09-02 09:05:00 +02:00
8f7a285289 Extract data from mqtt json payload 2020-08-31 07:01:40 +02:00
985b4e8fde Prepare for storing device data in database
- create device id from mqtt topic
- implement method for storing device in database

Still todo:
- extract other data (e.g. MAC, SN) from monitoring object
- find a way in mqtt to use global env
2020-08-30 21:42:01 +02:00
daa79b27ca Extend this program:
- add a database for devices
- read devices from database and present this data on a simple web/REST
interface

The code or model is from a blog entry from Alex Edward:
https://www.alexedwards.net/blog/organising-database-access
2020-08-30 07:16:50 +02:00