From 5f44f5ac41eed27e9a15257dfc19417077ea9c41 Mon Sep 17 00:00:00 2001 From: sparky8512 <76499194+sparky8512@users.noreply.github.com> Date: Wed, 2 Mar 2022 15:10:31 -0800 Subject: [PATCH] Document different topic format for JSON mode --- dish_grpc_mqtt.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dish_grpc_mqtt.py b/dish_grpc_mqtt.py index 53cefa7..1f746f4 100644 --- a/dish_grpc_mqtt.py +++ b/dish_grpc_mqtt.py @@ -12,6 +12,11 @@ Data will be published to the following topic names: : starlink/dish_usage/*id_value*/*field_name* : Usage history statistics Where *id_value* is the *id* value from the dish status information. + +Unless the --json command line option is used, in which case, JSON-formatted +data will be published to topic name: + +: starlink/*id_value* """ import json