- working macvlan with docker
- systemd network devices
- each container can reach the whole nework (full routing)
docker-compose.yml
example with static ipv4 on macvlan- if no ip defined, container get a ip within
192.168.155.192/27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
name: "buro-fan" | |
friendly_name: "Büro Ventilator" | |
comment: "Sonoff Ifan03 Ventilator (ESP01 1M)" | |
on_boot_light: ALWAYS_ON # or ALWAYS_OFF | |
spare_button_light_entity: "light.buro" | |
esphome: | |
name: $name | |
comment: $comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
name: energymeter | |
friendly_name: energymeter | |
comment: "ESP01 SML Reader (Volkszähler)" | |
esphome: | |
name: $name | |
comment: $comment | |
esp8266: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# replace "Livingroom Christmas Tree" and the identifier "zigbee2mqtt_0xbc33acfffe0443e5" with your device | |
mqtt: | |
switch: | |
- unique_id: mqtt_z2m_livingroom_christmas_tree_scene_rainbow | |
name: "Livingroom Christmas Tree Rainbow" | |
icon: "mdi:looks" | |
device: | |
identifiers: zigbee2mqtt_0xbc33acfffe0443e5 | |
availability: | |
- topic: "zigbee2mqtt/Livingroom Christmas Tree/availability" |