Skip to content
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

Support Areas_To_Clean #12

Open
michaeljcohen opened this issue Dec 9, 2021 · 1 comment
Open

Support Areas_To_Clean #12

michaeljcohen opened this issue Dec 9, 2021 · 1 comment

Comments

@michaeljcohen
Copy link

So I would have expected that in order to specify a room to clean you would call

https://ads-field.aylanetworks.com/apiv1/dsns/ABCDEFG/properties/SET_Areas_To_Clean/datapoints.json
passing

{"datapoint":{"value":"{"clean_count":1,"areas_to_clean":["UserRoom: Room 2"]}"}}

Any idea why this wouldn't work?

The call returns

{'datapoint': {'updated_at': '2021-12-09T02:33:11Z', 'created_at': '2021-12-09T02:33:11Z', 'echo': False, 'metadata': {}, 'generated_at': None, 'generated_from': None, 'value': '{"clean_count"=>"1", "areas_to_clean"=>["UserRoom:Room 2"]}'}}

@Mobius5150
Copy link

@michaeljcohen I've been working on this - could you take a look and let me know if #13 works for you?

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

No branches or pull requests

2 participants