- Install latest Raspbian on a micro sd card
- Enable SSH by put a file named ssh without any file extension in the boot partition on the micro sd card, content has no matter.
- Startup the Raspberry PI and connect to SSH
- Install Domoticz by running the following command: sudo curl -L install.domoticz.com | bash
For some reason i didnt get Domoticz to work after this i got some error when trying to run ./domoticz about libssl so i search and search on google and find that i needed to make this stuff:
- Run this commands to update Raspbian packages: sudo apt-get update && sudo apt-get upgrade
- Update Domoticz to latest beta with this commands: /home/pi/domoticz/updatebeta
- Open webbrowser on the raspberry pi ip number and port 8080 and start configure Domoticz
I have a Raspberry Pi Zero Wireless that i have got to connect to my wifi direct on first bott (see this post) and then i liked to get the SSH activated from the first boot also.
After some searching i find out that you can put a file named ssh without any file extension in the boot partition.
Raspbian then going to activate SSH on the first boot so no need to put in any keyboard and monitor to activate it.
The content of the file doesn´t matter, it could contain either text or nothing at all.
Raspberry Pi Zero Wireless is a very nice Internet of Things computer but its only has mini-hdmi and micro-usb connectors wish make it not so easy to connect to configure to get it up on wifi but after som research i find out that it is possible to configure it to connect to wifi from the first boot of Rasbian.
Rasbian has built in that it copy wifi details from /boot/wpa_supplicant.conf into /etc/wpa_supplicant/wpa_supplicant.conf to automatically configure wireless network access.
If a wpa_supplicant.conf file is placed into the /boot/ directory, this will be moved to the /etc/wpa_supplicant/ directory the next time the system is booted, overwriting the network settings; this allows a Wifi configuration to be preloaded onto a card from a Windows or other machine that can only see the boot partition.
Since the /boot partition is accessible by any computer with an SD card reader, wifi configuration is now much simpler.
A skeleton wpa_supplicant.conf file can be as little as:
If you use WPA2-Personal settings with AES you can set the config file to have this text:
ssid=”Your SSID Here”
I can also recommend to read my post of how to activate the SSH on first boot, click here.