From: Giorgio Ravera Date: Wed, 18 Jan 2023 23:26:49 +0000 (+0100) Subject: Enabled frontend auth, moved from local to remote adapter (ser2net) X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=4f9e40f734a13923623d97403b76e2d7c319c9f1;p=zigbee2mqtt.git Enabled frontend auth, moved from local to remote adapter (ser2net) --- diff --git a/configuration.yaml b/configuration.yaml index 3defb90..669aa3b 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -8,7 +8,8 @@ permit_join: false serial: # Required: location of the adapter (e.g. CC2531). # To autodetect the port, set 'port: null'. - port: /dev/ttyACM0 + #port: /dev/ttyACM0 + port: 'tcp://pve.giorgioravera.it:20108' # Optional: disable LED of the adapter if supported (default: false) disable_led: true # Optional: adapter type, not needed unless you are experiencing problems (default: shown below, options: zstack, deconz) @@ -20,6 +21,7 @@ mqtt: base_topic: zigbee2mqtt # Required: MQTT server URL (use mqtts:// for SSL/TLS connection) server: 'mqtt://mqtt.giorgioravera.it' + #server: 'mqtts://mqtt.giorgioravera.it:8883' # Optional: absolute path to SSL/TLS certificate of CA used to sign server and client certificates (default: nothing) #ca: '/etc/ssl/mqtt-ca.crt' # Optional: absolute paths to SSL/TLS key and certificate for client-authentication (default: nothing) @@ -51,7 +53,7 @@ frontend: # Optional, default 0.0.0.0 #host: 0.0.0.0 # Optional, enables authentication, disabled by default - #auth_token: your-secret-token + auth_token: '!secret auth_token' # Optional, url on which the frontend can be reached, currently only used for the Home Assistant device configuration page #url: 'https://zigbee2mqtt.myhouse.org' @@ -98,7 +100,7 @@ advanced: # Optional: ZigBee channel, changing requires re-pairing of all devices. (Note: use a ZLL channel: 11, 15, 20, or 25 to avoid Problems) # (default: 11) channel: 15 - # Optional: network encryption key, will improve security + # Optional: network encryption key, will improve security # Note: changing requires repairing of all devices (default: shown below) network_key: '!secret network_key' # Optional: Logging level, options: debug, info, warn, error (default: info) @@ -165,10 +167,11 @@ advanced: # Optional: Define default values which are applied to all devices device_options: + retain: true temperature_precision: 0 humidity_precision: 0 -# Optional: Define the files which contains the configs +# Optional: Define the files which contains the configs devices: devices.yaml groups: groups.yaml