ESPHome components to build custom CAN Sniffer Firmware
It's a set of example configurations, custom components, links to external modules to let you build firmware for your CAN Sniffer device.
- CAN Logger - Device to save logs to SDCard and host them over http.
- GVRET Protocol - Use your device in SavvyCAN via GVRET protocol
Patches to ESPHome components, custom components, external modules and other stuff that could be used in ESPHome.
- ESPHome
- ESPHome patches used in this repo:
- ESPHome Custom Components
If you have any questions, suggestions or want to contribute - feel free to open pull request.
It let you code less.
You describe your device has in yaml:
- device board
- components it has
- pins you using
- what should happen when something happened
- small chunks of c++ code in lambda expressions
- big chunks of c++ code in custom components
ESPHome generates c++ code for your firmware, compiles it and uploaded to device
Yes it is. But all works just fine without Home Assistant. If you have one - enjoy your sensor data statistics over time and use Home Assistant to control your device in development.
-
Make sure you have Python installed
-
Create Virtual Environment
python -m venv .venv
-
Activate it
Linux:
source .venv/bin/activate
-
Install ESPHome
pip install ESPHome
-
Switch to folder with yaml device description
cd <my_device_folder>
-
Build, upload and run your firmware
esphome run <my_yaml_file>
The code in this repository is MIT licensed. But your final firmware will use ESPHome and other components licensed under GPLv3. Plese be warned.