2.9" NAS Dashboard - OpenEPaperLink/Home_Assistant_Integration GitHub Wiki

Description: This is a detailed dashboard for Synology NAS systems. This could be linked to a time or flag triggered automation. Rename blueprint variables to match your systems.

service: open_epaper_link.drawcustom
target:
  entity_id:
    - open_epaper_link.000002393AD63B13
data:
  background: white
  rotate: 0
  payload:     

#Header and Title
    - type: rectangle
      x_start: 73 
      x_end: 221
      y_start: 0
      y_end: 25
      width: 1
      fill: white
      outline: black  
    - type: icon
      value: nas
      x: 76
      y: 1
      size: 25
      color: black  
    - type: text
      value: "NAS Status"
      font: "ppb.ttf"
      x: 147
      y: 8
      size: 12
      color: black
      anchor: mm   
    - type: text
      value: "{{ states('sensor.nas_001_volume_1_status') | string }}"
      font: "ppb.ttf"
      x: 147
      y: 18
      size: 8
      color: black
      anchor: mm   
	  
#Last Update
    - type: rectangle
      x_start: 73 
      x_end: 221
      y_start: 25
      y_end: 47
      width: 1
      fill: white
      outline: red 	  
    - type: icon
      value: calendar-clock
      x: 79
      y: 29
      size: 15
      color: black 	  
    - type: multiline
      value: "Last|Updated"
      delimiter: "|"
      font: "ppb.ttf"
      offset_y: 9
      start_y: 25
      x: 95
      size: 9
      align: center
      spacing: 9
      color: black
      y_padding: 0
	  
    - type: text
      value: "{{ states('sensor.time') | string }} "
      font: "ppb.ttf"
      x: 184
      y: 32
      size: 9
      color: red     
      anchor: mm
    - type: text
      value: "{{ states('sensor.date') | string }} "
      font: "ppb.ttf"
      x: 184
      y: 41
      size: 9
      color: red     
      anchor: mm	  	  
	  
#Left Memory
    - type: rectangle
      x_start: 0 
      x_end: 73
      y_start: 0
      y_end: 127
      width: 1
      fill: white
      outline: black
    - type: icon
      value: memory
      x: 0
      y: 0
      size: 27
      color: black 	 
    - type: text
      value: "RAM"
      font: "ppb.ttf"
      x: 44
      y: 12
      size: 10
      color: black
      anchor: mm   
    - type: line
      x_start: 18
      x_end: 55
      y_start: 25
      y_end: 25
      width: 1
      fill: black

#Left Memory Data
    - type: text
      value: "{{ states('sensor.nas_001_memory_total_real', with_unit=True) | string }}"
      font: "ppb.ttf"
      x: 44
      y: 35
      size: 9
      color: red
      anchor: rm   
    - type: text
      value: "Tot"
      font: "ppb.ttf"
      x: 46
      y: 35
      size: 9
      color: black
      anchor: lm   
    - type: text
      value: "{{ states('sensor.nas_001_memory_available_real', with_unit=True) | string }}"
      font: "ppb.ttf"
      x: 44
      y: 48
      size: 9
      color: red
      anchor: rm   
    - type: text
      value: "Free"
      font: "ppb.ttf"
      x: 46
      y: 48
      size: 9
      color: black
      anchor: lm  
    - type: text
      value: "{{ states('sensor.nas_001_memory_usage_real') | string }} %"
      font: "ppb.ttf"
      x: 44
      y: 61
      size: 9
      color: red
      anchor: rm   
    - type: text
      value: "Use"
      font: "ppb.ttf"
      x: 46
      y: 61
      size: 9
      color: black
      anchor: lm  

#Network 
#Network Header
    - type: line
      x_start: 0
      x_end: 73
      y_start: 68
      y_end: 68
      width: 1
      fill: black
    - type: icon
      value: lan-connect
      x: 2
      y: 70
      size: 20
      color: black        
    - type: text
      value: "Netwrk"
      font: "ppb.ttf"
      x: 46
      y: 80
      size: 10
      color: black
      anchor: mm  
    - type: line
      x_start: 18
      x_end: 55
      y_start: 93
      y_end: 93
      width: 1
      fill: black
      
#NetworkData
    - type: text
      value: "{{ states('sensor.nas_001_upload_throughput', with_unit=True) | string }}"
      font: "ppb.ttf"
      x: 55
      y: 103
      size: 9
      color: red
      anchor: rm 
    - type: text
      value: "UL"
      font: "ppb.ttf"
      x: 57
      y: 103
      size: 9
      color: black
      anchor: lm 
    - type: text
      value: "{{ states('sensor.nas_001_download_throughput', with_unit=True) | string }}"
      font: "ppb.ttf"
      x: 55
      y: 118
      size: 9
      color: red
      anchor: rm 
    - type: text
      value: "DL"
      font: "ppb.ttf"
      x: 57
      y: 118
      size: 9
      color: black
      anchor: lm
     
#Left System
#System header
    - type: rectangle
      x_start: 73 
      x_end: 147
      y_start: 47
      y_end: 127
      width: 1
      fill: white
      outline: black
    - type: text
      value: "System"
      font: "ppb.ttf"
      x: 110
      y: 53
      size: 10
      color: black
      anchor: mm  
    
#System Data
    #System Warning
    - type: icon
      value:  "{{ 'alert' if is_state('binary_sensor.nas_health', 'on') else 'check-circle-outline' }}"
      x: 123
      y: 59
      size: 17
      color: "{{ 'red' if is_state('binary_sensor.nas_health', 'on') else 'black' }}"

    #CPU LOAD
    - type: icon
      value: cpu-64-bit
      x: 79
      y: 59
      size: 17
      color: black    
    - type: text
      value: "{{ states('sensor.nas_001_cpu_utilization_total') | string }}%"
      font: "ppb.ttf"
      x: 97
      y: 68
      size: 9
      color: red
      anchor: lm        
    #System Temp
    - type: icon
      value: thermometer
      x: 78
      y: 77
      size: 17
      color: black        
    - type: text
      value: "{{ states('sensor.nas_001_temperature', with_unit=True) | string }}"
      font: "ppb.ttf"
      x: 97
      y: 86
      size: 9
      color: red
      anchor: lm 
    #Power Utilization
    - type: icon
      value: power-plug-outline
      x: 79
      y: 95
      size: 17
      color: black 
    - type: text
      value: "{{ states('sensor.3rd_reality_smart_plug_9_power', with_unit=True) | string }}"
      font: "ppb.ttf"
      x: 97
      y: 104
      size: 9
      color: red
      anchor: lm 
    #Energy Utilization
    - type: icon
      value: lightning-bolt-outline
      x: 79
      y: 112
      size: 17
      color: black 
    - type: text
      value: "{{ states('sensor.3rd_reality_smart_plug_9_energy', with_unit=True) | string }}"
      font: "ppb.ttf"
      x: 97
      y: 121
      size: 9
      color: red
      anchor: lm 
      
#right Health
#Health Header
    - type: rectangle
      x_start: 147 
      x_end: 221
      y_start: 47
      y_end: 127
      width: 1
      fill: white
      outline: black
    - type: text
      value: "Health"
      font: "ppb.ttf"
      x: 184
      y: 53
      size: 10
      color: black
      anchor: mm  
#Health Data
    - type: icon
      value: "{{ 'alert' if is_state('input_boolean.nas_health_smart', 'on') else 'check-circle-outline' }}"
      #value: alert
      x: 152
      y: 59
      size: 17
      color: "{{ 'red' if is_state('input_boolean.nas_health_smart', 'on') else 'black' }}"
      #color: red 
    - type: text
      value: "SMART"
      font: "ppb.ttf"
      x: 172
      y: 68
      size: 9
      color: black
      anchor: lm       
    - type: icon
      value: "{{ 'alert' if is_state('binary_sensor.nas_health_drive_temp', 'on') else 'check-circle-outline' }}"
      #value: alert
      x: 152
      y: 76
      size: 17
      color: "{{ 'red' if is_state('binary_sensor.nas_health_drive_temp', 'on') else 'black' }}"
      #color: red 
    - type: text
      value: "DvTemp"
      font: "ppb.ttf"
      x: 172
      y: 85
      size: 9
      color: black
      anchor: lm    
    - type: icon
      value: "{{ 'alert' if is_state('binary_sensor.nas_001_security_status', 'on') else 'check-circle-outline' }}"
      #value: alert
      x: 152
      y: 94
      size: 17
      color: "{{ 'red' if is_state('binary_sensor.nas_001_security_status', 'on') else 'black' }}"
      #color: red 
    - type: text
      value: "Security"
      font: "ppb.ttf"
      x: 172
      y: 103
      size: 9
      color: black
      anchor: lm    
    - type: icon
      value: "{{ 'alert' if is_state('update.nas_001_dsm_update', 'on') else 'check-circle-outline' }}"
      #value: alert
      x: 152
      y: 111
      size: 17
      color: "{{ 'red' if is_state('update.nas_001_dsm_update', 'on') else 'black' }}"
      #color: red 
    - type: text
      value: "Update"
      font: "ppb.ttf"
      x: 172
      y: 120
      size: 9
      color: black
      anchor: lm  
      
#Right Drive
    - type: rectangle
      x_start: 221 
      x_end: 295
      y_start: 0
      y_end: 127
      width: 1
      fill: white
      outline: black
    - type: icon
      value: harddisk
      x: 221
      y: 0
      size: 26
      color: black	  
    - type: multiline
      value: "Drive|Disks"
      delimiter: "|"
      font: "ppb.ttf"
      offset_y: 9
      start_y: 1
      x: 254
      size: 10
      align: center
      spacing: 9
      color: black
      y_padding: 0
    - type: text
      value: "4X 10TB - SHR"
      font: "ppb.ttf"
      x: 258
      y: 30
      size: 9
      color: black
      anchor: mm  
    - type: line
      x_start: 239
      x_end: 276
      y_start: 35
      y_end: 35
      width: 1
      fill: black
#Drive Utilization
    - type: text
      value: "{{ states('sensor.nas_001_volume_1_used_space', with_unit=True) | string }}"
      font: "ppb.ttf"
      x: 268
      y: 42
      size: 9
      color: red
      anchor: rm   
    - type: text
      value: "Use"
      font: "ppb.ttf"
      x: 270
      y: 42
      size: 9
      color: black
      anchor: lm   
    - type: text
      value: "{{ states('sensor.nas_001_volume_1_volume_used') | string }}%"
      font: "ppb.ttf"
      x: 268
      y: 53
      size: 9
      color: red
      anchor: rm   
    - type: text
      value: "Utl"
      font: "ppb.ttf"
      x: 270
      y: 53
      size: 9
      color: black
      anchor: lm  
    - type: text
      value: "{{ states('sensor.nas_001_volume_1_average_disk_temp') | string }}°C"
      font: "ppb.ttf"
      x: 268
      y: 64
      size: 9
      color: red
      anchor: rm 
    - type: text
      value: "Avg"
      font: "ppb.ttf"
      x: 270
      y: 64
      size: 9
      color: black
      anchor: lm        
    - type: line
      x_start: 239
      x_end: 276
      y_start: 69
      y_end: 69
      width: 1
      fill: black 
 #Drive Health
    - type: text
      value: "Drv1:"
      font: "ppb.ttf"
      x: 252
      y: 76
      size: 9
      color: black
      anchor: rm
    - type: text
      value: "{{ states('sensor.nas_001_drive_1_status') | string }}"
      font: "ppb.ttf"
      x: 252
      y: 76
      size: 9
      color: red
      anchor: lm 
    - type: text
      value: "Drv2:"
      font: "ppb.ttf"
      x: 252
      y: 87
      size: 9
      color: black
      anchor: rm
    - type: text
      value: "{{ states('sensor.nas_001_drive_2_status') | string }}"
      font: "ppb.ttf"
      x: 252
      y: 87
      size: 9
      color: red
      anchor: lm  
    - type: text
      value: "Drv3:"
      font: "ppb.ttf"
      x: 252
      y: 98
      size: 9
      color: black
      anchor: rm
    - type: text
      value: "{{ states('sensor.nas_001_drive_3_status') | string }}"
      font: "ppb.ttf"
      x: 252
      y: 98
      size: 9
      color: red
      anchor: lm  
    - type: text
      value: "Drv4:"
      font: "ppb.ttf"
      x: 252
      y: 110
      size: 9
      color: black
      anchor: rm
    - type: text
      value: "{{ states('sensor.nas_001_drive_4_status') | string }}"
      font: "ppb.ttf"
      x: 252
      y: 110
      size: 9
      color: red
      anchor: lm        
#Initialization
    - type: text
      value: "init 11/27/23"
      font: "ppb.ttf"
      x: 258
      y: 121
      size: 8
      color: black
      anchor: mm