Snmp trap receiving?

Is there any way of triggering routines based on HE getting a snmp trap?

I don't think you can do that even with Home Assistant. SNMP is a painful protocol to implement.

Node-Red has an snmp trap listener node. Might be be something you could integrate traps to various HE automations.