Skip to content

sergejey/majordomo-rpi-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

majordomo-rpi-install

Installation script to setup MajorDoMo home automation platform on Rasbperry Pi OS (bullseye) [also tested with servers running Ubuntu 20/22].

Prerequisites

  • Raspbian (or Ubuntu) OS image should be installed
  • SSH enabled (in case of headless setup see instructions below)
  • It is recommended to do an update before running installation (sudo apt update && sudo apt full-upgrade -y && sudo reboot)

Usage:

curl -s https://raw.githubusercontent.com/sergejey/majordomo-rpi-install/main/install.sh | bash && bash ~/majordomo-rpi-install/install.sh

Sample run:

image

Features:

  • Basic preparations (distr update)
  • Static IP address set (optional)
  • Special block for ab-log's RPi4-RTC-PoE mini-server setup (optional)
  • Install Apache web server
  • Install MariaDB (password config)
  • Install phpMyAdmin
  • Install MajorDomo (master or alpha branch)
  • Restore database from CONNECT (cloud) backup (optional)
  • In-memory database option to reduce writing to SD-card
  • Install Mosquitto MQTT broker
  • Install HomeBridge service (optional)
  • Install RHVoice TTS engine (optional)
  • Install Zigbee2MQTT service (optional)
  • Install Redis for caching (optional)

Post-installation:

  • Reboot the system (recommended)
  • MajorDoMo is available by the url http://IP_address/ (open it to finish setup)
  • Zigbee2MQTT front-end is available by the url http://IP_address:8080/ (if installed)

To-Do:

  • Option to use nginx instead of apache
  • ZWave2MQTT
  • KNX2MQTT
  • any other ideas? :)

Big thanks to prmres for original idea!

Headless setup

  1. Download latest Raspian Lite image
  2. Burn image to SSD card (or eMMC disk) with Balena Etcher or Win32DiskImager
  3. Create empty file called ssh in the root of boot disk
  4. Create userconf.txt file in the same folder with following content:

pi:$6$ghKLjE2C3qTJZtde$AjJ9HXBpawoN/iqCTU8KBtaOngUx5GLY0qkEJP0F7VKTLL5fkX7q9K4oSiZYVFJBc09NocagToQzbnNz/eph71

  1. Reboot Raspberry Pi and connect to it using SSH protocol and following username/password:
    pi / raspberry

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages