![]() ![]() ![]() teslamate-grafana-data:/var/lib/grafanaĬtrl X to exit (saving and insuring the file name is correct) Into that file, paste the following: version: "3" Within your SSH window, create a file called docker-compose.yml (I used the command nano docker-compose.yml) which takes you straight into the file editor). These instructions came direct from the TeslaMate guide, but for ease of use, I’ve replicated it here. Install Docker Compose: sudo pip3 install docker-compose Installing and starting TeslaMate Sudo apt-get install -y python3 python3-pip Sudo apt-get install -y libffi-dev libssl-dev Test the Docker installation has worked: docker run hello-world Set the Pi user permissions to run Docker: Having never installed Docker before, I followed this guide: įor ease of use with this guide, these are the steps you need to follow Once logged in, reset your password by typing passwd and follow the instructions (existing password, new password, confirm password) Installing Docker You may then be prompted if you are sure you want to connect, type yes and hit enter Once you’ve established the name, you connect using ssh (or the default password is raspberry You can also find the device’s name and IP either using your router’s admin page and navigating to a page that shows connected devices, if you have something like a Mesh WiFi system it will show as a connected device (I have BT WholeHome and found it this way). If it’s the only Pi (that’s still called Raspberry Pi) you can SSH to raspberrypi.local, if you have more than one on your home network it’ll be raspberrypi-NUMBERVALUE.local – depending on how many you’ve got. ![]() Using your SSH application of choice (I’m using Terminal on my Mac, PuTTY appears to be a popular choice on Windows) it’s time to connect to the Raspberry Pi so we can get Docker installed and then TeslaMate.įirst thing to do is locate the name or IP address of your Raspberry Pi on the network. Stick the microSD into the Pi, power it on and wait for up to a minute and a half for the Pi to complete it’s boot up. The contents of this file need to be as follows country=UKĬtrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdevĭouble check you’ve got the details right, then save the file. To do this, we need to create another file within boot called wpa_nf Next we need to setup WiFi on the Pi so it’s available to connect remotely. It’s been a while since I’ve had to use a Windows machine, but from memory you just have the option of right clicking and making a new file which is a bit simpler! On my Mac I used my preferred text editor (BBEdit – previously TextWrangler) to create the file and save it on boot with no extension. Within boot, we need to create an empty file with no content or file extension called SSH. You should now see a drive called boot within Explorer / Finder. Once you’ve burnt the image onto your micro SD card, remove and reinsert. Once downloaded, you put your card into your machine using the relevant adaptor, choose the relevant OS using the CHOOSE OS (I went for Rasbian Lite as I don’t need the desktop – feel free to use the normal Rasbian OS), locate your card using the CHOOSE SD CARD option, then click WRITE There are several ways of doing this (Etcher, Apple Pi Baker etc.) but a really simple way is to use the Raspberry Pi image imager. Once all your goodies arrive, we need to get an image onto the SD card. * this guide assumes you are starting from scratch – please skip ahead if you already have a working Pi that you can SSH into* Relevant adaptor to access your micro SD ( USB-C adaptor, SD to Micro SD, USB to micro SD) Pi 4 in heatsink case, running my instance of TeslaMate (and also Homebridge) Getting the Pi image onto the microSD Raspberry Pi 3 B+, Pi 4 (2gb) or Pi 4 (4gb – currently on offer on Amazon – £52) – I learnt the hard way that the Pi 0 W isn’t compatible □Ĭase (for v3 for v4) – I’ve recommended a heatsink case, it’s what I’m using for my Homebridge Pi too, rather than a noisy fan case – My Pi 4 seems to sit between 40-41c If like me you don’t have a spare monitor and you had forgotten to order the micro HDMI to HDMI lead (or just don’t want to use your TV) you can still install TeslaMate remotely using SSH into your Raspberry Pi. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |