First of all, thank you so much for this software! I'm using it as an add-on with Home Assistant and with that combination I'm finally able to automatize stuff that I wasn't able to using just the Wyze app.
My issue is when I try to set the position of the cam to a configured waypoint (or cruise point, as they refered to in the code).
When it is successful, I see in the log that:
[living-room-cam] [CONTROL] Attempting to SET: cruise_point=('cruise_point', '1')
[living-room-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
[living-room-cam] Pan to cruise_point=0 (72, 7)
However, the cam position is set to another position that is not the one configured. I believe it is set to 0,0, but I'm not sure. Additionally, when it is succesful, the pan cruise is turned off, which I don't know if that is the intended result.
Furthermore, other times it is unsuccessful, and in the log I see:
[living-room-cam] [CONTROL] Attempting to SET: cruise_point=('cruise_point', '1')
Exception in thread living-room-cam_control:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/threading.py", line 1073, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.12/threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "/app/wyzebridge/wyze_control.py", line 158, in camera_control
resp = pan_to_cruise_point(sess, cmd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/wyzebridge/wyze_control.py", line 215, in pan_to_cruise_point
points = mux.send_ioctl(tutk_protocol.K11010GetCruisePoints()).result(timeout=5)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/wyzecam/tutk/tutk_ioctl_mux.py", line 61, in result
raise tutk.TutkError(self.errcode)
wyzecam.tutk.tutk.TutkError: AV_ER_SENDIOCTRL_ALREADY_CALLED
[living-room-cam] WARNING: Skipping wrong frame_size at start of stream [frame_size=1]
If there's anything you need me to try, I'm up for it. I'm a bit knowledgeable in Python coding, although I would need some guidance on how to actually get to the app/wyzebridge/wyze_control.py file to modify it (I'm a bit of noob in Home Assistant and Docker in general).
First of all, thank you so much for this software! I'm using it as an add-on with Home Assistant and with that combination I'm finally able to automatize stuff that I wasn't able to using just the Wyze app.
My issue is when I try to set the position of the cam to a configured waypoint (or cruise point, as they refered to in the code).
When it is successful, I see in the log that:
However, the cam position is set to another position that is not the one configured. I believe it is set to 0,0, but I'm not sure. Additionally, when it is succesful, the pan cruise is turned off, which I don't know if that is the intended result.
Furthermore, other times it is unsuccessful, and in the log I see:
If there's anything you need me to try, I'm up for it. I'm a bit knowledgeable in Python coding, although I would need some guidance on how to actually get to the app/wyzebridge/wyze_control.py file to modify it (I'm a bit of noob in Home Assistant and Docker in general).