-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin Requirements #130
Comments
That should be enough but you will need to know controlport no, network, cbusname, application etc
You will also have to manually edit the config file on Homebridge as there isn't a GUI config for this module.
Have you tested the CNI using a tool like putty and the ports and then the CBus commands?
…________________________________
From: kapps7 ***@***.***>
Sent: Wednesday, August 3, 2022 11:31 am
To: anthonywebb/homebridge-cbus ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [anthonywebb/homebridge-cbus] Plugin Requirements (Issue #130)
Hi,
Im new to Cbus so please excuse the basic questions. I have a CNI which is the basic version of the Cbus network interface not the Shac or wise modules.
I can see the Cbus network online with the CNI. Should this be enough for me to use this plugin ?
Thanks
—
Reply to this email directly, view it on GitHub<#130>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AV5AHLZJUYE36LVQBE3B7W3VXHDUZANCNFSM55NCZDCQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
PUBLIC
|
@kapps7 |
Quite detailed instructions here. https://github.com/greiginsydney/Homebridge-cbus-installer/blob/master/SETUP.md |
Thanks guys. that's great, I can give that a go. |
Yes it will keep status both ways |
@DarylMc
[30/10/2022, 11:31:17] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge F321) is running on port 51603. |
I had the same issue. Check your config.json, that’s where my issue was.
Regards
Peter Constantopedos
…________________________________
From: kapps7 ***@***.***>
Sent: Sunday, October 30, 2022 11:42:15 AM
To: anthonywebb/homebridge-cbus ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [anthonywebb/homebridge-cbus] Plugin Requirements (Issue #130)
@DarylMc<https://github.com/DarylMc>
I followed the instructions from both the pages ie GreginSydney as well as the primary setup. I have the following logs. Homebridge is up. Cbus hasn't populated the config with the accessories. As per the logs it seems to have connected to the CNI. Not sure if I missed anything or whether there is a separate issue. Thanks.
000007B accepted by command: \05FF00FAFF00j' }
[30/10/2022, 11:31:03] [HB Supervisor] Stopping services...
[30/10/2022, 11:31:03] Got SIGTERM, shutting down Homebridge...
[30/10/2022, 11:31:08] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[30/10/2022, 11:31:11] [HB Supervisor] OS: Linux 5.15.61-v7l+ arm
[30/10/2022, 11:31:11] [HB Supervisor] Node.js v16.16.0 /opt/homebridge/bin/node
[30/10/2022, 11:31:11] [HB Supervisor] Homebridge Path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge
[30/10/2022, 11:31:11] [HB Supervisor] UI Path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[30/10/2022, 11:31:15] [Homebridge UI] Homebridge Config UI X v4.50.1 is listening on :: port 8581
[30/10/2022, 11:31:15] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[30/10/2022, 11:31:15] [HB Supervisor] Started Homebridge v1.5.0 with PID: 13719
[30/10/2022, 11:31:16] Loaded config.json with 0 accessories and 2 platforms.
[30/10/2022, 11:31:16] Loaded 0 cached accessories from cachedAccessories.
[30/10/2022, 11:31:16] ---
[30/10/2022, 11:31:16] Loaded plugin: ***@***.***
[30/10/2022, 11:31:17] Registering platform 'homebridge-cbus.CBus'
[30/10/2022, 11:31:17] ---
[30/10/2022, 11:31:17] Loading 2 platforms...
[30/10/2022, 11:31:17] [CBus] Initializing homebridge-cbus.CBus platform...
2022-10-30T00:31:17.014Z cbus:client Opening connection to C-Gate…
2022-10-30T00:31:17.021Z cbus:client C-Gate connection open.
2022-10-30T00:31:17.024Z cbus:client Connected to C-Gate server v2.11.4 (build 3251), syntax v1.0
2022-10-30T00:31:17.024Z cbus:client Configuring C-Gate session…
2022-10-30T00:31:17.026Z cbus:client C-Gate session estabished and configured at 20023:127.0.0.1
2022-10-30T00:31:17.028Z cbus:platform Loading the accessories list…
2022-10-30T00:31:17.028Z cbus:platform Registering the accessories list…
2022-10-30T00:31:17.032Z cbus:client sent command '[100] dbgetxml //BRONTE'
Setup Payload:
X-HM://00249AD8W96NE
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 476-26-896 │
└────────────┘
[30/10/2022, 11:31:17] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge F321) is running on port 51603.
2022-10-30T00:31:17.140Z cbus:client rx snippet 343 'Begin XML snippet'
2022-10-30T00:31:17.180Z cbus:client rx snippet 347 ''
2022-10-30T00:31:17.180Z cbus:client rx snippet 347 '295f5240-21ec-103b-ac63-c083a6b601fa2.31.0…'
2022-10-30T00:31:17.187Z cbus:client rx response { commandId: 100, code: 344, matched: false, processed: false, type: 'response', raw: '[100] 344 End XML snippet' }
2022-10-30T00:31:17.188Z cbus:client matched request '[100] dbgetxml //BRONTE' with response '[100] 344 End XML snippet' (0 pending requests)
2022-10-30T00:31:17.258Z cbus:platform Successfully fetched 6 applications, 99 groups and 0 units from C-Gate.
2022-10-30T00:31:33.256Z cbus:client rx event { time: '20221030-113133', code: 735, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00k (254: \05FF00FAFF00k)', type: 'event', raw: '#e# 20221030-113133 735 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00k (254: \05FF00FAFF00k)' }
2022-10-30T00:31:33.400Z cbus:client rx event { time: '20221030-113133', code: 765, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: k.', type: 'event', raw: '#e# 20221030-113133 765 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: k.' }
2022-10-30T00:31:33.491Z cbus:client rx event { time: '20221030-113133', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF00A86A59A6A5A9A986696AAAA596529AA600600A000000E7 accepted by command: \05FF00FAFF00k', type: 'event', raw: '#e# 20221030-113133 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF00A86A59A6A5A9A986696AAAA596529AA600600A000000E7 accepted by command: \05FF00FAFF00k' }
2022-10-30T00:31:33.552Z cbus:client rx event { time: '20221030-113133', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00k', type: 'event', raw: '#e# 20221030-113133 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00k' }
2022-10-30T00:31:33.612Z cbus:client rx event { time: '20221030-113133', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00k', type: 'event', raw: '#e# 20221030-113133 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00k' }
2022-10-30T00:31:52.372Z cbus:client rx event { time: '20221030-113152', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: 0529FF001EFFE7BD51BF4DB5 processed by network.', type: 'event', raw: '#e# 20221030-113152 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: 0529FF001EFFE7BD51BF4DB5 processed by network.' }
2022-10-30T00:31:52.436Z cbus:client rx event { time: '20221030-113152', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: 0501FF001EFFE7BA05CE8DDD processed by network.', type: 'event', raw: '#e# 20221030-113152 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: 0501FF001EFFE7BA05CE8DDD processed by network.' }
2022-10-30T00:31:56.275Z cbus:client rx event { time: '20221030-113156', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: 052DFF001EFFE7BA5C2ADAB1 processed by network.', type: 'event', raw: '#e# 20221030-113156 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: 052DFF001EFFE7BA5C2ADAB1 processed by network.' }
2022-10-30T00:31:56.547Z cbus:client rx event { time: '20221030-113156', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: 0528FF001EFFE7BA5C28DCB6 processed by network.', type: 'event', raw: '#e# 20221030-113156 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: 0528FF001EFFE7BA5C28DCB6 processed by network.' }
2022-10-30T00:32:33.625Z cbus:client rx event { time: '20221030-113233', code: 735, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00l (254: \05FF00FAFF00l)', type: 'event', raw: '#e# 20221030-113233 735 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00l (254: \05FF00FAFF00l)' }
2022-10-30T00:32:33.783Z cbus:client rx event { time: '20221030-113233', code: 765, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: l.', type: 'event', raw: '#e# 20221030-113233 765 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: l.' }
2022-10-30T00:32:33.875Z cbus:client rx event { time: '20221030-113233', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF00A86A59A6A5A9A986696AAAA596529AA600600A000000E7 accepted by command: \05FF00FAFF00l', type: 'event', raw: '#e# 20221030-113233 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF00A86A59A6A5A9A986696AAAA596529AA600600A000000E7 accepted by command: \05FF00FAFF00l' }
2022-10-30T00:32:33.939Z cbus:client rx event { time: '20221030-113233', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00l', type: 'event', raw: '#e# 20221030-113233 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00l' }
2022-10-30T00:32:33.996Z cbus:client rx event { time: '20221030-113233', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00l', type: 'event', raw: '#e# 20221030-113233 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00l' }
2022-10-30T00:33:34.008Z cbus:client rx event { time: '20221030-113334', code: 735, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00m (254: \05FF00FAFF00m)', type: 'event', raw: '#e# 20221030-113334 735 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00m (254: \05FF00FAFF00m)' }
2022-10-30T00:33:34.166Z cbus:client rx event { time: '20221030-113334', code: 765, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: m.', type: 'event', raw: '#e# 20221030-113334 765 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: m.' }
2022-10-30T00:33:34.258Z cbus:client rx event { time: '20221030-113334', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF00A86A59A6A5A9A986696AAAA596529AA600600A000000E7 accepted by command: \05FF00FAFF00m', type: 'event', raw: '#e# 20221030-113334 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF00A86A59A6A5A9A986696AAAA596529AA600600A000000E7 accepted by command: \05FF00FAFF00m' }
2022-10-30T00:33:34.322Z cbus:client rx event { time: '20221030-113334', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00m', type: 'event', raw: '#e# 20221030-113334 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00m' }
2022-10-30T00:33:34.379Z cbus:client rx event { time: '20221030-113334', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00m', type: 'event', raw: '#e# 20221030-113334 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00m' }
2022-10-30T00:34:34.392Z cbus:client rx event { time: '20221030-113434', code: 735, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00n (254: \05FF00FAFF00n)', type: 'event', raw: '#e# 20221030-113434 735 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00n (254: \05FF00FAFF00n)' }
2022-10-30T00:34:34.534Z cbus:client rx event { time: '20221030-113434', code: 765, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: n.', type: 'event', raw: '#e# 20221030-113434 765 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: n.' }
2022-10-30T00:34:34.626Z cbus:client rx event { time: '20221030-113434', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF0064595A99A556AA4566A699AA9951996500900A000000BE accepted by command: \05FF00FAFF00n', type: 'event', raw: '#e# 20221030-113434 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF0064595A99A556AA4566A699AA9951996500900A000000BE accepted by command: \05FF00FAFF00n' }
2022-10-30T00:34:34.690Z cbus:client rx event { time: '20221030-113434', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00n', type: 'event', raw: '#e# 20221030-113434 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00n' }
2022-10-30T00:34:34.746Z cbus:client rx event { time: '20221030-113434', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00n', type: 'event', raw: '#e# 20221030-113434 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00n' }
2022-10-30T00:35:34.760Z cbus:client rx event { time: '20221030-113534', code: 735, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00o (254: \05FF00FAFF00o)', type: 'event', raw: '#e# 20221030-113534 735 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00o (254: \05FF00FAFF00o)' }
2022-10-30T00:35:34.901Z cbus:client rx event { time: '20221030-113534', code: 765, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: o.', type: 'event', raw: '#e# 20221030-113534 765 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: o.' }
2022-10-30T00:35:34.994Z cbus:client rx event { time: '20221030-113534', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF0064595A99A556AA4566A699AA9951996500900A000000BE accepted by command: \05FF00FAFF00o', type: 'event', raw: '#e# 20221030-113534 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF0064595A99A556AA4566A699AA9951996500900A000000BE accepted by command: \05FF00FAFF00o' }
2022-10-30T00:35:35.059Z cbus:client rx event { time: '20221030-113535', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00o', type: 'event', raw: '#e# 20221030-113535 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00o' }
2022-10-30T00:35:35.114Z cbus:client rx event { time: '20221030-113535', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00o', type: 'event', raw: '#e# 20221030-113535 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00o' }
2022-10-30T00:36:35.127Z cbus:client rx event { time: '20221030-113635', code: 735, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00p (254: \05FF00FAFF00p)', type: 'event', raw: '#e# 20221030-113635 735 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00p (254: \05FF00FAFF00p)' }
2022-10-30T00:36:35.273Z cbus:client rx event { time: '20221030-113635', code: 765, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: p.', type: 'event', raw: '#e# 20221030-113635 765 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: p.' }
2022-10-30T00:36:35.365Z cbus:client rx event { time: '20221030-113635', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF0064595A99A556AA4566A699AA9951996500900A000000BE accepted by command: \05FF00FAFF00p', type: 'event', raw: '#e# 20221030-113635 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF0064595A99A556AA4566A699AA9951996500900A000000BE accepted by command: \05FF00FAFF00p' }
2022-10-30T00:36:35.425Z cbus:client rx event { time: '20221030-113635', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00p', type: 'event', raw: '#e# 20221030-113635 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00p' }
2022-10-30T00:36:35.486Z cbus:client rx event { time: '20221030-113635', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00p', type: 'event', raw: '#e# 20221030-113635 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00p' }
2022-10-30T00:37:35.498Z cbus:client rx event { time: '20221030-113735', code: 735, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00q (254: \05FF00FAFF00q)', type: 'event', raw: '#e# 20221030-113735 735 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00q (254: \05FF00FAFF00q)' }
2022-10-30T00:37:35.657Z cbus:client rx event { time: '20221030-113735', code: 765, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: q.', type: 'event', raw: '#e# 20221030-113735 765 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: q.' }
2022-10-30T00:37:35.749Z cbus:client rx event { time: '20221030-113735', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF0068565A9999595645A5956AA9AA91656900900500000000 accepted by command: \05FF00FAFF00q', type: 'event', raw: '#e# 20221030-113735 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF0068565A9999595645A5956AA9AA91656900900500000000 accepted by command: \05FF00FAFF00q' }
2022-10-30T00:37:35.809Z cbus:client rx event { time: '20221030-113735', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00q', type: 'event', raw: '#e# 20221030-113735 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00q' }
2022-10-30T00:37:35.869Z cbus:client rx event { time: '20221030-113735', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00q', type: 'event', raw: '#e# 20221030-113735 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00q' }
2022-10-30T00:38:35.882Z cbus:client rx event { time: '20221030-113835', code: 735, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00r (254: \05FF00FAFF00r)', type: 'event', raw: '#e# 20221030-113835 735 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa cc014 sent cmd (fastpci): FAFF00r (254: \05FF00FAFF00r)' }
2022-10-30T00:38:36.016Z cbus:client rx event { time: '20221030-113836', code: 765, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: r.', type: 'event', raw: '#e# 20221030-113836 765 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa got packet confirm: r.' }
2022-10-30T00:38:36.132Z cbus:client rx event { time: '20221030-113836', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF0068565A9999595645A5956AA9AA91656900900500000000 accepted by command: \05FF00FAFF00r', type: 'event', raw: '#e# 20221030-113836 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF0068565A9999595645A5956AA9AA91656900900500000000 accepted by command: \05FF00FAFF00r' }
2022-10-30T00:38:36.196Z cbus:client rx event { time: '20221030-113836', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00r', type: 'event', raw: '#e# 20221030-113836 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D8FF5800000000000000000000000000000000000000000000D1 accepted by command: \05FF00FAFF00r' }
2022-10-30T00:38:36.253Z cbus:client rx event { time: '20221030-113836', code: 734, processed: false, message: '//BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00r', type: 'event', raw: '#e# 20221030-113836 734 //BRONTE/254 296322d0-21ec-103b-ac9b-c083a6b601fa response: D6FFB000000000000000000000000000000000000000007B accepted by command: \05FF00FAFF00r' }
—
Reply to this email directly, view it on GitHub<#130 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHCPDBRTW7OB2QDQJODLXI3WFW76PANCNFSM55NCZDCQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Greig's script is how I last tested a build but there is some issues and a workaround here. |
@peterconn |
No, I followed your updated script then there was an issue with my json where the accessories were not populating. The issue was the top section of the script.
Regards
Peter Constantopedos
…________________________________
From: DarylMc ***@***.***>
Sent: Sunday, October 30, 2022 11:51:15 AM
To: anthonywebb/homebridge-cbus ***@***.***>
Cc: peterconn ***@***.***>; Mention ***@***.***>
Subject: Re: [anthonywebb/homebridge-cbus] Plugin Requirements (Issue #130)
@peterconn<https://github.com/peterconn>
What was wrong with the config?
Did you use Greig's setup script?
The script should create all the config settings.
greiginsydney/Homebridge-cbus-installer#22<greiginsydney/Homebridge-cbus-installer#22>
—
Reply to this email directly, view it on GitHub<#130 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHCPDBTDZKSY7ZEM2FDO7JTWFXBAHANCNFSM55NCZDCQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Even if Homebridge CBus and CGate are all setup and working properly another thing to check is if the IP address of the CNI in the project xml is the same as the CNI current IP address. |
What specifically. Currently its pretty stock standard there are no other plugins installed.
It is correct, thanks. Reserved IP |
Especially for a large network I would leave everything alone for 15 min after the first boot to allow the devices to populate. That said |
@DarylMc thank you. Pls dont waste time doing any testing until I follow through on the progress I have made and if I have further issues. So I went through the last steps again. I thought the process of responding to these unknown groups, was to accept it. After reviewing the instructions, I responded to each one by C for Change and changed it to Light and there are 147 unknowns ! Why ? no idea. I dont know how Cbus works. The groups have populated, all as lights ofcourse. I would like to know whether the mods you have recommended to Greg and Anthony's contributions can be replicated on a home bridge instance on macOS since I already have that on my network. I can start a separate thread if you think that is possible. |
@kapps7 In CBus Toolkit you can look at CBus group addresses and some of them won't be devices or may not even be used in the project. When running the script to create the config file it's probably easiest to skip any unknown type. |
Greig's script is made specifically for running Homebridge, Homebridge CBus and CGate on a Raspberry pi. |
If you have a bunch of numbers for the group addresses and you don't know what's what, the easiest way to work it out is to open a telnet connection to the IP address that C-Gate is running on at port 20025. Then just go around your house switch on and off each light/group and see which groups get listed on the telnet connection. Then put those numbers into your config.json file. I wouldn't worry about going back and labelling them correctly with CBus Toolkit. |
@peterconn |
@DarylMc
Ok, I’ll try it again. I have 3 networks at home in which I only really use 2 as one was a wireless network for testing purposes.
Regards
Peter Constantopedos
…________________________________
From: DarylMc ***@***.***>
Sent: Tuesday, November 1, 2022 2:57:11 PM
To: anthonywebb/homebridge-cbus ***@***.***>
Cc: peterconn ***@***.***>; Mention ***@***.***>
Subject: Re: [anthonywebb/homebridge-cbus] Plugin Requirements (Issue #130)
@peterconn<https://github.com/peterconn>
I couldn't replicate a problem with the config file creation.
Perhaps give it more time to populate and see if that helps.
—
Reply to this email directly, view it on GitHub<#130 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHCPDBVGRWMFTL3MW73QBYLWGCIJPANCNFSM55NCZDCQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
You guys have done an amazing job with this. So far it's been pretty responsive. Hope 16.2's architectural changes dont throw us a curve ball.
This is good advice. I'll use your post from here homebridge/homebridge-config-ui-x#999 (comment)
Right, so just default syntax and no customisation of names. I will manually identify them and create a document then update the type in the json to a supported type. So when the script is rerun eg. if a new Cbus accessory is added, will it only prompt for those that have not been added to the config.json. ? |
Greig's script already has a timer for delay start of Homebridge service. |
The script should identify all the lighting and dimmer type addresses no problem. |
Things seem relatively smooth. Just a couple of management qs
Thanks |
Important note, you now have a few copies of your project xml, one on your Windows PC and one you copied to the pi. |
Hi, Im just troubleshooting my issues and am trying to check my CNI IP address is listed correctly but can't find it in my project XML - is this the xml from the tags folder im using in the script? here is the section of code from the tags xml. 5500CN2 31PC_CNICD5500CN2101186.28485.5.005500CN2false |
It's easier to read an xml file in a chromium type browser or decent text editor. |
Hi DarylMc, and if I simply update this xml sitting in /usr/local/bin/cgate/tag will this have gate look to my CNI from homebridge from now on? |
I have played around and understand the 10001 is a port. I was able to ping mi CNI at ip[ 10.0.4.22 through port 10001 and was successful. But, Homebridge still doesn't like this... 2022-12-31T11:00:48.741Z cbus:client sent command '[278] ramp //JUSAKOSB/254/56/15 0% # setOn (off)' Bad object or device id - what has the xml tags file told Cgate? and how can I check it against my Cbus network in toolkit? |
reading another thread here there was advice: I don't believe that you are connected to the c-bus network. The log says that it is trying to fetch the state of each c-bus accessory at startup as defined in the homebridge config.json file, but it cant find them... This is where the "bad object or device ID" statement comes from. Homebridge is trying to "get" the C-Bus state of each accessory but can't. Check that you are connected to the C-Bus network first. Try to connect to the remote c-gate on the pi from a windows PC via toolkit. If you can then see the logs etc and can control c-bus, you are connected. If not, the problem is with the RS-232 config in the pi. You can define the default network in the cgate config file. Make sure you do this and load it at startup. There are other threads that describe this process. Otherwise do what Daryl says and start again with Greig's instructions. Cheers I think this is exactly what's happening to me. |
Sorry for so many comments, just working through this. I was hoping all my problems were solved, but still no light turning on and off. log messages are like this. 754 //JUSAKOSB/254 df4f9440-6b32-103b-8038-fae5ee636df5 State=error Previous=new Reason=no response (\05FF00FAFF00)' } Any final tips? |
Hi Shut down the pi so you don't have two instances of CGate trying to connect to one CNI. Since your current xml has the wrong interface details my guess is the xml is out of date. I'm happy to try talk you through some of that but it won't be tonight. |
DarylMc - Brilliant! |
Daryl, sorry I forgot to thank you for your reply. I have done that and keep a backup of home bridge and of the xml files backed up separately. I am wondering if you or anyone has taken the brave step of upgrading the HomeKit architecture in 16.4 and if it has had any impact with their CBus integration. |
I've been running the upgraded HomeKit architecture since last year and not noticed any problems with Homebridge or my small Homebridge CBus test setups. |
Thats great news. I'll do the same. |
Hey Daryl, after what seems like forever, we had a power outage where the Rpi (Homebridge running Cbus) as well as the CNI were restarted. The CNI is connected and hasn't changed IP at 192.168.4.222 and is the same as the IP in the original XML. I can see the CNI is visible via its http port on that IP. I haven't modified the home bridge setup at all, still on 1.5.1. They are all on a single flat network. Should homebridge be looking for 192.168.4.222 instead of 127.0.0.1 ? Thanks. |
"platform": "homebridge-cbus.CBus", |
Check cgate is running |
What is the pi IP-address |
The RPi is at 192.168.4.114 so the same subnet as the CNI I get this when I check cgate from the Pi terminal `pi@homebridge:/var/lib/homebridge $ sudo systemctl status cgate Feb 05 17:11:44 homebridge systemd[1]: cgate.service: Scheduled restart job, restart counter is at 5. But on the browser http port : |
Check java version |
pi@homebridge:/var/lib/homebridge $ java -version |
java version is ok Try connect to the network with CBus Toolkit to verify the CNI is OK |
Thanks mate, I will have to borrow a pc cause only on macOS. Couldn't locate a macOS version of it |
The homebridge log shows cgate is shutting down. |
In case you haven't already reboot everything. |
Yep I have but I will do it again. Let you know. Thanks again for your quick response. |
cgate logs will probably help too. |
Thanks I might do that anyway to see what was going on but a 3rd power cycle of both devices fixed it. Thanks again for your help! |
Hi,
Im new to Cbus so please excuse the basic questions. I have a CNI which is the basic version of the Cbus network interface not the Shac or wise modules.
I can see the Cbus network online with the CNI. Should this be enough for me to use this plugin ?
Thanks
The text was updated successfully, but these errors were encountered: