Skip to content

SiGmAX666/EVNotiPi

 
 

Repository files navigation

EVNotiPi

Python Version of EVNotify

Needed Hardware

Variant 1 (MCP2515 based adapter with GPS); Recommended:

Variant 2 (MCP2515 based adapter without GPS):

Variant 2.1 (additional external GPS):

Variant 3 (Diamex OBD-Hat, the old default; does not support Renault Zoe):

Drawings

Installation

Raspberry Pi

  • sudo apt update
  • sudo apt upgrade
  • sudo apt install python3-{pip,rpi.gpio,pexpect,serial,requests,sdnotify,can,pyroute2,smbus}

If using the Diamex PI-OBD-HAT

  • echo "dtoverlay=disable-bt" | sudo tee -a /boot/config.txt

If using MCP2515 based adapter:

  • echo "dtparam=spi=on" | sudo tee -a /boot/config.txt
  • echo "dtoverlay=mcp2515-can0,oscillator=16000000,interrupt=25" | sudo tee -a /boot/config.txt
  • echo "dtoverlay=spi-bcm2835-overlay" | sudo tee -a /boot/config.txt

If using the i2c watchdog:

  • echo "dtparam=i2c_arm=on" | sudo tee -a /boot/config.txt
  • echo "i2c-dev" | sudo tee -a /etc/modules

EVNotiPi

  • sudo git clone --recurse-submodules https://github.com/EVNotify/EVNotiPi /opt/evnotipi
  • cd /opt/evnotipi
  • sudo pip3 install -r requirements.txt
  • sudo systemctl link /opt/evnotipi/evnotipi.service
  • sudo systemctl enable evnotipi.service
  • sudo systemctl disable evnotipi_shutdown.{timer,service} # if updating
  • sudo cp config.yaml.template config.yaml

Edit config, follow comments in the file

  • sudo nano config.yaml # nano or any other editor

About

Python Version of EVNotify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%