Fix exclude ack checking and add logging to app/pir_publisher
Add getPin() to sensor/pir