Search found 2 matches

by dnacid
Tuesday 12 February 2019 22:41
Forum: LUA
Topic: Sharing : Afval kalendar in text sensor
Replies: 348
Views: 54410

Re: Sharing : Afval kalendar in text sensor

Thanks for the great script! Working without a problem in gemeente "De wolden". Little tip for "Domoticz-on-windows" users: Change the line in which trhe script searches for the JSON.lua file to JSON = (loadfile "C:\\Program Files (x86)\\Domoticz\\scripts\\lua\\JSON.lua")() -- Use default Domoticz ...
by dnacid
Thursday 31 January 2019 16:14
Forum: LUA
Topic: WanIP Checker
Replies: 12
Views: 4446

Re: WanIP Checker

Change:
local tmpFile = 'C:\Program Files (x86)\Domoticz\temp/wanip.txt'
to:
local tmpFile = 'C:\\Program Files (x86)\\Domoticz\\temp\\wanip.txt'

I Write my file to a directory without spaces so if the above doesnt work try that.
local tmpFile = 'C:\\Beheer\\Domoticz_Scripts\\wanip.txt'