All Projects → inputsh → automation-scripts

inputsh / automation-scripts

Licence: MIT license
Simple scripts that I'm using to automate the boring things.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to automation-scripts

fauxmo-plugins
Plugins for Fauxmo (emulated Wemo devices for the Amazon Echo)
Stars: ✭ 13 (-7.14%)
Mutual labels:  home-automation
infopanel
Show live data, animations, pictures, or anything on simple displays like RGB matrices
Stars: ✭ 29 (+107.14%)
Mutual labels:  home-automation
pycalima
Python interface for Pax Calima Fan via Bluetooth LE
Stars: ✭ 34 (+142.86%)
Mutual labels:  home-automation
HomeApp
A little smart home app for Philips Hue and other devices
Stars: ✭ 54 (+285.71%)
Mutual labels:  home-automation
home-assistant-opentherm-thermostat
Home Assistant OpenTherm Thermostat
Stars: ✭ 26 (+85.71%)
Mutual labels:  home-automation
open-energy-view
View resource consumption trends, history, analysis, and insights.
Stars: ✭ 32 (+128.57%)
Mutual labels:  home-automation
rreddit
𝐫⟋ Get Reddit data
Stars: ✭ 49 (+250%)
Mutual labels:  web-scraping
resin-home-automator
Example Python Flask web app deployable via resin.io for periodic Celery tasks
Stars: ✭ 18 (+28.57%)
Mutual labels:  home-automation
Home-AssistantConfig---OLD
AtomicPapa's Amazing Home Assistant Config
Stars: ✭ 15 (+7.14%)
Mutual labels:  home-automation
DotMatrixDisplay
Display any messages to a LED Matrix Display
Stars: ✭ 19 (+35.71%)
Mutual labels:  home-automation
klf-200-api
This module provides a wrapper to the REST API of a KLF-200 interface. Supporting the new API with firmware version 0.2.0.0.71 is in progress.
Stars: ✭ 29 (+107.14%)
Mutual labels:  home-automation
Home-Assistant-Config
🏠 My huizebruin Home Assistant configuration, Be sure to 🌟 this repository for updates! huizebruin
Stars: ✭ 29 (+107.14%)
Mutual labels:  home-automation
hass-pandora-cas
Home Assistant custom component for Pandora Car Alarm System
Stars: ✭ 15 (+7.14%)
Mutual labels:  home-automation
google fit hass
A Home assistant custom component to get your fitness information using Google Fitness API.
Stars: ✭ 23 (+64.29%)
Mutual labels:  home-automation
flowercare-exporter
Prometheus exporter for Xiaomi MiFlora / HHCC Flower Care devices.
Stars: ✭ 14 (+0%)
Mutual labels:  home-automation
hifiberry
This is a custom component to allow control of HifiberryOS devices in Home Assistant using the audiocontrol2 REST API.
Stars: ✭ 26 (+85.71%)
Mutual labels:  home-automation
leetcode-compensation
Compensation analysis on the posts scraped from leetcode.com/discuss/compensation. At present, the reports have been generated only for Indian cities.
Stars: ✭ 83 (+492.86%)
Mutual labels:  web-scraping
HomeAssistant-Tapo-Control
Control for Tapo cameras as a Home Assistant component
Stars: ✭ 327 (+2235.71%)
Mutual labels:  home-automation
homeassistant
Home Assistant Config
Stars: ✭ 50 (+257.14%)
Mutual labels:  home-automation
Node-js-functionalities
This repository contains very useful restful API's and functionalities in node-js containing many important tutorial code for mastering node-js, all tutorials have been published on medium.com, tutorials link is given below
Stars: ✭ 69 (+392.86%)
Mutual labels:  web-scraping

automation-scripts

This is a list of scripts that I use to automate my home. It currently contains the following scripts:

The ideas I have in my head are listed in the ideas.md file and may or may not be created.

diplo_and_friends.py

Automatically download the latest Diplo & Friends BBC radio show by setting up a cronjob to run this script every Sunday morning. Can easily be modified to automatically download any of the BBC shows. The script tries to download every episode available from the show, but get_iplayer is smart enough not to download those that have already been downloaded, therefore avoiding the duplicate downloads.

Bonus points: this script is executed on my Nextcloud server, so there's a php occ files:scan command that re-scans the files in the directory the .mp3 files are placed in. This script is also integrated with Simplepush, so that I would get an Android notification that the new episode is currently being downloaded on my server.

goodreads_to_md_list.py

This script works with the Goodreads API. It fetches the list of books from a public Goodreads shelf, and then outputs the list as a Markdown file. The point of this list is to have it synced in some external file, which could later be backed up (by using Git, as you can see here).

Note that each book in your year needs to have a valid read_at field filled out for the lines 53-65 to work. I could have added a small try/except to fix this, but I specifically wanted it to make sure that every book has a read_at field filled out before continuing.

  • Scripting language: Python 3
  • Prerequisites: pip install requests

hn500-to-simplepush.py

Send a Simplepush notification to your Android device every time a story gets over 500 votes on Hacker News. To use this script, copy it to a device that's constantly online, create a short cronjob for it (something like every five minutes) and modify the script with your Simplepush six-character ID. This script is my re-creation of Pushbullet's Hacker News 500.

This script assumes that you have a file called .hn500-to-simplepush.history in the same folder as this script. What this file does is it acts like a history of every HN ID that Simplepush sent a notification about. If the HN ID that the script finds is already in the history file, it won't trigger a notification.

  • Scripting language: Python3
  • Prerequsites: pip install requests && Simplepush.

music-to-subfolders.sh

This script only gets executed if I'm connected to my home WiFi network. It is meant to be executed every X minutes, and what it does is it moves all the music files from my Downloads folder to a specific subfolder in my Music folder. The subfolder gets named using the <YEAR>-<MONTH> format, and the script automatically creates that folder in case it no longer exists.

This script helps me out to keep my Downloads folder cleaner, and makes sure that the Music files are automatically imported to my music player's library. Later on, I can sync these files to an external location, either by using Nextcloud desktop client, or by using music-to-external-hdd.sh.

  • Scripting language: bash
  • Prerequisites: N/A

music-to-external-hdd.sh

This script is similar to the one above. It only gets executed when I'm on my home WiFi network, and what it does is it automatically copies just edited subfolders from music-to-subfolders.sh into an external hard drive by simply scp-ing them to a Raspberry Pi (to which the external hard drive is connected).

Basically the only reason this script exists and is not a part of the previous one is that I don't want to run the Nextcloud client on my Raspberry Pi, but I am leaving that as an option later on.

  • Scripting language: bash
  • Prerequisites: N/A
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].