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:
[ul][li] Arm up to 2 Areas[/li]
[li] Part-arm up to 2 Areas[/li]
[li] Disarm up to 2 Areas[/li]
[li] Control of PC Outputs 1-4[/li]
[li] Creates Child Devices representing your Texecom Zones[/li]
[li] Polls zones every ~0.6s[/li]
[li] Automatically gathers Zone Names and types[/li]
[li] Manual override of Zone Text (That appears in Vera) and Zone Icon (eg. Door/ PIR/Smoke)[/li]
[li] Reports partition status (including Exit/Entry started)[/li]
[li] Reads Control and Control battery voltages/Current[/li]
[li] Virtual Keypad in Vera [/li]
[li] Displays System Flags (eg. battery fail, PSU mains fault etc)[/li]
[li] 3 Notification Options for User defineable System Flags [/li]
[li] Support for notifications upon zone active when zone is armed (Entry circuits only cause notification if Area assigned is in alarm) using any or all of the following platforms:[list][li]Push notifications via Pushover.net[/li][li]Text Messaging (UK numbers only at present) via Clickatell.com[/li][li]Email via SMTP2GO.com[/li][/list][/li]
[li] Comms status and auto attempts reconnection/reports failures[/li][/ul]
Polling is sequentially done in the following order:
[ul][li] Zones[/li]
[li] Areas[/li]
[li] Zones[/li]
[li] Output Status[/li]
[li] Zones[/li]
[li] Areas[/li]
[li] Zones[/li]
[li] Keypad Display[/li]
[li] Zones[/li]
[li] Areas[/li]
[li] Zones[/li]
[li] System Flags[/li]
[li] Zones[/li]
[li] Areas[/li]
[li] Zones[/li]
[li] System Voltages[/li]
[li] Back to start[/li][/ul]
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)
[ol][li] On the Vera dashboard menu on the left of the page select Apps → Develop Apps → Luup files, then upload all files, ticking the box marked ‘Restart Luup after upload’.[/li]
[li] On the Vera menu select Apps → Develop Apps → Create device, then in the field called ‘Upnp Device Filename’ enter D_Texecom.xml. Save, Then Reload Luup. (Go to Test Lua Code and type “luup.reload()”)[/li]
[li][list][li] For network comms you must use a Texecom COM IP/COM WIFI module connected to a Com port on the panel and programmed appropriately.[/li]
[li] For serial comms use a COM USB or PC COM lead connected to a Com port on the panel and programmed as nothing fitted. Within Vera you must configure a suitable serial port on Vera to 19200 Baud, 8 bits, no parity, 2 stop bits and assign it to the Texecom device (Apps>Develop Apps>Serial Port Configuration). Reload Luup again
[/li][/list][/li]
[li] When Luup has restarted find the Texecom device block on the ‘Devices’ page on Vera dashboard, then click the right arrow and open the ‘Setup’ tab at the top.[/li]
[li] Click on Connection Setup and setup options as necessary, paying close attention to: ‘Connection Type’, ‘Engineer Code’ and ‘UDL Code’. Once finished, Ensure Your alarm panel is not in Engineer Mode and Not Fully Set, click Save All and when prompted, click OK to restart Luup. [list]
[li] The plug-in will currently allow up to 48 zones, 4 PC controlled outputs, 2 Areas, 1 Part Set per area.[/li][/list][/li]
[li] The plugin should create 1 or 2 partitions (as set out by you in the setup tab), as many zones as you have programmed in your panel and the ‘PC Controlled output’ Vera Switches. [/li]
[li] If you use Pushover messaging options, you will receive a notification on your phone or other Pushover-enabled device in an alarm state, detailing the zone that has tripped the alarm (or Set/Unset/Partset or Vera Restart notifications). If you specify a Device it will only deliver to that device. You must create your own Pushover App on the Pushover site and use the relevant user and app keys supplied by them.[/li]
[li] You can also specify which zone is armed by partset/fullset etc on the Setup page. NB. When a circuit is omitted for partset by your alarm system (eg. Landing PIR), Vera currently displays this as the same icon as if it were active at the moment (although no alerts will be generated…
[/li][/ol]
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
[ol][li] On the Vera dashboard select APPS → Develop Apps → Luup files, then upload the 5 xml
and 2 json files, ticking the box marked ‘Restart Luup after upload’.[/li]
[li] On the Vera dashboard select APPS → Develop Apps → Create device, then in the field
called ‘Upnp Device Filename’ enter D_Texecom.xml. Save, and restart Luup.[/li]
[li] When Luup has restarted find the Texecom device block on the ‘Devices’ tab on Vera
dashboard, then click the spanner and open the ‘Advanced’ tab.[/li]
[li] In the ‘altid’ field list the devices you wish to create, separated by commas. For example,
to create 8 zones enter Z01,Z02,Z03,Z04,Z05,Z06,Z07,Z08. To create 3 Digicom outputs enter
X01,X02,X03. To create 2 programmable outputs enter P01,P02. The plug-in will currently
allow up to 20 zones, up to 8 Digicom outputs and up to 2 programmable outputs.[/li]
[li] If you are using a network connection to the panel, enter IP address and port number
in the ‘ip’ field, separated by a colon. For example: 192.168.0.123:10001[/li]
[li] If you are using a serial connection to the panel you must configure a suitable serial port
on Vera to 19200 Baud, 8 bits, no parity, 2 stop bits and assign it to the Texecom device.[/li]
[li] Restart Luup, after which the plug-in should create two partition devices and as many zone
and output devices as specified in Step 4 above. Partitions will be polled every 10 seconds
and zones every 5 seconds.[/li]
[li] On the Texecom panel set the UDL password to 1234 via keypad or Wintex. If you wish to use
a different UDL password you must edit and re-upload I_Texecom.xml then restart Luup.[/li]
[li] For network comms you must use a Texecom COM IP module connected to the Com1 port on the panel.[/li]
[li] For serial comms use a COM USB or PC COM lead connected to the Com1 port on the panel.[/li]
[li] If you use Pushover messaging via the Vera ‘Push Notification’ app you can enter the
Push Notification device number in the ‘Vera Push Device’ field, the Pushover Device
name in the ‘Pushover Device’ field and the required sound in the ‘Pushover Sound’
field (in lower case). You will then receive a notification on your phone or other
Pushover-enabled device if the first line of the Texecom keypad display changes.
(Since the second line of the keypad display often shows the time, only changes to the
first line will generate a notification.) If want the message sent to all of your
Pushover devices, leave the ‘Pushover Device’ field blank.[/li]
[li] Zone device blocks have two variables called LatchStatus and LatchPeriod. When a zone
is tripped, if LatchPeriod is non-zero, LatchStatus will be set to ‘1’. When no further
trips have occurred for the number of minutes set in LatchPeriod, LatchStatus will be
set to ‘0’. This feature can be used in a Vera scene to switch off lights etc. after
a period of no movement in a room. Set LatchPeriod to zero to disable this feature.
[/li][/ol]
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.
[url=https://github.com/Samyoue/TexecomVeraPlugin]https://github.com/Samyoue/TexecomVeraPlugin[/url]