Events system thread (questions and feedback)
Moderator: leecollings
- mbliek
- Posts: 194
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Events system thread (questions and feedback)
Post your events system issues here. I would really appreciate if someone would test the scripts under windows asap as I could only test linux/mac systems.
Edit: events system is working as of v1.813. My live system only updates to 1.810 at the moment, don't know how to get it up to 813...
Edit: events system is working as of v1.813. My live system only updates to 1.810 at the moment, don't know how to get it up to 813...
Op zoek naar een Domoticz Start Set?
- mbliek
- Posts: 194
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: Events system feedback thread
Why do I get this in my log file:
Error: Fri Jul 12 14:53:31 2013 Could not load lua script /home/pi/domoticz/scripts/lua/._script_device_test.lua
Error: Fri Jul 12 14:53:31 2013 Lua script did not return a commandArray
This is in my file:
Error: Fri Jul 12 14:53:31 2013 Could not load lua script /home/pi/domoticz/scripts/lua/._script_device_test.lua
Error: Fri Jul 12 14:53:31 2013 Lua script did not return a commandArray
This is in my file:
Code: Select all
print('test')
commandArray = {}
if (devicechanged['LED boven TV'] == 'Off' and otherdevices['Onder trap'] == 'Off') then
commandArray['Bank']='On'
end
return commandArray
Op zoek naar een Domoticz Start Set?
- 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
Blockly interface behaves strange ( maybe only in Firefox)
If you open Messages or Logic or somrthing else on the left panel (try only clicking), Editing box is increasing size to the right and at the end when adding more and more blocks user can't scroll to right part SAVE Button anymore.
Is this only a Firefox problem?
In IE10 flyout menus overlap.. so I can't choose a element
If you open Messages or Logic or somrthing else on the left panel (try only clicking), Editing box is increasing size to the right and at the end when adding more and more blocks user can't scroll to right part SAVE Button anymore.
Is this only a Firefox problem?
In IE10 flyout menus overlap.. so I can't choose a element
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
- gizmocuz
- Posts: 2394
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Events system feedback thread
Should be solved now, thanks for reporting!
Quality outlives Quantity!
-
- Posts: 19
- Joined: Friday 12 July 2013 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: Events system feedback thread
My test blocks works! Great work.
If I edit and save the blockly the edits are lost. If I change the name and save as a new blockly it's saved ok.
If I edit and save the blockly the edits are lost. If I change the name and save as a new blockly it's saved ok.
-
- Posts: 4
- Joined: Friday 12 July 2013 19:37
- Target OS: -
- Domoticz version:
- Location: High Wycombe, UK
- Contact:
Re: Events system feedback thread
A big thank you
to everyone for the events system! Now I can start to have fun!
I am going to use it to control my solar hot water system. And I find I need to do some simple arithmetic in the logic eg
if TemperatureRoof >(TemperatureTank + 5)then pump=on
Can addition and subtraction of numerical values be added please?
Also, when comparing temperature values, what level of accuracy is used? 20.0 degrees is hotter than 19.9 degrees, but not by very much! I would prefer integer only comparisons, could that be an option?
John S

I am going to use it to control my solar hot water system. And I find I need to do some simple arithmetic in the logic eg
if TemperatureRoof >(TemperatureTank + 5)then pump=on
Can addition and subtraction of numerical values be added please?
Also, when comparing temperature values, what level of accuracy is used? 20.0 degrees is hotter than 19.9 degrees, but not by very much! I would prefer integer only comparisons, could that be an option?
John S
- 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
I'm missing a concatenation Operator for Texts and I tried following:
IF 'Tenperature Living Room ' > 24 THEN SEND Message with SUBJECT 'Temperature Test Message' AND MESSGAE 'Temperature Wohnzimmer EG'...
Temperature WOhnzimmer EG seems to be a number vale and not be converted to Text...
BR
Thomas
IF 'Tenperature Living Room ' > 24 THEN SEND Message with SUBJECT 'Temperature Test Message' AND MESSGAE 'Temperature Wohnzimmer EG'...
Temperature WOhnzimmer EG seems to be a number vale and not be converted to Text...
BR
Thomas
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: 2
- Joined: Friday 12 July 2013 21:55
- Target OS: -
- Domoticz version:
- Location: Ardèche - France
- Contact:
Re: Events system feedback thread
Hello Gizmocuz,
My test blocks are not OK. Even if I rename it and save as a new blocky, when I click save it does not respond.
I tried under IE v10, Google Chrome v27, and Firefox v22...
Thanks a lot in advance.
My test blocks are not OK. Even if I rename it and save as a new blocky, when I click save it does not respond.
I tried under IE v10, Google Chrome v27, and Firefox v22...
Thanks a lot in advance.
-
- Posts: 18
- Joined: Saturday 13 July 2013 14:43
- Target OS: -
- Domoticz version:
- Contact:
Re: Events system feedback thread
mbliek wrote:Post your events system issues here. I would really appreciate if someone would test the scripts under windows asap as I could only test linux/mac systems.
Edit: events system is working as of v1.813. My live system only updates to 1.810 at the moment, don't know how to get it up to 813...
Hi,
missing option for check humidity.
In my case want to check humidity, if greater than xx% switch device Y on or off.
Thank you
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
Strange.. Saving blocks works ok on mac + safari and firefox. Do you get the overwrite warning and then the save confirmation?
Also, people complaining about humidity, temperature: RTFM: http://www.domoticz.com/wiki/Events -> "Reading sValues (temperatures etc)
does not work either. "
Also, people complaining about humidity, temperature: RTFM: http://www.domoticz.com/wiki/Events -> "Reading sValues (temperatures etc)
does not work either. "
- 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
Deleted rule has sent 10 more E-Mails after Deleting rule..
Does event system have a certain update time?
For temperature string issue.. sorry I have read this part in manual right after my message...
P.S: It has stopped now... It's a little bit more difficult to restart services on a (remote) windows computer...
Will migrate to Raspberry PI next time I visit this location...
I think I should refresh my C++ or C# knowledge ... implemented last programs about 20 years ago.. start time of HP'S STL
Does event system have a certain update time?
For temperature string issue.. sorry I have read this part in manual right after my message...

P.S: It has stopped now... It's a little bit more difficult to restart services on a (remote) windows computer...
Will migrate to Raspberry PI next time I visit this location...
I think I should refresh my C++ or C# knowledge ... implemented last programs about 20 years ago.. start time of HP'S STL
Last edited by tommit01 on Saturday 13 July 2013 16:46, edited 3 times in total.
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
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
Woops, good call. Fixed in 836. For now just restart domoticz service.tommit01 wrote:Deleted rule sent10 more E-Mails after Deleting rule..
Does event system have a certain update time?
For temperature string issue.. sorry I have read this part in manual right after my message...
-
- Posts: 19
- Joined: Friday 12 July 2013 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: NL
- Contact:
Re: Events system feedback thread
It's working now. the overwrite warning has a second dialog box "Voorkom dat deze pagina extra dialog venster weergeeft" If I check that dialog box domoticz doesn't save (and doesn't display overwite warnings). Refreshing the Chrome browser (f5) restores the dialog boxes.CopyCatz wrote:Strange.. Saving blocks works ok on mac + safari and firefox. Do you get the overwrite warning and then the save confirmation?
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
Hmm good find boss.. wil put that in the wikijackisidore wrote:It's working now. the overwrite warning has a second dialog box "Voorkom dat deze pagina extra dialog venster weergeeft" If I check that dialog box domoticz doesn't save (and doesn't display overwite warnings). Refreshing the Chrome browser (f5) restores the dialog boxes.CopyCatz wrote:Strange.. Saving blocks works ok on mac + safari and firefox. Do you get the overwrite warning and then the save confirmation?

Re: Events system feedback thread
Hello to everyone,
First of all, congrats for Domoticz. It's just amazin : handy, fast growing, use of best solutions (blocky & LUA for instance), and it uses at the same time RazBerry and RFXCOM. So a BIG thank you.
Regarding the new Events system, it would be a good thing to be able a activate / deactivate an event (If I do not want now an script to be active, I have to delete it... not thant handy !)
I have also a bug rerding temperature readings :
My script notify me if the temperature one sensor is > 25 °C. Blocky seems of, but Prowl notifies me whereas the dashbord tells me the temp is only 23°C... any idea ?
I'm running it on a pi with version 1.834.
Thanks again for your hard work
bistoury.
First of all, congrats for Domoticz. It's just amazin : handy, fast growing, use of best solutions (blocky & LUA for instance), and it uses at the same time RazBerry and RFXCOM. So a BIG thank you.
Regarding the new Events system, it would be a good thing to be able a activate / deactivate an event (If I do not want now an script to be active, I have to delete it... not thant handy !)
I have also a bug rerding temperature readings :
My script notify me if the temperature one sensor is > 25 °C. Blocky seems of, but Prowl notifies me whereas the dashbord tells me the temp is only 23°C... any idea ?
I'm running it on a pi with version 1.834.
Thanks again for your hard work
bistoury.
- CopyCatz
- Developer
- Posts: 123
- Joined: Thursday 11 July 2013 17:28
- Target OS: -
- Domoticz version:
- Location: Outer Heaven
- Contact:
Re: Events system feedback thread
People, if you have questions about a script, post the script. Also, other people might learn from it.
-
- Posts: 5
- Joined: Friday 12 July 2013 13:39
- Target OS: -
- Domoticz version:
- Location: Toulon France
- Contact:
Re: Events system feedback thread
Hello ,
Same there:
Kubuntu macbook Pro ppc > the explorer kebong crashes when trying to create an event (control or else)
- Using remotly with PC (Win8) under Firefox22 or IE10 works better but it seems it is impossible to save the event.
Idem when running domoticz under PC / Win8 / Firefox 22 or Ie10 : the javascript:save_block() seems not getting the name written.
Best Regards,
Pierre
Same there:
Kubuntu macbook Pro ppc > the explorer kebong crashes when trying to create an event (control or else)
- Using remotly with PC (Win8) under Firefox22 or IE10 works better but it seems it is impossible to save the event.
Idem when running domoticz under PC / Win8 / Firefox 22 or Ie10 : the javascript:save_block() seems not getting the name written.
Best Regards,
Pierre
- Jochen
- Posts: 11
- Joined: Saturday 13 July 2013 10:37
- Target OS: -
- Domoticz version:
- Location: Germany / NRW
- Contact:
Re: Events system feedback thread
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.
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.
I have not failed 1,000 times.
I have successfully discovered 1000 ways to NOT make a light bulb.
*Thomas Edison*
I have successfully discovered 1000 ways to NOT make a light bulb.
*Thomas Edison*
-
- Posts: 5
- Joined: Friday 12 July 2013 13:39
- Target OS: -
- Domoticz version:
- Location: Toulon France
- Contact:
Re: Events system feedback thread
Hello,
The event can be saved under chrome: it works fine. in all configs
THANKS !
The event can be saved under chrome: it works fine. in all configs

THANKS !
Who is online
Users browsing this forum: No registered users and 0 guests