ARCHIVED FORUM -- March 2012 to February 2022READ ONLY FORUM
This is the second Archived Forum which was active between 1st March 2012 and 23rd February 2022
BeoVision Eclipse 55”, Beolab 18s, Beolab 19s, Beosound 1, Beoplay P2, H3, BeoRemote One IR, BeoRemote One BT, Beoplay S8, Beosound Essence MkII, BeoTime
Eclipse 65V1-32Beosound M5Essence MK2BLI
Chris Hassell:Have you done anything interesting with it yet @seanie_230 ? I haven't had a proper play yet but I did a generic lights on/off switch.
Any good 'starter' macros or code samples available?
I'd love to have timed events happen, conditional on button presses or other device states...!
Carolpa:I tried to read the setting temperature of the Nest Thermostate and increase the value +1. Didn't succeed until now. I can adjust it to a value, but I want to make a button to increase / decrease the settings.
mjmedlo: Carolpa:I tried to read the setting temperature of the Nest Thermostate and increase the value +1. Didn't succeed until now. I can adjust it to a value, but I want to make a button to increase / decrease the settingsThis may be coming to you already in the next updates.
Carolpa:I tried to read the setting temperature of the Nest Thermostate and increase the value +1. Didn't succeed until now. I can adjust it to a value, but I want to make a button to increase / decrease the settings
Still it is a good case to learn LUA
Hello,
I want to control lights brightness dependent with Lua, but it doesn’t work. I want to use my KNX-sonsor to set the mode setting dependent on the brightness. The outdoor sensor gives me a lux value displayed in the monitor. But I can not get it to read out the value so that if the value is above a certain lux value the mode is set to day (or light) and night (or dark). I tried it with Lua code but I cant get it work. I have to admit, that i am a total beginner
Here the code:
function(event, engine)
local result = engine.query("global/Terrasse/_KNX_Group_Address/Helligkeit")
if result[1].get("Value") > "30000"
then
engine.fire("global/Wohnung/VARIABLE/Tageszeit/SET?VALUE=Hell")
engine.fire("global/global/SYSTEM/BLGW/SET MODE?mode=Hell")
else
engine.fire("global/Wohnung/VARIABLE/Tageszeit/SET?VALUE=Dunkel")
engine.fire("global/global/SYSTEM/BLGW/SET MODE?mode=Dunkel")
end
I got this error:
18-05-01 11:58:59 Event fired global/Terrasse/_KNX_GROUP_ADDRESS/Helligkeit/SET?VALUE=26462
18-05-01 11:58:59 Event fired global/Terrasse/_KNX_GROUP_ADDRESS/Helligkeit/SET_NONZERO
18-05-01 11:58:59 Macro fired global/Wohnen/MACRO/Test Macro Helligkeit
18-05-01 11:58:59 Error: global/Wohnen/MACRO/Test Macro Helligkeit execution error: Line 3: attempt to index field '?' (a nil value)
Anyone here an idea what i did wrong?
Thanks
Christof