had to add some _ = eventChan etc to avvoid annoying compiler errors
using client secret and ID from upstream as the ones linked in README gave 401s
output:
λ echo $TESLA_CLIENT_SECRET
c7257eb71a564034f9419ee651c7d0e5f7aa6bfbd18bafb5c5c033b093bb2fa3
λ echo $TESLA_CLIENT_SECRET2
c75f14bbadc8bee3a7594412c31416f8300256d7668ea7e6e7f06727bfb9d220
λ go run ./teslago.go
true
<nil>
Bad message from Tesla API stream
Bad message from Tesla API stream
Bad message from Tesla API stream
Bad message from Tesla API stream
Bad message from Tesla API stream
Bad message from Tesla API stream
Bad message from Tesla API stream
HTTP stream closed
Reconnecting!
^Csignal: interrupt
λ
_ = eventChan
etc to avvoid annoying compiler errorsoutput:
tips?