Imports github.com/eclipse/paho.mqtt.golang github.com/nathanielc/smarthome github.com/spf13/cobra github.com/spf13/pflag github.com/spf13/viper Standard library imports bytes fmt io log net/http net/url os os/signal strconv strings sync syscall time