The Vera Community forums have moved!

Advanced => Programming => Plugins & Plugin Development => Topic started by: samyoue on March 30, 2018, 09:44:24 pm

Title: TEXECOM Premier Elite Plugin
Post by: samyoue on March 30, 2018, 09:44:24 pm
This is a reworked version of racarters plugin, developed with his permission.
Work on the Texecom Connect version is now under way (planning on releasing under the same plugin and automatically working out which version to use).

V2.84
Uses Texecom Simple Protocol via IP or serial connection.  Supports  the following:
                                           
Polling is  sequentially done in the following order:
                       

Poll times depend on your Vera, mine averages a poll every 0.286s therefore my zones are updated every approx 0.572s (2x0.286s), my areas are updated every approx 1.144s (4x0.286s) and everything else approx every 4.576s (16x0.286s)

Copyright 2017-2027 Sam Youe


Notes:      This plug-in requires the Texecom Premier Elite firmware v1.0+ although it may work on Premier firmware version 9.06 or   later.  Earlier versions may not work correctly or at all. If your firmware version   is older than this you must flash the panel to upgrade to the latest firmware.
         
Getting Started (UI7)
---------------------

   


Please note this has been designed for Vera UI7. It may work with UI5 and as such I have included the original setup instructions for UI5 for Racarters Texecom version that this is based upon although much of it has been changed, the setup procedure should be fairly similar, but if any steps do not seem right please adapt accordingly.
If it doesnt work with UI5 I have NO plans to convert it to work with UI5 nor any way to test on UI5 anyway...

Getting Started (UI5)
---------------------
Alan Carter February 2016

   

Sam.

Please let me know if you get any problems/feedback and I'll try to resolve as quick as I can...

KNOWN BUG LIST:
- The parent device changes name when zone names are gathered (Should be fixed now)
- Zones omitted by the panel (eg. in part set) display as active in Vera UI (Purely visual bug)

IF you install this and you experience a bug which is listed as fixed or unlisted, please let me know.

https://github.com/Samyoue/TexecomVeraPlugin (https://github.com/Samyoue/TexecomVeraPlugin)
Title: Re: TEXECOM Premier Elite Plugin
Post by: goggles24 on May 08, 2018, 09:26:15 am
Thanks samyoue! I have installed this and seems to be working perfectly so far! I'm waiting for the opportunity to do a bit more with it but it looks like it will be a useful addition to my setup.

Title: Re: TEXECOM Premier Elite Plugin
Post by: sups on May 11, 2018, 02:54:36 am
Hello all,

I'm currently using Racarters version on ui7, any idea what the upgrade process to this would be?

Sups

Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on May 11, 2018, 08:23:29 am
@goggles: thanks! Let me know if you get any problems

@sups: In theory just upload the new files and that should be it as it is a massively reworked version of racarters one... but any problems try deleting the "parent" device and creating a new device,
Let me know how you get on

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: pukka on May 18, 2018, 03:58:06 pm
Hi Sam,

I have been using Racarters plugin for a few years, I have just tried to upgrade to your plugin. I uploaded your files the plugin reports " Status: Requesting Access- 1234"

I have removed the master device and re added via "create device" but i am still seeing the same error, is they any logging I can look at?

Paul
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on May 18, 2018, 04:03:07 pm
I'm just in talks with sups atm as he has the same problem (which I'm struggling to replicate!) I take it you are connecting via comIP? I'm assuming your udl is 1234? Whats your vera version and panel type and version please

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: pukka on May 18, 2018, 04:07:25 pm
Hi Sam

Password is 1234
Premier Elite 48
Version 3.x

Vera 1.7.3831

Would it be worth while SSH in and deleting the old files?

Paul
Title: Re: TEXECOM Premier Elite Plugin
Post by: sups on May 18, 2018, 05:08:12 pm
Hi Sam

Password is 1234
Premier Elite 48
Version 3.x

Vera 1.7.3831

Would it be worth while SSH in and deleting the old files?

Paul

I've done that, thinking that perhaps one of the files didnt upload properly, unfortunately the problem persisted.
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on May 18, 2018, 05:24:54 pm
If i get a chance tonight I'll factory reset my second vera, install racarters version then mine and set that up via ip to see if i can emulate (and then fix!) the problem...

The only thing different to racarters version regarding the initial connection procedure is that my version can take a variable as the udl code instead of it being written in the lua code but since that works with mine and goggles via serial, there's no reason that should affect connection over ip as it is the same message being sent to the panel...   :-\

The good news is you have the same versions as me so it's not an incompatibility with v4...

Out of interest what ip is your com ip?

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: pukka on May 18, 2018, 05:30:31 pm
Hi

Texecom IP 192.168.1.214:10001

I can login with wintex and the older plugin
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on May 18, 2018, 05:36:07 pm
yes that seems to be the same behaviour sups is experiencing...very strange indeed...

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on May 18, 2018, 05:40:40 pm
thanks, I'll install his first, get it going via IP then upgrade and see if i get the same issue...

Sam

EDIT:- OK so Ive installed the old one, got it working via IP then upgraded and I'm seeing the same problem you guys have seen so a fix should be coming soon just hold tight, I appreciate your patience
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on May 20, 2018, 06:32:10 pm
OK so it seems IP connections were trying to initialise before the vera was quite ready. As such I've added a 5s delay for IP connections and that fixed it for my test unit and sups' installation.

Upgrading from Racarters plugin will require the following steps.
Title: Re: TEXECOM Premier Elite Plugin
Post by: pukka on June 03, 2018, 10:40:40 am
Just to report back, Plugin is working ok
Title: Re: TEXECOM Premier Elite Plugin
Post by: sups on June 05, 2018, 03:56:40 pm
Yes,
I've been using it for a while now and its working fine..
Just one thing I need to ask all users..
You arm your panel, and leave the house... But what happens when you return, open your door and disarm the panel.
What I get is first an email from Vera telling me that the front door is open, then an email telling me that the hallway PIR sensed motion... At the same time I have SMS messages sent to my phone telling me the same as the emails..
It's a bit annoying.. does anyone else have this problem, and/or does anyone know how to stop this happening.. all I want is an email/SMS only when the alarm is triggered...possibly with another email to tell me which zone triggered the alarm?

Sups
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on June 05, 2018, 04:10:51 pm
switch off alarm reporting in vera and use the plugin to handle notifications. Pushover works great and support for free text messaging and emailing is on the way .

The plugin knows the difference between entry and alarm. If you open the front door the plugin will check to see the state the alarm is in and ONLY notify you if it goes into alarm. It should also send the zone names that tripped the alarm

Another pro to using pushover is that you can configure the plugin to send you separate notifications for when it is set/unset (single notification each time) and priority notifications upon alarm condition (repeats the notification with a different sound to set/unset notification until timeout/acknowledged)

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: sups on June 06, 2018, 08:13:53 am

Thanks Sam

Just looked.. In Vera 3 under Users & Account info >> notification settings, I have various options with Security Alerts being one of them and It's not been checked.. I just checked it.. hit update, then unchecked it and hit update again..

I'll let you know how I get on..
Thanks.
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on June 06, 2018, 02:45:01 pm
No worries, if i get a chance I'll implement the texting and email features in next couple days... Also working on reporting system events such as battery fault etc

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on June 06, 2018, 03:04:46 pm
Ps with regards to pushover notifications I've also got a Tasker profile setup to read out loud (via TTS) any messages from pushover that contain the word "ALARM"

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on June 07, 2018, 03:43:52 am
NEW VERSION now on GitHub:

Sam

(system flags are things like battery fault, cabinet tamper, bell tamper, mains failure, comms active etc)
Title: Re: TEXECOM Premier Elite Plugin
Post by: sups on June 07, 2018, 03:19:21 pm
Im still getting the annoying emails from Vera, and the sms's plus the Vera app alerts... And now the pushover alerts everytime I come back home..

Any one got any pointers to what I should look at to stop Vera sending out there alerts... I've checked my scenes and I don't have anything there anymore that could be sending me the alerts.

Everytime I come home my phone goes mental..
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on June 07, 2018, 04:53:13 pm
from within the plugin you can turn off pushover for set/unset but still have alerts upon alarm activations only (still with circuit text)
As to the vera3 settings, they should be the same as me as its UI7:
login, then goto user&account info>notification settings and uncheck security alerts (and tamper alerts if you want) then click update
if you have the vera app, maybe there is a setting in there as well? (I dont use the vera app)
do you use pleg/vera alerts?

Sam

EDIT: just read your previous post which says you already unchecked those notifications sorry! maybe they are in app? also not sure how you are getting text messages from vera as mine never seemed to work and with a limit of 2 per day I didnt see the point tbh
Title: Re: TEXECOM Premier Elite Plugin
Post by: sups on June 08, 2018, 06:18:12 am
from within the plugin you can turn off pushover for set/unset but still have alerts upon alarm activations only (still with circuit text)
As to the vera3 settings, they should be the same as me as its UI7:
login, then goto user&account info>notification settings and uncheck security alerts (and tamper alerts if you want) then click update
if you have the vera app, maybe there is a setting in there as well? (I dont use the vera app)
do you use pleg/vera alerts?

Sam

EDIT: just read your previous post which says you already unchecked those notifications sorry! maybe they are in app? also not sure how you are getting text messages from vera as mine never seemed to work and with a limit of 2 per day I didnt see the point tbh

I think I may have sorted it. Under Users & Accounts info > User Info, I have ticked "send me push notifications" and " send me emails". I've now taken this off.
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on June 13, 2018, 12:48:13 pm
Version 2.8 Now at Github
includes:
PC outputs now defineable within the setup GUI via a dropdown box
Setup GUI has been moved around alot with improvements to make it easier to setup zones etc
Notifications for system Flags (Battery Fault, cabinet tamper etc) including selectable flags for different notification methods (battery faults via email, Courtesy Light via pushover etc)

Only one more update due before proper work on the Connect version begins (already have the basic structure and payload functions)

Sam.

PS hope your phone has now stopped being bombarded Sups?
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on June 14, 2018, 03:25:28 pm
OK couldn't sleep so figured I'd do the last update before Connect :D

v2.84 Live at GitHub.
Auto detect panel type
Override Icon for Vera Zones (Door/Generic Sensor/Smoke Detector)
Further Setup GUI enhancements.

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: sups on June 14, 2018, 04:58:00 pm
Just loaded this one up.. Sam..you have been busy.
Menus flow so much better and GUI looks good.. the added colour is a nice touch too.

Great work.

Oh and yeah... Managed to stop VERA sending out the notifications... Pushover worked but it stoped a few days ago. Will get the paid version soon.

You mentiond you have a tasker profile for it.... Any chance you sharing that?  ;)
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on June 14, 2018, 05:17:53 pm
Thanks very much 😁

I've got 2 tasker profiles,
1 is just a speech synthesiser when pushover message contrasting word alarm is received (profile >event >plugin>pushover)

The other is a little icon on my android SmartWatch showing the set status of the alarm (will do export and email if youinterested)

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on June 25, 2018, 05:13:00 pm
BUG FIX: Voltages not updating
newest L_Texecom.lua at github fixes this
Title: Re: TEXECOM Premier Elite Plugin
Post by: Mattb130 on September 07, 2018, 11:51:05 am
Hi All,

I'm struggling to get this one up and running. I've followed the UI7 instructions. It seemingly was working but not pulling voltages or one other field (can't remember which now).

But now its not, connecting, syncing the zone names, or making the partitions as described.

I'm clearly being a newbie muppet but it was working initially.
Title: Re: TEXECOM Premier Elite Plugin
Post by: sups on September 07, 2018, 12:10:53 pm
Hi All,

I'm struggling to get this one up and running. I've followed the UI7 instructions. It seemingly was working but not pulling voltages or one other field (can't remember which now).

But now its not, connecting, syncing the zone names, or making the partitions as described.

I'm clearly being a newbie muppet but it was working initially.

For me, inputting the IP Address into the setup page didn't work.. I had enter the IP address of the panel directly in the IP Address field in the variables tab.
Give that a go.
Title: Re: TEXECOM Premier Elite Plugin
Post by: Mattb130 on September 07, 2018, 03:08:32 pm
Ok so I've had a bit of luck I added altid P01,P02,P03,P04 as a step I'd missed in a hurry. Doing that I got the panel to show all the zones but as zone 1, 2, 3, etc.

So its not showing the names. I also get errors in the status box stating error, on Zone status, area status, Voltages error.

Also strangely when I try and log in using my pc to the alarm using wintex I can't it just disconnects is that normal?

Its an Elite 48 with ComIP running 4.00.24 using plugin version 2.84

Thanks

matt

Title: Re: TEXECOM Premier Elite Plugin
Post by: sups on September 07, 2018, 04:06:13 pm
Comip is in essence serial so If Vera has established a connection with the panel, then yes, you won't be able to connect with your PC/laptop at the same time. Same applies the other way around too, in that if you establish a connection with from a PC, then Vera won't be able to connect at the same time.
Title: Re: TEXECOM Premier Elite Plugin
Post by: Mattb130 on September 07, 2018, 04:47:02 pm
Ok that explains the inability to now use wintex.

I'm still getting errors with cct and zones which is stopping it from setting up properly.
Title: Re: TEXECOM Premier Elite Plugin
Post by: Mattb130 on September 07, 2018, 05:51:51 pm
So something clearly isn?t right in my setup as when I set it all to night time me walking to the downstairs keypad should have activated the count down, it also looked me out of the keypad on the wall.
Title: Re: TEXECOM Premier Elite Plugin
Post by: Mattb130 on September 17, 2018, 12:09:58 pm
Call for help.

Plug in is installed. Its pulling down the right number of zones (but won't pull the names). I get polling errors for zones and areas.

When a door is opened Vera reports the door is open.

Alarm keypad beeps when vera is logging in. But it regularly disconnects and tries to reconnect. Vera keypad displays undefined.

However, as mentioned in my earlier post I'm locked out of the physical keypad in the house.

Any help would be great. I was hoping the alarm sensors would form the backbone of my automation.

Thanks

Matt
Title: Re: TEXECOM Premier Elite Plugin
Post by: Mattb130 on September 18, 2018, 05:11:54 pm
Big thanks to Sam, updated the LUA file and its working as expected!!!
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on September 19, 2018, 07:23:33 pm
sorry about slow reply, health not been great lately but yes as Matt said, bug fixed in latest lua file on github, thanks for reporting the bug, pleased I could squash it for you :)

Sam.
Title: Re: TEXECOM Premier Elite Plugin
Post by: daniel gomes on October 18, 2018, 10:51:17 am
hei guys!

Some of you can show me some pictures of the plugin in UI7? Is it possible to use this plugin with Vera app?
Why this plugin is not available on https://apps.mios.com/?

Good job guys!  :D
Title: Re: TEXECOM Premier Elite Plugin
Post by: parkerc on October 19, 2018, 05:07:26 am
Hi,

I?m in the UK and tempted to move away from my DSC Alarm set up and was thinking about TEXECOM and I can see a number of Elite products/versions? - I saw the note earlier about the version to use v1.0.

I'm curious which model people have this plug-in working with. (Extract from https://www.texe.com/uk/products/range/control-panels/)

Premier Elite 640
Premier Elite 168
Premier Elite 88
Premier Elite 64
Premier Elite 64-W
Premier Elite 48
Premier Elite 24
Premier Elite 24 (Polymer)
Title: Re: TEXECOM Premier Elite Plugin
Post by: pukka on October 19, 2018, 10:22:43 am
Premier Elite 48 here.
Title: Re: TEXECOM Premier Elite Plugin
Post by: sups on October 19, 2018, 04:55:52 pm
Elite 48 here too
Title: Re: TEXECOM Premier Elite Plugin
Post by: Mattb130 on October 31, 2018, 09:46:08 am
Is there a time frame for the connect compatible version.

 I?ve started to get ats failures on our system I  can?t say if it is a comip issue, router or Vera problem at the moment but when it fails it also stops Vera scenes from working correctly.
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on November 02, 2018, 11:48:13 am
Doubt it would be vera problem, I know texecom have been having some issues with their servers lately which have apparently now been fixed...

The connect version is currently on hold at the moment as a more pressing project has arisen and I've lost my firmware flasher and the connect protocol is lacking a fairly major command used for the setup procedure... There is a work around but it's quite clunky and unsatisfactory... I've asked texecom for it to be added (it was in the simple protocol!) but I'm not exactly holding my breath...

In the mean time the plugin should theoretically be compatible with a smart com as it connects via internal ip.
Failing that if your vera is near your panel you could connect to a spare com port on the panel via USB cable (texecom cable is about ?30-40 but apparently you can use any standard USB to serial cable... I'll look up the link for you


https://cybergibbons.com/alarms-2/programming-a-texecom-premier-elite-12-w-using-a-ftdi-cable/ (https://cybergibbons.com/alarms-2/programming-a-texecom-premier-elite-12-w-using-a-ftdi-cable/)

Hope this helps, Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: nathsea on December 17, 2018, 12:30:13 pm
Hi ,
Installed this and it appears to be working a treat, thanks ever so much for taking the time to create this .

One query i have , is it possible to select different actions depending on who disarms the alarm, for example, when i come home would it know that my code has disarmed the alarm and as such i could ask it to play a specific music?

Cheers
Nath
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on December 17, 2018, 04:49:42 pm
Thanks  :D

Currently no however I'll look into the possibility and get back to you

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: samyoue on December 17, 2018, 05:19:31 pm
Not directly/neatly but it is possible.

Could you confidently wire in a 12v relay to your alarm?
If so I can give you instructions on how to achieve what you want (wiring and programming)

Sam
Title: Re: TEXECOM Premier Elite Plugin
Post by: nathsea on December 18, 2018, 05:43:07 am
Hmm not sure I could to be honest , depends on how difficult it is I guess !?
Thanks for looking at it for me

Nath
Title: Re: TEXECOM Premier Elite Plugin
Post by: hannov on January 06, 2019, 06:37:10 am
Hi,

I'm using Premier Elite 64-W with V5 firmware and SmartCom with V2 firmware and the PlugIn keeps on saying that it can't send PDU. Engineer code, IP and ULD code are correct.

I tried resetting the LuuP, the Vera itself but the situation remains.

Plug-In version is 2.85

Thanks for your assistance in advance.
Title: Re: TEXECOM Premier Elite Plugin
Post by: Mattb130 on January 07, 2019, 10:41:22 am
From earlier on in the tread the smartcom version of the plugin hasn?t yet been developed.

Title: Re: TEXECOM Premier Elite Plugin
Post by: mfazi on January 16, 2019, 05:22:16 pm
Hi,

Great plugin, thank you for all your efforts.

Question on the PushOver Notifications. I've got it configured so it's sending me Set / Unset messages fine. Which notification flag do I need to select in the settings to get an alarm trip notification through, that tells me which zone is tripped?

Thanks
Title: Re: TEXECOM Premier Elite Plugin
Post by: pukka on March 18, 2019, 04:54:16 pm
Hi,

We have been using the plugin for a while with no problem. on the 14th march and today. we have recivied "You have received an alert: "fire". Device ID: 292" from vera. they is nothing on the texecom alarm. the zone is armed as its a Smoke Detector.

Can you think of anything to look at?

Paul