added the udp server using from HomeAutomation, needs to be altered slightly
added the logging module used from HomeAutomation