Search found 5 matches

by WaTTe
Sunday 02 December 2018 20:59
Forum: LUA
Topic: Get Solar data with lua
Replies: 5
Views: 688

Re: Get Solar data with lua

Have the script modified as indicated, using 'print' commands. The reference to the 'JSON.lua file must therefore be complete because I work with Windows. After that still error messages, this was because an outdated CURL is referred to, which does not support 'HTTPS'. Now everything works correctly ...
by WaTTe
Saturday 01 December 2018 20:36
Forum: LUA
Topic: Get Solar data with lua
Replies: 5
Views: 688

Re: Get Solar data with lua

i changed the code in this: --(loadfile "C:\\Program Files (x86)\\Domoticz\\scripts\\lua\\lib.lua")() JSON = assert(loadfile "C:\\Program Files (x86)\\Domoticz\\scripts\\lua\\JSON.lua")() local connection local contt local lua_value local connection = assert(io.popen("C:\\curl\\curl https://services ...
by WaTTe
Saturday 01 December 2018 17:50
Forum: LUA
Topic: Get Solar data with lua
Replies: 5
Views: 688

Re: Get Solar data with lua, problems

Someone a little more understanding of LUA, who can help me?
by WaTTe
Monday 19 November 2018 21:16
Forum: LUA
Topic: Get Solar data with lua
Replies: 5
Views: 688

Get Solar data with lua

Want to get the data from these links: https://services.swpc.noaa.gov/products/summary/solar-wind-speed.json https://services.swpc.noaa.gov/products/summary/solar-wind-mag-field.json There you will find these dates: {"WindSpeed":"318","TimeStamp":"2018-11-19 20:02:00.000"} {"Bt":"5","Bz":"-1 ...
by WaTTe
Thursday 22 June 2017 21:40
Forum: Feature requests
Topic: Dashticz - Feature Requests
Replies: 391
Views: 103868

Re: Dashticz - Feature Requests

Change the text of a temperature sensor depending on the measured temperature.
Eg a green color at 5 degrees an orange color at 15 a red at 25 etc.