After spending many months maintaining a piecemeal automation system in my garages (sonoff switches + circuits on breadboard) I decided to combine everything into one system using a Photon. I finally got the pcb’s back from manufacturing and the system works like a charm. Controlling 2 sets of lights, 2 garage doors and monitoring the state of 3 doors. I also added an I2C socket where I have a BME280 connected to monitor mainly temperature and humidity.
I don’t know why I didn’t do this earlier - it would have actually saved me a lot of time and energy
I also provided connections to 3 ADC inputs and the DAC output so that I may use the same board for other generic projects.