diff --git a/navi/syncapi.cheat b/navi/syncapi.cheat index d437c96..fbec241 100644 --- a/navi/syncapi.cheat +++ b/navi/syncapi.cheat @@ -1,17 +1,27 @@ % syncapi # SyncAPI Muller -/syncapiadmin.py --project muller -s --endpoint -c /muller_.swp --mac +/syncapiadmin.py --project muller -s --endpoint --mac # SyncAPI Legrand -/syncapiadmin.py --project legrand -s --endpoint -c /legrand_.swp --mac +/syncapiadmin.py --project legrand -s --endpoint --mac # Debug parser Legrand -/debug_parser.py --project legrand -s -c /legrand_.swp -r -pp -g +/debug_parser.py --project legrand -s -r -pp -g + +# Enable debug mode Legrand +/debug_config_setter.py --project legrand -s -g -t NLG -ke debug_enabled + +# Disable debug mode Legrand +/debug_config_setter.py --project legrand -s -g -t NLG -kd debug_enabled + +# Analyse diagnosis +/syncapiadmin.py --project legrand -s --endpoint getdebuginfo --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"