diff --git a/ibsystem/config.yaml b/ibsystem/config.yaml index 48a6859..17ad40d 100644 --- a/ibsystem/config.yaml +++ b/ibsystem/config.yaml @@ -1,15 +1,16 @@ +# IBSystem2MQTT - Konfiguracja mqtt: brokers: - - name: "ha" - host: "192.168.50.151" + - name: ha + host: 192.168.50.151 port: 1883 - user: "mqtt" - password: "mqtt123" - prefix: "ibsystem" - ha_prefix: "homeassistant" + user: mqtt + password: mqtt123 + prefix: ibsystem + ha_prefix: homeassistant ibsystem: - host: "127.0.0.1" + host: 127.0.0.1 port: 2001 rs: 0 max_ids: 40 @@ -21,10 +22,21 @@ parallel_workers: 8 logging: - level: "DEBUG" - file: "/tmp/ibsystem2mqtt.log" + level: INFO + file: /var/log/ibsystem2mqtt.log http: enabled: true - host: "0.0.0.0" + host: 0.0.0.0 port: 8080 + +# Friendly names - mapowanie ID na nazwy +friendly_names: + # rs0_id1: "Centrala" + # rs0_id2: "Salon" + # rs0_id2_output_do_0: "Salon Glowne Swiatlo" + rs0_id35: Biuro/Garderoba + rs0_id35_output_do_0: Oswietlenie BW1 + rs0_id35_output_do_1: Oswietlenie BW2 + rs0_id35_output_do_2: Oswietlenie G1 + rs0_id35_output_do_3: Oswietlenie G2 led nad szafami