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

Domoticz crashes after invalid transport type error #292

Closed
hkhk12 opened this issue Dec 15, 2018 · 14 comments
Closed

Domoticz crashes after invalid transport type error #292

hkhk12 opened this issue Dec 15, 2018 · 14 comments
Labels
More information needed Need more informations to understand the Issue/Enhancement

Comments

@hkhk12
Copy link

hkhk12 commented Dec 15, 2018

A few times per week domoticz crashes/stops.
I've been able to catch the log once and the last message in domoticz.log was:

�[1;31mError: (zigate) Invalid transport type for connecting specified: '61', valid types are TCP/IP and Serial.�[0;0m

other zigate errors in the log (about one day) are:

(zigate) Out of sequence for Device: bf15 SQN move from 47 to 4e gap of : 7
(zigate) Out of sequence for Device: 6079 SQN move from c9 to cf gap of : 6
(zigate) Out of sequence for Device: 7f92 SQN move from 35 to 3b gap of : 6

I running domoticz on a Synology NAS and use version 4.9700

Using stable v 4.0.1 branch

Have the following zigbee devices:
5 aqara motion sensors
1 aqara single switch (battery powered)
13 ikea gu10 leds
2 ikea e27 leds
2 ikea wall plugs
10 osram wall plugs

@pipiche38
Copy link
Collaborator

As regards to the 1st topic, can you provide the domoticz log around this error message ?

On the 2nd topic SQN this just tell that there is some in the Sequence number. No issue at that time. SQN needs to be reworked

@pipiche38 pipiche38 added the More information needed Need more informations to understand the Issue/Enhancement label Dec 15, 2018
@hkhk12
Copy link
Author

hkhk12 commented Dec 15, 2018

Here it is.
Last 90 minutes before the crash.
domoticz.txt

@pipiche38
Copy link
Collaborator

@hkhk12
could you kindly update the plugin to the latest Stable version 4.0.4
and then install the attached file in Domoticz-Zigate (it is not fixing anything, but it will print additional information when getting the invalid transport issue).

z_Transport.py.zip

@hkhk12
Copy link
Author

hkhk12 commented Dec 15, 2018

Did that but shows version 4.0.3 instead of 4.0.4 when the plugin is started.

@hkhk12
Copy link
Author

hkhk12 commented Dec 15, 2018

Please ignore.

Initialized version 4.0.3, author 'zaraki673 pipiche38'
Status: (zigate) onStart called - Zigate plugin V 4.0.4

@pipiche38
Copy link
Collaborator

No issue, in order to for domoticz to take in consideration update a restart of domoticz is required. If you simply disable/enable the plugin you don't reload the full plugin and you get such discrapency

@hkhk12
Copy link
Author

hkhk12 commented Dec 20, 2018

Had domoticz crash again today after it had been running fine for 5 days.
Did set join to 255 earlier this week (was set top 0 before) . Could this be related?

attached the log.

domoticz.txt

@pipiche38
Copy link
Collaborator

pipiche38 commented Dec 21, 2018 via email

@hkhk12
Copy link
Author

hkhk12 commented Dec 21, 2018

Hi Patrick,

The zigate is WiFi connected.
It's not the join setting since it happened again this afternoon while join was set to 0.
Did notice yesterday that 1 Ikea would not let itself being controlled. I reset the led by switching on/off 6 times but since it was on the same switch as another one, both where reset. After that they had switched place in Domoticz and the other one wold not let itself being controlled.
After the Domoticz crash the behavior is ok again though.

Did you miss the attachment? I didn't receive it.

@pipiche38
Copy link
Collaborator

Indeed it looks like I have missed the attachment (in fact I suspect the mail gateway had filtered out)

z_Transport.py.zip

@pipiche38
Copy link
Collaborator

498ceac

@pipiche38
Copy link
Collaborator

Any update ?

@pipiche38
Copy link
Collaborator

As per the various log file, it looks as a Connection Stop comming from Domoticz

@pipiche38
Copy link
Collaborator

Suggest to close this issue, until we find the root cause why Domoticz is shutting down the connection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
More information needed Need more informations to understand the Issue/Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants