From: Giorgio Ravera Date: Sun, 21 Sep 2025 06:29:29 +0000 (+0200) Subject: Added last_seen, changed icons for bticino devices X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=46e6189767624df99ae2fdbe911ee0b5809e8e82;p=zigbee2mqtt.git Added last_seen, changed icons for bticino devices --- diff --git a/configuration.yaml b/configuration.yaml index ca35817..2b2c7ce 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -1,3 +1,5 @@ +version: 4 + # Required: serial settings serial: # Location of the adapter @@ -8,7 +10,7 @@ serial: # Adapter type, allowed values: `zstack`, `ember`, `deconz`, `zigate` or `zboss` adapter: ember # Optional: disable LED of the adapter if supported (default: false) - disable_led: false + disable_led: true # Optional: Baud rate speed for serial port, this can be anything firmware support but default is 115200 for Z-Stack and EZSP, 38400 for Deconz, however note that some EZSP firmware need 57600. #baudrate: 115200 # Optional: RTS / CTS Hardware Flow Control for serial port (default: false) @@ -69,7 +71,7 @@ frontend: #notification_filter: # - 'z2m: Failed to ping.*' # Optional, this will change the web-based UI - #package: zigbee2mqtt-frontend + #package: zigbee2mqtt-frontend package: zigbee2mqtt-windfront # Define default values which are applied to all devices @@ -135,7 +137,7 @@ homeassistant: # Optional: Home Assistant legacy action sensor (default: `false`), when enabled: # - Zigbee2MQTT will send an empty 'action' after one has been send # - A 'sensor_action' will be discovered - legacy_action_sensor: false + legacy_action_sensor: false # Optional: networkmap options #map_options: @@ -177,7 +179,7 @@ advanced: #cache_state_send_on_startup: true # Optional: Add a last_seen attribute to MQTT messages, contains date/time of last Zigbee message # possible values are: disable (default), ISO_8601, ISO_8601_local, epoch (default: disable) - #last_seen: 'disable' + last_seen: ISO_8601_local # Optional: Add an elapsed attribute to MQTT messages, contains milliseconds since the previous msg (default: false) #elapsed: false # Optional: MQTT output type: json, attribute or attribute_and_json (default: shown below) @@ -232,6 +234,4 @@ advanced: # localhost: localhost # Host to indicate that log messages are coming from (Default: localhost). # type: '5424' # The type of the syslog protocol to use (Default: BSD, also valid: 5424). # app_name: Zigbee2MQTT # The name of the application (Default: Zigbee2MQTT). - # eol: '\n' # The end of line character to be added to the end of the message (Default: Message without modifications). - -version: 4 + # eol: '\n' # The end of line character to be added to the end of the message (Default: Message without modifications). \ No newline at end of file diff --git a/device_icons/bticino_4411C.png b/device_icons/bticino_4411C.png new file mode 100644 index 0000000..8b78bef Binary files /dev/null and b/device_icons/bticino_4411C.png differ diff --git a/device_icons/bticino_NT4027C.png b/device_icons/bticino_NT4027C.png new file mode 100644 index 0000000..1dcbf8b Binary files /dev/null and b/device_icons/bticino_NT4027C.png differ diff --git a/devices.yaml b/devices.yaml index fa62120..5145ac4 100644 --- a/devices.yaml +++ b/devices.yaml @@ -12,21 +12,14 @@ '0x00158d0004081917': friendly_name: wireless_button icon: device_icons/c7706a8b7bac2de2a6d18635d4047f81.png -'0x00158d0008d0b965': - friendly_name: Sensore Acqua Cucina - icon: device_icons/2d19c1b8e82d9b72921bbd1fcbde4541.png -'0x00158d0008d09473': - friendly_name: Sensore Acqua Bagno Grande - icon: device_icons/2d19c1b8e82d9b72921bbd1fcbde4541.png -'0x00158d0008dfffe8': - friendly_name: Sensore Acqua Bagno Piccolo - icon: device_icons/2d19c1b8e82d9b72921bbd1fcbde4541.png '0x00047400002bd3ad': friendly_name: Luce Sala - icon: device_icons/8c0e8647f723a4fa864ab86ae389f8a2.png + #icon: device_icons/8c0e8647f723a4fa864ab86ae389f8a2.png + icon: device_icons/bticino_4411C.png '0x0004740000292ec9': friendly_name: Luce Camera - icon: device_icons/8c0e8647f723a4fa864ab86ae389f8a2.png + #icon: device_icons/8c0e8647f723a4fa864ab86ae389f8a2.png + icon: device_icons/bticino_4411C.png '0x000474000025912a': friendly_name: Luce Vetrine homeassistant: @@ -119,19 +112,25 @@ icon: device_icons/c0b5ef1c8776e3f2f330d8f1c8d8650b.png '0x000474000159053e': friendly_name: Tapparella Bagno - icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + #icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + icon: device_icons/bticino_NT4027C.png '0x00047400015a3e19': friendly_name: Tapparella Studio - icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + #icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + icon: device_icons/bticino_NT4027C.png '0x00047400015ada4b': friendly_name: Tapparella Cucina Grande - icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + #icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + icon: device_icons/bticino_NT4027C.png '0x00047400015adb10': friendly_name: Tapparella Cucina Piccola - icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + #icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + icon: device_icons/bticino_NT4027C.png '0x00047400015ada3d': friendly_name: Tapparella Sala - icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + #icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + icon: device_icons/bticino_NT4027C.png '0x00047400015ada3f': friendly_name: Tapparella Camera - icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + #icon: device_icons/b07003b77321872a9abe4b8f7735872a.png + icon: device_icons/bticino_NT4027C.png