Comments (9)
Hi @AnthoPakPak,
at the moment this is not possible. Until now, this tool was only intended for interactive testing of the commands.
Marked as feature request.
from eufy-security-ws.
Oooh crap I didn't noticed that... 🤦♂️
Thanks a lot, everything works well now.
I've just implemented the changes in my scripts and they're so smooth now! Awesome! 🎉
from eufy-security-ws.
This feature was implemented in the next release.
from eufy-security-ws.
Hey mate!
Thanks for implementing this! 🎉
I've just updated to try it out. I've faced some issues 😕
I tried out some commands, like this one eufy-security-client -c device.set_motion_detection SERIAL_NUMBER true
or eufy-security-client -c device.pan_and_tilt SERIAL_NUMBER 1
, but whichever command always returned the help message (like this one). Which is weird because from what I see, the error should only be thrown when using an incorrect amount of params. And I think I use the correct amount 🤔
Am I doing anything wrong? Any advices? :)
from eufy-security-ws.
Hey @bropat, not sure if you've seen my edit so here's just a heads up comment.
Am I misusing the command? Could you maybe provide some example command please? :)
from eufy-security-ws.
Am I doing anything wrong? Any advices? :)
There was an error parsing the values of the properties. This has been fixed in version 1.0.0
. The above examples of commands are correct.
from eufy-security-ws.
Sorry mate but I don't get it. I've just tried every possible combinations and still get the same error message...
For example, this command eufy-security-client -c device.pan_and_tilt SERIAL_NUMBER 1
leads to this message device.pan_and_tilt <device_sn> <direction>
.
I've triple checked that the tool has been correctly updated:
- eufy-security-ws is 1.0.0
- eufy-security-client is 2.2.0
Is it working on your side?
from eufy-security-ws.
Tomorrow I'll check your example and let you know.
from eufy-security-ws.
In your example, one option (-a
for the arguments) is missing.
Correct example:
eufy-security-client -c device.pan_and_tilt -a SERIAL_NUMBER 1
or
eufy-security-client --command device.pan_and_tilt --arguments SERIAL_NUMBER 1
Usage:
Usage: eufy-security-client [options]
Options:
-s, --schemaVersion <host> Schema version the server should support (default: max client supported version)
-H, --host <host> Host to connect to (default: "localhost")
-p, --port <port> Port to connect to (default: 3000)
-c, --command <command_name> Silent command to execute (choices: "driver.set_verify_code", "driver.set_captcha", "driver.poll_refresh", "driver.is_connected", "driver.is_push_connected",
"driver.connect", "driver.disconnect", "driver.get_alarm_events", "driver.get_video_events", "driver.get_history_events", "driver.set_log_level",
"driver.get_log_level", "driver.start_listening_logs", "driver.stop_listening_logs", "driver.is_mqtt_connected", "driver.isConnected",
"driver.isPushConnected", "device.get_properties_metadata", "device.get_properties", "device.set_property", "device.has_property", "device.start_livestream",
"device.stop_livestream", "device.is_livestreaming", "device.trigger_alarm", "device.reset_alarm", "device.pan_and_tilt", "device.quick_response",
"device.start_download", "device.cancel_download", "device.is_downloading", "device.get_voices", "device.get_commands", "device.has_command",
"device.start_rtsp_livestream", "device.stop_rtsp_livestream", "device.is_rtsp_livestreaming", "device.calibrate_lock", "device.calibrate",
"device.set_default_angle", "device.set_privacy_angle", "device.unlock", "device.start_talkback", "device.stop_talkback", "device.is_talkback_ongoing",
"device.talkback_audio_data", "device.snooze", "device.add_user", "device.delete_user", "device.get_users", "device.update_user_passcode",
"device.update_user_schedule", "device.update_user", "device.verify_pin", "device.set_status_led", "device.set_auto_night_vision",
"device.set_motion_detection", "device.set_sound_detection", "device.set_pet_detection", "device.set_rtsp_stream", "device.set_anti_theft_detection",
"device.set_watermark", "device.enable_device", "device.lock_device", "station.reboot", "station.is_connected", "station.connect", "station.disconnect",
"station.get_properties_metadata", "station.get_properties", "station.set_property", "station.has_property", "station.trigger_alarm", "station.reset_alarm",
"station.get_commands", "station.has_command", "station.set_guard_mode", "station.isConnected", "quit", "exit")
-a, --arguments <args...> Arguments for silent command if expected
-t, --timeout <seconds> Silent command timeout seconds (default: 30)
-v, --verbose
-h, --help display help for command
from eufy-security-ws.
Related Issues (20)
- [Feature request]: Support broadcast names in station lists HOT 1
- [Bug]: No device is found. Only the UPDATE configuration is showing up on the list of available devices HOT 1
- P2P stream never initializes on T8424 Floodlight HOT 1
- [Question]: Change Cameras to Home/Away HOT 1
- [Bug]: incomplete H264 video buffer HOT 1
- [Bug]: get_properties_metadata does not return all supported properties from the beginning
- [Feature request]: Implement Video download commands for HB3
- [Question]: Fast battery drain on Eufy C220/T8506 Lock HOT 1
- [Question]: When is the 3.0 version is expected for Home Assistant as addon? HOT 1
- [Question]: Can't install bropat/hassio-eufy-security-ws Relese 1.8.0 HOT 1
- [Feature request]: Support for more than one Homebase 3 on the same network/system/account HOT 2
- [Question]: How to start client when using docker image? HOT 1
- [Bug]: Error after updating to V1.8.0 - Error during decryption RSA_PKCS1_PADDING is no longer supported HOT 9
- [Bug]: 1.8.0 docker image not pushed HOT 6
- [Bug]: Eufy S350 VIDEO not working HOT 6
- [Question]: Eufy T8425 not working
- [Question]: When can we expect a new docker release? HOT 1
- [Bug]: Eufy T8520 battery draining rapidly after eufy-security-ws 1.8.0 update HOT 1
- CVE-2023-46809: Marvin attack on PKCS#1 padding HOT 2
- linux/arm/v7 support missing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eufy-security-ws.