esphome
This commit is contained in:
@@ -13,7 +13,10 @@ in
|
||||
virtualisation.oci-containers.containers.esphome = {
|
||||
autoStart = true;
|
||||
image = "ghcr.io/esphome/esphome";
|
||||
ports = [ "6052:6052" ];
|
||||
# host networking is required for mDNS (multicast UDP) to work so that
|
||||
# ESPHome can discover devices via <name>.local and perform OTA updates
|
||||
# without needing to know device IPs in advance.
|
||||
extraOptions = [ "--network=host" ];
|
||||
devices = [
|
||||
"/dev/ttyUSB0"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user