Events system thread (questions and feedback)
Moderator: leecollings
Re: Events system feedback thread
Great job on the blocky interface.
I appreciate that it's work in progress, but is there a way to currently set dimmer values in blocky. I want my landing PIR to trigger the landing lights only between 2 & 4 in the morning but only at 20%. I think i can do everything but the dimmer value at the moment?
Thanks,
I appreciate that it's work in progress, but is there a way to currently set dimmer values in blocky. I want my landing PIR to trigger the landing lights only between 2 & 4 in the morning but only at 20%. I think i can do everything but the dimmer value at the moment?
Thanks,
- tommit01
- Posts: 39
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: multiple
- Location: Germany / SL
- Contact:
Re: Events system feedback thread
Hello, just a remark..
I just tried to write a script using device RASPBERRY PI 02 and an HE EU 808 S (shared device) together with my fan pad and a USB charger..
Tried to configure WHEN RASPI TEMP >= 60 AND HE EU Switch OFF
THEN HE EU Switch = ON
SEND MESSAGE WITH SUBJECT 'Raspi Cooling started' AND MESSAGE 'RaspBerry PI 02 temperature >= 60'
When Saving with name 'PiCooler Start' I recognized a typo because I only typed 'PiColer' so I corrected name, saved again and delete script with name PiColer.
Then I wanted to reload 'PiCooler' but this script is empty then...
I will be cooling Raspberry Device until temperature will drop again under a certain temperature... it's a RaspBMC @ 1 GHZ
BR
Tommit
I just tried to write a script using device RASPBERRY PI 02 and an HE EU 808 S (shared device) together with my fan pad and a USB charger..
Tried to configure WHEN RASPI TEMP >= 60 AND HE EU Switch OFF
THEN HE EU Switch = ON
SEND MESSAGE WITH SUBJECT 'Raspi Cooling started' AND MESSAGE 'RaspBerry PI 02 temperature >= 60'
When Saving with name 'PiCooler Start' I recognized a typo because I only typed 'PiColer' so I corrected name, saved again and delete script with name PiColer.
Then I wanted to reload 'PiCooler' but this script is empty then...
I will be cooling Raspberry Device until temperature will drop again under a certain temperature... it's a RaspBMC @ 1 GHZ
BR
Tommit
1 x RPi3
4 x RPI
3 x RPi2
1 x RPI2 + Win 10 IoT (experimental device)
2 x RPI2 Raspbian "Jessie" + Domoticz (for tenants)
2 x RPI OSMC @ 1GHz
1 RPi Zero W + Cam NOIR
1 RPi Zero W + Cam
RFXtrx 433 FW 1015
RFXtrx 433 E FW 1020
4 x RPI
3 x RPi2
1 x RPI2 + Win 10 IoT (experimental device)
2 x RPI2 Raspbian "Jessie" + Domoticz (for tenants)
2 x RPI OSMC @ 1GHz
1 RPi Zero W + Cam NOIR
1 RPi Zero W + Cam
RFXtrx 433 FW 1015
RFXtrx 433 E FW 1020
-
- Posts: 3
- Joined: Friday 12 July 2013 14:07
- Target OS: -
- Domoticz version:
- Contact:
Re: Events system feedback thread
spiderrob
CopyCatz wrote:"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?
Re: Events system feedback thread
Thanks Mike but I can't see a set level in Blocky. Can it only be used in Lua scripts? I've tried using the number setting instead of on in the Set 'landing' = on blocks but there appears to be no Set level?
-
- Posts: 3
- Joined: Monday 15 July 2013 10:11
- Target OS: -
- Domoticz version:
- Contact:
Re: Events system feedback thread
Hi,
I still don't understand why it is not working, could you just tell me if it is problem from me or if the function is not implemented yet ?
test = a scene whit on / off
I still don't understand why it is not working, could you just tell me if it is problem from me or if the function is not implemented yet ?
test = a scene whit on / off
- Attachments
-
- Capture.JPG (30.18 KiB) Viewed 6645 times
-
- Posts: 28
- Joined: Saturday 13 July 2013 9:36
- Target OS: -
- Domoticz version:
- Location: Harderwijk
- Contact:
Re: Events system feedback thread
I am on version 1.851 now and still trying to get no repeating notifications when switching depending on temperature or humidity.
A simple test:
Although is the switch already 'on' the notifications and switch commands are repeated every <minute or so.
|='on' gives the same result as ='off'
A simple test:
Although is the switch already 'on' the notifications and switch commands are repeated every <minute or so.
|='on' gives the same result as ='off'
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
Dumb question, but with "Set Level X", which range is X? does that vary per device?
Re: Events system feedback thread
Hi Guys,
I'm very pleased with the event system, great job, but have a question.
Why is this working and this (scene) not? Later i want all my smoke detectors, which are in a scene, to give an alarm if somebody enters my house.
Or is this not implemented yet?
Harry
I'm very pleased with the event system, great job, but have a question.
Why is this working and this (scene) not? Later i want all my smoke detectors, which are in a scene, to give an alarm if somebody enters my house.
Or is this not implemented yet?
Harry
Re: Events system feedback thread
CopyCatz wrote:Dumb question, but with "Set Level X", which range is X? does that vary per device?
Dimmer levels should be just 0-100% I believe. It would be great to set these in Blocky.
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
I think I found the cause for a triple statement (mcaidwin's) not working, trying to fix it. I will also create a set level block. Sweetpants: scenes are not working yet.
Re: Events system feedback thread
Thanks, clearCopyCatz wrote:Sweetpants: scenes are not working yet.
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
In 855 I hopefully managed to interpret all variations of if statements... was a bitch to get right, so would be happy if all is ok now. Also implemented "Set Level X" block. My x10 dimmer does not seem to respond, please test with other devices. Keep in mind:
- Set Level does not work in the random and for x minutes set blocks yet
- It also doesnt work in the if area, only as an action.
- Set Level does not work in the random and for x minutes set blocks yet
- It also doesnt work in the if area, only as an action.
-
- Posts: 28
- Joined: Saturday 13 July 2013 9:36
- Target OS: -
- Domoticz version:
- Location: Harderwijk
- Contact:
Re: Events system feedback thread
CopyCatz wrote:In 855 I hopefully managed to interpret all variations of if statements... was a bitch to get right, so would be happy if all is ok now. Also implemented "Set Level X" block. My x10 dimmer does not seem to respond, please test with other devices. Keep in mind:
- Set Level does not work in the random and for x minutes set blocks yet
- It also doesnt work in the if area, only as an action.
I think I can confirm that you managed to interpret the different variations. You Did It!
I tested with and it does not repeat any more.
Now I am testing more complex statements.
Good job! Many Thanks!
Do you have any idea how to check if energy meter is on Usage_1 or Usage_2 ?
Re: Events system feedback thread
Hi, I'm trying to use blocky to create an event that says if landing light is on, turn bedroom light on then wait 5 minutes and turn landing light off. Can't seem to find a way to add the wait bit. Any one have any ideas?
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
set landing light = on for 5 minutes
-
- Posts: 10
- Joined: Monday 15 July 2013 14:37
- Target OS: -
- Domoticz version:
- Location: France
- Contact:
LUA errors : attempt to compare two nil values
........ and devicechanged['Tp_MS_Salon_Temperature'] > devicechanged['Tp_Vacances_Temperature']) then ...
or otherdevices['Tp_MS_Salon_Temperature'] > otherdevices['Tp_Vacances_Temperature']) then ...
error : attempt to compare two nil values => 27.4 and 12.0
???? Thanks CopyCatz !!
without compare two temperature, it's good, for the moment !
or otherdevices['Tp_MS_Salon_Temperature'] > otherdevices['Tp_Vacances_Temperature']) then ...
error : attempt to compare two nil values => 27.4 and 12.0
???? Thanks CopyCatz !!
without compare two temperature, it's good, for the moment !
-
- Posts: 28
- Joined: Saturday 13 July 2013 9:36
- Target OS: -
- Domoticz version:
- Location: Harderwijk
- Contact:
Re: Events system feedback thread
I have tested some more complex statements, like:macaidwin wrote: Now I am testing more complex statements.
Good job! Many Thanks!
Do you have any idea how to check if energy meter is on Usage_1 or Usage_2 ?
And these are all working. These are just looking complex, but are just to prevent event triggers from repeating over and over again. The ventilation switches only get commands when they are not in the state this event will set them to. Ehm.. complex sentence..?
Re: Events system feedback thread
Hi, I just seen the new "Show Current States" feature in 1.859, but the names are not refreshed after a change name of the device?
You have to re-start domoticz to get the changed devices in.
Maybe a 'refresh' button near "OK"
Harry
You have to re-start domoticz to get the changed devices in.
Maybe a 'refresh' button near "OK"
Harry
Re: Events system feedback thread
'Set Level X' block does not work for Lightwave dimmers either……….CopyCatz wrote:In 855 I hopefully managed to interpret all variations of if statements... was a bitch to get right, so would be happy if all is ok now. Also implemented "Set Level X" block. My x10 dimmer does not seem to respond, please test with other devices. Keep in mind:
- Set Level does not work in the random and for x minutes set blocks yet
- It also doesnt work in the if area, only as an action.
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
Ok will look at the set level issue later. So far I've been busy debugging my domoticz crashing, hope that is fixed now. Also cleaned up the temp, hum and baro values that are sent to lua (other values came in as well which weren't temps etc.)
Who is online
Users browsing this forum: No registered users and 1 guest