-
-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add JSON output for easier integration with other tools #98
Comments
Could you be more precise what are you trying to do? For vacuum the |
SRY for the delay. hmm if i call mirobo script and check for status, is_on is not returned. also not with debug.
|
Like shown in the link I gave above, it just checks if the state variable is one of the listed ones, this will catch also manual & spot cleaning besides the normal automated one. This is done as the |
Yes you are right. In_cleaning always returnes 0 for me (also in automatic and manual cleaning). But why is in_cleaning returned and not is_on (in Version 0.3.0). I dont understand this. |
Neither of them is not returned if I'm not mistaken. Instead of it the JSON mode is not currently planned as using the API is preferred, however I'm welcome for PRs (and if you want, you can open another issue for that). |
in debug you see: |
Oh, you probably should not be parsing the raw data, but maybe it makes sense to add a JSON output, so I'll just rename the issue. Adding that is not a priority of mine, but if someone wants to work on it I'll accept PRs on that. |
puhhh. ok thanks. i tried this last night, but i don't even know how to start..... |
I think the way to go with this would be to add a new |
This will be available in the upcoming 0.4.0 release, see #191. Usage:
|
Hi,
not in debug or in status. where to find ?
Thanks
The text was updated successfully, but these errors were encountered: