Page 1 of 1

433Mhz + Lua + Mysensors crash Domoticz?

Posted: Wednesday 25 October 2017 12:41
by miremi
Software V.38631 (same problem with V3.8635)
Raspberry PI 2
My sensors V 2.1.1
RFLink V46

Hi,
I hope someone can help me with my problem
My setup:

I have a a 433Mhz wall switch witch can only send "on" command and my lights in living room is using mysensors relay.
In between is Lua script:

Code: Select all

commandArray = {}
if (devicechanged['knop_bank_1'] == 'On') then
   if (otherdevices['Woonkamer licht 1'] == 'Off') then
       commandArray['Woonkamer licht 1']='On'
   else
       commandArray['Woonkamer licht 1']='Off'
   end
   commandArray['knop_bank_1']='Off'
end
return commandArray

I have a strange problem with my setup almost always when i press the button on remote than mysensors gateway is restarting and not responding for ~5 minutes. From time to time its working fine with no problems.

Image

Image

My first action was too replace the power adapter from 5v 2A to 5v 4A but it did't help. The problem appears only in compilation with lua script in other cases it is working with no problem.

Complete reinstall with db restore didn't help

Re: 433Mhz + Lua + Mysensors crash Domoticz?

Posted: Thursday 26 October 2017 16:01
by miremi
Update:
it has nothing to do with the lua script, it is 433 + mysensors

When i press 433mhz button on the remote or in domoticz dashboard and quick after that press the switch for mysensors light then the gateway is crashing like in my previous post.

Anyone idea what is the reason that mysensors gateway is crashing?