Open AllegrettoA opened 2 years ago
+1 for this. David's Logger has been the mainstay of my Grafana dashboards. @codersaur I know you've not been active for a while - any plans to rewrite for the latest platform?
I was wondering why this wasn't working anymore. Thought it was related to a password change I made. Sad to see another good product died
While waiting for a more elegant solution to the InfluxDB-logger smartapp, I created a simple Python script which polls devices and write data to InfluxDB, similar to the obsolete groovy app. It can run on many devices including Raspberry PI and does not require a web server. However, it is not event-based so data updates are not real-time (polled instead). It logs data for power, battery, and temperature. Other measurements can be easily added if needed. This Python script has been working well so far. Happy to see my Grafana dashboards updating again.
If anyone is interested in the Python app, it can be found here: SmartThings-InfluxDB-logger. Feature just added to check health (online/offline) status, data is logged to InfluxDB only when device is online. This makes it easier to detect offline devices on dashboards.
I have been using this InfluxDB logger app for a long time and find it immensely useful and reliable. With Samsung's upcoming platform change, SmartApps will be shut down on December 31, 2022. Does anyone know of an alternate method for data logging?