Page 1 of 1

Domoticz stoppes working after a few hours

Posted: Thursday 01 June 2017 8:22
by gennapium
Hi,

After yesterdays update to the latest beta version, domoticz suddenly stops working after a few hours. Only a reboot solves the problem temporarely.
I use Ubuntu 16.04.

What is the problem here ?

How can i revert to an earlier beta version ?

Re: Domoticz stoppes working after a few hours

Posted: Thursday 01 June 2017 8:49
by Egregius
Is there something in the logfile?
Revert? From your backup...

Re: Domoticz stoppes working after a few hours

Posted: Thursday 01 June 2017 8:58
by qwerk
I also am experiencing as if domoticz stops after a while ( since two days)
the log file is "normal" but lights are not switched. because of the reboot I did not see what is in my zwave log. But I will tonight ;-)
a restart of domoticz does not work a reboot, of the pi does.

I happens with me when I start a script with a lot of actions ( my going to bed script)

Re: Domoticz stoppes working after a few hours

Posted: Thursday 01 June 2017 9:30
by gennapium
Hi,

I experiance the same as qwerk. A restart of the service does not solve the problem. Only a reboot solves teh problem The log lookes fine to me.
I am not at home at the moment, tonight i will try do use a "old" version from a backup.
When trying to restart the service, the service is asking for the user password. I never had this in a older version.

Re: Domoticz stoppes working after a few hours

Posted: Thursday 01 June 2017 12:44
by gennapium
Anyone ?

Re: Domoticz stoppes working after a few hours

Posted: Friday 02 June 2017 9:11
by qwerk
so far, i have seen no more problems.

Re: Domoticz stoppes working after a few hours

Posted: Friday 02 June 2017 22:27
by qwerk
qwerk wrote:so far, i have seen no more problems.

I take that back.
after running 44 hours, it is getting real slow. especially z-wave.
I thought I noticed a few slow responds the past two days, but the next action was normal, so I didn't blame the domotica.

But now again after a trigger it takes over two minutes for the z-wave devices to respond.

Running domoticz 3.7602 , on a raspberry B

I switched to dzvents for my scripts a few weeks back, and was very pleased with the new overall performance.
I will give more info when I have it.

Re: Domoticz stoppes working after a few hours

Posted: Saturday 03 June 2017 18:55
by qwerk
qwerk wrote:
qwerk wrote:so far, i have seen no more problems.

I take that back.
after running 44 hours, it is getting real slow. especially z-wave.
I thought I noticed a few slow responds the past two days, but the next action was normal, so I didn't blame the domotica.

But now again after a trigger it takes over two minutes for the z-wave devices to respond.

Running domoticz 3.7602 , on a raspberry B

I switched to dzvents for my scripts a few weeks back, and was very pleased with the new overall performance.
I will give more info when I have it.

I have a clip from my log.

2017-06-03 15:48:19.972 2017-06-03 15:48:19.972 LUA: Handling events for: "PIR Badkamer", value: "On"
2017-06-03 15:48:19.973 2017-06-03 15:48:19.973 LUA: >>> Handler: PIR-badkamer
2017-06-03 15:48:19.973 2017-06-03 15:48:19.973 LUA: >>> Device: "PIR Badkamer" Index: 1358
2017-06-03 15:48:19.974 2017-06-03 15:48:19.974 LUA: [2] = Lamp badkamer spiegel: Set Level 60
2017-06-03 15:48:19.974 2017-06-03 15:48:19.974 LUA: [3] = Lamp badkamer plafond: Set Level 60
2017-06-03 15:48:19.501 (Razberry) Light/Switch (PIR Badkamer)
2017-06-03 15:48:38.995 2017-06-03 15:48:38.995 LUA: Handling events for: "PIR Badkamer", value: "Off"
2017-06-03 15:48:38.996 2017-06-03 15:48:38.996 LUA: >>> Handler: PIR-badkamer
2017-06-03 15:48:38.996 2017-06-03 15:48:38.996 LUA: >>> Device: "PIR Badkamer" Index: 1358
2017-06-03 15:48:38.515 (Razberry) Light/Switch (PIR Badkamer)
2017-06-03 15:48:40.039 2017-06-03 15:48:40.039 LUA: Handling events for: "Lamp badkamer spiegel", value: "Set Level: 60 %"
2017-06-03 15:48:40.040 2017-06-03 15:48:40.040 LUA: >>> Handler: Lamp-badkamer
2017-06-03 15:48:40.040 2017-06-03 15:48:40.040 LUA: >>> Device: "Lamp badkamer spiegel" Index: 1411
2017-06-03 15:48:39.038 (Razberry) Light/Switch (Lamp badkamer spiegel)
2017-06-03 15:48:49.543 2017-06-03 15:48:49.543 LUA: Handling events for: "Lamp badkamer plafond", value: "Set Level: 60 %"
2017-06-03 15:48:49.544 2017-06-03 15:48:49.544 LUA: >>> Handler: Lamp-badkamer
2017-06-03 15:48:49.544 2017-06-03 15:48:49.544 LUA: >>> Device: "Lamp badkamer plafond" Index: 1474
2017-06-03 15:48:48.487 (Razberry) Light/Switch (Lamp badkamer plafond)

a PIR detected movement at 15:48:19
according to dzvents lua logging it activated two lights the same second.
razberry got the assigment 20 and 30 seconds later.
I was at the bathroom and indeed there was a huge delay.


edit: did exact the same thing, twice, had nothing changed in domoticz, scripting, no restarting or rebooting, and now it all worked instantly.

Re: Domoticz stoppes working after a few hours

Posted: Monday 05 June 2017 0:02
by Mediacj
I have Ubuntu 16.04 and experience the same problem, only a reboot made it work again.

Can't find anything special in the logs.