cyoung / stratux

Aviation weather and traffic receiver based on RTL-SDR.
BSD 3-Clause "New" or "Revised" License
1.06k stars 362 forks source link

WebUI shows Weather "Receiving" even on 1090 only #210

Closed Ergonomicmike closed 8 years ago

Ergonomicmike commented 8 years ago

Small nit.

Single Dongle Plain Vanilla Stratux running v0.5b5. The weather page shows me "Receiving" weather (Green tag) even when on only 1090. This persists after a reboot. Of course, Watching and Reports are zero.

cyoung commented 8 years ago

The "Receiving" indicator is showing (correctly) that the web browser is receiving weather updates from the device - maybe the meaning of "Receiving" could be clearer or should be reevaluated.

Ergonomicmike commented 8 years ago

Perhaps eliminate it then? I thought it was an Activity Checker, indicating that weather products were coming thru. Since we already have a "Connected" marker in the status page, what new info does "Receiving" on the wx page indicate?

Axtel4 commented 8 years ago

Maybe "Weather Connected / Not Receiving", "Weather Connected / Receiving"?

cyoung commented 8 years ago

Need: three state display. Connected, Disconnected, Receiving. Or clarify the current "Receiving". @bradanlane, let's go with what you think is best.

bradanlane commented 8 years ago

I'll normalize the messages to "connected"/"disconnected" and will verify it is logical an intuitive in all cases.

Background: The status indication was referring to the WebUI successfully "receiving from the websocket". Teh fact that the websocket had nothing useful to send was of little interest to the Web UI :-)

cyoung commented 8 years ago

https://github.com/cyoung/stratux/commit/bbbcd3bbe16f67febb9955ff7d92908b82d2fa24