Skip to content

Commit

Permalink
Clearing out some errors from the logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccostan committed Jun 5, 2020
1 parent 7b2d0ba commit 6766dc3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 61 deletions.
45 changes: 0 additions & 45 deletions config/packages/epson_printer.yaml
Expand Up @@ -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.
##############################################################################
Expand Down
17 changes: 1 addition & 16 deletions config/packages/finance.yaml
Expand Up @@ -3,14 +3,7 @@
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Neato Support for D7 Connected Botvac - control my [Neato Vacuum](http://amzn.to/2kqnnqu) with Home Assistant.
#-------------------------------------------
# homeassistant:
# customize_glob:
# "*.*_sleep_hours":
# unit_of_measurement: hours
# icon: mdi:sleep
#
# hidden: False
#-------------------------------------------

sensor:
- platform: alpha_vantage
scan_interval: 2400
Expand All @@ -31,14 +24,6 @@ sensor:
- platform: coinmarketcap
currency_id: 1
#-------------------------------------------
group:
finance:
entities:
- sensor.tesla
- sensor.bitcoin
- sensor.ethereum
- sensor.vmware
- sensor.amazon

##############################################################################
### Automations - Detect when things are not right. Like any Good Watchdog.
Expand Down

0 comments on commit 6766dc3

Please sign in to comment.