Search found 4 matches
- Thursday 27 October 2016 20:20
- Forum: LUA
- Topic: Real-time solar data : azimuth, Altitude, Lux sensor... [closed]
- Replies: 245
- Views: 70308
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="FR" Domoticz return ...
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.
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.
- Tuesday 25 October 2016 12:02
- Forum: LUA
- Topic: Real-time solar data : azimuth, Altitude, Lux sensor... [closed]
- Replies: 245
- Views: 70308
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 the ...
- Sunday 23 October 2016 4:22
- Forum: LUA
- Topic: Real-time solar data : azimuth, Altitude, Lux sensor... [closed]
- Replies: 245
- Views: 70308
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 ...