mattsaxon / hass-jablotron80 Goto Github PK
View Code? Open in Web Editor NEWHome Assistant integration to support Jablotron series 80 control panels
License: MIT License
Home Assistant integration to support Jablotron series 80 control panels
License: MIT License
I am getting lots of these errors: Unknown status packet is b'\x82\x02=\xff\x00\x00\x00\x00' Always with different numbers. Do you have any idea?
Getting this error in Homeassistant, is it possible to add it so plugin is still working in the future?
No 'version' key in the manifest file for custom integration 'jablotron'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'jablotron'
Currently I have the Bluetooth dongle. Do you think that it would be supported? At the moment the communication is handled via serial port but I'm not sure if the Home Asisstant OS drivers would find out the Bluetooth as a COM device.
My configuration:
Version | core-2021.6.5
Installation Type | Home Assistant Supervised
Development | false
Supervisor | true
Docker | true
Virtual Environment | false
Python Version | 3.8.9
Operating System Family | Linux
Operating System Version | 4.19.0-16-amd64
CPU Architecture | x86_64
GitHub API | ok
Installed Version | 1.12.4
Stage | running
configuration.yaml (fragment):
alarm_control_panel:
- platform: Jablotron80
serial_port: /dev/serial/by-id/usb-Silicon_Labs_JABLOTRON_serial_interface_0001-if00-port0
Folder
custom_components/Jablotron80
with files:
__init__.py
alarm_control_panel.py
manifest.json
Problem: Check configuration reports:
Configuration invalid
and
Platform error alarm_control_panel.Jablotron80 - Integration 'Jablotron80' not found.
I tried to rename "Jablotron80" to "jablotron" and "Jablotron" (including the folder name), but result always is the same.
I would like to detect when the wireless siren losts power.
On the keypad, this triggers a warning, but I've failed so far to identify the corresponding packet in the data stream.
@mattsaxon do you have, by any chance, an idea on that matter ?
Hi Matt,
I want to give it a try.
I was wondering which code i should use as the code: !secret alarm_code ?
should this be the existing code I normally use to arm/disarm my system ?
Or should it be the aministrator code used for configuration of my system ?
Best regards, Lambert
Setup:
Jablotron80
Raspberry
Docker installation of HASS
USB device is connected to the container.
Setup didn't work yet.
State of Jablotron Alarm in Home Assistant is unknown
home-assistant logging state:
2020-07-27 12:56:01 DEBUG (MainThread) [custom_components.jablotron.alarm_control_panel] Sending startup message
2020-07-27 12:56:02 DEBUG (MainThread) [custom_components.jablotron.alarm_control_panel] Successfully sent startup message
2020-07-27 12:56:02 DEBUG (MainThread) [custom_components.jablotron.alarm_control_panel] send_command_loop() enter
2020-07-27 12:56:02 DEBUG (ThreadPoolExecutor-1_0) [custom_components.jablotron.alarm_control_panel] Unknown status packet is b'\x82\x01`\x00\x00\x00\x00\x00'
Can you help me out?
What kind of information do you extra need?
thanks!
Is there a possibility to skip (exclude) the (alarm) code line in configuration or something in order to always use the keypad on alarm control panel in HA? Right now I am arming/arming home/disarming without the code entered in HA alarm card - just the buttons.
Searching the internet about a ZWave meter-report I stumbled on your HASS-Jablotron80 interface. As I myself have a J80 alarm system installed, I'm curious if your interface also supports the sensor readings like the magnetic door/window and PIR sensors?
Thanks in advance, best regards,
Jan Willem Teunisse
I tried to move the HA to Intel NUC with Proxmox. HA is running in Ubuntu docker.
When I restart Ubuntu and HA starts loading I am getting these errors. The Jablotron alarm is not connecting in HA. Any idea ? I have search the web but could not find proper answer.
[ 73.684771] usb 3-1: input irq status -75 received
[ 73.701027] usb 3-1: input irq status -75 received
[ 73.717277] usb 3-1: input irq status -75 received
[ 73.732579] usb 3-1: input irq status -75 received
[ 73.748809] usb 3-1: input irq status -75 received
[ 73.765066] usb 3-1: input irq status -75 received
[ 73.781314] usb 3-1: input irq status -75 received
[ 73.796558] usb 3-1: input irq status -75 received
[ 73.812847] usb 3-1: input irq status -75 received
[ 73.829107] usb 3-1: input irq status -75 received
[ 73.845386] usb 3-1: input irq status -75 received
[ 73.860635] usb 3-1: input irq status -75 received
[ 73.876889] usb 3-1: input irq status -75 received
[ 73.893142] usb 3-1: input irq status -75 received
[ 73.909397] usb 3-1: input irq status -75 received
[ 73.924699] usb 3-1: input irq status -75 received
[ 73.940889] usb 3-1: input irq status -75 received
[ 73.957179] usb 3-1: input irq status -75 received
[ 73.972452] usb 3-1: input irq status -75 received
[ 73.988689] usb 3-1: input irq status -75 received
[ 74.004948] usb 3-1: input irq status -75 received
[ 74.021214] usb 3-1: input irq status -75 received
[ 74.036490] usb 3-1: input irq status -75 received
[ 74.052741] usb 3-1: input irq status -75 received
[ 74.069034] usb 3-1: input irq status -75 received
[ 74.085276] usb 3-1: input irq status -75 received
[ 74.100518] usb 3-1: input irq status -75 received
[ 74.116773] usb 3-1: input irq status -75 received
[ 74.133024] usb 3-1: input irq status -75 received
[ 74.149288] usb 3-1: input irq status -75 received
[ 74.164716] usb 3-1: input irq status -75 received
[ 74.180983] usb 3-1: input irq status -75 received
[ 74.197221] usb 3-1: input irq status -75 received
[ 74.212459] usb 3-1: input irq status -75 received
[ 74.228714] usb 3-1: input irq status -75 received
[ 74.244973] usb 3-1: input irq status -75 received
[ 74.261387] usb 3-1: input irq status -75 received
[ 74.276610] usb 3-1: input irq status -75 received
[ 74.292864] usb 3-1: input irq status -75 received
[ 74.309084] usb 3-1: input irq status -75 received
[ 74.325374] usb 3-1: input irq status -75 received
Is there a chance to send states and control the alarm with MQTT Alarm Control Panel ? I have tried the "usb ip" in order to connect the alarm to HA in VM but I didn't success. Therefore the mqtt can be a better and easy solution.
Steps to reproduce:
I'll fix that issue
I got the integration working ::)).
Well that means i have the controle panel in Home assistant now.
And i can arm and disarm the system corectly.
When i arm the system and come home later ther is a waiting time before the alarm goes in a loud Sirene of 120db.
I hoped to see the trigger before this waiting time is gone because i do not want that loud sirene to hear everytime i want to check wether my system still works/triggers correctly on all devices.
Can i already see the trigger on that early moment (during the waiting time in which i can disarm the system) ?
Maybe using a slightly different automation ?
Many Thanks, Lambert
I have a JA-80T cable that doesn't work with this. However, I am able to perform beta testing and provide the necessary logs for debugging.
For those who are struggling with setup sharing the USB over the ethernet like I was ๐, please follow this link: https://derushadigital.com/other%20projects/2019/02/19/RPi-USBIP-ZWave.html
I can confirm the Jablotron Alarm its working between RPi as a server and Ubuntu in VM as a client with installed Hassio on docker.
At the the end in client side just use ..
$ dmesg | grep usb
$ dmesg | grep hid
.. to find out the correct device name.
Good luck
Hi all
I love this integration but also I'm a little jalous reagrding the people with the Jab100 integration, more specific on the statusof the Binary Sensors
I'm new to HA and have a Oasis 80 alarm
In May 2020 Matt wrote that sensor data is not available while the the alarm is in Unset mode.
The O-Link software has a menu where you can read the packets coming from the Control Panel (also in Unset mode)
I have noticed that everytime one of the sensors is triggered (I only tested the PIR's) the datastream changes.
Wouln't be possible to use this as part of the programm to identify the status of all sensors , but I mainly interested in Door and Garage sensors
thanks already
Hi @mattsaxon ,
hope you are doing well these days.
I have recently updated the HA and getting the error in logs with result that the alarm panel is not working. Any idea ?
Log Details (ERROR)
Logger: custom_components.jablotron.alarm_control_panel
Source: custom_components/jablotron/alarm_control_panel.py:158
First occurred: 12:05:41 AM (2 occurrences)
Last logged: 12:05:41 AM
The data stream is not recongisable as a JA-82 control panel. Please raise an issue at https://github.com/mattsaxon/HASS-Jablotron80/issues with this packet info [b'\x00\x00\x01\x01']
No packets
Thanks in advance
Hi
Thanks for your initiative for this project.
I have a JA80T cable and tried to connect my cable to the PI after installing your components.
After restarting Home assistant it imediatly activated my alarm ( Sirene).
In the logs i see:
2019-06-02 13:33:11 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for jablotron which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-06-02 13:33:11 DEBUG (ThreadPoolExecutor-0_2) [custom_components.jablotron.alarm_control_panel] Sending startup message
2019-06-02 13:33:11 DEBUG (ThreadPoolExecutor-0_2) [custom_components.jablotron.alarm_control_panel] Successfully sent startup message
2019-06-02 13:33:13 WARNING (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Data has not been received for 2 seconds, retry startup message
2019-06-02 13:33:13 DEBUG (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Sending startup message
2019-06-02 13:33:13 DEBUG (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Successfully sent startup message
2019-06-02 13:33:15 WARNING (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Data has not been received for 2 seconds, retry startup message
2019-06-02 13:33:15 DEBUG (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Sending startup message
2019-06-02 13:33:16 DEBUG (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Successfully sent startup message
2019-06-02 13:33:18 WARNING (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Data has not been received for 2 seconds, retry startup message
2019-06-02 13:33:18 DEBUG (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Sending startup message
2019-06-02 13:33:18 DEBUG (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Successfully sent startup message
2019-06-02 13:33:20 WARNING (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Data has not been received for 2 seconds, retry startup message
2019-06-02 13:33:20 DEBUG (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Sending startup message
2019-06-02 13:33:20 DEBUG (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Successfully sent startup message
2019-06-02 13:33:22 WARNING (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Data has not been received for 2 seconds, retry startup message
2019-06-02 13:33:22 DEBUG (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Sending startup message
2019-06-02 13:33:22 DEBUG (ThreadPoolExecutor-0_1) [custom_components.jablotron.alarm_control_panel] Successfully sent startup message
any idea how to solve this?
Should i send some service code as part of the configuration ?
Thanks, Lambert
Hi,
its possibile to change the code keypad and made it a virtual keypad (with *, #, ABC, etc..) to control from HA all aspects of the oasis alarm?
I cannot get the sensor name.
Note that i can see in on the alarm display,even of the alarm Is not armed
Jablotron state change detected: disarmed to arming
Jablotron state change detected: arming to armed_away
Jablotron state change detected: armed_away to triggered
Alarm triggered but source not known yet
jablotron state change detected: armed_away to triggered
Alarm triggered but source not known yet
Jablotron state change detected: armed_away to triggered
Alarm triggered but source not known yet
Jablotron state change detected: armed_away to triggered
Alarm triggered but source not known yet
Jablotron state change detected: armed_away to triggered
Alarm triggered but source not known yet
Jablotron state change detected: armed_away to triggered
Alarm triggered but source not known yet
Jablotron state change detected: armed_away to triggered
Alarm triggered but source not known yet
Unknown status packet is b'\x0e\x00\x00\x00\x00\x00'
Jablotron state change detected: triggered to disarmed
Unknown status packet is b'\xe8\x00\x00\x00\x00\x00'
Unknown status packet is b'\xe8\x00\x00\x00\x00\x00'
Unknown status packet is b'\xe8\x00\x00\x00\x00\x00'
I dont know if is only me but I dont see the alarm in HA after 0.103.0 update.
This is my HA log:
Error while setting up platform jablotron
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/jablotron/alarm_control_panel.py", line 44, in async_setup_platform
async_add_entities([JablotronAlarm(hass,config)])
TypeError: Can't instantiate abstract class JablotronAlarm with abstract methods supported_features
Hi,
I'm trying to make it work on a JA-82K control panel with a "simple" USB to TTL converter based on CP2102 chipset (https://www.play-zone.ch/en/usb-zu-ttl-serial-kable-debug-console-cable-cp2102.html) as JA-82T is very hard to find as it's end of life.
I'm on latest ha (0.109), running on hassOS 3.13 on a raspberry pi 3. Device is properly recognized and mapped to /dev/ttyUSB0. I've configured your custom component accordingly but only get an "unavailable" state and only "disarm" action which does nothing.
No error visible in ha log, even in debug mode. I only get :
2020-05-03 21:30:23 DEBUG (MainThread) [custom_components.jablotron.alarm_control_panel] Sending startup message 2020-05-03 21:30:23 DEBUG (MainThread) [custom_components.jablotron.alarm_control_panel] Successfully sent startup message 2020-05-03 21:30:23 DEBUG (MainThread) [custom_components.jablotron.alarm_control_panel] send_command_loop() enter
I tried hexdump /dev/ttyUSB0
but nothing is shown. Same after sending echo -ne โ\x00\x00\x01\x01โ > /dev/ttyUSB0
.
Using the same cable on Windows with Olink software, I'm able to see the current alarm state (which zone is set for instance) and see data in the "packets" view. Here is the data I get:
`Alarm triggered:
E8 02 0A FF
Not armed:
ED 40 40 00 31 ** ** ** ** FF
Arm ABC:
A1 FF
E3 10 01 16 26 08 30 4A FF
E8 0E 4B FF
ED 53 4C 00 3F 00 00 32 02 FF
E8 0E 4B FF
E8 0E 4B FF
B8 FF
B8 FF
ABC armed
ED 53 4C 00 3F 0D 00 00 1A FF
ARM A only:
A1 FF
E3 10 01 16 28 0D 2F 7F FF
A armed:
ED 41 40 00 09 0C 00 00 7E FF `
I'm a bit out of options, can you help ?
Hi @mattsaxon,
can you please update the docs with how to install it in HACS?
I am getting some errors: Repostitory structure for V1.0 is not compliant
Thanks
hi
i am new in homeassistant world ...
i have Jablotron Control Panel JA-83 + serial cable JA-80T
HA 0.18.5 on NAS Synology 220+ in Docker
serial port i see how:
after installation and startup in HA, control panel will end after a few seconds with GSM error, shortly before GSM error, the message "complete entry" appears on the keyboard screen
can you help with that?
I use OASIS (Jablotron-80) and JA-80T cable.
My conf is the following:
alarm_control_panel:
- platform: Jablotron80
serial_port: /dev/ttyUSB0
code: 8080
code_panel_arm_required: False
code_panel_disarm_required: True
code_arm_required: False
code_disarm_required: True
sensor_names:
3: "Keyboard"
4: "Siren"
5: "Sensor 1"
6: "Sensor 2"
7: "Sensor 3"
As a result I have in my Home Assistant one new object "alarm_control_panel.jablotron_alarm" which is always in "unavailable" state. And that is all. I tried to arm and disarm my Jablotron. I also created alarms by moving my hand near the sensors. The alarm worked and the siren sounded, but no events were recorded in the Home Assistant.
Hi mattsaxon
I have the Jablotron JA-60 System. This system can also be controlled over a seria bus. There is an existing software "ComLink". It would be veeery nice, if on could implement the JA-60 system in Home Assistant. Do you think, this should be possible? How can I help you to make this working?. Or what do I have to modify in the JA-80 implementation that this works with the JA-60 system? Thank you very much for your help.
Cheers
Alois
Hi,
i get this error in the homeassistant log.
2020-01-27 14:20:21 WARNING (ThreadPoolExecutor-0_0) [custom_components.jablotron.alarm_control_panel] Unknown status packet is b'\x82\x01!\x00\x00\x00\x00\x00' 2020-01-27 14:20:22 WARNING (ThreadPoolExecutor-0_0) [custom_components.jablotron.alarm_control_panel] Unknown status packet is b'\x82\x01!\x00\x00\x00\x00\x00' 2020-01-27 14:20:23 WARNING (MainThread) [custom_components.jablotron.alarm_control_panel] Timed out waiting for change of state, retry 2020-01-27 14:20:23 DEBUG (MainThread) [custom_components.jablotron.alarm_control_panel] state: disarmed 2020-01-27 14:20:23 DEBUG (MainThread) [custom_components.jablotron.alarm_control_panel] sending *1 2020-01-27 14:20:24 WARNING (ThreadPoolExecutor-0_0) [custom_components.jablotron.alarm_control_panel] Unknown status packet is b'\x82\x01!\x00\x00\x00\x00\x00' 2020-01-27 14:20:24 DEBUG (MainThread) [custom_components.jablotron.alarm_control_panel] sending packet 1, message: b'\x00\x02\x01\x8f' 2020-01-27 14:20:25 DEBUG (MainThread) [custom_components.jablotron.alarm_control_panel] sending packet 2, message: b'\x00\x02\x01\x81' 2020-01-27 14:20:26 WARNING (ThreadPoolExecutor-0_0) [custom_components.jablotron.alarm_control_panel] Unknown status packet is b'\x82\x01!\x00\x00\x00\x00\x00' 2020-01-27 14:20:30 WARNING (ThreadPoolExecutor-0_0) [custom_components.jablotron.alarm_control_panel] Unknown status packet is b'\x82\x01!\x00\x00\x00\x00\x00'
Now i can't activate alarm with the external keypad
What i have to do?
Not sure if this is the right place, but would a connection to the USB port also work? I'm using that to connecct to one specific workstation and would idealy split that use to also connect it to a rpi so homeassistant can use the PIRs... Do you have a tutorial somewhere on how you built it hardware wise?
Hi,
I have a question about the alarm arming button. Right now I have in HA only ARM HOME and ARM AWAY. I am also exposing the alarm in Homekit from HA and there I can see also the ARM NIGHT option. All three ARMING states lock my alarm differently and how they should - btw it so far works flawlessly so big thanks to you ๐ But I would like to ask you how can I add the ARM NIGHT in HA alarm control panel too or perhaps change the ARM HOME to ARM NIGHT button. Thanks a lot
HI, please help me.
I've a fresh installation of Homeassistant in a VM on my Synology. Connected to the syno I've Jablotron Alarms JA-82T PC Interface (when I'm using it with WindowsVM and Olinks Software it works like a charm). My Jablotron is an Oasis 80.
I've also copied the custom_configuration files into /config folder.
my current configuration look like this.
alarm_control_panel:
- platform: Jablotron80
serial_port: /dev/hidraw1
code: !secret jablo_pwd
code_panel_arm_required: False
code_panel_disarm_required: True
code_arm_required: False
code_disarm_required: False
sensor_names:
1: "Front Door"
2: "Garden Door"
3: "Bedroom"
but I only see the control panel in lovelace without any function, also no new sensors are detected.
I've tried different serial_ports but without any success.
I've also tried the whole setup on a Raspberry Pi, but restarting HA was very slow and sometimes it completely crashed for a long time.
please tell me what I have wrong in my configuration -
thanks a lot
Joey
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.