[REQUEST] Automatic Export of CSV/XLS and HP template

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
frank_s
Posts: 11
Joined: 02 Mar 2015, 08:57
Location: Germany, Hessen
Contact:

Re: [REQUEST] Automatic Export of CSV/XLS and HP template

Post by frank_s » 10 Feb 2016, 20:25

Welcome, Dai,
anyway, don't know what kind of template you expect? Frontend or Backend templates ?

If you get no answer from michael try this at the end of his script:

Code: Select all

NOW=`date '+%Y-%m-%d %H:%M:%S'`
ONEDAYAGO=`date '+%Y-%m-%d %H:%M:%S' --date="1 day ago"`
getmeasurecsv "user@email.com" "mySecretPassword" "..:..:..:..:..:.." "..:..:..:..:..:.." "Temperature,Humidity" "$ONEDAYAGO" "$NOW"  "csv"
I think it will work if the time of your system is ok :)

Post Reply

Return to “Netatmo API”