DialedIn-Aus / blogComments

0 stars 0 forks source link

Setup the Sonoff ZBBridge-P on Home Assistant with ZHA | Dialedin #2

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Setup the Sonoff ZBBridge-P on Home Assistant with ZHA | Dialedin

Adding the Sonoff Zigbee Bridge Pro with Tasmota to your Home Assistant setup, brings support for a wide range of Zigbee devices. Learn all about getting setup here.

https://dialedin.com.au/blog/sonoff-zbbridge-p-setup

vytiskk commented 1 year ago

This seems to be the only up-to-date tutorial for ZBBRIDGE-P version, others are a bit outdated. However I was able to get to the point where TCP ZBBridge Pro is running fine, however when I try to add it via ZHA I am getting a "failed to connect" error in HA. Tasmota console shows an attempt to connect from my HA IP address, however there it ends. Any suggestions?

timlunn447 commented 1 year ago

Hi @vytiskk, Most of the other blog posts were probably written before the Auto-configuration support for this device was added. Those other instructions are still valid, just more complex to complete setup.

Sounds like you have the IP address correct, so double check your other settings in ZHA. The important ones are:

If either of those are incorrect, it will fail.

vytiskk commented 1 year ago

Hi there,

Well ZNP and software both are selected, double and triple checked. Just for testing tried other options (EZSP) which gave me same error and same few linea in tasmota console. Seems like ZHA is trying to connect to the hub but fails.

Regards,

Vytis

On 2023-03-15, at 01:57, timlunn @.***> wrote:



Hi @vytiskkhttps://github.com/vytiskk, Most of the other blog posts were probably written before the Auto-configuration support for this device was added. Those other instructions are still valid, just more complex to complete setup.

Sounds like you have the IP address correct, so double check your other settings in ZHA. The important ones are:

If either of those are incorrect, it will fail.

— Reply to this email directly, view it on GitHubhttps://github.com/DialedIn-Aus/blogComments/issues/2#issuecomment-1469021648, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6COSKEHSY3RO2H6EL47TI3W4EAWBANCNFSM6AAAAAAV2XX56U. You are receiving this because you were mentioned.Message ID: @.***>

timlunn447 commented 1 year ago

EZSP is for the original ZBBridge only, not the PRO version. ZNP is the correct one. Tasmota doesnt do much here, its just passing the network traffic to the Zigbee adapter.

Have you flashed the Zigbee CC2652 adapter in the ZBBridge-P? This is not covered in our guide as the devices we sell in our store already have these steps completed on them.

If you havent done this step you need to switch back to the Sonoff ZBPro auto-conf (it wont work while in TCP config) and restart. Then open a Berry console and run

import sonoff_zb_pro_flasher as cc
cc.load("SonoffZBPro_coord_20220219.hex")
cc.check()

once that completes and passes checks, run

cc.flash()

This second command takes about 5mins to complete. You can view outputs from both commands in the normal console.

Then switch back to the ZBPro TCP config.

vytiskk commented 1 year ago

Flashing with SonoffZBPro_coord_20220219.hex was done. Cosole said Flash: OK I might try doong that again - I saw that the .be files have been recently updated, maybe there was a bug in them…

Regards,

Vytis

On 2023-03-15, at 09:21, timlunn @.***> wrote:



EZSP is for the original ZBBridge only, not the PRO version. ZNP is the correct one. Tasmota doesnt do much here, its just passing the network traffic to the Zigbee adapter.

Have you flashed the Zigbee CC2652 adapter in the ZBBridge-P? This is not covered in our guide as the devices we sell in our store already have these steps completed on them.

If you havent done this step you need to switch back to the Sonoff ZBPro auto-conf (it wont work while in TCP config) and restart. Then open a Berry console and run

import sonoff_zb_pro_flasher as cc cc.load("SonoffZBPro_coord_20220219.hex") cc.check()

once that completes and passes checks, run

cc.flash()

This second command takes about 5mins to complete. You can view outputs from both commands in the normal console.

Then switch back to the ZBPro TCP config.

— Reply to this email directly, view it on GitHubhttps://github.com/DialedIn-Aus/blogComments/issues/2#issuecomment-1469474840, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6COSKGTEP5ESHW7BA5YHILW4FUZHANCNFSM6AAAAAAV2XX56U. You are receiving this because you were mentioned.Message ID: @.***>

timlunn447 commented 1 year ago

I dont think there have been any changes to the flasher code, only change was the addition of a Router firmware.

Is Zigbee working when your in the default ZBPro config using Z2T? you will see logs in console for the Zigbee adapter in this mode, these messages are not available while running TCP config though.

vytiskk commented 1 year ago

Hi, just tried that – with ZBPro conf (without TCP) I am able to add devise to the bridge just fine @.***

KR,

Vytis

From: timlunn @.> Sent: 15 March, 2023 11:05 To: DialedIn-Aus/blogComments @.> Cc: Vytis Kumpikas @.>; Mention @.> Subject: Re: [DialedIn-Aus/blogComments] Setup the Sonoff ZBBridge-P on Home Assistant with ZHA | Dialedin (Issue #2)

I dont think there have been any changes to the flasher code, only change was the addition of a Router firmware.

Is Zigbee working when your in the default ZBPro config using Z2T? you will see logs in console for the Zigbee adapter in this mode, these messages are not available while running TCP config though.

— Reply to this email directly, view it on GitHubhttps://github.com/DialedIn-Aus/blogComments/issues/2#issuecomment-1469615064, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6COSKAZRZGQ3J3F4UZWFSDW4GA3TANCNFSM6AAAAAAV2XX56U. You are receiving this because you were mentioned.Message ID: @.**@.>>

vytiskk commented 1 year ago

Hey,

After I switched to ZBB pro config and then back to TCP out of the sudden HA found the hub and it is working now – thanks for all the good tips! 😊

Regards,

Vytis

From: Vytis Kumpikas Sent: Wednesday, March 15, 2023 14:27 To: DialedIn-Aus/blogComments @.***> Subject: RE: [DialedIn-Aus/blogComments] Setup the Sonoff ZBBridge-P on Home Assistant with ZHA | Dialedin (Issue #2)

Hi, just tried that – with ZBPro conf (without TCP) I am able to add devise to the bridge just fine @.***

KR,

Vytis

From: timlunn @.**@.>> Sent: 15 March, 2023 11:05 To: DialedIn-Aus/blogComments @.**@.>> Cc: Vytis Kumpikas @.**@.>>; Mention @.**@.>> Subject: Re: [DialedIn-Aus/blogComments] Setup the Sonoff ZBBridge-P on Home Assistant with ZHA | Dialedin (Issue #2)

I dont think there have been any changes to the flasher code, only change was the addition of a Router firmware.

Is Zigbee working when your in the default ZBPro config using Z2T? you will see logs in console for the Zigbee adapter in this mode, these messages are not available while running TCP config though.

— Reply to this email directly, view it on GitHubhttps://github.com/DialedIn-Aus/blogComments/issues/2#issuecomment-1469615064, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6COSKAZRZGQ3J3F4UZWFSDW4GA3TANCNFSM6AAAAAAV2XX56U. You are receiving this because you were mentioned.Message ID: @.**@.>>

juel93 commented 7 months ago

Hi, I know it's an old thread.

But I had the same problem to connect after the auto-configuration. Just pushed the pair button on the Sonoff bridge and another Zigbee device, while HA was trying to connect and it showed right up.

Just wanted to let others know if they had the same problem.