bofh69 / AiLight

This fork of AiLight sets the lamp's colour from a weather station.
Other
0 stars 0 forks source link

N00b proof web interface #10

Open duelago opened 6 years ago

duelago commented 6 years ago

I want the default settings to be as noob proof as possible.

  1. In AP-mode at initial boot, name the Wifi WindLight and no password id possible
  2. Default to 192.168.1.1 for the IP of the lamp in AP-mode
  3. Hide the http://api.holfuy.com/live/ field in settings (Show it under an advanced switch)
  4. Populate a list from holfuy.com with the stations in a drop down instead of the field Station's id
  5. Button to switch between m/s, knots, km/h (The germans are using km/h)
  6. Graphic representation of wind direction with a wheel like on holfuy.com ?
bofh69 commented 6 years ago

As for 4: There is an API for the data here: http://api.holfuy.com/stations/stations.json

Holfuy says it is a stable interface, but will not active CORS.

It can be parsed with: https://github.com/squix78/json-streaming-parser

duelago commented 6 years ago

Cool. It would be really nice if he can give us passwords to public weather stations as well, but I guess that is a bit sensitive...