kukulich / home-assistant-jablotron100

Home Assistant custom component for JABLOTRON 100+ alarm system
MIT License
67 stars 24 forks source link

Jablotron - battery state issue #35

Closed RRobby closed 2 years ago

RRobby commented 2 years ago

Good evening , I integrated my HA with my alarm system Jablotron JA-106K and all works like a charms ( sensors are ok ) but I noticed that unfortunatly I can't get battery states of wireless external sensors and outdoor siren. For example :

-Battery level of motion detector - entity ID : sensor.battery_level_of_motion_detector_device_29 - Status : Unavailable

-Battery level of outdoor siren - entity ID: sensor.battery_level_of_outdoor_siren_device_12 - Status: Restored

-Battery load voltage of outdoor siren (device 12) - entity ID : sensor.battery_load_voltage_of_outdoor_siren_device_12 - Status : Restored

Could you help me to solve this issue ? Is this type of check supported by integration ? Actually I'm running latest version of HA and Jablotron integration too. (Screenshots in attach)

Thank you in advance for your precious helps Roberto Battery_states Jablotron_version

kukulich commented 2 years ago

@RRobby you can tey debug:

  1. First enable debug mode for jablotron integration via “logger” integration
  2. enable debug in jablotron integration options

It should be enough to enabled only “Log all devices packets”

Try to log the debug for some time and then post it please.

RRobby commented 2 years ago

@kukulich I Jaroslav ,thanks for your quick reply. I'm not so configend about log and debug on HA ...anyway

  1. Refering to your fisrt point I inserted the follwing statements under my configuration.yaml , is it right ? logger: default: debug Obviously, after that I restarted HA
  2. Refering to second point how to enable debug in Jablotron integration ? I don't see this options clicking on Jablotron 3 dots ( see screenshot)

Once activated , which is the repository of this logs? Thanks Roberto

Jablotron_options

kukulich commented 2 years ago

@RRobby use the “configure” - in your screenshot on bottom left

RRobby commented 2 years ago

@kukulich

Jablotron_configure Hi, in "configure" no debug options , I can insert only my alarm code , number of devices and PG; i used this button to configure initially all my 37 devices . If I enter them again I will have to remap them all.

kukulich commented 2 years ago

@RRobby just submit the form without any change. And the same for next form.

RRobby commented 2 years ago

@kukulich Ohhh , ok, perfect, just activated. Let me know how long do I have to leave it on and where can I retrieve the logs. ;-)

Jablotron_debug_all_packets

kukulich commented 2 years ago

Check the logs - we need to log lines with the problematic devices.

RRobby commented 2 years ago

@kukulich Good morning Jaroslav, in attach logs grabbed from HA. I filtered only lines containg del following keyword and splitted in 3 different files ( hopefully useful for analysis)

Thaks sensor.battery_level_of_motion_detector_device_XX.log sensor.battery_level_of_outdoor_siren_device_12.log sensor.battery_load_voltage_of_outdoor_siren_device_12.log

kukulich commented 2 years ago

@RRobby I'm sorry these are not the logs I expected. I did not find any logs from the jablotron integration.

kukulich commented 2 years ago

https://github.com/kukulich/home-assistant-jablotron100#debugging

RRobby commented 2 years ago

@kukulich I inserted debug used in other thread hopping more usefull . I captured (/config/home-assistant.log) and filtered only lines containg jablotron and/or DEBUG level. Thanks again Jaroslav Jablotron(home-assistant.log).txt

kukulich commented 2 years ago

It looks your central unit does not report the battery states. There's a change it's reported in some other way but it's debuggable only with F-Link and Wireshark.