Fix Alexa, change hum alert settings, add tiktok tracking
This commit is contained in:
parent
dc5c31f1b1
commit
7b125f0357
@ -64,7 +64,7 @@ shift
|
|||||||
|
|
||||||
read message
|
read message
|
||||||
|
|
||||||
formatted=${message// /_}
|
formatted=${message// /-}
|
||||||
|
|
||||||
$ALEXA_REMOTE -d "$DEVICE" -e speak:$formatted >> /dev/null
|
$ALEXA_REMOTE -d "$DEVICE" -e speak:$formatted >> /dev/null
|
||||||
exit 0
|
exit 0
|
@ -7,7 +7,7 @@ humidity_too_high_bathroom:
|
|||||||
state: "on"
|
state: "on"
|
||||||
repeat:
|
repeat:
|
||||||
- 30
|
- 30
|
||||||
- 360
|
- 480
|
||||||
can_acknowledge: true
|
can_acknowledge: true
|
||||||
skip_first: true
|
skip_first: true
|
||||||
notifiers:
|
notifiers:
|
||||||
@ -22,7 +22,7 @@ humidity_too_high_bathroom_kids:
|
|||||||
state: "on"
|
state: "on"
|
||||||
repeat:
|
repeat:
|
||||||
- 30
|
- 30
|
||||||
- 360
|
- 480
|
||||||
can_acknowledge: true
|
can_acknowledge: true
|
||||||
skip_first: true
|
skip_first: true
|
||||||
notifiers:
|
notifiers:
|
||||||
@ -37,7 +37,7 @@ humidity_too_high_bedroom:
|
|||||||
state: "on"
|
state: "on"
|
||||||
repeat:
|
repeat:
|
||||||
- 30
|
- 30
|
||||||
- 360
|
- 480
|
||||||
can_acknowledge: true
|
can_acknowledge: true
|
||||||
skip_first: true
|
skip_first: true
|
||||||
notifiers:
|
notifiers:
|
||||||
@ -52,7 +52,7 @@ humidity_too_high_livingroom:
|
|||||||
state: "on"
|
state: "on"
|
||||||
repeat:
|
repeat:
|
||||||
- 30
|
- 30
|
||||||
- 360
|
- 480
|
||||||
can_acknowledge: true
|
can_acknowledge: true
|
||||||
skip_first: true
|
skip_first: true
|
||||||
notifiers:
|
notifiers:
|
||||||
@ -67,7 +67,7 @@ humidity_too_high_guestroom:
|
|||||||
state: "on"
|
state: "on"
|
||||||
repeat:
|
repeat:
|
||||||
- 30
|
- 30
|
||||||
- 360
|
- 480
|
||||||
can_acknowledge: true
|
can_acknowledge: true
|
||||||
skip_first: true
|
skip_first: true
|
||||||
notifiers:
|
notifiers:
|
||||||
@ -82,7 +82,7 @@ humidity_too_high_office:
|
|||||||
state: "on"
|
state: "on"
|
||||||
repeat:
|
repeat:
|
||||||
- 30
|
- 30
|
||||||
- 360
|
- 480
|
||||||
can_acknowledge: true
|
can_acknowledge: true
|
||||||
skip_first: true
|
skip_first: true
|
||||||
notifiers:
|
notifiers:
|
||||||
@ -97,7 +97,7 @@ humidity_too_high_attic:
|
|||||||
state: "on"
|
state: "on"
|
||||||
repeat:
|
repeat:
|
||||||
- 30
|
- 30
|
||||||
- 360
|
- 480
|
||||||
can_acknowledge: true
|
can_acknowledge: true
|
||||||
skip_first: true
|
skip_first: true
|
||||||
notifiers:
|
notifiers:
|
||||||
@ -112,7 +112,7 @@ humidity_too_high_hwr:
|
|||||||
state: "on"
|
state: "on"
|
||||||
repeat:
|
repeat:
|
||||||
- 30
|
- 30
|
||||||
- 360
|
- 480
|
||||||
can_acknowledge: true
|
can_acknowledge: true
|
||||||
skip_first: true
|
skip_first: true
|
||||||
notifiers:
|
notifiers:
|
||||||
|
@ -11,7 +11,7 @@ bathroom_window_open:
|
|||||||
skip_first: true
|
skip_first: true
|
||||||
notifiers:
|
notifiers:
|
||||||
- telegram_group
|
- telegram_group
|
||||||
- alexa_kitchen
|
- alexa_all
|
||||||
|
|
||||||
attic_window_open:
|
attic_window_open:
|
||||||
name: Dachboden-Fenster geöffnet
|
name: Dachboden-Fenster geöffnet
|
||||||
@ -24,4 +24,4 @@ attic_window_open:
|
|||||||
skip_first: true
|
skip_first: true
|
||||||
notifiers:
|
notifiers:
|
||||||
- telegram_group
|
- telegram_group
|
||||||
- alexa_kitchen
|
- alexa_all
|
@ -52,4 +52,8 @@
|
|||||||
- sensor.instagram_lotte_media
|
- sensor.instagram_lotte_media
|
||||||
- sensor.instagram_codedwithlove
|
- sensor.instagram_codedwithlove
|
||||||
- sensor.instagram_codedwithlove_follows
|
- sensor.instagram_codedwithlove_follows
|
||||||
- sensor.instagram_codedwithlove_media
|
- sensor.instagram_codedwithlove_media
|
||||||
|
# TikTok
|
||||||
|
- sensor.tiktok_beauty
|
||||||
|
- sensor.tiktok_beauty_hearts
|
||||||
|
- sensor.tiktok_beauty_videos
|
@ -218,3 +218,25 @@
|
|||||||
resource: !secret instagram_codedwithlove
|
resource: !secret instagram_codedwithlove
|
||||||
value_template: '{{ value_json.data.counts.media }}'
|
value_template: '{{ value_json.data.counts.media }}'
|
||||||
force_update: true
|
force_update: true
|
||||||
|
|
||||||
|
# TikTok
|
||||||
|
# beauty
|
||||||
|
- platform: rest
|
||||||
|
scan_interval: 300
|
||||||
|
name: tiktok_beauty
|
||||||
|
resource: !secret tiktok_beauty
|
||||||
|
value_template: '{{ value_json.data.userInfo.stats.followerCount }}'
|
||||||
|
unit_of_measurement: Followers
|
||||||
|
force_update: true
|
||||||
|
- platform: rest
|
||||||
|
scan_interval: 300
|
||||||
|
name: tiktok_beauty_hearts
|
||||||
|
resource: !secret tiktok_beauty
|
||||||
|
value_template: '{{ value_json.data.userInfo.stats.heartCount }}'
|
||||||
|
force_update: true
|
||||||
|
- platform: rest
|
||||||
|
scan_interval: 300
|
||||||
|
name: tiktok_beauty_videos
|
||||||
|
resource: !secret tiktok_beauty
|
||||||
|
value_template: '{{ value_json.data.userInfo.stats.videoCount }}'
|
||||||
|
force_update: true
|
Loading…
Reference in New Issue
Block a user