Skip to content

Commit

Permalink
homeassistant: more awtrix settings
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfantom committed Nov 29, 2024
1 parent f9ba3ad commit 00cd39e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
16 changes: 10 additions & 6 deletions apps/homeassistant/config/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ input_datetime:
input_number:
#input_select: # configured in lower part of the file
input_text:
awtrix_custom_payload:
name: AXTRIX Display Custom Command
initial: '{}'
# Rudimentary regex pattern to somewhat match JSON input
pattern: |
((\[[^\}]{3,})?\{s*[^\}\{]{3,}?:.*\}([^\{]+\])?)
logbook:
logger:
default: info
Expand Down Expand Up @@ -297,11 +291,21 @@ rest_command:
method: "post"
payload: "{{ payload }}"
content_type: "application/json"
awtrix_notify_end:
url: "http://192.168.2.219/api/notify/dismiss"
method: "post"
payload: ""
content_type: "application/json"
awtrix_app:
url: "http://192.168.2.219/api/custom"
method: "post"
payload: "{{ payload }}"
content_type: "application/json"
awtrix_settings:
url: "http://192.168.2.219/api/settings"
method: "post"
payload: "{{ payload }}"
content_type: "application/json"

cover:
- platform: template
Expand Down
16 changes: 10 additions & 6 deletions apps/homeassistant/manifests/homeassistant/configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ data:
input_number:
#input_select: # configured in lower part of the file
input_text:
awtrix_custom_payload:
name: AXTRIX Display Custom Command
initial: '{}'
# Rudimentary regex pattern to somewhat match JSON input
pattern: |
((\[[^\}]{3,})?\{s*[^\}\{]{3,}?:.*\}([^\{]+\])?)
logbook:
logger:
default: info
Expand Down Expand Up @@ -300,11 +294,21 @@ data:
method: "post"
payload: "{{ payload }}"
content_type: "application/json"
awtrix_notify_end:
url: "http://192.168.2.219/api/notify/dismiss"
method: "post"
payload: ""
content_type: "application/json"
awtrix_app:
url: "http://192.168.2.219/api/custom"
method: "post"
payload: "{{ payload }}"
content_type: "application/json"
awtrix_settings:
url: "http://192.168.2.219/api/settings"
method: "post"
payload: "{{ payload }}"
content_type: "application/json"
cover:
- platform: template
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
template:
metadata:
annotations:
checksum.config/md5: 7cd1af157058537785f7daa44b436e55
checksum.config/md5: b97cb7319dea3e146b6ac2891fa40801
labels:
app.kubernetes.io/component: server
app.kubernetes.io/name: homeassistant
Expand Down

0 comments on commit 00cd39e

Please sign in to comment.