Some time ago, I purchased an ULANZ TC001. After successfully flashing the awtrix firmware, I quickly realized the potential of this little tool.
After trying it out a bit, I got familiar with the excellent API. Currently, the following is displayed on the awtrix using iobroker:
the current power consumption of the house
the current output of the PV system
the current battery charge level
which song is currently playing on Spotify
And that's why I'm starting with this overview of the Ulanzi and the awtrix firmware, because someone has created a Nodered Flow for this device that helps me get the necessary data via the Spotify API.
get spotify API Access and form the json with Node-Red
I get the information from spotify via a Node-Red flow. The flow and the necessary setup on Spotify's side are explained here. https://g.willifix.net/02taB
after successfull setup you can simply add a http request node that points to the endpoint of my plugin!
here is the export of the node-red function to create the needed json and send it to endpoint of my plugin.