26-feb-2017: Better output webinterface on preset change. 01-feb-2017: Bugfix uploading files. 30-jan-2017: Allow chunked transfer encoding of streams. 23-jan-2017: Correction playlists. 16-jan-2017: Correction playlists. 02-jan-2017: Webinterface in PROGMEM. 28-dec-2016: Add support for resume after stop. 23-dec-2016: Add support for mp3 files on SPIFFS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//* Name: Garage Door System | |
//* Hacker: NonaSuomy | |
//* Date: 20160630 | |
//* Description: Garage door sends a push notification to instapush.im | |
//* | |
//* Sign-up & Setup instapush.im | |
//* | |
//* Goto the instapush dashboard after signing up: https://instapush.im/dashboard | |
//* Click "Apps" tab. | |
//* Click "+Add Application" button. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
User: NonaSuomy | |
Date: 20170406 | |
Upda: 20170422 | |
Desc: Found this script at: https://www.toofishes.net/blog/streamtheworld-streams-command-line/ | |
Desc: Modified to send the streams to Ka-Radio further information: https://github.com/karawin/Ka-Radio/issues/25. | |
Usage: python2 streamtheworldka.py CIMXFM 10.13.37.65 | |
^Radio callsign ^IP address of Ka-Radio Device | |
Requirements: python2 + curl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
''' | |
User: NonaSuomy | |
Date: 20170406 | |
Upda: 20170422 | |
Desc: Found this script at: https://www.toofishes.net/blog/streamtheworld-streams-command-line/ | |
Desc: Modified to send the streams to esp-radio further information below in the comments and https://github.com/Edzelf/Esp-radio/issues/70 . | |
Usage: python2 streamtheworldespradio.py CIMXFM 10.13.37.65 | |
^Radio callsign ^IP address of esp-radio Device | |
Requirements: python2 + curl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/opt/openhab/conf/items/demo.items <= remove this line before use... | |
Number Switch2 "Door State [MAP(switchs.map):%s]" <garagedoor> (gG) {mqtt="<[broker:hq/garage/switch1:state:default]"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//http://playerservices.streamtheworld.com/api/livestream?version=1.5&mount=CIMXFMAAC&lang=en | |
#include <ESP8266WiFi.h> | |
#include <TinyXML.h> | |
const char* ssid = "SSID"; | |
const char* password = "PASSWORD"; | |
const char* host = "playerservices.streamtheworld.com"; | |
const char* apiVersion = "1.5"; | |
const char* mountPoint = "CIMXFMAAC"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//****************************************************************************************** | |
//* Esp_radio -- Webradio receiver for ESP8266, 1.8 color display and VS1053 MP3 module, * | |
//* by Ed Smallenburg ([email protected]) * | |
//* With ESP8266 running at 80 MHz, it is capable of handling up to 256 kb bitrate. * | |
//* With ESP8266 running at 160 MHz, it is capable of handling up to 320 kb bitrate. * | |
//****************************************************************************************** | |
// ESP8266 libraries used: | |
// - ESP8266WiFi - Part of ESP8266 Arduino default libraries. | |
// - SPI - Part of Arduino default libraries. | |
// - Adafruit_GFX - https://github.com/adafruit/Adafruit-GFX-Library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
BACKUPDEST="$1" | |
DOMAIN="$2" | |
MAXBACKUPS="$3" | |
if [ -z "$BACKUPDEST" -o -z "$DOMAIN" ]; then | |
echo "Usage: ./vm-backup <backup-folder> <domain> [max-backups]" | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
read -d '' vlannetwork <<- EOF | |
[Match] | |
Name=eno1 | |
[Network] | |
VLAN=eno1.100 | |
VLAN=eno1.200 | |
VLAN=eno1.300 | |
VLAN=eno1.400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
## Authenticate with Google Voice | |
## | |
USAGE="`basename $0` {auth|refresh|token} ctx" | |
CTX_DIR=$HOME/.gvauth | |
CLIENT_ID="YOUR_CLIENTID_FROM_GOOGLE_DEVELOPER_CONSOLE" | |
CLIENT_SECRET="YOUR_CLIENTSECRET_FROM_GOOGLE_DEVELOPER_CONSOLE" | |
SCOPE="https://www.googleapis.com/auth/googletalk%20https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/userinfo.profile" |
OlderNewer