OEHU / oehu-website

The OEHU website, as can be seen on https://oehu.org/ |
https://oehu.org/
4 stars 2 forks source link

Setup credentials phrase #9

Closed jurjendevries closed 5 years ago

jurjendevries commented 6 years ago

At step 4 of https://oehu.org/setup there is a field asking for "This phrase is generated by your PI, this is your ..... " There is no documentation where to get the phrase. I suggest to add this to https://oehu.org/get-started (step 8). I was able to find it myself at /home/pi/oehu-setup-api/config.json

bartwr commented 6 years ago

Thank you, this is a bug indeed. Is part of https://github.com/OEHU/oehu-website/issues/8

Expected behaviour: The setup page should get the phrase automatically from the API using the api-setup-api.

Actual behaviour: Though, the setup does not show the phrase. Somehow the API cannot pass the phrase to the web page /setup.

Guessing the cause The website needs a secure connection to the API. The Pi does not yet have a SSL certificate, so getting the phrase via the API fails.

This is a duplicate though the cause is not yet fixed. Therfor I leave this issue open until it's fixed.

bartwr commented 5 years ago

@jurjendevries Cause is fixed.

The setup has been improved. Please progress as follows:

  1. Backup de informatie die je ziet als je gaat naar http://oehu.local:8000/oehu/getConfig
  2. Format the SD card (FAT)
  3. Follow the guide at https://oehu.org/get-started to configure OEHU

This way you'll keep your past data, and experience the new setup process. In the end you'll have a dashboard with your data.

img

Thank you for using OEHU! Curious to your experiences. If you have other comments/feedback, let us know.