Events system thread (questions and feedback)
Moderator: leecollings
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
If gizmo wants to implement grouping in the dashboard and switches screens we can use those groups in blockly later.
Re: Events system feedback thread
it seems otherdevices_lastupdate is very inflexible with regards to device names, devices names containing special characters such as "åäö" do not work, and devicenames containing white spaces do not work either.
a devicename such as ['Hall Ovre - Taklampa 1'] returns nil, but if I rename it to "lamp1" I get a value for otherdevices_lastupdate.
when issuing a commandArray, special characters an white space works like intended, i.e. ['Hall Övre - Taklampa 1'] is fine
a devicename such as ['Hall Ovre - Taklampa 1'] returns nil, but if I rename it to "lamp1" I get a value for otherdevices_lastupdate.
when issuing a commandArray, special characters an white space works like intended, i.e. ['Hall Övre - Taklampa 1'] is fine
Re: Events system feedback thread
hi everyone,
I understand that the blocky dropdown list bug seems to imply some tricky workarounds (switch groups by alphabet).
Correct me if I'am wrong, but why to we need to have all switches listed a unique blocky item (the one showing the dropdown combo) ?
I know developpements have started that way a long time ago, but maybe under "Devices" / "Switches" it could show every single switch.
With that way of doing, if we have 10 light switches then it would show 10 blocky items under "Devices" / "Switches". So no more buggy dropdown list !
This is quite hard to explain, so I hope you'll understand
I understand that the blocky dropdown list bug seems to imply some tricky workarounds (switch groups by alphabet).
Correct me if I'am wrong, but why to we need to have all switches listed a unique blocky item (the one showing the dropdown combo) ?
I know developpements have started that way a long time ago, but maybe under "Devices" / "Switches" it could show every single switch.
With that way of doing, if we have 10 light switches then it would show 10 blocky items under "Devices" / "Switches". So no more buggy dropdown list !
This is quite hard to explain, so I hope you'll understand
-
- Posts: 18
- Joined: Saturday 13 July 2013 14:43
- Target OS: -
- Domoticz version:
- Contact:
BUG: Events system feedback thread
Thanks, seems working in 1.880, but it seems tempature terms like "A"°C > "B"°C didn´t work in the moment in my opinion, Errorlog like:luckysession wrote:Upps, missing devices "switches" for creating blockly events.
And thank for first step of my wish sunrise and sunset, but missing option BEFORE and AFTER sunrise/sunset.
Well done, great job!
Thanks LUCKYSESSION
" Error: Sun Jul 21 12:55:49 2013 Lua script error: [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: ')' expected near 'comparevariable'"
EDIT: Sorry, seems not be the tempature terms, but if i use scenes terms (scene="on" or scene="off") the error will be show in the log.
Additional Information:
For my terms "after sunrise and before sunset" i create a scene called "Suedsonne" with timers "3 hours after sunrise switch on" and "3 hours before sunset switch off".
-
- Posts: 18
- Joined: Saturday 13 July 2013 14:43
- Target OS: -
- Domoticz version:
- Contact:
Re: BUG: Events system feedback thread
Just for the moment i create a switch with unused code for simulate time of sunshine in the south of my house, now i be able to create event with:luckysession wrote:Thanks, seems working in 1.880, but it seems tempature terms like "A"°C > "B"°C didn´t work in the moment in my opinion, Errorlog like:luckysession wrote:Upps, missing devices "switches" for creating blockly events.
And thank for first step of my wish sunrise and sunset, but missing option BEFORE and AFTER sunrise/sunset.
Well done, great job!
Thanks LUCKYSESSION
" Error: Sun Jul 21 12:55:49 2013 Lua script error: [string "result = 0; weekday = os.date('*t')['wday']; ..."]:1: ')' expected near 'comparevariable'"
EDIT: Sorry, seems not be the tempature terms, but if i use scenes terms (scene="on" or scene="off") the error will be show in the log.
Additional Information:
For my terms "after sunrise and before sunset" i create a scene called "Suedsonne" with timers "3 hours after sunrise switch on" and "3 hours before sunset switch off".
If "sunshinesouth(switch)"=on and "temperature A" > "temperature B" and "Blinds A" = closed
then set "Blinds A" = ON
Seems working fine!
Re: Events system feedback thread
Any news on the 'Set level' issue for dimmers? I know there is a lot of other development stuff going on but I would be really grateful to see this working in Blocky.spiderrob wrote:'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
886: Fixed: Set Level, random triggers firing multiple times, implemented tooltips in events UI, start implementing multi language support in events
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
Sorry forgot to include a new javascript file.. Don't update until i'm back from roze maandag!
Edit: fixed.
Edit: fixed.
Re: Events system feedback thread
ThnxCopyCatz wrote:Edit: fixed.
BTW: What platform (IDE) dou you use to develop?
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
Xcode, Coda 2 and Cornerstone.
- Dynamic
- Posts: 109
- Joined: Friday 12 July 2013 14:50
- Target OS: -
- Domoticz version:
- Location: Enschede
- Contact:
Re: Events system feedback thread
I'm trying to create a scene with my smoke detectors. So i would like to check if the smoke detecters are in panic-mode, but I can only check for 'on' or '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
In 899 added: scene switching (only as action, not a trigger), added Panic (and related) state in blockly. Can someone confirm that dim is working in events? Read up on the events wiki page on how to use scenes in lua scripting.
- Dynamic
- Posts: 109
- Joined: Friday 12 July 2013 14:50
- Target OS: -
- Domoticz version:
- Location: Enschede
- Contact:
Re: Events system feedback thread
Will try the panic-state, as soon as 1.899 is available.
What has to be tested with the dim? To set a light at a specific dimlevel with the events?
What has to be tested with the dim? To set a light at a specific dimlevel with the events?
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
Yeah test if setting dim though an event works as intended.
-
- Posts: 2
- Joined: Friday 19 July 2013 12:49
- Target OS: -
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Events system feedback thread
Hi,
Something strange happens every time when I want to use the blockly editor in Domoticz. After some clicks (+/- 3 clicks) in blockly, my complete laptop freezes! I have Win7, with Chrome (28.0.1500.72 m) and Domoticz 1.887. Only thing I can do is turn off and on my laptop. The Windows event logs show nothing..
More people that encounterd the same problem?
Grt Jeroen
Something strange happens every time when I want to use the blockly editor in Domoticz. After some clicks (+/- 3 clicks) in blockly, my complete laptop freezes! I have Win7, with Chrome (28.0.1500.72 m) and Domoticz 1.887. Only thing I can do is turn off and on my laptop. The Windows event logs show nothing..
More people that encounterd the same problem?
Grt Jeroen
- capman
- Posts: 153
- Joined: Friday 12 July 2013 20:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Belgium
- Contact:
Events blokly graphics error
I have a problem after my update to v887 in blokly.
Before a have this > But after the update a got this > When a do a new event and a save it , i have the same problem. All is scrambled.
I use windows firefox. Must a wait for another update to fix this ?
Thanks
btw , nice program , keep up the good work.
Before a have this > But after the update a got this > When a do a new event and a save it , i have the same problem. All is scrambled.
I use windows firefox. Must a wait for another update to fix this ?
Thanks
btw , nice program , keep up the good work.
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
The block stucture has changed from 873 onwards. You have to rebuild your event blocks.
Re: Events system feedback thread
I can confirm that dim level works in blocky with my lightwave dimmers. There is a small discrepancy in that if I set the dim level to 10%, when the event triggers the light shows up as 6% in the Domoticz dashboard. It's the same throughout the % range but it doesn't matter.
I'm very pleased it's working.
Great work by all involved
I'm very pleased it's working.
Great work by all involved
Re: Events system feedback thread
Working, great, ThnxCopyCatz wrote:In 899 added: scene switching
Who is online
Users browsing this forum: No registered users and 0 guests