From dda8e881de8bdf6f32323e16b900d2d9b790dc24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin-Charles=20Guih=C3=A9neuf?= Date: Fri, 23 Oct 2020 09:24:13 +0200 Subject: [PATCH] navi: Add syncapi debug cheatsheets --- navi/syncapi.cheat | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/navi/syncapi.cheat b/navi/syncapi.cheat index d437c96..c06a93f 100644 --- a/navi/syncapi.cheat +++ b/navi/syncapi.cheat @@ -9,9 +9,19 @@ # Debug parser Legrand /debug_parser.py --project legrand -s -c /legrand_.swp -r -pp -g +# Enable debug mode Legrand +/debug_config_setter.py --project legrand -s -c /legrand_.swp -g -t NLG -ke debug_enabled + +# Disable debug mode Legrand +/debug_config_setter.py --project legrand -s -c /legrand_.swp -g -t NLG -kd debug_enabled + +# Analyse diagnosis +/syncapiadmin.py --project legrand -s --endpoint getdebuginfo -c /legrand_.swp --mac | jq -r .body.diagnosis_content | /decode_diagnosis.py + # Paths $ syncapi_path: echo "$HOME/Netatmo/core/python-emb-tools/python/bin/syncapiadmin" $ debug_path: echo "$HOME/Netatmo/core/python-emb-tools/python/bin/debug" +$ release_path: echo "$HOME/Netatmo/core/python-emb-tools/python/bin/release" # Variables $ server: echo "prod inte" | tr " " "\n"