
I have no barometer devices, so if someone could test those..
Moderator: leecollings
Good one, will add that at a later time.Jochen wrote:Hi,
i´m currently playing with the new Eventsystem. Until now everything i tried is working fine!
Realy good job.
But i´m also missing some things.
When I want to send a Notification (Prowl), i want to send the current status, like
Subject: Door is open
Message:
Door: Garden
Type: Open
Time: 12:48:55
My Problem is to include var´s to the strings.
Define Variable.
Blockly has the functions to create own Variables. Can you add this?
Thank you.
Hello Pierre4fun,pierre4fun wrote:Hello,
The event can be saved under chrome: it works fine. in all configs
THANKS !
Code: Select all
Error: Sun Jul 14 14:07:02 2013 Lua script error: [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: attempt to compare nil with number
The way you are structuring your logic isn't going to work. Look at jochen's examples, that way it should work, but only with one if/then block.meinetrashbox wrote:hello
it is not possible to insert a value at the marked spot.
I miss the possibility for countdown timer and on / off delay
It´s not fine but i can life with it!CopyCatz wrote:I'm going to disable having multiple if-then blocks after another. It is too complex for the moment, and I think each event should be saved as a single if-then statement. If you want complex rules use the scripts.
Code: Select all
if(Device == On) {
timeout(function(){}, 1000);
}
Code: Select all
if(Device == On) {
post(URL, PARAMETER);
}
I was thinking about a delay also but this will be very complex;Is there any way to implement a function that fired a command after timeout?
Like:Code: Select all
if(Device == On) { timeout(function(){}, 1000); }
You can do that with the lua scripts, make a nice example and post it hereAnother Idea:
What you think about an POST-Message likeCode: Select all
if(Device == On) { post(URL, PARAMETER); }
And when this events only triggerd by changing his status? Not every minute?CopyCatz wrote: I was thinking about a delay also but this will be very complex;
Time zero:
If lamp is off set lamp on with delay 10 minutes.
Time one minute: lamp is still off
If lamp is off set lamp on with delay 10 minutes.
...
After 10 minutes the lamp is switched on 10 times... I can implement a delay now but it would have to be less than a minute.
"Set Level x" should work but haven't tested it as I have no dimmers...Mike Thrussell wrote:How do you set dimmer values in Blocky / Lua scripts?
Users browsing this forum: No registered users and 1 guest