Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Get Current Status of device #50

Closed
sossienl opened this issue Sep 7, 2018 · 2 comments
Closed

Get Current Status of device #50

sossienl opened this issue Sep 7, 2018 · 2 comments

Comments

@sossienl
Copy link

sossienl commented Sep 7, 2018

I have it working on my machines and with my DR98. Perfect. Now my domotica system triggers the robot to start cleaning, once no-one is at home anymore. And it will stop and go back to charge, once someone returns home.

However... It would be nice to check the current state of the device. "sucks status" or something.
This would make it even more smart.

Also I assume "sucks clean 60" always starts a new cleaning job once I initiated "sucks charge" before that? In other words, it doesn't continue where it left the last job?

Anyways, already very happy with this

@wpietri
Copy link
Owner

wpietri commented Sep 7, 2018

Hi! Glad to hear you're happy with it.

The current command-line program is for use in something like cron. It's meant as a server-side replacement for the scheduling function in the app. For more advanced usage, including deeper integrations with other software, I recommend using it as a library: https://github.com/wpietri/sucks#library-use

That lets you get detailed status information, including battery state, motor state, and the wear level of the accessories.

@wpietri wpietri closed this as completed Sep 7, 2018
@ohkeepa
Copy link

ohkeepa commented Jul 27, 2019

Could you give an example of this? Specifically to get the current state of the device?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants