Zigbee batterydevices offline every few weeks

I’m assuming you’re not using dumb switches and cutting off power to the hue bulbs here. Correct me if I’m wrong.

Remove the “Smart” setting and fix it to channel 20 yourself. Check your Wifi APs to ensure they’re also not set to automatically change channels based on signal strengths. Read this for more info.

Any mains-powered zigbee device which does not explicitly state “neutral optional” should be a zigbee router. If you’re intending on using it to directly control smart lights, search these forums for “decoupled mode”.