- ansible
- sshpass
- python3
- python3-pip
make test
- Provide your secrets into
secrets.json
. - Configure target url in
Makefile
- Adjust configuration variables in
ansible/roles/provision/vars/main.yml
- Start deployment using:
make deploy
/opt/energymeter
├── data
│ ├── main-2021-07-06.csv
│ └── solar-2021-07-06.csv
├── energymeter
│ ├── backup
│ ├── handlers
│ ├── sensor
│ └── shelly
├── logs
│ └── energymeter.log
└── requirements.txt
- Flash RaspiOS to SD card
- Create a file named
ssh
with no content in disk root - Create a file named
wpa_supplicant.conf
in disk rootctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=DE network={ ssid="siegNetz 2,4GHz" psk="***" }