Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HackAir API Key not stored #7

Open
patoberli opened this issue Aug 12, 2020 · 0 comments
Open

HackAir API Key not stored #7

patoberli opened this issue Aug 12, 2020 · 0 comments

Comments

@patoberli
Copy link

patoberli commented Aug 12, 2020

Hi, I've just tried the advanced version and also after some testing the newer variant with some TLS and JSON pulls.
Neither version was able to transmit data to HackAir, as the API key seemed to be missing. I've flashed it with Arduino IDE and have chosen to delete the wireless settings, so that I could re-enter the API key. I tried it a few times, but it never worked.

Anyway, quick hack was the following:
char hackair_api_token[44]; // hackAIR API token to be collected via WiFiManager on first start
#define hackair_api_token "HERE_THE_API_KEY" // I added this line
char sensebox_id[40]; // openSenseMap senseBox ID
char osem_token[80]; // openSenseMap senseBox access token

I don't know if it's a browser issue (tested the new Edge-Chrome on Windows 10 2004) or something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant