Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvHostAddress = "ESPHOME_ADDRESS" EnvPassword = "ESPHOME_PASSWORD" EnvEncryptionKey = "ESPHOME_ENCRYPTION_KEY" )
Variables ¶
View Source
var ( HostAddressFlag = flag.String("address", "", "esphome node hostname or IP with port. example: my_esphome.local:6053") PasswordFlag = flag.String("password", "", "esphome node API password") EncryptionKeyFlag = flag.String("encryption-key", "", "esphome node API encryption key") TimeoutFlag = flag.Duration("timeout", 10*time.Second, "communication timeout") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.