Giter Site home page Giter Site logo

tordar / netatmo-timelapser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from philippelt/netatmo-api-python

0.0 0.0 0.0 179 KB

Script and Docker image capturing images on the Netatmo Security home camera based on time intervals, with the opportunity to compile into a timelapse

License: GNU General Public License v3.0

Python 98.81% Dockerfile 1.19%

netatmo-timelapser's Introduction

netatmo-api-python, recurring image capture & timelapser

This repo was built and forked, based on the netatmo-api-python repo

Authentication

Make sure to create an accessible app from Netamo's own developer platform, to receieve a clientId, and clientSecret to access their API. Fill in the necessary information in the lnetamo.py file.

Usecase

  • Add client_id, client_secret, camera name, sleeptime, username and password of your Netamo account to the environment variables

  • If running the docker file in terminal make sure to run it with the following command

    docker run -e CLIENT_ID={$ client_id} -e CLIENT_SECRET={$ client_secret} -e MY_CAMERA={$ netatmo camera} -e USERNAME={$ username} -e PASSWORD={$ password} -e  SLEEPTIME={$ amount of seconds interval} -t -v {$ absolute path for pictures}:/pictures tordar/timelapser
    
  • Including :/pictures at the end of the absolute path is crucial to allow Docker to mount a volume outside of itself

  • If running this in a seperate docker container, pull the image from Docker Hub with following command:

    docker pull tordar/timelapser
    

Update 23.01.2023

  • Trying to update the image on Docker Hub, there was an issue when trying to run the container on different platform than where it was created (Built on Arm, attempted to run on AMD). The solution for this was to build a multiplatform image.

netatmo-timelapser's People

Contributors

philippelt avatar jabesq avatar tordar avatar fxstein avatar asphotographics avatar joebe975 avatar rmkraus avatar cclauss avatar hydrelioxgithub avatar florianbeer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.