Weather map 

Hosting 

modifié par Samuel BARBARIN le 06/11/23 à 11:51

This website is self-hosted on several single board compters (ARM) which consomme less than 5W each. Self-hosting is the practice of running and maintaining a website or service at home using a private web server, instead of using a service outside of someone's own control. Self-hosting allows users to have more control over their data, privacy, and computing infrastructure, as well as potentially saving costs and improving skills.

The operating system used is Debian. The main platform is a Raspberry Pi 3 Model B Plus Rev 1.3.Other platforms are used such as the Banana Pi M1, MK802, Raspberry Pi 1 Model B Rev 2 and Sheevaplug. They manage more than one gigabyte of daily updated data.They can perform home automation control based on weather forecast and sensors.

It uses Debian and Ubuntu. Web services currently is migrating from Apache to NGINX and Node.js.

The use of ARM platform imposes a performance optimization in order to reduce the processing time on the server side. The used platforms are :

Name Cpu Storage Ram Video Net Power Usb Os Io
Rasp Pi (Rev 1) BCM2835 (32bit) Sd 256m Hdmi Eth µsb 2 Raspi OS gpio
Rasp Pi (Rev 2) BCM2835 (32bit) Sd 512m Hdmi Eth µsb 2 Raspi OS gpio
Rasp Pi 2 BCM2836 (32bit) µSd 1g Hdmi Eth µsb 4 Raspi OS gpio
Rasp Pi 3 BCM2837 (64bit) µSd 1g Hdmi wifi/gEth/BLE µsb 4 Raspi OS gpio
Banana Pi M1 A20 (32bit) Sd 1g Hdmi gEth µsb 2 Ubtunu gpio/Sata
MK802+ A10 (32bit) µSd 1g mHdmi wifi mUsb et jack 1 Ubtunu Otg
Sheevaplug Kirkwood 88F6281 (32bit) Sd/512m 512m   gEth mUsb 1 Debian  

Banana Pi M1 :

A relay module for ESP-01 is a good base for home automation using WIFI, for rolling shutter and thermostat :

Relay module for Esp-01

It should be noted that with the democratization of the Internet by satellite, thanks in particular to the Starlink project, this device is adaptable on board a ship. The different Raspberry Pi platforms provide digital and analog pins. It is possible to retrieve information from sensors and drive motors. The Rapsberry Pi can be used as a gateway between ship and internet. It can both gather and provide information all around the boat.