The installer has not yet been updated to v0.9!!
Within this tutorial I want to introduce you the Pimatic Installer.
The Installer has been created to easily install Pimatic from scratch, install and update Homeduino on an Arduino as well as installing WiringPi and 433MHz Utils on the Pi.
Boot your Pi and login via ssh (eg. Putty) with user pi and password raspberry.
Now set up your Pi with
sudo raspi-config and expand your filesystem.
The actual distribution is called “Jessie” and comes with a slightly different boot process then the predecessor “Wheezy”. Jessie is booting to the GUI when installed from scratch.
For a Pimatic only system you should change the boot options.The following option will prevent from booting the system to the GUI.
Now you should do a reboot. After that you can set your local settings and maybe other stuff with raspi-config.
Do not overclock your Raspberry, since onverclocking may crash the system when Pimatic is running!!
Now you’re ready for the installer.
(If you already run Pimatic and want to update Homeduino with the installer, you can start with the installation from here) :
sudo apt-get install dialog
sudo apt-get install git
git clone https://github.com/leader21/pimatic-installer.git
Now Pimatic-Installer is ready to go:
sudo bash install
The installer will come up with this menu :
Hit enter to get to the installation menu. You can select what you want to install.
Later, when Pimatic already has been installed, you can still use this menu to update homeduino on the arduino (by only selecting Install Homeduino)
The installer will ask at every installation step if you want to proceed or cancel the installation. So you are still able to abort the installation after each step.
You will see a progress bar during installation. Sometimes it seems that the progress bar doesn’t move on, but the installation is still working in the background. Keep calm and wait a bit. Some installation steps need more time to finish than others.
After Pimatic has been installed, you will be asked for the pimatic admin password.
You will then have a possibility to show the installation logfiles.
If you have selected other installation options, the installation process will continue with the next step.
The first option is the default option for installing on an Arduino Nano on USB0 and should be ok for the most users. You are still able to select another installation procedure.
If you are updating Homeduino, you don’t have to stop the Pimatic-Daemon. The Installer will take care of it.
During installation you will see the progress bar
After Homeduino has been flashed to the nano, you should have a look at the logfiles:
Scroll down and if everything went well, you should see something similar like that :
Now go ahead and start the Pimatic-Daemon :
If you are installing Pimatic from scratch, be patient! The first start of Pimatic will take some time to initialize and compile several things like SQlite and others.
If you selected other programs like wiringPi or the 433MHz Utils, the installation will continue.
Please be informed that the 433MHz Utils will only install when wiringPi has been installed.
Now that you’re through with the installation, you can exit the installer and begin with the configuration of Pimatic.
If you only installed Pimatic without Homeduino, there will be no query for starting the daemon. So if you exit the installer after only installing Pimatic, you will have to start Pimatic manually with
sudo service pimatic start or do a
If you experienced any trouble during Installation, please use the Forum to inform us or come into chat with leader21!
The installer will be enhanced step by step. Maybe you’re having some ideas? Let us know!
Have fun with Pimatic !!
v0.1.2 adding Uno support to Homeduino installer
v0.1.1 fixed broken admin password query