Multiple Filament Sensors?

Hi.

I am building a filament sensor for my Qidi X-One 2 right before the filament goes into the extruder. But, I was thinking that it might be cool to also put a sensor as the filament is coming off the spool (about 18 inches before the extruder).

The first sensor would send a push notification (pushover) and the second sensor would pause the print.

Has anyone figured out a way to do this?

I guess the first thing would be to get pushover to be able to send a notification based on a specific pin changing state. Then, whatever filament sensor plugin you want would work for the other one.

Thoughts, ideas and solutions would be greatly appreciated!

-Todd

Two sensors would also be useful when there were dual extruders.