-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Hi again...
New issue on HA, but it's coming from this.
HA behaviour:
The initial state loads (battery, status, on/off).
No further updates are shown on HA, and unable to start any of the services. 'Bad file descriptor'.
Python test:
Just a simple get_status(),
ERROR:root:[Errno 32] Broken pipe
Traceback (most recent call last):
File "/home/omv/.local/lib/python3.6/site-packages/robovac/robovac.py", line 324, in _send_packet
self.s.send(encrypted_packet_data)
BrokenPipeError: [Errno 32] Broken pipe
Traceback (most recent call last):
File "/home/omv/.local/lib/python3.6/site-packages/robovac/robovac.py", line 324, in _send_packet
self.s.send(encrypted_packet_data)
BrokenPipeError: [Errno 32] Broken pipeDuring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "robovac_test.py", line 5, in
nemasis.get_status()
File "/home/omv/.local/lib/python3.6/site-packages/robovac/robovac.py", line 165, in get_status
message = self._build_get_device_status_user_data_message()
File "/home/omv/.local/lib/python3.6/site-packages/robovac/robovac.py", line 292, in _build_get_device_status_user_data_message
magic_number = self._get_magic_number()
File "/home/omv/.local/lib/python3.6/site-packages/robovac/robovac.py", line 308, in _get_magic_number
pong = self._send_packet(ping, True)
File "/home/omv/.local/lib/python3.6/site-packages/robovac/robovac.py", line 328, in _send_packet
self.connect()
File "/home/omv/.local/lib/python3.6/site-packages/robovac/robovac.py", line 154, in connect
self.s.connect((self.ip, self.port))
OSError: [Errno 9] Bad file descriptor
I got the older robovac from the repo and it works fine directly from Python- able to get a status, trigger the clean, etc.
Thank you again for your time !