pymelcloud icon indicating copy to clipboard operation
pymelcloud copied to clipboard

ATW not found

Open Koncinaa opened this issue 2 years ago • 4 comments

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': []}

Koncinaa avatar Jun 12 '22 10:06 Koncinaa

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

vilppuvuorinen avatar Jun 13 '22 07:06 vilppuvuorinen

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 avatar Jun 16 '22 10:06 Koncinaa

@vilppuvuorinen Please help

Koncinaa avatar Jun 16 '22 17:06 Koncinaa

@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 😊

jccbbb avatar Sep 03 '22 09:09 jccbbb