SmartThings icon indicating copy to clipboard operation
SmartThings copied to clipboard

SmartThings Platform Change - no Groovy apps

Open AllegrettoA opened this issue 2 years ago • 4 comments

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?

AllegrettoA avatar Oct 15 '22 13:10 AllegrettoA

+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?

andygodber avatar Nov 29 '22 14:11 andygodber

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

patrick-GH avatar Jan 20 '23 00:01 patrick-GH

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.

AllegrettoA avatar Jan 27 '23 00:01 AllegrettoA

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.

AllegrettoA avatar Feb 01 '23 20:02 AllegrettoA