ioBroker / ioBroker.zigbee

Zigbee communcation with Hue, Xiaomi, Lighttify... via TI CC2xxx USB stick
MIT License
312 stars 191 forks source link

Raspberry Pi 5 8GB Texas instrument CC1352P-2 #2075

Closed rmp63526 closed 1 month ago

rmp63526 commented 8 months ago

Hello, I have a Pi 4 8gb and the Zigbee adapter works very well with the CC1352P-2. I have now removed the CC1352P-2 from my Pi4 and shut it down. Now I wanted to test the CC1352P-2 with the Zigbee adapter on my freshly installed Pi 5 (SD card-Pi OS 64 Bockworm) before switching to the Pi 5. After a while I get the adapter working, but when I reboot the Pi it turns orange again and does not go to green. I then have to connect to WinScp and go into the Zigbee folder and delete the backup files to get it working again. But even that doesn't always work to get the adapter working. Now I'm wondering if anyone has got the CC1352P-2 working with the Pi5 or if it's a bug.

Unbenannt

Unbenannt1

If everything fits, the adapter will turn green.

Unbenannt2

After rebooting, I get these error messages and nothing works.

Unbenannt3

asgothian commented 8 months ago

Please attempt to start the zigbee adapter in debug once the reboot occurs and paste the log entries as text. Screenshots are hard to navigate.

A.

rmp63526 commented 8 months ago

New status. I transferred the zigbee backup from my Pi4 to the Pi5 using the backitup adapter. Starting the adapter gave me a green light and the devices can be turned on and off. Restarting the adapter also works without any problems! What should I do now to isolate the problem? I have not yet rebooted the Pi5. I am waiting for further instructions.

Neuer Status. Ich habe das Zigbee-Backup von meinem Pi4 auf den Pi5 mit Hilfe des Backitup-Adapters übertragen. Der Adapter leuchtet grün und die Geräte lassen sich ein- und ausschalten Auch ein Neustart des Adapters funktioniert problemlos! Was soll ich als nächstes tun, um das Problem einzugrenzen? Ich habe den Pi5 noch nicht neu gestartet. Ich warte auf weitere Anweisungen

Danke im voraus

iobroker.current.log

asgothian commented 8 months ago

Reboot, wait and see. I expect no issues, and had expected that you had done that (transfer the files via backitup) anyhow.# A.

asgothian commented 8 months ago

It shouldn’t . Just reboot when you feel safe to do so.

A.

On Monday, Feb 05, 2024 at 8:41 PM, rmp63526 @. @.)> wrote:

New status. I transferred the zigbee backup from my Pi4 to the Pi5 using the backitup adapter. Starting the adapter gave me a green light and the devices can be turned on and off. Restarting the adapter also works without any problems! What should I do now to isolate the problem? I have not yet rebooted the Pi5. I am waiting for further instructions.

Neuer Status. Ich habe das Zigbee-Backup von meinem Pi4 auf den Pi5 mit Hilfe des Backitup-Adapters übertragen. Der Adapter leuchtet grün und die Geräte lassen sich ein- und ausschalten Auch ein Neustart des Adapters funktioniert problemlos! Was soll ich als nächstes tun, um das Problem einzugrenzen? Ich habe den Pi5 noch nicht neu gestartet. Ich warte auf weitere Anweisungen

Danke im voraus

iobroker.current.log (https://github.com/ioBroker/ioBroker.zigbee/files/14171174/iobroker.current.log)

— Reply to this email directly, view it on GitHub (https://github.com/ioBroker/ioBroker.zigbee/issues/2075#issuecomment-1927919953), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AK4NGXZUATMMXZHDDOZH3DTYSEYW3AVCNFSM6AAAAABCXMQ3Q2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXHEYTSOJVGM). You are receiving this because you commented.Message ID: @.***>

rmp63526 commented 8 months ago

Unfortunately, the adapter does not turn green after a reboot.. I have now restarted the adapter manually - without success. disconnected the CC1352P-2 from the usb, waited 30 seconds and reconnected it - without success. I also have this phenomenon when I install the adapter without first importing the backup.

I have no idea what else I should do to get the CC1352P-2 running on the Pi5. I can send my set to whoever wants to test it.

iobroker.current.log

Unbenannt3

asgothian commented 8 months ago

I have been trying to your log - please (if you can) run two more test, with the log active

repeat but disconnect and reconnect the coordinator

post as log b

it looks as if the firmware on the stick remains active during reboots and thus accepts no communication

I can parse the logs over the weekend - possibly

rmp63526 commented 7 months ago

Of course I do several tests, that's no problem :-)

Test 1

  1. i deleted the adapter in iobroker, then deleted the zigbee.0 folder using WinScp.

  2. Did a reboot with Putty, sudo reboot.

  3. installed the zigbee adapter and then imported the backup via backitup. Started the adapter and waited 3-4 minutes for everything to load, Zigbee is now green and the devices can be switched on and off.

  4. deleted the log and stopped the Zigbee adapter

  5. Did a reboot with Putty, sudo reboot.

  6. start the Zigbee adapter & wait 2 min. Log file saved via Win SCP, /opt/iobroker/log. Adapter light is now orange again iobroker.current.log

Test 2

  1. i deleted the adapter in iobroker, then deleted the zigbee.0 folder using WinScp.

  2. Did a reboot with Putty, sudo reboot.

  3. installed the zigbee adapter and then imported the backup via backitup. Started the adapter and waited 3-4 minutes for everything to load, Zigbee is now green and the devices can be switched on and off.

  4. cleared the log and stopped the Zigbee adapter

  5. remove the CC1352P-2 board from the Pi5

  6. restarted the zigbee adapter and plugged the usb cable back in. zigbee adapter remains orange iobroker.current.log

I have observed the following. I have noticed that the LED on the CC1352P-2 board goes out briefly when restarting and then lights up again. Shouldn't the firmware then also be restarted?

Edit After TEST 2 #6 i restored the zigbee backup via the BackitUp adapter and the ZigBee adapter lights up green again.

rmp63526 commented 7 months ago

@asgothian any news on this?

asgothian commented 7 months ago

I‘m afraid I hit a snag so I was unable review the data. I hope to be able to see what happened in the next few days.

A.

rmp63526 commented 2 months ago

@asgothian i think i can close the ticket? still waiting

asgothian commented 2 months ago

I am afraid I had a bit of a problem and was out of order for the last 4 months. Does the problem still persist, or is the situation stable currently ?

rmp63526 commented 2 months ago

i have just tested it and the errors from back then no longer occur. i can restart the adapter without any problems. unfortunately i don't know what has been changed in the meantime. i have only installed the latest operating system bookworm, as a lot of time has passed in the meantime.

rmp63526 commented 2 months ago

nehme alles wieder zurück.. Adapter ist wieder nur orange und wird nicht grün

rmp63526 commented 1 month ago

Hab es endlich gelöst. Der Homematic CuxD add on hat sich steandig die USB ports geschnappt. Sobald ich den CuxD deaktiviere gibt er wohl die Ports frei. So viel Zeit verschwendet wegen so nem .....