Skip to content

masterzion/smarthomelight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weatherstation

Based in this tutorial: https://iada.nl/en/blog/article/temperature-monitoring-raspberry-pi

rasp-config

In Interfacing Options, enable IC2

sudo raspi-config

Install

sudo ./install.sh

prepare boot config

Add the lines to the file /boot/config.txt

dtoverlay=w1-gpio
dtoverlay=gpio-ir-tx,gpio_pin=27
dtoverlay=lirc-rpi

RECOMENDED:

# system monitor
sudo apt-get install sysstat
# Enable it
sudo nano /etc/default/sysstat
sudo service sysstat restart


# backup file
sudo git clone https://github.com/andreafabrizi/Dropbox-Uploader.git &&  cd Dropbox-Uploader/ && ./dropbox_uploader.sh && ./dropbox_uploader.sh list
sudo crontab -e

# normalize music
sudo apt-get install vbrfix normalize-audio
find /media/usb/mp3 -name "*.mp3" -exec vbrfix -makevbr -always {} {} \; -exec normalize-audio -b {} \; -exec bpm-tag  {} \;

add this line to the root crontab for the backup (RECOMENDED step required)

@daily $(sudo -u smarthomelight bash -c 'source $HOME/.smarthomelight && echo $SMARTHOME_DIR')/bin/backup.sh

Optional

echo "nameserver 8.8.8.8" > /etc/resolv.conf && chattr +i  /etc/resolv.conf && systemctl daemon-reload && systemctl restart systemd-resolved
@daily upnpc -a 192.168.0.21 8080 8080 tcp
@daily upnpc -a 192.168.0.21 8081 8081 tcp
@daily upnpc -a 192.168.0.21 51820 51820 udp

https://github.com/trick77/ipset-blacklist

https://pivpn.io/

TODO: https://certbot.eff.org/lets-encrypt/debianwheezy-apache

Using:

Tornado (REST): http://www.tornadoweb.org/en/stable/

Google Charts: https://developers.google.com/chart/

Better Check Boxes: https://tutorialzine.com/2011/03/better-check-boxes-jquery-css

hardware home screen weather milight music GPIOs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages