This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

groupmonitor.lua is sometimes faulty
#6
important output:
string: lua /lib/genohm-scada/core/scripting-resident.lua 159, drops: 6908586

script 159: i checked every 10 seconds the knx bus with this script
Code:
-- resident knx connection handeler
-- check device physical address: log( knxlib.ping('2.1.1') )

if not client then
  function statushandler(status)
    if status == 0x00 then
      -- KNX Connected
      --log('connected')
      require('user.nit_notify')
      sendMessage('Knx bus','Knx bus hersteld.',-2)
    elseif status == 0xFF then
      -- KNX Disconnected
      --log('not connected')
      require('user.nit_notify')
      sendMessage('Knx bus','Knx bus probleem, controleer de verbinding.',-2)
    end
  end

  client = require('localbus').new(1)
  client:sethandler('status', statushandler)
end

client:step()
Reply


Messages In This Thread
RE: groupmonitor.lua is sometimes faulty - by gjniewenhuijse - 24.10.2023, 06:45

Forum Jump: