pi@bookcase2:~ $ cd MagicMirror/modules/
pi@bookcase2:~/MagicMirror/modules $ git clone [email protected]:shbatm/MMM-AlexaOnOff.git
Cloning into 'MMM-AlexaOnOff'...
remote: Enumerating objects: 32, done.
remote: Counting objects: 100% (32/32), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 32 (delta 12), reused 14 (delta 2), pack-reused 0
Receiving objects: 100% (32/32), 10.82 KiB | 0 bytes/s, done.
Resolving deltas: 100% (12/12), done.
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
server { | |
listen 80; | |
server_name localhost; | |
location /oauth2/ { | |
proxy_pass http://oauth-proxy:4180; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Scheme $scheme; | |
proxy_set_header X-Auth-Request-Redirect $request_uri; |
This GIST contains the files required to be modified in order to run diyHue on non-default HTTP and HTTPS ports.
This example uses ports 8080 for HTTP and 8443 for HTTPS and redirects the necessary paths from NGINX's default site.
The following lines must be changed in the diyHue source code, as there is no option provided to change the ports by default.
The scripts included in this Gist are designed to start io_guy's NodeLink.exe as a startup service on a Raspberry Pi running Rasbian Stretch.
- Follow the installation instructions for setting up NodeLink here.
- STOP when you get to "Setting up rc.local"
- Copy the contents of the file below to a file called
installService.sh
in the same folder as NodeLink.exe on your RPi: - Install the systemd service by running:
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
{ | |
module: "MMM-RTSPStream", | |
position: "middle_center", | |
header: "Camera Streams", | |
config: { | |
autoStart: false, | |
rotateStreams: false, | |
moduleWidth: 1120, | |
moduleHeight: 784, | |
stream1: { |
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
/* Magic Mirror Config Sample | |
* | |
* By Michael Teeuw http://michaelteeuw.nl | |
* MIT Licensed. | |
* | |
* For more information how you can configurate this file | |
* See https://github.com/MichMich/MagicMirror#configuration | |
* | |
*/ |
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
{ | |
"apps":[ | |
{ | |
"name":"mm", | |
"script":"./mm.sh", | |
"cwd":"/home/pi", | |
"watch":[ | |
"/home/pi/MagicMirror/config/config.js" | |
], | |
"watch_options":{ |
NewerOlder