navi: Add syncapi debug cheatsheets
This commit is contained in:
		| @@ -9,9 +9,19 @@ | |||||||
| # Debug parser Legrand | # Debug parser Legrand | ||||||
| <debug_path>/debug_parser.py --project legrand -s <server> -c <syncapi_path>/legrand_<server>.swp -r -pp -g <gateway_mac> | <debug_path>/debug_parser.py --project legrand -s <server> -c <syncapi_path>/legrand_<server>.swp -r -pp -g <gateway_mac> | ||||||
|  |  | ||||||
|  | # Enable debug mode Legrand | ||||||
|  | <debug_path>/debug_config_setter.py --project legrand -s <server> -c <syncapi_path>/legrand_<server>.swp -g <gateway_mac> -t NLG -ke debug_enabled | ||||||
|  |  | ||||||
|  | # Disable debug mode Legrand | ||||||
|  | <debug_path>/debug_config_setter.py --project legrand -s <server> -c <syncapi_path>/legrand_<server>.swp -g <gateway_mac> -t NLG -kd debug_enabled | ||||||
|  |  | ||||||
|  | # Analyse diagnosis | ||||||
|  | <syncapi_path>/syncapiadmin.py --project legrand -s <server> --endpoint getdebuginfo -c <syncapi_path>/legrand_<server>.swp --mac <gateway_mac> | jq -r .body.diagnosis_content | <release_path>/decode_diagnosis.py | ||||||
|  |  | ||||||
| # Paths | # Paths | ||||||
| $ syncapi_path: echo "$HOME/Netatmo/core/python-emb-tools/python/bin/syncapiadmin" | $ syncapi_path: echo "$HOME/Netatmo/core/python-emb-tools/python/bin/syncapiadmin" | ||||||
| $ debug_path: echo "$HOME/Netatmo/core/python-emb-tools/python/bin/debug" | $ 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 | # Variables | ||||||
| $ server:   echo "prod inte" | tr " " "\n" | $ server:   echo "prod inte" | tr " " "\n" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user