Make test server a Flask instance
Fix mode picker
Fix zone picker AJAX request
Fix battery AJAX response
Implement getting previous log
Implement logging WebSocket