Page 1 of 1

API login from command line?

Posted: 27 Jan 2019, 01:36
by rs232
I was trying to do something very simple actually. e.g. power on/off the thermostat using a linux shell (so no webpage or else).

The DEV documentation seems pretty comprehensive but I can't get my head around on how to perform the authentication via shell (e.g. curl).

Does anybody have any working example?

Thanks

Re: API login from command line?

Posted: 27 Jan 2019, 08:23
by gloglo36
Getting your access token is fairly easy : https://github.com/seblucas/netatmo2mqt ... resh-token

Re: API login from command line?

Posted: 27 Jan 2019, 12:48
by rs232
thanks for the input.

Unfortunately I don't have python available. I'm trying to do this from a Linux based router (Tomato) which runs busybox only