Yeah, I worked on the firmware for a similar product here that does approximately the same thing but with used medical sharps instead of batteries. No smoke alarm though, but it did have tamper detection (people are constantly trying to break in to unattended medical sharps bins, for...reasons? I don't even want to know).
Not sure if it was ever deployed, I don't think it passed muster in regulations but I honestly don't know. That's about all I can say about it, you know how these things are.
I maintain such things make precisely zero sense for domestic waste though. Unless you count "cute embedded wank" as a sensible purpose.