See the [pislave](https://github.com/ootjersb/pislave#wiring) project
# Software installation
1. Install [Raspberry Pi OS Lite](https://www.raspberrypi.org/software/operating-systems/)
1. Enable [SSH](https://www.raspberrypi.org/documentation/remote-access/ssh/) and [I2C](https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c) using `raspi-config`
1. Install and configure the required software
```
apt-get install \
git \ # To clone this repository
pigpiod \ # Pigpio daemon to communicate over the I2C bus
python3-pigpio \ # Python module to talk to the pigpio daemon
python3-pyodbc \ # Python module to access an ODBC database
sqlite3 \ # To store a subset of the Itho database in SQLite
direnv \ # Environment variable manager to store credentials for InfluxDB
python3-influxdb # To export measurements to InfluxDB
# Set the sample rate value of pigpiod to 10 microseconds to decrease CPU usage
sed -i -e 's/ExecStart=.*/ExecStart=\/usr\/bin\/pigpiod -l -s 10/' /lib/systemd/system/pigpiod.service
* Or download the [Itho Service Tool](https://www.ithodaalderop.nl/nl-NL/professional/servicetool) and execute `AzureBootloader.exe` to retrieve the full Itho Service Tool application. `$_parameters_HeatPump.par` is located in the `Parameters` directory.
1. Convert the Microsoft Access database to an SQLite datbase. The SQLite database is used by python-itho-wpu.