Switched from toml to yaml for configuration
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -1,61 +0,0 @@
|
||||
[openid]
|
||||
base_url = "https://login.huizinga.dev/api/oidc"
|
||||
|
||||
[mqtt]
|
||||
host = "olympus.vpn.huizinga.dev"
|
||||
port = 8883
|
||||
client_name = "automation-ares"
|
||||
username = "mqtt"
|
||||
password = "${MQTT_PASSWORD}"
|
||||
tls = true
|
||||
|
||||
[ntfy]
|
||||
topic = "${NTFY_TOPIC}"
|
||||
|
||||
[presence]
|
||||
topic = "automation_dev/presence/+/#"
|
||||
|
||||
# Devices
|
||||
[device.debug_bridge]
|
||||
type = "DebugBridge"
|
||||
topic = "automation_dev/debug"
|
||||
|
||||
[device.light_sensor]
|
||||
type = "LightSensor"
|
||||
topic = "zigbee2mqtt_dev/living/light"
|
||||
min = 23_000
|
||||
max = 25_000
|
||||
|
||||
[device.kitchen_kettle]
|
||||
type = "IkeaOutlet"
|
||||
outlet_type = "Kettle"
|
||||
name = "Kettle"
|
||||
room = "Kitchen"
|
||||
topic = "zigbee2mqtt/kitchen/kettle"
|
||||
timeout = 5
|
||||
|
||||
[device.workbench_charger]
|
||||
type = "IkeaOutlet"
|
||||
outlet_type = "Charger"
|
||||
name = "Charger"
|
||||
room = "Workbench"
|
||||
topic = "zigbee2mqtt/workbench/charger"
|
||||
timeout = 5
|
||||
|
||||
[device.workbench_outlet]
|
||||
type = "IkeaOutlet"
|
||||
name = "Outlet"
|
||||
room = "Workbench"
|
||||
topic = "zigbee2mqtt/workbench/outlet"
|
||||
|
||||
[device.living_zeus]
|
||||
type = "WakeOnLAN"
|
||||
name = "Zeus"
|
||||
room = "Living Room"
|
||||
topic = "automation/appliance/living_room/zeus"
|
||||
mac_address = "30:9c:23:60:9c:13"
|
||||
|
||||
[device.hallway_frontdoor]
|
||||
type = "ContactSensor"
|
||||
topic = "zigbee2mqtt/hallway/frontdoor"
|
||||
presence = { topic = "automation_dev/presence/contact/frontdoor", timeout = 10 }
|
||||
66
config/ares.dev.yml
Normal file
66
config/ares.dev.yml
Normal file
@@ -0,0 +1,66 @@
|
||||
openid:
|
||||
base_url: "https://login.huizinga.dev/api/oidc"
|
||||
|
||||
mqtt:
|
||||
host: "olympus.vpn.huizinga.dev"
|
||||
port: 8883
|
||||
client_name: "automation-ares"
|
||||
username: "mqtt"
|
||||
password: "${MQTT_PASSWORD}"
|
||||
tls: true
|
||||
|
||||
ntfy:
|
||||
topic: "${NTFY_TOPIC}"
|
||||
|
||||
presence:
|
||||
topic: "automation_dev/presence/+/#"
|
||||
|
||||
devices:
|
||||
debug_bridge:
|
||||
!DebugBridge
|
||||
topic: "automation_dev/debug"
|
||||
|
||||
living_light_sensor:
|
||||
!LightSensor
|
||||
topic: "zigbee2mqtt_dev/living/light"
|
||||
min: 23000
|
||||
max: 25000
|
||||
|
||||
kitchen_kettle:
|
||||
!IkeaOutlet
|
||||
outlet_type: "Kettle"
|
||||
name: "Kettle"
|
||||
room: "Kitchen"
|
||||
topic: "zigbee2mqtt/kitchen/kettle"
|
||||
timeout: 5
|
||||
remotes:
|
||||
- topic: "zigbee2mqtt/bedroom/remote"
|
||||
- topic: "zigbee2mqtt/kitchen/remote"
|
||||
|
||||
workbench_charger:
|
||||
!IkeaOutlet
|
||||
outlet_type: "Charger"
|
||||
name: "Charger"
|
||||
room: "Workbench"
|
||||
topic: "zigbee2mqtt/workbench/charger"
|
||||
timeout: 5
|
||||
|
||||
workbench_outlet:
|
||||
!IkeaOutlet
|
||||
name: "Outlet"
|
||||
room: "Workbench"
|
||||
topic: "zigbee2mqtt/workbench/outlet"
|
||||
|
||||
living_zeus:
|
||||
!WakeOnLAN
|
||||
name: "Zeus"
|
||||
room: "Living Room"
|
||||
topic: "automation/appliance/living_room/zeus"
|
||||
mac_address: "30:9c:23:60:9c:13"
|
||||
|
||||
hallway_frontdoor:
|
||||
!ContactSensor
|
||||
topic: "zigbee2mqtt/hallway/frontdoor"
|
||||
presence:
|
||||
topic: "automation_dev/presence/contact/frontdoor"
|
||||
timeout: 10
|
||||
@@ -1,5 +0,0 @@
|
||||
[mqtt]
|
||||
host="example.com"
|
||||
port=1234
|
||||
username="username"
|
||||
password="password"
|
||||
@@ -1,119 +0,0 @@
|
||||
[openid]
|
||||
base_url = "https://login.huizinga.dev/api/oidc"
|
||||
|
||||
[mqtt]
|
||||
host = "mosquitto"
|
||||
port = 8883
|
||||
client_name = "automation_rs"
|
||||
username = "mqtt"
|
||||
password = "${MQTT_PASSWORD}"
|
||||
|
||||
[ntfy]
|
||||
topic = "${NTFY_TOPIC}"
|
||||
|
||||
[presence]
|
||||
topic = "automation/presence/+/#"
|
||||
|
||||
# Devices
|
||||
[device.debug_bridge]
|
||||
type = "DebugBridge"
|
||||
topic = "automation/debug"
|
||||
|
||||
[device.hue_bridge]
|
||||
type = "HueBridge"
|
||||
ip = "10.0.0.146"
|
||||
login = "${HUE_TOKEN}"
|
||||
flags = { presence = 41, darkness = 43 }
|
||||
|
||||
|
||||
[device.living_light_sensor]
|
||||
type = "LightSensor"
|
||||
topic = "zigbee2mqtt/living/light"
|
||||
min = 22_000
|
||||
max = 23_500
|
||||
|
||||
[device.living_zeus]
|
||||
type = "WakeOnLAN"
|
||||
name = "Zeus"
|
||||
room = "Living Room"
|
||||
topic = "automation/appliance/living_room/zeus"
|
||||
mac_address = "30:9c:23:60:9c:13"
|
||||
broadcast_ip = "10.0.0.255"
|
||||
|
||||
[device.living_mixer]
|
||||
type = "KasaOutlet"
|
||||
ip = "10.0.0.49"
|
||||
|
||||
[device.living_speakers]
|
||||
type = "KasaOutlet"
|
||||
ip = "10.0.0.182"
|
||||
|
||||
[device.living_audio]
|
||||
type = "AudioSetup"
|
||||
topic = "zigbee2mqtt/living/remote"
|
||||
mixer = "living_mixer"
|
||||
speakers = "living_speakers"
|
||||
|
||||
|
||||
[device.kitchen_kettle]
|
||||
type = "IkeaOutlet"
|
||||
outlet_type = "Kettle"
|
||||
name = "Kettle"
|
||||
room = "Kitchen"
|
||||
topic = "zigbee2mqtt/kitchen/kettle"
|
||||
timeout = 300
|
||||
remotes = [
|
||||
{ topic = "zigbee2mqtt/bedroom/remote" },
|
||||
{ topic = "zigbee2mqtt/kitchen/remote" },
|
||||
]
|
||||
|
||||
|
||||
[device.bathroom_light]
|
||||
type = "IkeaOutlet"
|
||||
outlet_type = "Light"
|
||||
name = "Light"
|
||||
room = "Bathroom"
|
||||
topic = "zigbee2mqtt/bathroom/light"
|
||||
timeout = 2700
|
||||
|
||||
[device.bathroom_washer]
|
||||
type = "Washer"
|
||||
topic = "zigbee2mqtt/bathroom/washer"
|
||||
threshold = 1
|
||||
|
||||
|
||||
[device.workbench_charger]
|
||||
type = "IkeaOutlet"
|
||||
outlet_type = "Charger"
|
||||
name = "Charger"
|
||||
room = "Workbench"
|
||||
topic = "zigbee2mqtt/workbench/charger"
|
||||
timeout = 72000
|
||||
|
||||
[device.workbench_outlet]
|
||||
type = "IkeaOutlet"
|
||||
name = "Outlet"
|
||||
room = "Workbench"
|
||||
topic = "zigbee2mqtt/workbench/outlet"
|
||||
|
||||
|
||||
[device.hallway_lights]
|
||||
type = "HueGroup"
|
||||
ip = "10.0.0.146"
|
||||
login = "${HUE_TOKEN}"
|
||||
group_id = 81
|
||||
scene_id = "3qWKxGVadXFFG4o"
|
||||
timer_id = 1
|
||||
remotes = [{ topic = "zigbee2mqtt/hallway/remote" }]
|
||||
|
||||
[device.hallway_frontdoor]
|
||||
type = "ContactSensor"
|
||||
topic = "zigbee2mqtt/hallway/frontdoor"
|
||||
presence = { topic = "automation/presence/contact/frontdoor", timeout = 900 }
|
||||
trigger = { devices = ["hallway_lights"], timeout = 60 }
|
||||
|
||||
[device.bedroom_air_filter]
|
||||
type = "AirFilter"
|
||||
name = "Air Filter"
|
||||
room = "Bedroom"
|
||||
topic = "pico/filter/test"
|
||||
124
config/config.yml
Normal file
124
config/config.yml
Normal file
@@ -0,0 +1,124 @@
|
||||
openid:
|
||||
base_url: "https://login.huizinga.dev/api/oidc"
|
||||
|
||||
mqtt:
|
||||
host: "mosquitto"
|
||||
port: 8883
|
||||
client_name: "automation_rs"
|
||||
username: "mqtt"
|
||||
password: "${MQTT_PASSWORD}"
|
||||
|
||||
ntfy:
|
||||
topic: "${NTFY_TOPIC}"
|
||||
|
||||
presence:
|
||||
topic: "automation/presence/+/#"
|
||||
|
||||
devices:
|
||||
debug_bridge:
|
||||
!DebugBridge
|
||||
topic: "automation/debug"
|
||||
|
||||
hue_bridge:
|
||||
!HueBridge
|
||||
ip: &hue_ip "10.0.0.146"
|
||||
login: &hue_token "${HUE_TOKEN}"
|
||||
flags: { presence: 41, darkness: 43 }
|
||||
|
||||
|
||||
living_light_sensor:
|
||||
!LightSensor
|
||||
topic: "zigbee2mqtt/living/light"
|
||||
min: 22000
|
||||
max: 23500
|
||||
|
||||
living_zeus:
|
||||
!WakeOnLAN
|
||||
name: "Zeus"
|
||||
room: "Living Room"
|
||||
topic: "automation/appliance/living_room/zeus"
|
||||
mac_address: "30:9c:23:60:9c:13"
|
||||
broadcast_ip: "10.0.0.255"
|
||||
|
||||
&mixer living_mixer:
|
||||
!KasaOutlet
|
||||
ip: "10.0.0.49"
|
||||
|
||||
&speakers living_speakers:
|
||||
!KasaOutlet
|
||||
ip: "10.0.0.182"
|
||||
|
||||
living_audio:
|
||||
!AudioSetup
|
||||
topic: "zigbee2mqtt/living/remote"
|
||||
mixer: *mixer
|
||||
speakers: *speakers
|
||||
|
||||
|
||||
kitchen_kettle:
|
||||
!IkeaOutlet
|
||||
outlet_type: "Kettle"
|
||||
name: "Kettle"
|
||||
room: "Kitchen"
|
||||
topic: "zigbee2mqtt/kitchen/kettle"
|
||||
timeout: 300
|
||||
remotes:
|
||||
- topic: "zigbee2mqtt/bedroom/remote"
|
||||
- topic: "zigbee2mqtt/kitchen/remote"
|
||||
|
||||
|
||||
bathroom_light:
|
||||
!IkeaOutlet
|
||||
type: "IkeaOutlet"
|
||||
outlet_type: "Light"
|
||||
name: "Light"
|
||||
room: "Bathroom"
|
||||
topic: "zigbee2mqtt/bathroom/light"
|
||||
timeout: 2700
|
||||
|
||||
bathroom_washer:
|
||||
!Washer
|
||||
topic: "zigbee2mqtt/bathroom/washer"
|
||||
threshold: 1
|
||||
|
||||
workbench_charger:
|
||||
!IkeaOutlet
|
||||
outlet_type: "Charger"
|
||||
name: "Charger"
|
||||
room: "Workbench"
|
||||
topic: "zigbee2mqtt/workbench/charger"
|
||||
timeout: 72000
|
||||
|
||||
workbench_outlet:
|
||||
!IkeaOutlet
|
||||
name: "Outlet"
|
||||
room: "Workbench"
|
||||
topic: "zigbee2mqtt/workbench/outlet"
|
||||
|
||||
|
||||
hallway_lights:
|
||||
!HueGroup
|
||||
ip: *hue_ip
|
||||
login: *hue_token
|
||||
group_id: 81
|
||||
scene_id: "3qWKxGVadXFFG4o"
|
||||
timer_id: 1
|
||||
remotes:
|
||||
- topic: "zigbee2mqtt/hallway/remote"
|
||||
|
||||
hallway_frontdoor:
|
||||
!ContactSensor
|
||||
topic: "zigbee2mqtt/hallway/frontdoor"
|
||||
presence:
|
||||
topic: "automation_dev/presence/contact/frontdoor"
|
||||
timeout: 900
|
||||
trigger:
|
||||
devices: ["hallway_lights"]
|
||||
timeout: 60
|
||||
|
||||
|
||||
bedroom_air_filter:
|
||||
!AirFilter
|
||||
name: "Air Filter"
|
||||
room: "Bedroom"
|
||||
topic: "pio/filter/test"
|
||||
@@ -1,120 +0,0 @@
|
||||
[openid]
|
||||
base_url = "https://login.huizinga.dev/api/oidc"
|
||||
|
||||
[mqtt]
|
||||
host = "olympus.lan.huizinga.dev"
|
||||
port = 8883
|
||||
client_name = "automation-zeus"
|
||||
username = "mqtt"
|
||||
password = "${MQTT_PASSWORD}"
|
||||
tls = true
|
||||
|
||||
[ntfy]
|
||||
topic = "${NTFY_TOPIC}"
|
||||
|
||||
[presence]
|
||||
topic = "automation_dev/presence/+/#"
|
||||
|
||||
# Devices
|
||||
[device.debug_bridge]
|
||||
type = "DebugBridge"
|
||||
topic = "automation_dev/debug"
|
||||
|
||||
[device.hue_bridge]
|
||||
type = "HueBridge"
|
||||
ip = "10.0.0.146"
|
||||
login = "${HUE_TOKEN}"
|
||||
flags = { presence = 41, darkness = 43 }
|
||||
|
||||
|
||||
[device.living_light_sensor]
|
||||
type = "LightSensor"
|
||||
topic = "zigbee2mqtt_dev/living/light"
|
||||
min = 23_000
|
||||
max = 25_000
|
||||
# TODO: Implement this:
|
||||
trigger = ["hue_bridge", "debug_bridge"]
|
||||
|
||||
[device.living_zeus]
|
||||
type = "WakeOnLAN"
|
||||
name = "Zeus"
|
||||
room = "Living Room"
|
||||
topic = "automation/appliance/living_room/zeus"
|
||||
mac_address = "30:9c:23:60:9c:13"
|
||||
|
||||
[device.living_mixer]
|
||||
type = "KasaOutlet"
|
||||
ip = "10.0.0.49"
|
||||
|
||||
[device.living_speakers]
|
||||
type = "KasaOutlet"
|
||||
ip = "10.0.0.182"
|
||||
|
||||
[device.living_audio]
|
||||
type = "AudioSetup"
|
||||
topic = "zigbee2mqtt/living/remote"
|
||||
mixer = "living_mixer"
|
||||
speakers = "living_speakers"
|
||||
|
||||
|
||||
[device.kitchen_kettle]
|
||||
type = "IkeaOutlet"
|
||||
outlet_type = "Kettle"
|
||||
name = "Kettle"
|
||||
room = "Kitchen"
|
||||
topic = "zigbee2mqtt/kitchen/kettle"
|
||||
timeout = 5
|
||||
remotes = [
|
||||
{ topic = "zigbee2mqtt/bedroom/remote" },
|
||||
{ topic = "zigbee2mqtt/kitchen/remote" },
|
||||
]
|
||||
|
||||
[device.bathroom_light]
|
||||
type = "IkeaOutlet"
|
||||
outlet_type = "Light"
|
||||
name = "Bathroom light"
|
||||
room = "Bathroom"
|
||||
topic = "zigbee2mqtt/bathroom/light"
|
||||
timeout = 60
|
||||
|
||||
[device.bathroom_washer]
|
||||
type = "Washer"
|
||||
topic = "zigbee2mqtt/bathroom/washer"
|
||||
threshold = 1
|
||||
|
||||
|
||||
[device.workbench_charger]
|
||||
type = "IkeaOutlet"
|
||||
outlet_type = "Charger"
|
||||
name = "Charger"
|
||||
room = "Workbench"
|
||||
topic = "zigbee2mqtt/workbench/charger"
|
||||
timeout = 5
|
||||
|
||||
[device.workbench_outlet]
|
||||
type = "IkeaOutlet"
|
||||
name = "Outlet"
|
||||
room = "Workbench"
|
||||
topic = "zigbee2mqtt/workbench/outlet"
|
||||
|
||||
|
||||
[device.hallway_lights]
|
||||
type = "HueGroup"
|
||||
ip = "10.0.0.146"
|
||||
login = "${HUE_TOKEN}"
|
||||
group_id = 81
|
||||
scene_id = "3qWKxGVadXFFG4o"
|
||||
timer_id = 1
|
||||
remotes = [{ topic = "zigbee2mqtt/hallway/remote" }]
|
||||
|
||||
[device.hallway_frontdoor]
|
||||
type = "ContactSensor"
|
||||
topic = "zigbee2mqtt/hallway/frontdoor"
|
||||
presence = { topic = "automation_dev/presence/contact/frontdoor", timeout = 10 }
|
||||
trigger = { devices = ["hallway_lights"], timeout = 10 }
|
||||
|
||||
[device.bedroom_air_filter]
|
||||
type = "AirFilter"
|
||||
name = "Air Filter"
|
||||
room = "Bedroom"
|
||||
topic = "pico/filter/test"
|
||||
124
config/zeus.dev.yml
Normal file
124
config/zeus.dev.yml
Normal file
@@ -0,0 +1,124 @@
|
||||
openid:
|
||||
base_url: "https://login.huizinga.dev/api/oidc"
|
||||
|
||||
mqtt:
|
||||
host: "olympus.lan.huizinga.dev"
|
||||
port: 8883
|
||||
client_name: "automation-zeus"
|
||||
username: "mqtt"
|
||||
password: "${MQTT_PASSWORD}"
|
||||
tls: true
|
||||
|
||||
ntfy:
|
||||
topic: "${NTFY_TOPIC}"
|
||||
|
||||
presence:
|
||||
topic: "automation_dev/presence/+/#"
|
||||
|
||||
devices:
|
||||
debug_bridge:
|
||||
!DebugBridge
|
||||
topic: "automation_dev/debug"
|
||||
|
||||
hue_bridge:
|
||||
!HueBridge
|
||||
ip: &hue_ip "10.0.0.146"
|
||||
login: &hue_token "${HUE_TOKEN}"
|
||||
flags: { presence: 41, darkness: 43 }
|
||||
|
||||
|
||||
living_light_sensor:
|
||||
!LightSensor
|
||||
topic: "zigbee2mqtt_dev/living/light"
|
||||
min: 23000
|
||||
max: 25000
|
||||
|
||||
living_zeus:
|
||||
!WakeOnLAN
|
||||
name: "Zeus"
|
||||
room: "Living Room"
|
||||
topic: "automation/appliance/living_room/zeus"
|
||||
mac_address: "30:9c:23:60:9c:13"
|
||||
|
||||
&mixer living_mixer:
|
||||
!KasaOutlet
|
||||
ip: "10.0.0.49"
|
||||
|
||||
&speakers living_speakers:
|
||||
!KasaOutlet
|
||||
ip: "10.0.0.182"
|
||||
|
||||
living_audio:
|
||||
!AudioSetup
|
||||
topic: "zigbee2mqtt/living/remote"
|
||||
mixer: *mixer
|
||||
speakers: *speakers
|
||||
|
||||
|
||||
kitchen_kettle:
|
||||
!IkeaOutlet
|
||||
outlet_type: "Kettle"
|
||||
name: "Kettle"
|
||||
room: "Kitchen"
|
||||
topic: "zigbee2mqtt/kitchen/kettle"
|
||||
timeout: 5
|
||||
remotes:
|
||||
- topic: "zigbee2mqtt/bedroom/remote"
|
||||
- topic: "zigbee2mqtt/kitchen/remote"
|
||||
|
||||
|
||||
bathroom_light:
|
||||
!IkeaOutlet
|
||||
type: "IkeaOutlet"
|
||||
outlet_type: "Light"
|
||||
name: "Light"
|
||||
room: "Bathroom"
|
||||
topic: "zigbee2mqtt/bathroom/light"
|
||||
timeout: 60
|
||||
|
||||
bathroom_washer:
|
||||
!Washer
|
||||
topic: "zigbee2mqtt/bathroom/washer"
|
||||
threshold: 1
|
||||
|
||||
workbench_charger:
|
||||
!IkeaOutlet
|
||||
outlet_type: "Charger"
|
||||
name: "Charger"
|
||||
room: "Workbench"
|
||||
topic: "zigbee2mqtt/workbench/charger"
|
||||
timeout: 5
|
||||
|
||||
workbench_outlet:
|
||||
!IkeaOutlet
|
||||
name: "Outlet"
|
||||
room: "Workbench"
|
||||
topic: "zigbee2mqtt/workbench/outlet"
|
||||
|
||||
|
||||
hallway_lights:
|
||||
!HueGroup
|
||||
ip: *hue_ip
|
||||
login: *hue_token
|
||||
group_id: 81
|
||||
scene_id: "3qWKxGVadXFFG4o"
|
||||
timer_id: 1
|
||||
remotes:
|
||||
- topic: "zigbee2mqtt/hallway/remote"
|
||||
|
||||
hallway_frontdoor:
|
||||
!ContactSensor
|
||||
topic: "zigbee2mqtt/hallway/frontdoor"
|
||||
presence:
|
||||
topic: "automation_dev/presence/contact/frontdoor"
|
||||
timeout: 10
|
||||
trigger:
|
||||
devices: ["hallway_lights"]
|
||||
timeout: 10
|
||||
|
||||
|
||||
bedroom_air_filter:
|
||||
!AirFilter
|
||||
name: "Air Filter"
|
||||
room: "Bedroom"
|
||||
topic: "pio/filter/test"
|
||||
Reference in New Issue
Block a user