kukulich / home-assistant-jablotron100

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

Problem of motion detector #19

Closed fxxer closed 3 years ago

fxxer commented 3 years ago

One of mine motion detector (I mean the "Problem of motion detector" entity) is always showing state Problem. I have logs turned on, but I don't see any issue there. Also the sensor is working properly and I have the motions changes in HA. How can I clear the problem state?

Shamshala commented 3 years ago

Check whether F-Link reports the same or not.

kukulich commented 3 years ago

@fxxer What version of integration do you use?

fxxer commented 3 years ago

I don't have F-Link app. I used to have J-Link (if I remember correctly), can I download them on Jablotron site? I am on the newest version 3.2.0... on older version 1.. I didn't have this sensor in "problem" state.

kukulich commented 3 years ago

@fxxer

  1. Please enable debug logs for jablotron100 integration
  2. There's "Enable debugging" option in integration options
  3. And enable the option "Log devices packets"

Try to active the motion sensor then so it logs something.

fxxer commented 3 years ago

I have debugging on. Where is the log? /config/logs is empty

kukulich commented 3 years ago

@fxxer Did you enabled debug on both places? In logger and in integration options?

fxxer commented 3 years ago
2021-01-14 16:32:26 DEBUG (ThreadPoolExecutor-2_0) [custom_components.jablotron100] d80400200000
2021-01-14 16:32:26 DEBUG (ThreadPoolExecutor-2_0) [custom_components.jablotron100] 5508247d4001607d1001
2021-01-14 16:32:32 DEBUG (ThreadPoolExecutor-2_0) [custom_components.jablotron100] 5508247d4001b07d3001
2021-01-14 16:32:37 DEBUG (ThreadPoolExecutor-2_0) [custom_components.jablotron100] d80400200000
2021-01-14 16:32:48 DEBUG (ThreadPoolExecutor-2_0) [custom_components.jablotron100] d80400000000
kukulich commented 3 years ago

Possible fix in release 3.2.1

fxxer commented 3 years ago

After update the problem state still remains:

2021-01-14 22:07:58 DEBUG (ThreadPoolExecutor-2_0) [custom_components.jablotron100] d80400200000
2021-01-14 22:07:58 DEBUG (ThreadPoolExecutor-2_0) [custom_components.jablotron100] 5508247d4001601b7608
2021-01-14 22:08:02 DEBUG (ThreadPoolExecutor-2_0) [custom_components.jablotron100] 5508247d4001901b9608
kukulich commented 3 years ago

@fxxer Yes, I’m sorry - remove the file config/.storage/jablotron and restart HA

fxxer commented 3 years ago

Ok, now the state is back to OK. What was the problem? :) and thanks for solving it.