- Joined
- Jan 31, 2019
- Messages
- 369
- Reaction score
- 166
I had a Raspberry Pi lying around from another project and decided to have a go at pulling data from the Profilux and recording it into a database to keep longer history, etc.
In a nutshell this involved the Raspberry PI, free software Grafana and InfluxDB and a few days of playing around.
I created some custom pages for the Profilux 3 to make use of the tokens (I've used what I can, but there are some items I can't find the tokens for such as digital input, etc).
This is what I have thrown together for a dashboard to play with the different elements, styles, etc. It will be more refined as I figure out what I want to see and how I want it displayed.
I basically use 1 bash script to pull the data from the Profilux, manipulate it on the PI and store it to InfluxDB, then have Grafana present it (from the same PI). I've port forwarded the PI on the Grafana port so it's accessible from the internet.
All in all, a very easy DIY project, I can chose how long to keep the data, its far more responsive that other methods of getting the data and very customisable. All scripts are dynamic in terms of the number of sensors, switches/sockets, dosers, etc - the more you have the more it logs.
Next up will be trying to make interactive buttons (so I can activate Feed Timers, Maint Mode, etc).
Oh - and maybe an interface so I can log my test results against a point in time.
In a nutshell this involved the Raspberry PI, free software Grafana and InfluxDB and a few days of playing around.
I created some custom pages for the Profilux 3 to make use of the tokens (I've used what I can, but there are some items I can't find the tokens for such as digital input, etc).
This is what I have thrown together for a dashboard to play with the different elements, styles, etc. It will be more refined as I figure out what I want to see and how I want it displayed.
I basically use 1 bash script to pull the data from the Profilux, manipulate it on the PI and store it to InfluxDB, then have Grafana present it (from the same PI). I've port forwarded the PI on the Grafana port so it's accessible from the internet.
All in all, a very easy DIY project, I can chose how long to keep the data, its far more responsive that other methods of getting the data and very customisable. All scripts are dynamic in terms of the number of sensors, switches/sockets, dosers, etc - the more you have the more it logs.
Next up will be trying to make interactive buttons (so I can activate Feed Timers, Maint Mode, etc).
Oh - and maybe an interface so I can log my test results against a point in time.