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

Got ERROR Message: Invalid record type #127

Closed
pherbel opened this issue Jan 3, 2020 · 6 comments
Closed

Got ERROR Message: Invalid record type #127

pherbel opened this issue Jan 3, 2020 · 6 comments
Labels
bug Something isn't working to be confirmed Reported but not yet confirmed

Comments

@pherbel
Copy link

pherbel commented Jan 3, 2020

Alarm system

EVOHD version 4.5
access mod: IP150 - IP Module version 20, firmware: 4.42, serial: 710626d0

Environment

  • running latest docker image on windows service with docker for windows

Git branch

master with docker latest.

Describe the bug

pai can connect to module and is getting data like labels, zones, users, etc
I have warnings, but it seems working.

INFO - PAI.paradox.hardware.panel - Updating Definitions from Panel
WARNING - PAI.paradox.paradox - Missing element ID in system/?, m/m: 45/4, message: Special events: WinLoad in (connected)
WARNING - PAI.paradox.hardware.panel - Unable to properly decode label b'Bejarat nyit\x9ds' using the utf-8 encoding.

The main problem is I've got error logs

INFO - PAI.paradox.paradox - Connection OK
ERROR - PAI.paradox.paradox - Got ERROR Message: Invalid record type
...
ERROR - PAI.paradox.paradox - Lost communication with panel

The system reconnect again and again

And it seems there is no data on MQTT topics.

To Reproduce

Steps to reproduce the behavior:

  1. I just started docker image

Any help appreciated

Thanks

@pherbel pherbel added bug Something isn't working to be confirmed Reported but not yet confirmed labels Jan 3, 2020
@yozik04
Copy link
Collaborator

yozik04 commented Jan 3, 2020

What actually is there: b'Bejarat nyit\x9ds' ? and what language is this. Did you tried different encodings?

Please enable all debug and send me.

EVOHD version 4.5 is very old...

@pherbel
Copy link
Author

pherbel commented Jan 3, 2020

Thanks for the quick response.

Actually the language is Hungarian, but it should work with utf-8. b'Bejarat nyit\x9ds' have been fix now with 'Bejarat nyitas' string.

Also in find this config

STATUS_REQUESTS = list(range(1, 6))

And it seems it solved the error log

ERROR - PAI.paradox.paradox - Got ERROR Message: Invalid record type

I have enbled MQTT with this config, but it seems still can't see mqtt info

MQTT_ENABLE = True # Enable MQTT Interface
MQTT_HOST = 'localhost' # Hostname or address
MQTT_PORT = 1883 # TCP Port
MQTT_KEEPALIVE = 60

@jpbarraca
Copy link
Collaborator

The panel is fully initialized and PAI starts issuing status requests? In debug mode you will see if something is sent to the MQTT interface

@yozik04
Copy link
Collaborator

yozik04 commented Jan 3, 2020

localhost

Docker container does not know what is localhost type IP address there.

@pherbel
Copy link
Author

pherbel commented Jan 3, 2020

Good catch.
I didn't realize the localhost issue.

Now I see the messages on MQTT topics.

Thank you for your awesome support!

Now we can close this.

@pjuhel2
Copy link

pjuhel2 commented Mar 14, 2021

Hello, How did you succeed to update the EVOHD?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working to be confirmed Reported but not yet confirmed
Projects
None yet
Development

No branches or pull requests

4 participants