AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.72k stars 414 forks source link

ZBMINIL2 not working local mode #1267

Open onurfocaa opened 11 months ago

onurfocaa commented 11 months ago

I've 9 ZBMINIL2 zigbee switches and sonoff zigbee bridge pro gateway. Integration works fine on cloud. However, it's not working locally. I got the 400 error from debug log.

{'sequence': '1702140633000', 'seq': 2, 'error': 400, 'encrypt': True}

Also, to be sure the network connectivity, i examine the connection between HA and bridge. You can find the pcap file (Wireshark).

home-assistant_sonoff_2023-12-09T16-51-01.729Z.log

HA-PCAP.zip

config_entry-sonoff-be9ef2994c2763321a63fb56ed4229c9.json.txt

AlexxIT commented 10 months ago

Interesting. Looks like ZBBridge-P supports local mode. But I don't have it. Maybe someone else wants to add local support for this device.

mytza311086 commented 9 months ago

Same here.

homeler32 commented 7 months ago

I have the same problem. No zigbee device is managed locally. All of them are connected to ZBBridge-P

BuddhaNag12 commented 3 months ago

I have this device and can help in adding local support, but would need help in debugging and developing it. I'm an experienced developer so coding isn't an issue, would could you point me in the right direction as I'm not very familiar with Home Assistant and just starting with it.

AlexxIT commented 3 months ago

You can start from debug logs https://github.com/AlexxIT/SonoffLAN?tab=readme-ov-file#issues They are quite detailed. Then look for places in the code where they are called from.

KillDozerX2 commented 1 week ago

Hi, we have about 3 of these pro bridges at the office. Could I do something to help get lan support for it?