Hi Guys,
I've set myself something of a challenge for my LUA programming development and wondered if I can pick your brains.
I want to start building in some 'intelligence' into the HAH, something some of you may have already done. My plan is to bring 'presence' as a variable that all applets can be made aware of and modify their behaviour accordingly. I've seen a few scripts around that seem to refer to presence but only as a 'local' condition i.e. for a room.
Member for
14 years 5 monthsGlobal
I have scripts set up that use presence. One script decides who is present and broadcasts a xap message, other scripts can then use this.
Maybe have a look at the sunrise/sunset sample. One script decides whether it is nighttime or not, other scripts can then use this
Member for
16 years 10 monthsMark yes indeed. Check the
Mark yes indeed. Check the pair of scripts: automaticLightsApplet.lua and sunForecastApplet.lua