How to find ZHA Channel on Home Assistant OS 7.4?

I’m beginning to wish I hadn’t installed the OS and instead installed it over Linux, because I can’t use the HA Terminal the same as I would SSH into a Linux box.

Can someone tell me how to find the current channel that my Zigbee Home Automation is using? I understand it “prefers” channel 15 - how do I know that’s what it’s using. Zigbee2MQTT apparently “prefers” channel 11 - why do they both prefer different channels?

Using Sonoff Zigbee Dongle 3.0

Because they’re different pieces of software.

Though, Z2M doesn’t prefer 11, it defaults to it, same as ZHA defaults to 15. In other words, if you didn’t set the channel, ZHA uses 15.

ZHA uses channel 15 by default and if not configured otherwise. You can look into the host log to find that confirmed.
Zigbee2MQTT uses channel 11 by default.
It could be any other Zigbee channel though.

I’ve looked in Logbook; Configuration > Settings > Logs; Configuration > Add Ons > System > Hardware.

I don’t see the host log. How do I find the host log?

It’s under Configuration → Add-Ons, Backup & Supervisor → System → Log Provider (little arrow dropdown!), there change to Host

Thank you! Good info in there, but was unable to find the channel.

Sorry, I have sent to you to look in the wrong place…
You need to check the homeassistant-logfile.
Restart Home Assistant and then go to
Configuration → Settings → Log → Load Full Home Asssitant Log

There you’ll find something like

2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] Network settings
2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] Model: CC1352/CC2652, Z-Stack 3.30+ (build 20211217)
2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] Z-Stack version: 3.3
2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] Z-Stack build id: 20211217
2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] Max concurrent requests: 16
2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] Channel: 15
2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] PAN ID: 0xXXXX
2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] Extended PAN ID: XX:XX:XX:XX:XX:XX:XX:XX
2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] Device IEEE: XX:XX:XX:XX:XX:XX:XX:XX
2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] Device NWK: 0xXXXX
2022-02-27 22:42:35 INFO (MainThread) [zigpy_znp.zigbee.application] Permitting joins for 0 seconds

That sure looks like where I’d find it. When I restart, I get two lines and nothing else:

2022-02-28 11:07:48 WARNING (MainThread) [zigpy.zcl] Unknown cluster 57344
2022-02-28 11:07:48 WARNING (MainThread) [zigpy.zcl] Unknown cluster 57345

It must be clearing the logs somehow -

I hate to start a new thread for this, so how do I confirm the zigbee channel I’m using these days?

I know that this is an old thread, but I was looking for this same answer and stumbled across it myself.

Settings => Devices & services => Zigbee Home Automation
Click the vertical ... menu and select “Download diagnostics”.

Then within that file, just search for the channel.

For me it was channel 11 by default.