esphome
This commit is contained in:
@@ -13,7 +13,10 @@ in
|
|||||||
virtualisation.oci-containers.containers.esphome = {
|
virtualisation.oci-containers.containers.esphome = {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "ghcr.io/esphome/esphome";
|
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 = [
|
devices = [
|
||||||
"/dev/ttyUSB0"
|
"/dev/ttyUSB0"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user