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 | |
import socket | |
import time | |
import datetime as dt | |
import picamera | |
import io | |
import os | |
import signal | |
import sys |
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
[Unit] | |
Description=Raspberry Pi Camera | |
After=network.target | |
Before=home-assistant.service | |
[Service] | |
Type=simple | |
User=hass | |
ExecStart=/service/picam/run.py |
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
camera: | |
platform: ffmpeg | |
input: tcp://localhost:8500 | |
name: FFmpeg | |
ffmpeg_bin: /usr/bin/ffmpeg | |
extra_arguments: -q:v 2 |
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
#for use with mpeg.py | |
camera: | |
- platform: mjpeg | |
mjpeg_url: http://localhost:8500/picam.mjpg | |
#for use with h264.py | |
ffmpeg: | |
ffmpeg_bin: /usr/bin/ffmpeg | |
run_test: True |
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 python2 | |
from mapnik import * | |
import math | |
import shutil | |
from os.path import dirname, basename, splitext, join, exists | |
import os | |
from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer | |
import SocketServer |
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
GBYkQGcz|JEio`ME;2PBd>}G2E-^DRHy|xBFgPwUH6VN-GBYkQGcz|JEio}RE;2PBd>}G2E-^DRHy|xBGBhqSH6VN-GBYkQGcz|JEip1SE;2PBd>}G2E-^DRHy|xBGB_?WH6VN-GBYkQGcz|JEip4NE;2PBd>}G2E-^DRHy|xBGdM0XH6VN-GBYkQGcz|JEip7TE;2PBd>}G2E-^DRHy|xBH7+tWAbcP)GcGYRGdCbDF*P$TGBqH4ATl#9F*7qaAT2R9I4&|ZAbcP)GcGYRGdCbDF*Y<VGBqH4ATl#9F*7qaAT2RAIW96aAbcP)GcGYRGdCbDF*hzUH6VN-GBYkQGcz|JEipGSE;2PBd>}G2E-^DRHy|xBH#06WH6VN-GBYkQGcz|JEipGWE;2PBd>}G2E-^DRHy|xBH#aUaH6VN-GBYkQGcz|JEipMRGBqH4ATl#9F*7qaAT2U6E;2PBd>}G2E-^DRHy|xCGcGbUAbcP)GcGYRGdCbDGB++VH6VN-GBYkQGcz|JEi*MPGBqH4ATl#9F*7qaAT2XFE;2PBd>}G2E-^DRHy|xEH!d<YAbcP)GcGYRGdCbDH83tRH6VN-GBYkQGcz|JEj2hUGBqH4ATl#9F*7qaAT2gEE;2PBd>}G2E-^DRHy|xHH7+tWAbcP)GcGYRGdCbDI5I9WH6VN-GBYkQGcz|JEjTzXGBqH4ATl#9F*7qaAT2pEE;2PBd>}G2E-^DRHy|xJG%hkVAbcP)GcGYRGdCbDIW{gbH6VN-GBYkQGcz|JEjc(YGBqH4ATl&AF*7qaAT2gCE;2PBd>}G3E-^DRHy|xGH!d<YAbcP)G%hhSGdCbDH#06WH6VN-GBhqRGcz|JEjKqVGBqH4ATl*BF*7qaAT2R4GA=STAbcP)H7+qTGdCbDF)%nTGBqH4ATl*BF*7qaAT2R5HZC$XAbcP)H7+qTGdCbDF*7hOGBqH4ATl*BF*7qaAT2R7I4&|ZAbcP)H7+qTGdCbDF*G(VGBqH4ATl*BF*7qaAT2R8I4&| |
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
'23.1337 -102.25 | 23.1337 -108.25 | 23.1337 -116.25 | 23.1337 -124.25 | 23.1337 -126.25 | 23.1337 -128.25 | 23.1337 -130.25 | 23.1337 -138.25 | 23.1337 -145.25 | 23.1337 -15.25 | 23.1337 -153.25 | 23.1337 -158.25 | 23.1337 -164.25 | 23.1337 -169.25 | 23.1337 -17.25 | 23.1337 -171.25 | 23.1337 -173.25 | 23.1337 -175.25 | 23.1337 -177.25 | 23.1337 -19.25 | 23.1337 -21.25 | 23.1337 -23.25 | 23.1337 -27.25 | 23.1337 -35.25 | 23.1337 -39.25 | 23.1337 -47.25 | 23.1337 -50.25 | 23.1337 -58.25 | 23.1337 -65.25 | 23.1337 -75.25 | 23.1337 -82.25 | 23.1337 -88.25 | 23.1337 -92.25 | 23.1337 -94.25 | 23.1337 -96.25 | 23.1337 -98.25 | 24.1337 -63.25 | 24.1337 -67.25 | 24.1337 -73.25 | 24.1337 -77.25 | 25.1337 -102.25 | 25.1337 -108.25 | 25.1337 -116.25 | 25.1337 -130.25 | 25.1337 -138.25 | 25.1337 -146.25 | 25.1337 -148.25 | 25.1337 -150.25 | 25.1337 -152.25 | 25.1337 -158.25 | 25.1337 -164.25 | 25.1337 -173.25 | 25.1337 -21.25 | 25.1337 -27.25 | 25.1337 -29.25 | 25.1337 -35.25 | 25.1337 -40.25 | 25.1337 -42.25 | 25.1337 |