Skip to content
/ senec-c Public

Photovoltaic System Monitor Device based on Esp32 and an E-Ink Display

License

Notifications You must be signed in to change notification settings

vuoz/senec-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Senec Client

Repo Overview

Firmware

This contains the actual firmware for the soc with all the functionality. This builds using a different toolchain. Please check the readme for esp-idf-template (which this was originally based on) for more information regarding dependencies and tools you will need to compile this project. Build and flash the firmware

cd firmware 
CRATE_CC_NO_DEFAULTS=1 cargo run -- --partition-table partition.csv

Display

This crate contains all the code for the display. It handels UI elements and defines an interface on how to use the display. Both the firmware and the simulator make use of this crate.

Simulator

This contains a simulator, which does not simulate the soc but the display. This is used to rapidly prototype changes to the ui. Both the actual firmware and the simulator make use of the /display crate that defines how content is displayed on the display.

Build and run the simulator:

cd simulator
cargo run

Reproduce

Add .env file!

WIFI_PASS=
WIFI_SSID=
SERVER_ADDR=

SEVER_ADDR is the adress of the senec server inside your local network

Previous tracking of this repo happend over at: prev repo This contains all the progress including the very first commit

Build on Linux/MacOS ( check dependencies of espflash etc.):

cargo run  -- --partition-table partition.csv

Build on Windows using wsl ( again check the dependencies of espflash etc.):

sh w.sh

Parts used for this build

PCB for faster assembly

Take the .zip file from /gerbers and upload it to any PCB manufacturer of you choice

Assembled Version

assembled

Todos

  • Add code to check battery percentage and update display
  • Add code to check for charging status

About

Photovoltaic System Monitor Device based on Esp32 and an E-Ink Display

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published