CapiBridge Firmware Issue
So, I have been working on getting my MailBoxGurad and CapiBridge working for awhile now. I cannot find any configuration issues anywhere. I then turned Claude loose on this, and it thinks the issue is with the CapiBridge firmware:
Let's check CapiBridge's status and monitoring for the fresh trigger.
CapiBridge just heard from mbox 17 seconds ago — fresh data. Let's see what it actually received.
Same "Damaged LORA header... Continuing anyways" pattern on every packet, but let's check if THIS time (post-reboot), it actually made it to Home Assistant.
Let me narrow the time window to see fine detail around the most recent minutes.
The reboot didn't fix it. Even with a completely fresh restart and a brand-new trigger, mbox in Home Assistant is still showing an unbroken empty state through this entire window — right through the moment CapiBridge confirmed receiving your fresh "mail" packet.
This rules out a "stuck state" theory — it's a persistent, reproducible firmware bug in CapiBridge, not something a restart clears. The behavior is completely consistent: CapiBridge receives and correctly parses "mail" over LoRa every time, but never forwards it to MQTT, both before and after reboot.
At this point, this really is squarely a CapiBridge firmware issue rather than anything fixable in Home Assistant, your network, or your automation setup. My recommendation:
- Check PricelessToolkit's GitHub Issues for "mail state not publishing to MQTT" or similar — given how clean and reproducible this is, it's plausible others have hit it too.
- If not, file an issue yourself — you now have excellent evidence to include: CapiBridge's live monitor showing correctly-parsed
"s":"mail"payloads, alongside an MQTT topic listener showing zero corresponding publishes, both before and after a gateway reboot.
In the meantime, as a workaround, you could technically watch CapiBridge's own web dashboard for mail alerts rather than relying on the Home Assistant notification, but that's obviously not ideal for a phone-alert use case. Want help drafting that GitHub issue with the diagnostic details laid out clearly?
:)))) I can help if you share screenshots of the CapBridge interface logs, and discovered devices, and MQTT topic with MQTT explorer. So the problem is CapBridge not publishing to MQTT?
btw "if you don't reset mailboxguard status topic in MQTT you will not get notifications in HA" you will get only one! first one! you need to reset status every time! when you empty your mailbox. It means publishing something else on that topic.
Any news?
Sorry about the delay (I am out on a mission this week). I should be back home this weekend and will gather all of the information that you requested.
The following 3 screenshots are from the CapiBridge gateway GUI interface.
I will gather some info from my Home Assistant setup now.
Here are my HA automations. I have both a manual and scheduled reset automation.
-
Capibridge is working and receiving messages from the mailbox sensor!
-
In MQTT, can you see the "mbox" device? If yes, then it means Capibridge MQTT credentials are correct and it is publishing data to the server.
When triggered, it will become "mail" to reset it, post to that topic, anything other than "mail"
If the problem is with automations/logic, disable the automations you created and make a basic one without reset, etc. Reset it manually for testing purposes. If you do not reset it every time, the automation will not trigger.
It does appear that MQTT "sees" the mbox device:
I will have to check the other two requests when I get home tonight and can manually trigger the sensor. I will also disable the scheduled reset automation and test with just the manual reset. As soon as I get some data from these tests, I will post it here.
Do you have any thoughts on why Claude is so sure that there is an issue with the CapiBridge firmware? My guess, is that it is see the "Damaged Lora Message" entries from the Raw-View?
LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-37} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-37} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-37} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-37} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-37} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-37} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-37} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-39} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-37} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-37} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-37} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} RX JSON parse error: InvalidInput ESP-NOW Message Received: [invalid json payload omitted] RX JSON parse error: InvalidInput ESP-NOW Message Received: [invalid json payload omitted] Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} Damaged LORA header received... Continuing anyways.... LoRa Message Received: {"k":"hex","id":"mbox","s":"mail","b":100,"r":-38} readData() error -7 readData() error -7 MQTT connected readData() error -7 readData() error -7 Damaged LORA header received... Continuing anyways.... RX JSON parse error: InvalidInput
We had a power outage last night, so I couldn't check those other requests. Hopefully, I will get to them tonight.
Wanted to give you an update on this. I talked to my son this weekend (he is a software developer) and he is going to look at and see where I messed-up. That way, we don't have to waste your time ;-)
Progress! My son (the software developer), had time to look into this today. He couldn't find anything wrong, so he wiped all the arduino IDE setting bugs/files, deleted all the software libraries, reinstalled the libraries, recompiled the firmware/configurations, reloda d the gateway and sensor. Now, there are no more error messages and I can see the "mbox" traffic in MQTT Explorer. It isn't working in Home Assistant yet, but my plans are to wipe all of the HA settings and recreate them. Hopefully, I will have time To do this tomorrow.
nice!
BTW: the message "Damaged LORA header received... " may be because the sensor and gateway are too close (" -38 dBm ")
More progress... I had a MQTT misconfiguration. It appears to be fixed now. The last step is getting the notifications sent to my iPhone. I am going to test it tonight and hopefully everything will work.
Good news, everything is working correctly now! It turns out that I was fighting two issues: 1) MQTT configuration error 2) We think that I had a corrupted Arduino library. After deleting everything and starting over from scratch, I am now receiving Home Assistant notifications with custom icons and custom wav files.
Great news! I'm glad everything works.