HolgerHees / smartserver

SmartHome Server deployment setup
http://www.intranet-of-things.com/smarthome/infrastructure/server/setup/
GNU General Public License v3.0
27 stars 5 forks source link
alma ansible homeserver linux rockylinux server smarthome suse ubuntu vagrant

Smartserver

This project contains my complete automated IoT Server setup, deployable on opensuse, almalinux (rhel) and ubuntu.

For a detailed overview of the installed software and how it can be customized, see the following

For a detailed description about the main features and a lot more, check the wiki

Demo setup

To try this smartserver deployment, just 3 steps are needed. Install Vagrant and VirtualBox and run the deployment script.

A detailed explaination can be found in the How to start wiki section

Technology & Service stack

After running ansible, the following technology & service stack will be deployed. techstack

In addition to well known services, some custom additions are deployed too.

  1. a responsive Web UI, written in pure HTML, CSS and Javascript is deployed too. It is used to embedd webUI's from other services in a central place. It supports "user" and "admin" roles to show only nessecarry menu points to your family members.

welcome

welcome welcome welcome welcome

  1. "Private cloud" is a complete isolated network spanned through wireguard between several smartserver deployments to share backup folder, sensor messurements or other data with friends.

  2. "Update service" gives you a webui to handle and manage your os updates and smartserver changes and getting notified if there are new updates available

update service

  1. "CI service" is running your smartserver deployment on suse, alma and ubuntu virtual boxes after every commit to vertify that your changes works fine

ci service

ci service

  1. "Weather service" is fetching weather data from a public provider and make it available for my smarthome logic

weather service

  1. "System Service" is the most complex service. It provides

    • A network scanner which builds and visualizes a network/cable structure of your home network. Data are comming from snmp aware router/switches, fritzbox devices and openwrt powered devices.

    system service

    • A network state checker, who is permanently monitoring your wan connection state and speed. The reachability of your cloud peers. The reachability of your backup folder etc.

    system service

    • A netflow and log analyser, who is able to block IP's automatically if they contact your server in a bad way. This includes also traffic like SYN requests which are normally not visible in log files.

    system service