Raspberry Pi energy monitor for Tesla Solar and Powerwall
If you have not previously installed Xcode and the Xcode command-line tools, run:
$ xcode-select --install
Next install and link the OpenSSL package:
$ brew install openssl
$ brew link openssl --force
Add OpenSSL to your PATH (if using ZSH):
$ echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.zshrc
Export the following variables to compile the pycurl package in the next section:
$ export LDFLAGS="-L/usr/local/opt/[email protected]/lib"
$ export CPPFLAGS="-I/usr/local/opt/[email protected]/include"
$ pip install -r requirements.txt