bropat / eufy-security-ws

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

[Question]: some commands not working as expected or not implemented? #212

Closed lxrootard closed 6 months ago

lxrootard commented 1 year ago

Ask your question

Hi @bropat

I'm the developper of Jeedom's Eufy plugin First a huge thanks for your work, without it we'd have no ways to interact with these devices. The plugin is still in beta on the Jeedom market but the # of end-users is increasing everyday! Also your new device picture property in v2.5.0 works like a charm! I'm integrating it in Jeedom on supported cams.

However reading your APIDoc I've noticed several eufy-security-ws commands that either:

I can live with it but I'd like to understand if it's a doc issue or if I'm missing something here? If needed I can send you my Postman logs in MP

Many thanks ;)

bropat commented 1 year ago

Hi @lxrootard,

thank you very much for the feedback. much appreciated :)

don't produce the expected output on the devices I've tested, eg: station.trigger_alarm and station.reset_alarm that don't produce any sound as already reported https://github.com/bropat/eufy-security-ws/issues/191

It is possible that Eufy has prevented this with new firmware.

or return unknown_command error eg: station.get_commands, station.has_command, station.download_image device.get_commands, device.has_command

unknown_command means that you have most likely executed a command that was not known in the specified schema_version. Look here. The latest schema_version is 17.

lxrootard commented 1 year ago

Thanks for your reply I'm setting the schema version to the latest supported by my container before the REST calls (eg 16 or 17). So far I didn't use the message_id parameter. I've noticed the doc is not consistent: string or int? Is it mandatory? what does the value message_id=1 mean?

fuatakgun commented 1 year ago

message_id is used for internal tracking purposes, you send a message with id and you get a response with respective message id. You can send multiple messages and receive responses in different order and these IDs would help to track the answers internally

duylong commented 1 year ago

Hi @lxrootard,

thank you very much for the feedback. much appreciated :)

don't produce the expected output on the devices I've tested, eg: station.trigger_alarm and station.reset_alarm that don't produce any sound as already reported #191

It is possible that Eufy has prevented this with new firmware.

Same problem with my Home Base 2 version 3.2.9.5h (2023/06/29). Somebody has the same issue with this firmware ? Chime mode works.

bropat commented 6 months ago

I have successfully tested all the functionalities mentioned above. So the problem is not in this project. I am therefore closing this.