The two gauges display the current amount of PV energy produced and the state of charge of the battery.
It is implemented by querying the HA REST API to get the real-time values and uses a Raspberry Pi pico running MicroPython to drive the servo motors with the arrows attached.
If you like the project I’m happy to share some more details and code.
Cheers Wido
Oh man, a few months ago I was researching some retro style gauges to create something similar to this… If you could provide more detail on setup and hardware that would be much appreciated!!!
Hardware:
attach two standard analog servers to “Raspberry Pi Pico W” with their signal lines to GP0 and GP1 on the pico.
Software: Get started with pi pico and Micropython.
Find the data URL that you want to use in home assistant and enter them in line 67 and 68 of the source code
Get a long-lived access token like described here and paste it into line 69
Doesn’t matter too much. Just don’t buy the very cheap blue ones. They are loud and not precise. Just search for “MG90 Servo” on amazon, alibaba or your favourite seller.
Good luck and keep me/us posted.
Cheers, Wido