Search found 4 matches

by ArnaudStrasbourg
Thursday 27 October 2016 20:20
Forum: LUA
Topic: Real-time solar data : azimuth, Altitude, Lux sensor... [closed]
Replies: 245
Views: 71755

Re: Real-time solar data : azimuth, Altitude, Lux sensor...

Hi all,

Could someone answer me ?

Thanks a lot.





Domoticz can't read my location.

This is my parametres in Lua :

local wuAPIkey = "0xxxxxxx719956f9" -- code hide
local latitude = 48.575875
local longitude = 7.731194
local altitude = 141
local city = "Strasbourg"
local countryCode ...
by ArnaudStrasbourg
Tuesday 25 October 2016 13:23
Forum: MySensors
Topic: Teleinfo
Replies: 5
Views: 2241

Re: Teleinfo

Salut ben92,

Je déterre un peu le sujet !!

Peux-tu m'expliquer comment tu utilises ce code. Je connais un peu LUA, mais là je vois pas comment l'intégrer à Domoticz.

Peux-tu m'aiguiller ?

Merci.

Arno.
by ArnaudStrasbourg
Tuesday 25 October 2016 12:02
Forum: LUA
Topic: Real-time solar data : azimuth, Altitude, Lux sensor... [closed]
Replies: 245
Views: 71755

Re: Real-time solar data : azimuth, Altitude, Lux sensor...

I tried this code but it return an error : Files\Domoticz\scripts\lua\script_time_SolarSensor.lua:13: syntax error near 'local'

There is a problem at the first line. Change it to
--[[ Virtual Lux sensor and other real-time solar data

Thank you BakSeeDaa,

In fact, I copied the code located in ...
by ArnaudStrasbourg
Sunday 23 October 2016 4:22
Forum: LUA
Topic: Real-time solar data : azimuth, Altitude, Lux sensor... [closed]
Replies: 245
Views: 71755

Re: Real-time solar data : azimuth, Altitude, Lux sensor...

Hi all,

I tried this code but it return an error : Files\Domoticz\scripts\lua\script_time_SolarSensor.lua:13: syntax error near 'local'

This is my code (no deap change...)


script_time_SolarSensor.lua --[[ Virtual Lux sensor and other real-time solar data

--~/domoticz/scripts/lua/script_time ...