Clearing out some errors from the logs.

This commit is contained in:
ccostan
2020-06-05 11:22:28 -04:00
parent 7b2d0ba4d9
commit 6766dc3273
2 changed files with 1 additions and 61 deletions

View File

@@ -3,52 +3,7 @@
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# inspired by https://community.home-assistant.io/t/epson-wf-3540-ink-level-monitoring/21813
#-------------------------------------------
homeassistant:
customize_glob:
homebridge_hidden: True
#-------------------------------------------
# sensor:
# - platform: command_line
# name: Epson Ink Level Black
# command: /usr/bin/curl -X GET http://192.168.10.105/PRESENTATION/HTML/TOP/PRTINFO.HTML | awk -F"'" '/Ink_K.PNG/ && $6+0 == $6 { printf "%.0f\n", $6 / 50 * 100; exit }'
# unit_of_measurement: '%'
# scan_interval: 14400
#
# - platform: command_line
# name: Epson Ink Level Magenta
# command: /usr/bin/curl -X GET http://192.168.10.105/PRESENTATION/HTML/TOP/PRTINFO.HTML | awk -F"'" '/Ink_M.PNG/ && $6+0 == $6 { printf "%.0f\n", $6 / 50 * 100 }'
# unit_of_measurement: '%'
# scan_interval: 14400
#
# - platform: command_line
# name: Epson Ink Level Yellow
# command: /usr/bin/curl -X GET http://192.168.10.105/PRESENTATION/HTML/TOP/PRTINFO.HTML | awk -F"'" '/Ink_Y.PNG/ && $6+0 == $6 { printf "%.0f\n", $6 / 50 * 100 }'
# unit_of_measurement: '%'
# scan_interval: 14400
#
# - platform: command_line
# name: Epson Ink Level Cyan
# command: /usr/bin/curl -X GET http://192.168.10.105/PRESENTATION/HTML/TOP/PRTINFO.HTML | awk -F"'" '/Ink_C.PNG/ && $6+0 == $6 { printf "%.0f\n", $6 / 50 * 100 }'
# unit_of_measurement: '%'
# scan_interval: 14400
#
# - platform: command_line
# name: Epson Ink Level Photo Black
# command: /usr/bin/curl -X GET http://192.168.10.105/PRESENTATION/HTML/TOP/PRTINFO.HTML | awk -F"'" '/Ink_K.PNG/ {i++}i==2 && $6+0 == $6 { printf "%.0f\n", $6 / 50 * 100; exit }'
# unit_of_measurement: '%'
# scan_interval: 14400
#-------------------------------------------
group:
epson_printer:
name: Epson Printer Info
entities:
- sensor.epson_xp_7100_series_black_ink
- sensor.epson_xp_7100_series_cyan_ink
- sensor.epson_xp_7100_series_magenta_ink
- sensor.epson_xp_7100_series_yellow_ink
- sensor.epson_xp_7100_series_photo_black_ink
#-------------------------------------------
##############################################################################
### Automations - Detect when things are not right. Like any Good Watchdog.
##############################################################################