{"repo":"KiboOst/php-simpleNetatmoAPI","free":true,"listed":false,"github":"https://github.com/KiboOst/php-simpleNetatmoAPI","clone":"git clone https://github.com/KiboOst/php-simpleNetatmoAPI.git","description":"Need a simple way to get your Netatmo Presence datas with a few lines of php? Here you are!","language":"PHP","stars":37,"topics":["netatmo","domotic","automation","presence","camera"],"license":"MIT","category":"workflow-automation","readme_excerpt":"php-simpleNetatmoAPI Simple php API to get data from your Netatmo devices. Supported devices - Netatmo Weather Station - Netatmo Presence Cameras - Netatmo Welcome Cameras - Netatmo Doorbell This is a simple stand-alone API to get your Netatmo devices data in a more easy and more readable way. It does rely on official Netatmo SDK, even if no other resources are needed to get your data. Just download and use one single php file! Need to setup a Netatmo callback ? Check here Requirements If you don't have Netatmo App yet, just create one, it's simple and free: - Register at https://dev.netatmo.com - Create an app at https://dev.netatmo.com/apps/createanapp#form (Enter any name) - After successfully created your app, just get client id and client secret In your app, check Token generator section: enter all needed scopes, then hit Generate Token Copy Refresh Token into refreshtoken.txt file beside your php script. This is extremely important, as for each API initialisation, this refresh token will change, and write back into the file for next calls. Also, this means you can't anymore (December 2023, thanks Netatmo, awkward decision!!) use same app for different scripts locations, or will have to synch this file! If you need to have this file in different folders you can try that: How-to All functions return a json array, you can echo it to see which key to get. Initialize: If you have several homes, you can specify a homeID as last argument. Weather Station: Netatmo Cameras: Get ","default_branch":null,"files":null,"tree":[],"storefront":"/r/KiboOst","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KiboOst/php-simpleNetatmoAPI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}