Commit Graph

7 Commits

Author SHA1 Message Date
f2066c7de6 Add build script for linux/amd64 and linux/arm 2020-09-02 10:54:03 +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
231c17d7c3 Update MQTT message handling
- use separate handler
- use regexpression for topic check
2020-08-30 21:08:50 +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
cf4274c1e1 Initial commit 2020-08-26 09:54:26 +02:00