fdegier / homebridge-jablotron-alarm

Homebridge plugin for connecting Jablotron JA-100 alarm systems to Homekit.
The Unlicense
26 stars 5 forks source link

Jablotron devices 'No Response' in Homekit #79

Closed spectrazureus closed 2 years ago

spectrazureus commented 2 years ago

Hi,

I have updated homebridge to 1.4.0 (running on docker), and also the jablotron plugin recently (v2.5.4), and now each time I restart homebridge, the jabloton devices are seen as "No Response". Before worked liked a charm... I extensively checked the config file etc checked the logs, all seems fine ... [3/30/2022, 6:55:25 PM] [Seguritec Pals] Accessory state for segment section_1 = set [3/30/2022, 6:55:25 PM] [Seguritec Pals] About to update state for accessory [section_1] : update = true; cachedState = null; newState = 1 [3/30/2022, 6:55:25 PM] [Seguritec Pals] Accessory state for segment pgm_1 = unset [3/30/2022, 6:55:25 PM] [Seguritec Pals] About to update state for accessory [pgm_1] : update = true; cachedState = null; newState = false [3/30/2022, 6:55:25 PM] [Seguritec Pals] Accessory state for segment pgm_2 = unset [3/30/2022, 6:55:25 PM] [Seguritec Pals] About to update state for accessory [pgm_2] : update = true; cachedState = null; newState = false [3/30/2022, 6:55:25 PM] [Seguritec Pals] Accessory state for segment pgm_3 = unset [3/30/2022, 6:55:25 PM] [Seguritec Pals] About to update state for accessory [pgm_3] : update = true; cachedState = null; newState = false [3/30/2022, 6:55:25 PM] [Seguritec Pals] Accessory state for segment pgm_4 = unset [3/30/2022, 6:55:25 PM] [Seguritec Pals] About to update state for accessory [pgm_4] : update = true; cachedState = null; newState = false [3/30/2022, 6:55:25 PM] [Seguritec Pals] Status refreshed for Jablotron service 1829099

any idea of the issue ? thanks

fdegier commented 2 years ago

Hi, thanks for the comment. Did you restart homebridge already?

I don't see any clues from the logs you shared.

spectrazureus commented 2 years ago

Yes multiple times maybe the HomeKit concentrator has been changed recently… but other devices are running fine

On Wed 30 Mar 2022 at 21:43, Fred de Gier @.***> wrote:

Hi, thanks for the comment. Did you restart homebridge already?

I don't see any clues from the logs you shared.

— Reply to this email directly, view it on GitHub https://github.com/fdegier/homebridge-jablotron-alarm/issues/79#issuecomment-1083552698, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXG36OLRSUVJSHUY7CJQDLVCSVEDANCNFSM5SCT4DGQ . You are receiving this because you authored the thread.Message ID: @.***>

fdegier commented 2 years ago

Ok. There are a few weird things going on in the connection due to the conflict as well as Jablotron making changes. Along that we also made changes and it might be that we introduced regression. I hardly ever see errors, so its hard to test.

What I will do is re-release an older version so we can make sure that it wasn't a regression.

misncz commented 2 years ago

I’m running Homebridge 1.4.0 on Raspberry and have no issues, no errors in logs After uograde to 1.4.0 I saw all accessories managed by Homebridge as “No Response” but that was caused by Roomba plugin not working correctly. Upon its uninstallation it all started working fine

I’d try to reset accessories cache and re-add them to Homekit

fdegier commented 2 years ago

It's the same for me, I wonder what is different in our setup.

misncz commented 2 years ago

“No Response” here might indicate issue with comms Homebridge -> Homekit. If it was plugin you’d see plugin errors and not that it properly fetched statuses for your PGMs from Jablotron cloud As I said - it might be caused by accessories cached by homebridge itself

misncz commented 2 years ago

Also, upon upgrade to 1.4.0 homekit added all my Jablotron accessories as new (added in default room) …

fdegier commented 2 years ago

@spectrazureus actually I just rebuild my entire homekit because all my homebridge accessories were not responding anymore. Only on my account, other people in my home were fine.

Do your other homebridge accessories still work ?

spectrazureus commented 2 years ago

Other homebridge accessories are still working fine

On Wed 30 Mar 2022 at 22:30, Fred de Gier @.***> wrote:

@spectrazureus https://github.com/spectrazureus actually I just rebuild my entire homekit because all my homebridge accessories were not responding anymore. Only on my account, other people in my home were fine.

Do your other homebridge accessories still work ?

— Reply to this email directly, view it on GitHub https://github.com/fdegier/homebridge-jablotron-alarm/issues/79#issuecomment-1083595006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXG36JQTNPN5SYLSMABI4TVCS2WTANCNFSM5SCT4DGQ . You are receiving this because you were mentioned.Message ID: @.***>

spectrazureus commented 2 years ago

Upgraded to new version today Something seems broken somewhere

On Wed 30 Mar 2022 at 22:30, Fred de Gier @.***> wrote:

@spectrazureus https://github.com/spectrazureus actually I just rebuild my entire homekit because all my homebridge accessories were not responding anymore. Only on my account, other people in my home were fine.

Do your other homebridge accessories still work ?

— Reply to this email directly, view it on GitHub https://github.com/fdegier/homebridge-jablotron-alarm/issues/79#issuecomment-1083595006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXG36JQTNPN5SYLSMABI4TVCS2WTANCNFSM5SCT4DGQ . You are receiving this because you were mentioned.Message ID: @.***>

fdegier commented 2 years ago

@spectrazureus can you elaborate? Share logs?

spectrazureus commented 2 years ago

Same logs than before Looks like when updating status in Home on iOS it failed to get status ….

On Thu 31 Mar 2022 at 19:47, Fred de Gier @.***> wrote:

@spectrazureus https://github.com/spectrazureus can you elaborate? Share logs?

— Reply to this email directly, view it on GitHub https://github.com/fdegier/homebridge-jablotron-alarm/issues/79#issuecomment-1084919935, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXG36JPT3YWXJPMJ4RRLITVCXQK3ANCNFSM5SCT4DGQ . You are receiving this because you were mentioned.Message ID: @.***>

spectrazureus commented 2 years ago

fixed the issue, strangely if I remove the homepod of my house (2ndary house in Spain; 1st device connected in hubs) where the Alarm is (but the homebridge, synology docker & plugin are in Paris and connect through cloud to jablotron cloud), then home hubs is no longer the one in Spain, but now home hubs is now my homepod in paris .... in theory, it should work from everywhere ? Or Did I miss something?

On Wed, Mar 30, 2022 at 10:30 PM Fred de Gier @.***> wrote:

@spectrazureus https://github.com/spectrazureus actually I just rebuild my entire homekit because all my homebridge accessories were not responding anymore. Only on my account, other people in my home were fine.

Do your other homebridge accessories still work ?

— Reply to this email directly, view it on GitHub https://github.com/fdegier/homebridge-jablotron-alarm/issues/79#issuecomment-1083595006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXG36JQTNPN5SYLSMABI4TVCS2WTANCNFSM5SCT4DGQ . You are receiving this because you were mentioned.Message ID: @.***>

fdegier commented 2 years ago

It shouldn't matter but homekit something is weird especially with HomePod.

spectrazureus commented 2 years ago

Plug-in logs are clean So maybe accessories cache ….

On Wed 30 Mar 2022 at 22:10, misncz @.***> wrote:

“No Response” here might indicate issue with comms Homebridge -> Homekit. If it was plugin you’d see plugin errors and not that it properly fetched statuses for your PGMs from Jablotron cloud As I said - it might be caused by accessories cached by homebridge itself

— Reply to this email directly, view it on GitHub https://github.com/fdegier/homebridge-jablotron-alarm/issues/79#issuecomment-1083577410, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXG36NWFLM65Q3EZGF5XVTVCSYMTANCNFSM5SCT4DGQ . You are receiving this because you authored the thread.Message ID: @.***>

spectrazureus commented 2 years ago

Hi Is it possible to use Homebridge/docker with this plug-in running in Paris while the house in Spain? Doesn’t seem to work unless I put my Apple hubs in Paris as #1 in hubs list but in this case my local devices in Spain are seen as ‘No Response’ If I do the logical thing apptv4k-Spain the #1 hub in my home in Spain then jablotron devices are not detected

Any clue except to build a small raspberry pi in Spain on same network ? Can I play with routing and firewalls to make it works ?

On Thu 31 Mar 2022 at 19:47, Fred de Gier @.***> wrote:

@spectrazureus https://github.com/spectrazureus can you elaborate? Share logs?

— Reply to this email directly, view it on GitHub https://github.com/fdegier/homebridge-jablotron-alarm/issues/79#issuecomment-1084919935, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXG36JPT3YWXJPMJ4RRLITVCXQK3ANCNFSM5SCT4DGQ . You are receiving this because you were mentioned.Message ID: @.***>

fdegier commented 2 years ago

I think your problem is Homekit related, not to this plugin. The plugin just talks to the Jablotron API and reports back to your homekit.

So in theory, if I have access to your Jablotron account I can add it to my homekit and it will still work.

spectrazureus commented 2 years ago

[4/2/2022, 2:07:27 AM] [HB Supervisor] OS: Linux 4.4.180+ x64 [4/2/2022, 2:07:27 AM] [HB Supervisor] Node.js v16.13.0 /usr/local/bin/node [4/2/2022, 2:07:27 AM] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge [4/2/2022, 2:07:27 AM] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [4/2/2022, 2:07:34 AM] [Homebridge UI] Homebridge Config UI X v4.42.0 is listening on :: port 8581 [4/2/2022, 2:07:35 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules [4/2/2022, 2:07:35 AM] [HB Supervisor] Started Homebridge v1.4.0 with PID: 374 hostname: homebridge: Host not found [4/2/2022, 2:07:37 AM] Loaded config.json with 0 accessories and 3 platforms. [4/2/2022, 2:07:37 AM] Loaded 0 cached accessories from cachedAccessories. [4/2/2022, 2:07:37 AM] --- [4/2/2022, 2:07:39 AM] Loaded plugin: @. [4/2/2022, 2:07:39 AM] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg' [4/2/2022, 2:07:39 AM] --- [4/2/2022, 2:07:39 AM] Loaded plugin: @. [4/2/2022, 2:07:39 AM] Registering platform 'homebridge-jablotron.Jablotron' [4/2/2022, 2:07:39 AM] --- [4/2/2022, 2:07:39 AM] Loaded plugin: @.*** [4/2/2022, 2:07:39 AM] Registering platform 'homebridge-config-ui-x.config' [4/2/2022, 2:07:39 AM] --- [4/2/2022, 2:07:39 AM] Loading 3 platforms... [4/2/2022, 2:07:39 AM] [Config] Initializing config platform... [4/2/2022, 2:07:39 AM] [Config] Running in Service Mode [4/2/2022, 2:07:39 AM] [Seguritec Pals] Initializing Jablotron platform... [4/2/2022, 2:07:39 AM] Initializing platform accessory 'Home'... [4/2/2022, 2:07:39 AM] [Seguritec Pals] Available target states for Home => 3,1 [4/2/2022, 2:07:39 AM] Initializing platform accessory 'sirena exterior'... [4/2/2022, 2:07:39 AM] Initializing platform accessory 'termoestat'... [4/2/2022, 2:07:39 AM] Initializing platform accessory 'porta garage'... [4/2/2022, 2:07:39 AM] Initializing platform accessory 'porta entrada'... [4/2/2022, 2:07:39 AM] [Camera FFmpeg] Initializing Camera-ffmpeg platform... [4/2/2022, 2:07:39 AM] [Seguritec Pals] Starting Jablotron platform... [4/2/2022, 2:07:39 AM] [Seguritec Pals] Initialising Jablotron service 1829099 [4/2/2022, 2:07:39 AM] [Seguritec Pals] Refreshing status for Jablotron service 1829099 [4/2/2022, 2:07:40 AM] [Camera FFmpeg] [Hikvision Garage] Configuring unbridged accessory... Setup Payload: X-HM://0024DGD2QBDCD Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐
│ 546-25-074 │
└────────────┘

[4/2/2022, 2:07:40 AM] Hikvision Garage 11FB is running on port 44368. [4/2/2022, 2:07:40 AM] Please add [Hikvision Garage 11FB] manually in Home app. Setup Code: 546-25-074 [4/2/2022, 2:07:40 AM] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 0D04) is running on port 51669. [4/2/2022, 2:07:41 AM] [Seguritec Pals] Accessory state for segment section_1 = set [4/2/2022, 2:07:41 AM] [Seguritec Pals] About to update state for accessory [section_1] : update = true; cachedState = null; newState = 1 [4/2/2022, 2:07:41 AM] [Seguritec Pals] Accessory state for segment pgm_1 = unset [4/2/2022, 2:07:41 AM] [Seguritec Pals] About to update state for accessory [pgm_1] : update = true; cachedState = null; newState = false [4/2/2022, 2:07:41 AM] [Seguritec Pals] Accessory state for segment pgm_2 = unset [4/2/2022, 2:07:41 AM] [Seguritec Pals] About to update state for accessory [pgm_2] : update = true; cachedState = null; newState = false [4/2/2022, 2:07:41 AM] [Seguritec Pals] Accessory state for segment pgm_3 = unset [4/2/2022, 2:07:41 AM] [Seguritec Pals] About to update state for accessory [pgm_3] : update = true; cachedState = null; newState = false [4/2/2022, 2:07:41 AM] [Seguritec Pals] Accessory state for segment pgm_4 = unset [4/2/2022, 2:07:41 AM] [Seguritec Pals] About to update state for accessory [pgm_4] : update = true; cachedState = null; newState = false [4/2/2022, 2:07:41 AM] [Seguritec Pals] Status refreshed for Jablotron service 1829099

Maybe due to DSM 7 on my Synology ... ffmpeg camera works ... why jablotron plugin is not ?

On Thu, Mar 31, 2022 at 7:47 PM Fred de Gier @.***> wrote:

@spectrazureus https://github.com/spectrazureus can you elaborate? Share logs?

— Reply to this email directly, view it on GitHub https://github.com/fdegier/homebridge-jablotron-alarm/issues/79#issuecomment-1084919935, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXG36JPT3YWXJPMJ4RRLITVCXQK3ANCNFSM5SCT4DGQ . You are receiving this because you were mentioned.Message ID: @.***>

spectrazureus commented 2 years ago

Yes absolutely The issue was coming from jablotron (site down couple of hours)

On Tue 11 Oct 2022 at 11:12, Fred de Gier @.***> wrote:

I think your problem is Homekit related, not to this plugin. The plugin just talks to the Jablotron API and reports back to your homekit.

So in theory, if I have access to your Jablotron account I can add it to my homekit and it will still work.

— Reply to this email directly, view it on GitHub https://github.com/fdegier/homebridge-jablotron-alarm/issues/79#issuecomment-1274371749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWXG36PQNFWIWJHEFWXAZ3LWCUVQVANCNFSM5SCT4DGQ . You are receiving this because you were mentioned.Message ID: @.***>