A dashboard with a twist:

3 comments started 2024-04-01 last 2024-04-02
Home AutomationForums/Meta
M
#1 MikeCM8

Let me share here a bit of a project I've been working on the easter weekend:

Background:
I love old analogue indicators and gauges, so I wanted to have a little gizmo on my desk that would let me know how pannels, batteries etc. are doing.

Behold the prototype:

Hardware:
The little blue board is the esp8266 microcontroller, it has a few very useful features, it's cheap ( under 5£), and it can connect to the internet via WiFi. The big box next to it is el cheapo voltmeter in a 3d printed bracket.

The whole thing in parts is under the 10£

Software:
esp8266 connects to WiFi, then to GiveEnergy API and gets inverter status, from where it filters out needed values( at the moment it is just battery %) and converts it to PWM that controls the voltameter.
At the moment the battery is at 34% so the needle is on 1/3 of the scale

Next weekends

  • use those bad boys (I love the style)

  • 3d print some nice black mat enclosure

  • design and print custom backgrounds

#2 hoggy

Dammit, I had this on my list to build as an 'interesting thing' so well done. I was hoping on using the modbus library direct at 10sec intervals and setting the travel time to 5sec so you'd see them ebb and flow constantly. Once you're done would you mind posting your code up as it would save reinventing the wheel!

M
#3 MikeCM8

hoggy

Sure, it is a C- "ish" via arduinoIDE
Will upload it to GitHub and provide a link once I get it in a more presentable state.
It's like 20-30 lines mostly relying on aruino.json library