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.

Scripting / Resident / MODBUS RS-485 energy meter clock update
#3
(31.03.2019, 12:44)admin Wrote: Use scheduled script and remove the last line that disables the script itself.

I'll fix it now.

Regarding the below part of the code, I see some typos:

Code:
-- Set Human readable weekdays
wdaytable = {
  'sunday',
  'monday',
  'tuesday',
  'wednesday',
  'thursday',
  'vriday',
  'saterday',
}

Is it correlated to something that part? I would rename two days into friday and saturday.
Reply


Messages In This Thread
RE: Scripting / Resident / MODBUS RS-485 energy meter clock update - by andeug - 31.03.2019, 12:47

Forum Jump: