Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

ATW not found #23

Open
Koncinaa opened this issue Jun 12, 2022 · 4 comments
Open

ATW not found #23

Koncinaa opened this issue Jun 12, 2022 · 4 comments

Comments

@Koncinaa
Copy link

device = devices[pymelcloud.DEVICE_TYPE_ATW][0]
IndexError: list index out of range

I get this error.

if i print var device i get this:
{'ata': [<pymelcloud.ata_device.AtaDevice object at 0x000001E6772B61A0>], 'atw': [], 'erv': []}

@vilppuvuorinen
Copy link
Owner

Which device is this? Can you provide sample responses from the relevant endpoints?

@Koncinaa
Copy link
Author

I found a solution. My device was ATA and i tried to access it as ATW.

I can get readings from a device now. Can you tell me how to send commands back to device ? Like power on, off etc ?

@Koncinaa
Copy link
Author

@vilppuvuorinen Please help

@jccbbb
Copy link

jccbbb commented Sep 3, 2022

@vilppuvuorinen I also don't understand how I send back a change like changing the temperature from 21-degree celsius to 19-degree celsius. I would really appreciate if you could add to the documentation on how to do such a request 😊

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