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.

Moderators: leecollings, remb0

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

Jablotron Alarm network interface to Domoticz

Post by joepurlings »

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 / ODroid
Domoticz version:
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by joepurlings »

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: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by emme »

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
The most dangerous phrase in any language is:
"We always done this way"
Thomasdc
Posts: 133
Joined: Wednesday 11 March 2015 19:13
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by Thomasdc »

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: 104
Joined: Saturday 25 November 2017 17:18
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by kimot »

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
RPi2 Domoticz v 4.10717
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by sincze »

kimot wrote: Friday 16 March 2018 13: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
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by Brutus »

Anyone who has a Jablotron 100 series alarm? And the ability to communicate with the alarm over ethernet?
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
wetzeljipi
Posts: 7
Joined: Monday 15 August 2016 13:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by wetzeljipi »

I done it yesterday ;)
I use rs485 interface and a converter RS485 over ethernet
https://fr.aliexpress.com/item/32793508 ... 6c37N40Keu

It works well !!!
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by Brutus »

wetzeljipi wrote: Sunday 23 August 2020 9:15 I done it yesterday ;)
I use rs485 interface and a converter RS485 over ethernet
https://fr.aliexpress.com/item/32793508 ... 6c37N40Keu

It works well !!!
Thats great news. Could you tell us how you did it? How the connections work? What is visible in Domoticz? What hardware used in Domoticz.

Yust a little guide that could help us further.

Greetings Brutus.
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
wetzeljipi
Posts: 7
Joined: Monday 15 August 2016 13:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by wetzeljipi »

Actually,
I have create virtual dummies and I command it with my plug-in.
I can have all state of :
- all devices,
- PG
- and state of sections.
I can command all sections and PG.
I work with python plugin. I do and table of convertion of the id of device in jablotron and idx of virtual dummies.
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by Brutus »

Willing to share this plugin?
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
wetzeljipi
Posts: 7
Joined: Monday 15 August 2016 13:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by wetzeljipi »

Yes I can do, I have some change to do and I can share it.
I will do some comments in the code and I share it next week.
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by Brutus »

wetzeljipi wrote: Sunday 23 August 2020 11:41 Yes I can do, I have some change to do and I can share it.
I will do some comments in the code and I share it next week.
I'm looking forward to test this :)
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
wetzeljipi
Posts: 7
Joined: Monday 15 August 2016 13:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by wetzeljipi »

I post my plugin, it work with the RS485 interface and a passerel RS485 to ethernet
Attachments
plugin.py.zip
(4.1 KiB) Downloaded 68 times
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by Brutus »

Thnx for sharing. I was already looking at the needed interfaces. But the Jablotron JA-121T Serial interface doesn't come cheap.

Including a RS485 to netwerk converter your looking at 200 euro's that's a bit to expensive.

Hoping there will be a easyer and cheaper sollution maybe a python plugin that will talk to MyJablotron.

Someone had made a component for Home Assistant: https://github.com/plaksnor/HASS-JablotronSystem
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by sincze »

I would really really really appreciate Jablotron 80 support ;-)

https://github.com/eichstaedtk/smarthom ... /README.md

Worst case scenario would be to install HASS in Docker and sync the status to Domoticz :shock: :shock: :shock:
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Bliepie
Posts: 8
Joined: Thursday 28 November 2019 10:45
Target OS: Windows
Domoticz version:
Contact:

Re: Jablotron Alarm network interface to Domoticz

Post by Bliepie »

Hi,

I have connected my Jablotron 100 to Domoticz in the manner below, works well and I am satisfied.

http://www.jdkholding.nl/wp-content/res ... lotron.pdf

Kind regards,
Bliepie
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests