bropat / eufy-security-ws

Small server wrapper around eufy-security-client library to access it via a WebSocket.
MIT License
169 stars 24 forks source link

[Bug]: S100(T84A1): getting/setting color properties raise error #293

Closed lxrootard closed 5 months ago

lxrootard commented 7 months ago

Version

1.7.1

Node version

docker

Operating System type

Linux

Operating system version

official docker image

Describe the bug

Hi @bropat Happy new year and kudos for your great work on Eufy devices! I'm having errors getting and setting color properties on an end-user S100(T84A1).

device.get_properties reads the color OK eg: "lightSettingsManualColoredLighting":{"red":255,"green":65,"blue":0}

However device.get_property raises an error: {"type":"result","success":false,"errorCode":"unknown_command"}

Also fromdevice.get_properties_metadata lightSettingsXXXColoredLighting are read/write. Still device.set_property raises another error: {"type":"result","success":false,"errorCode":"device_invalid_property_value"}

To reproduce

See my py test program and log attached Thanks ;)

Screenshots & Logfiles

log2.txt

Additional context

test_color_S100.py.txt

lxrootard commented 7 months ago

@bropat the logs are in attachment, see screenshots & logfiles section it's easy to reproduce if you have access to the device (I don't BTW): $python3 test_color_S100.py

bropat commented 5 months ago

Please always demonstrate the misbehaviour by demonstrating the problem directly with the supplied client, otherwise the issue will be closed. Unfortunately I don't have the time to look at every implementation.

Thank you!