Turn off the "DEBUG:bimmer_connected...." messages so I can just get the JSON output? #290
Replies: 2 comments 1 reply
-
The quick fix would pulling the code and changing cli.py#L23 to However it would still not be perfect for parsing it from a different tool (mixed output with strings + newline-separated JSON dicts). If you have an idea how this output could look like, we can see if we
|
Beta Was this translation helpful? Give feedback.
-
@rikroe - would be awesome if there was a pure "machine-parseable" JSON option. I've included a correctly formatted JSON below (note the sections, required double quotes ""). Can also be in compact format (without the formatting for readability). Perhaps (if easy enough), would be good if top level was the VIN to identify the car (for more than 1x BMW), with Properties & Status as the 2 sections below.
Compact Format:
|
Beta Was this translation helpful? Give feedback.
-
Been looking at this to see if I can incorporate in other Domotica system. Running from the CLI, I can get the info I need, but there are numerous lines starting with DEBUG:bimmer_connected, DEBUG:urllib3. Is ther any way to change this so it only produces the JSON? Would really help rather than having to pre-parse all the output.
Beta Was this translation helpful? Give feedback.
All reactions