parberge / netatmo-api-python

Netatmo connect API python client (for Netatmo information, see https://dev.netatmo.com)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

netatmo-api-python

Simple API to access Netatmo weather station data from any python script For more detailed information see http://dev.netatmo.com

I have no relation with the netatmo company, I wrote this because I needed it myself, and published it to save time to anyone who would have same needs.

Install

To install lnetatmo simply run:

python setup.py install

or

pip install lnetatmo

Depending on your permissions you might be required to use sudo. Once installed you can simple add lnetatmo to your python scripts by including:

import lnetatmo

New features (see usage for details)

cameras (Welcome and Presence) :

  • get live jpeg snapshot with homeData.getLiveSnapshot(camera="{name}")
  • get best access url (local if possible else vpn) with homeData.url(camera="{name}") and it works despite the is_local property of the camera being mostly false (the camera IP is catched only on camera start and never updated even if the home IP change)

Presence : switch camera on or off with homeData.presenceStatus("on|off", camera="{name}")

About

Netatmo connect API python client (for Netatmo information, see https://dev.netatmo.com)

License:GNU General Public License v3.0


Languages

Language:Python 100.0%