/temperature-widget

An andorid app to present a temperature reading, pulled from the API.

Primary LanguageKotlin

My first (crap) attempt at an Andorid application who's only purpose is to display a widget showing the temperature from a Raspberry Pi. It actually pulls the data from a Flask endpoint.

Endpoint returns this, with emojis indicating the health of the Pi:

{"names":"2.562 \ud83e\udd15"}

A chilly 2.5 degress at my house, is displayed like this on the phone:

screencap

The guy with the bandage means the Pi aint healthy, but that's another story.


The functionality of this was heavily based on the blog Kotlin with Volley by Daniell Algar.

And further shaped by 0X0nosugar on a stack exchange thread

Thanks both.