MagicSmokeFireworks / magic-smoke-cloud

This is the local server instance that drives the Magic Smoke client photons.
1 stars 0 forks source link

Need better situational awareness during show #1

Closed viomonger closed 7 years ago

viomonger commented 8 years ago

Clear and obvious status from the boards, and limit required user interactivity to obtain assurances.

viomonger commented 7 years ago

There is now a (server getstatus time) - (time of last status packet) difference number, which can be useful to provide some sort of status freshness / dropout indication. Work to go to add this to the pages in a nice way...

viomonger commented 7 years ago

Add some interpretation for the signal strength number, so it is more meaningful. What is a good strength, and what is worringly close dropping packets? In brief testing in a very different environment, I would characterize anything less than -72 as being bad for a show. Anything less than -66 is ok but worth keeping an eye on. Could use more testing in a relevant environment (aka field with antennas near the ground).

viomonger commented 7 years ago

A command counter has been implemented in the firmware, in addition to the fire counters. The server should know how many commands were sent, so by comparing to the command count in telemetry will give an indication of if commands were dropped. Also, improvements in the firmware means the command string should be repeated now in the data of the 200 response, so we can perhaps rely on that response as a command ack. Need to improve the interface so that there is feedback that a click results in the server sending a command and whether or not that command was acknowledged, then with the next telemetry packet whether or not that command is counted, and if the fire count increased, etc.

viomonger commented 7 years ago

Each channel in the group on the show page has one overall status indicator, which will show any problems (disconnected, unarmed, etc.) or if it is ready to fire, or has acknowledged a fire command via the fire count. To dig deeper into any potential issues, there is more detailed channel status (for show-config boards) available on the status page, and all the data is on full display on the individual board pages (for all boards).