Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Not enough data in channel" on script start #28

Open
mizrachiran opened this issue Apr 20, 2024 · 2 comments
Open

Error "Not enough data in channel" on script start #28

mizrachiran opened this issue Apr 20, 2024 · 2 comments

Comments

@mizrachiran
Copy link

Hi,

Trying to setup my Hunter Pro system using a wifi to serial module.
I receive the following error on start:

raise Error('Not enough data in channel: {} should have {} bytes.'.format( pima.Error: Not enough data in channel: db 43 4d 3d 34 31 43 37 42 43 41 36 30 41 41 39 39 46 36 30 30 30 37 34 39 36 20 20 20 20 20 a4 b7 b2 a6 a0 20 ba ab b8 b2 ae 48 50 31 34 34 20 49 4c 20 68 65 20 37 2e 30 32 30 39 34 38 35 30 b2 29 dc should have 222 bytes.

Here is the data that return from the system:
b'\xdbCM=41C7BCA60AA99F60007496 \xa4\xb7\xb2\xa6\xa0 \xba\xab\xb8\xb2\xaeHP144 IL he 7.02094850\xb2)\xdc'

Would appreciate any kind of assistance!
Thanks

@alws34
Copy link

alws34 commented Apr 22, 2024

HI!
i get the exact same issue while arming the alarm via home assistant:

E0422 16:08:23.055 pima_server.py:116] Exception raised by Alarm.
Traceback (most recent call last):
File "/usr/lib/pima/pima_server.py", line 104, in run
status = self._alarm.get_status() # type: pima.Status
File "/usr/lib/pima/pima.py", line 179, in get_status
response = self._read_message()
File "/usr/lib/pima/pima.py", line 289, in _read_message
raise Error('Not enough data in channel: {} should have {} bytes.'.format(
pima.Error: Not enough data in channel: 62 0d 05 01 02 00 00 04 00 00 00 01 00>...

the alarm does arm, but i lose control over it immediately after arming, so i must turn it off manually (or it will start alarming..).
Also, the commands are very slow (from pressing "arm" to actual arm, there is a substantial amount of time)

@mizrachiran
Copy link
Author

@deiger I would appreciate your support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants