Jablotron Alarm network interface to Domoticz

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
joepurlings
Posts: 2
Joined: Saturday 02 September 2017 20:17
Target OS: Raspberry Pi
Domoticz version:
Contact:

Jablotron Alarm network interface to Domoticz

Post by joepurlings » Monday 04 September 2017 20:26

Hello,

I was trying to interface my Jabloton Profi 60 series alarm to Domoticz.
Since the alarm is supplied with a network card, I'm trying to use no additional hardware.

I wrote a very tiny python script, that enables me to send a code to lock or unlock, like I would do using the keypad:

Code: Select all

#!/usr/bin/env python
import requests
r = requests.get('http://alarmIP/menu7.html?__SQ=1234&submit=Submit+Sequence', auth=('login', 'verysecretpassword'))
alarmIP is the IP address of the alarm interface, 1234 is the code being entered, login and verysecretpassword are the credentials for the web interface.

So far, so good, that works!
Now I try to retreive the alarm status Armed/Disarmed.

In menu7.html, line 19 switches between:
<tr><td width=100px><b>ARMED </b></td><td><table class="usr_table1">
and
<tr><td width=100px><b>DISARMED </b></td><td><table class="usr_table1">

Does anybody have a clue how I could easily translate this from HTML to a dummy switch in Domoticz?
I could think of a few ways, but they all seem pretty bloated to me.

Also, does anybody know if and how I could read my Joblatron 433Mhz sensors using RFlink? It would be nice if I could give the alarm motion sensors a second use to turn on lights or such.

Thanks in advance!
Joep Urlings

joepurlings
Posts: 2
Joined: Saturday 02 September 2017 20:17
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by joepurlings » Thursday 12 October 2017 11:56

Hello,

Sorry for kicking my own topic, could someone please take a look and help me further?

I think I've already got to a point where the integration of this alarm system is quite usable, but status feedback would be very nice to have.

Kind regards,
Joep

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

Re: Jablotron Alarm network interface to Domoticz

Post by emme » Thursday 12 October 2017 12:46

I'm not really a python programmer rather than an entusiastic :P :P

try with regex:

Code: Select all

import re
re.sub('<[^>]*>', '', r)
this would return only ARMED and DISARMED as string... then with a simple if you can switch on of off the device
ciao
M
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!!

Thomasdc
Posts: 242
Joined: Wednesday 11 March 2015 20:13
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by Thomasdc » Tuesday 13 March 2018 23:04

Ant luck with coupling jablotron in domoticz? It would be nice to trigger the alarm, or get a signal when the alarm is triggered.. Also would it be nice to use the sensors connected to the alarm system in domoticz

kimot
Posts: 49
Joined: Saturday 25 November 2017 18:18
Target OS: Raspberry Pi
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by kimot » Friday 16 March 2018 14:03

Jablotron to Domoticz plugin exist.
But only for JA-80 867 Mhz devices.
You wrote about 433 MHz JA-63.

Open source and hardware router TURRIS OMNIA has built in Domoticz with Jablotron support.
Look at third image here:
https://doc.turris.cz/gadgets/domoticz
Or here:
https://doc.turris.cz/gadgets/
I am not using Jablotron, so you must find yourself any other details.

Maybe here:
https://github.com/CZ-NIC/domoticz-turris-gadgets

User avatar
sincze
Posts: 906
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi
Domoticz version: 3.8875
Location: Netherlands
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by sincze » Sunday 18 March 2018 16:07

kimot wrote:
Friday 16 March 2018 14:03
Jablotron to Domoticz plugin exist.
But only for JA-80 867 Mhz devices.
You wrote about 433 MHz JA-63.

Open source and hardware router TURRIS OMNIA has built in Domoticz with Jablotron support.
Look at third image here:
https://doc.turris.cz/gadgets/domoticz
Or here:
https://doc.turris.cz/gadgets/
I am not using Jablotron, so you must find yourself any other details.

Maybe here:
https://github.com/CZ-NIC/domoticz-turris-gadgets
Would be nice to have just the plugin in the current version of domoticz. :lol:
Without the plugin I am just able to monitor the Jablotron (Armed/Disarmed) via de PGx/y port.

https://gitlab.labs.nic.cz/turris/domot ... Dongle.cpp
https://gitlab.labs.nic.cz/turris/domot ... loDongle.h

And for the hardware types:

Code: Select all

{ HTYPE_JabloDongle, "Jablotron USB Turris Dongle" }
https://gitlab.labs.nic.cz/turris/domot ... XNames.cpp
https://gitlab.labs.nic.cz/turris/domot ... RFXNames.h

Code: Select all

friend class CJabloDongle;
https://gitlab.labs.nic.cz/turris/domot ... rdware.cpp
https://gitlab.labs.nic.cz/turris/domot ... Hardware.h

Code: Select all

HTYPE_JabloDongle
https://gitlab.labs.nic.cz/turris/domot ... Server.cpp

Code: Select all

#include "../hardware/JabloDongle.h"
https://gitlab.labs.nic.cz/turris/domot ... worker.cpp

But it looks like if you actually need som sort of a separate TURRIS USB dongle and not the JABLOTRON PC Interface to get it up and running.
Image
Image
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

Post Reply

Who is online

Users browsing this forum: ala666cz and 6 guests