Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 2.6 KB

readme.md

File metadata and controls

29 lines (20 loc) · 2.6 KB

analoguEnvoy

This project contains four variations of scripts that can display Solar Production and Power Consumption as measured by an Enphase Envoy Communications Gateway.

Python MQTT

solar.py connectes to an MQTT server and subscribes to production and consumption messages published by homeassistant and collected by a custom envoy integration. This variation was developed on a Raspberry Pi Zero W.

Python http

solar.py reads settings.json for a username, password and serial number. It then obtains a token from enlighten and uses it to query envoy locally for consumption and production information. This variotaion was developed on a Raspberry Pi 4, but it would run fine on a Zero W.

CircutPython http

Written in CircutPython, code.py reads settings.toml for an ssid and password to make a wifi connecton. Simiar to the python version your username, password and serial number are used to obtain a token from enlighten which is used to query envoy locally for consumption and producion information. This variation was developed on a Raspberry Pi Pico W.

CircutPython MQTT

Written in CircutPython, code.py reads settings.toml for an ssid and password to make a wifi connecton. Similar to the python MQTT vairant it subscribes to production and consumption messages published by homeassistant and collected by a custom envoy integration. This variation was developed on a Raspberry Pi Pico W.

PWM

All four versions use PWM to drive analogue gauges with a 3v range.

Meters

I have been using this 15v meter from Amazon and converting them to 3v range by swapping out the internal 15kΩ resistor with a 3kΩ resistor.

Custom Face

face.svg is a bitmap to vector conversion of a screenshot of the designed I used in Cricut Design Space. Not ideal, but it should give you a place to start. (I could not find a way to directly export from Design Space.)

face

front back