Superhouse breakout boards... Arduino Security system with a Mega

Hey all, just about to connect up my multitude of PIRs, reed switches etc in my house to the home automation system (MQTT/HA/Node Red etc) and have ordered Jonathan’s 8 pin IDC breakout boards for an Arduino Mega which should make it a lot easier…

I’ve found some code for getting general digital GPIO to MQTT (which I can start with) but can anyone point me to something better i.e. Analogue inputs and EOL monitoring/Home Alarm code? cheers, z