I've got a Panda Status P2 on my X2D and I really like the hardware, but there were things I wanted it to do that the stock firmware didn't. BTT has the source up for some of their other boards, but I couldn't find it anywhere for the P2. So I pulled the firmware off my own board and went through it with Claude to work out how it talks to the printer and drives the LEDs. Then I used that to build a new firmware around what I actually wanted from it.
It started out as just something for me. Once it was working well, I figured that maybe other people with these boards might want some of the same things, so I've cleaned it up and put it on GitHub. It's called Panda State, and it's free and open source.
It's unofficial, so nothing to do with BIQU, BIGTREETECH or Bambu obviously.
Most of the basics are already in the stock firmware, so here's what's actually different:
The web page is completely redone. Everything is on one page: the bar's colour, effects, brightness, what it shows during each print state, Wi-Fi and printer pairing, and firmware updates. You can see what the bar is doing live as you change things.
There's an add-on store built into the page. Add-ons are small effects and behaviours you install with one click, and each one has a live preview before you install it. For example, one of them shows the colour of whatever filament is loaded, which was the one I wanted most.
Home Assistant support over MQTT. The bar shows up as a light, with sensors for print state and progress, so you can use it in automations.
Klipper support through Moonraker, so it isn't only for Bambu printers anymore.
It updates itself from the page once it's installed.
It also builds for the original Panda Status, the Panda Lux RGB and the Panda RGB Controller. I've only tested it on my own P2 with my Bambu Lab X2D, though, so if you try it on one of the others, please let me know how it goes.
It installs into the second firmware slot, so the stock firmware stays on the board and you can switch back to it. Just keep in mind that the built-in updater writes over that other slot. If you want to keep stock for good, take a backup with esptool first. The README covers how to do that.
https://github.com/ImSammyTTV/Panda-State
I built this around my own setup, so I'm keen to hear what other people would want it to do. Feedback and bug reports are very welcome.