- 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 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 Norax 3D Smartmeter" | |
esphome: | |
name: $name | |
comment: $comment | |
esp8266: |
This file contains 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" |