433Mhz + Lua + Mysensors crash Domoticz?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
miremi
Posts: 26
Joined: Sunday 08 November 2015 10:08
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

433Mhz + Lua + Mysensors crash Domoticz?

Post 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
Ubuntu 16.04.3, Core i5 8GB RAM 120GB SSD, RFlink, ESPeasy, Z-Stick Gen5, 8 FIbaro, 17 Neo Coolcam
miremi
Posts: 26
Joined: Sunday 08 November 2015 10:08
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: 433Mhz + Lua + Mysensors crash Domoticz?

Post 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?
Ubuntu 16.04.3, Core i5 8GB RAM 120GB SSD, RFlink, ESPeasy, Z-Stick Gen5, 8 FIbaro, 17 Neo Coolcam
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest