ideAlarm (A dzVents alarm environment)

Easy to use, 100% Lua-based event scripting framework.
BakSeeDaa
Posts: 551
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi
Domoticz version:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by BakSeeDaa » Saturday 04 November 2017 17:40

Martinq wrote:
Saturday 04 November 2017 0:26
Good to hear that it is still working there on 2.2.0. And I am running the latest stable version from Domoticz so it's not in it yet.
Will try tomorrow if it's working here too.
I believe that you have better odds to get ideAlarm working if you upgrade Domoticz using a Beta release.

Newer versions of ideAlarm is using features introduced (and bug corrections) in later versions of dzVents. Using older versions of ideAlarm might work better together with older versions of dzVents but doing that is nothing that I recommend.

I'm using Domoticz Beta version 3.8552 and I am not aware of a single bug in it. Saying that, I should probably emphasize that's the case on my system of course, your system might be different.

For the future though I believe it's better if ideAlarm would have no further requirements than the latest stable versions.

Martinq
Posts: 13
Joined: Wednesday 09 March 2016 18:20
Target OS: Linux
Domoticz version: 3.8153
Contact:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by Martinq » Saturday 04 November 2017 22:46

I am always a little scared to try Beta releases because I use Domoticz already frequently for many things. And yes, would be nice if it will work on the latest stable versions in the future.

Just installed it in the stable version with dzvents 2.2.0. But i have errors in the log:

Code: Select all

2017-11-04 21:44:00.533 Error: dzVents: Error: Script ideAlarmConfig.lua has no "on" and/or "execute" section. Skipping
2017-11-04 21:44:00.533 Error: dzVents: Error: Script ideAlarmHelpers.lua has no "on" and/or "execute" section. Skipping
2017-11-04 21:44:00.536 Error: dzVents: Error: Script ideAlarmModule.lua has no "on" and/or "execute" section. Skipping 
Can't find info about this error. Or is it just a warning, and if so, how can I disable this warning?

madrian
Posts: 238
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by madrian » Sunday 05 November 2017 1:02

Guys, can you please make a quick Youtube introduction video or at least add some screenshots? ;)

Thank you

User avatar
EdwinK
Posts: 1155
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by EdwinK » Sunday 05 November 2017 11:57

BakSeeDaa wrote:
Saturday 04 November 2017 17:40

I believe that you have better odds to get ideAlarm working if you upgrade Domoticz using a Beta release.
Too bad that for Synology users there is only stable now, but somehow we will get around this
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

BakSeeDaa
Posts: 551
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi
Domoticz version:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by BakSeeDaa » Monday 06 November 2017 17:45

madrian wrote:
Sunday 05 November 2017 1:02
Guys, can you please make a quick Youtube introduction video or at least add some screenshots? ;)

Thank you
I will see if I get some spare time. :D, Anyone else who'd like to contribute? :)

BakSeeDaa
Posts: 551
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi
Domoticz version:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by BakSeeDaa » Monday 06 November 2017 17:47

EdwinK wrote:
Sunday 05 November 2017 11:57
BakSeeDaa wrote:
Saturday 04 November 2017 17:40

I believe that you have better odds to get ideAlarm working if you upgrade Domoticz using a Beta release.
Too bad that for Synology users there is only stable now, but somehow we will get around this
It can take a long time between stable releases... Have you ever considered buying a Raspberry Pi? It won't be so expensive and it will be much better performance. Just a thought.

User avatar
EdwinK
Posts: 1155
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by EdwinK » Monday 06 November 2017 18:17

I have several of those, and I will get me one for domoticz one day. Maybe next month or so. ;)
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

Martinq
Posts: 13
Joined: Wednesday 09 March 2016 18:20
Target OS: Linux
Domoticz version: 3.8153
Contact:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by Martinq » Monday 06 November 2017 20:45

BakSeeDaa wrote:
Saturday 04 November 2017 17:40
Martinq wrote:
Saturday 04 November 2017 0:26
Good to hear that it is still working there on 2.2.0. And I am running the latest stable version from Domoticz so it's not in it yet.
Will try tomorrow if it's working here too.
I believe that you have better odds to get ideAlarm working if you upgrade Domoticz using a Beta release.

Newer versions of ideAlarm is using features introduced (and bug corrections) in later versions of dzVents. Using older versions of ideAlarm might work better together with older versions of dzVents but doing that is nothing that I recommend.

I'm using Domoticz Beta version 3.8552 and I am not aware of a single bug in it. Saying that, I should probably emphasize that's the case on my system of course, your system might be different.

For the future though I believe it's better if ideAlarm would have no further requirements than the latest stable versions.
Oke, just updated to the latest Beta 3.8702....and notice that it still has dzVents 2.2.0. Great!

Do you have a downloaded version 3.8552 for me?
No other way to update dzVents or get's a working ideAlarm version for dzVents 2.2.0??

BakSeeDaa
Posts: 551
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi
Domoticz version:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by BakSeeDaa » Monday 06 November 2017 21:00

Martinq wrote:
Monday 06 November 2017 20:45
BakSeeDaa wrote:
Saturday 04 November 2017 17:40
Martinq wrote:
Saturday 04 November 2017 0:26
Good to hear that it is still working there on 2.2.0. And I am running the latest stable version from Domoticz so it's not in it yet.
Will try tomorrow if it's working here too.
I believe that you have better odds to get ideAlarm working if you upgrade Domoticz using a Beta release.

Newer versions of ideAlarm is using features introduced (and bug corrections) in later versions of dzVents. Using older versions of ideAlarm might work better together with older versions of dzVents but doing that is nothing that I recommend.

I'm using Domoticz Beta version 3.8552 and I am not aware of a single bug in it. Saying that, I should probably emphasize that's the case on my system of course, your system might be different.

For the future though I believe it's better if ideAlarm would have no further requirements than the latest stable versions.
Oke, just updated to the latest Beta 3.8702....and notice that it still has dzVents 2.2.0. Great!

Do you have a downloaded version 3.8552 for me?
No other way to update dzVents or get's a working ideAlarm version for dzVents 2.2.0??
Sounds strange to me. Did you clear the browsers cache after upgrading Domoticz?

Martinq
Posts: 13
Joined: Wednesday 09 March 2016 18:20
Target OS: Linux
Domoticz version: 3.8153
Contact:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by Martinq » Monday 06 November 2017 21:25

Hi,

That did the trick!

Got a message after updating from domoticz that it was clearing browser cache. Also have a "Cleare Cache" extension in Chrome which I run.
So i assumed that the cache was cleared.

Now I cleared the cache with Ctrl+h and Bingo, got a whole new view and dzVents 2.3.0.

Thanks for pointing me to this!

User avatar
DewGew
Posts: 192
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V3.8799
Location: Sweden
Contact:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by DewGew » Saturday 18 November 2017 11:08

Great script works like a charm. Only thing I miss is language support for the text devices. Notifications I can change myself in the helpers file.
Thank you for your great work!
Raspberry Pi 2B - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface

User avatar
emme
Posts: 798
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by emme » Monday 20 November 2017 9:04

I've played a while with ideAlarm... I have 1 question before continuing and purchase a siren :D :D
...if an area in not directly linked to the security status.... How could I intercept its state to engage/disengage by script?

I'm actually using the text device string, but I got some issue in detecting it correctly (I think my script runs twice so it disengage and reengage...)
ciao
M

P.S.
...I LOVE ideAlarm :D :D
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

BakSeeDaa
Posts: 551
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi
Domoticz version:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by BakSeeDaa » Monday 20 November 2017 9:34

emme wrote:
Monday 20 November 2017 9:04

...if an area in not directly linked to the security status.... How could I intercept its state to engage/disengage by script?

I'm actually using the text device string, but I got some issue in detecting it correctly (I think my script runs twice so it disengage and reengage...)
ciao
M

P.S.
...I LOVE ideAlarm :D :D
Thanks.

I've tried hard but I can't understand your question.

Do you want to have a a script to turn of the siren when an alert occurs for an alarm zone?

If so, in ideAlarmCustom.lua

Code: Select all

alarm.zones('Your Zone').disArmZone(domoticz)
or in any dzVents script, you can just switch toggle the arming mode (that will turn off the sirens)

Code: Select all

domoticz.devices('Toggle Z1 Arm Home').switchOn()
If I understood wrong, please try again.

Cheers!

User avatar
emme
Posts: 798
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: ideAlarm v2.1.0 released (A dzVents alarm environment)

Post by emme » Monday 20 November 2017 10:15

...mmh I'll give it a try this evening :P :P :P
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

User avatar
emme
Posts: 798
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: ideAlarm (A dzVents alarm environment)

Post by emme » Thursday 25 January 2018 15:21

mmh.. looks like ideAlarm experience some issues with dzVents 2.4.1

Code: Select all

2018-01-25 14:16:00.277 dzVents: Error (2.4.1): ideAlarm V2.1.0: An error occured when calling event handler ideAlarm
2018-01-25 14:16:00.277 dzVents: Error (2.4.1): ideAlarm V2.1.0: /home/pi/domoticz/scripts/dzVents/scripts/ideAlarm.lua:32: attempt to concatenate field 'state' (a nil value)
I had to include the line into a if statement:

Code: Select all

if not device.isTimer then
   ...
end
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

dannybloe
Posts: 1408
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi
Domoticz version:
Location: Ermelo
Contact:

Re: ideAlarm (A dzVents alarm environment)

Post by dannybloe » Thursday 25 January 2018 17:08

Yes, that the only breaking change for 2.3 > 2.4. Sometimes you have to break something to make things better ;-)
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.

User avatar
remb0
Posts: 935
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: ideAlarm (A dzVents alarm environment)

Post by remb0 » Thursday 25 January 2018 22:02

maybe an idea to putt the issues into the github of IDEAlarm?
All Domoticz compatible products at shop: https://www.domoticz.com/wiki/Compatibl ... n_gearbest

User avatar
emme
Posts: 798
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: ideAlarm (A dzVents alarm environment)

Post by emme » Friday 26 January 2018 9:23

done! :P
That's one small step for a programmer, one giant leap for me!
- - - - -
Raspberry Pi3 + AeonStick G5 + RFXCOMM433 + iRTrans Server + NodeJS
There's no stress in the mess!!

BakSeeDaa
Posts: 551
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi
Domoticz version:

Re: ideAlarm (A dzVents alarm environment)

Post by BakSeeDaa » Friday 26 January 2018 9:44

ideAlarm Version 2.4.0

Various changes made to support dzVents 2.4.0. ideAlarm 2.4.0 now requires Domoticz v3.8837+

BakSeeDaa
Posts: 551
Joined: Thursday 17 September 2015 10:13
Target OS: Raspberry Pi
Domoticz version:

Re: ideAlarm (A dzVents alarm environment)

Post by BakSeeDaa » Friday 26 January 2018 10:22

*************** IMPORTANT NOTE ***************                            `
                                                                                             
This script will be retired. I'm migrating away from Domoticz to another automation
solution. It requires some effort to maintain it and I won't have the time to do it in the future.

If you'd like to become the maintainer of this script, please let me know. (Make an issue on github, then I'll be notified)

Cheers!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests