Search found 4 matches

by Rydin
Wednesday 09 March 2016 13:31
Forum: LUA
Topic: Help with Waze ETA script
Replies: 8
Views: 2227

Re: Help with Waze ETA script

Yes, I made the ST1 script. Happy that it works for you :)
by Rydin
Wednesday 09 March 2016 13:20
Forum: LUA
Topic: Help with Waze ETA script
Replies: 8
Views: 2227

Re: Help with Waze ETA script

print(package.path) 2016-03-09 13:15:00.148 LUA: C:\Program Files (x86)\Domoticz\lua\?.lua;C:\Program Files (x86)\Domoticz\lua\?\init.lua;C:\Program Files (x86)\Domoticz\?.lua;C:\Program Files (x86)\Domoticz\?\init.lua;.\?.lua edit: test = require("JSON") print(test) 2016-03-09 13:31:00.242 Error ...
by Rydin
Wednesday 09 March 2016 10:17
Forum: LUA
Topic: Help with Waze ETA script
Replies: 8
Views: 2227

Re: Help with Waze ETA script

I see that you use my version of the script. I did not try it in windows, but after some testing now i see that all you need is to install curl. I downloaded curl from here http://winampplugins.co.uk/curl/ and copied it to c:\windows If JSON.lua is in the same directory as the script, then you ...
by Rydin
Saturday 05 March 2016 23:50
Forum: LUA
Topic: Script examples (Lua)
Replies: 139
Views: 167675

Re: Script examples (Lua)

My first attempt on writing a lua script. This gets the gas prices from petrol stations in Norway called st1 (http://www.st1.no/3dpriser/) The best virtual device i found was percentage. Not perfect on the dashboard, but works fine on my frontpage on a tablet. bensindiesel.PNG diesel.PNG --domoticz ...