Skip to content

Instantly share code, notes, and snippets.

View b2un0's full-sized avatar
👨‍👩‍👧
afk

b2un0

👨‍👩‍👧
afk
View GitHub Profile
@b2un0
b2un0 / energymeter.yaml
Created August 27, 2024 16:53
esphome ESP01 SML Logger Norax 3D Smartmeter
substitutions:
name: energymeter
friendly_name: energymeter
comment: "ESP01 SML Reader Norax 3D Smartmeter"
esphome:
name: $name
comment: $comment
esp8266:
@b2un0
b2un0 / home_assistant_mqtt.yaml
Last active December 8, 2023 07:26
Home Assistant Lidl HG06467 _TZE200_s8gkrkxk Effect Switch (Melinera smart LED string lights)
# 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"

features

  • 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