Fix Alexa, change hum alert settings, add tiktok tracking

This commit is contained in:
Florian Brinker 2020-04-12 22:56:20 +02:00
parent dc5c31f1b1
commit 7b125f0357
5 changed files with 38 additions and 12 deletions

View File

@ -64,7 +64,7 @@ shift
read message
formatted=${message// /_}
formatted=${message// /-}
$ALEXA_REMOTE -d "$DEVICE" -e speak:$formatted >> /dev/null
exit 0

View File

@ -7,7 +7,7 @@ humidity_too_high_bathroom:
state: "on"
repeat:
- 30
- 360
- 480
can_acknowledge: true
skip_first: true
notifiers:
@ -22,7 +22,7 @@ humidity_too_high_bathroom_kids:
state: "on"
repeat:
- 30
- 360
- 480
can_acknowledge: true
skip_first: true
notifiers:
@ -37,7 +37,7 @@ humidity_too_high_bedroom:
state: "on"
repeat:
- 30
- 360
- 480
can_acknowledge: true
skip_first: true
notifiers:
@ -52,7 +52,7 @@ humidity_too_high_livingroom:
state: "on"
repeat:
- 30
- 360
- 480
can_acknowledge: true
skip_first: true
notifiers:
@ -67,7 +67,7 @@ humidity_too_high_guestroom:
state: "on"
repeat:
- 30
- 360
- 480
can_acknowledge: true
skip_first: true
notifiers:
@ -82,7 +82,7 @@ humidity_too_high_office:
state: "on"
repeat:
- 30
- 360
- 480
can_acknowledge: true
skip_first: true
notifiers:
@ -97,7 +97,7 @@ humidity_too_high_attic:
state: "on"
repeat:
- 30
- 360
- 480
can_acknowledge: true
skip_first: true
notifiers:
@ -112,7 +112,7 @@ humidity_too_high_hwr:
state: "on"
repeat:
- 30
- 360
- 480
can_acknowledge: true
skip_first: true
notifiers:

View File

@ -11,7 +11,7 @@ bathroom_window_open:
skip_first: true
notifiers:
- telegram_group
- alexa_kitchen
- alexa_all
attic_window_open:
name: Dachboden-Fenster geöffnet
@ -24,4 +24,4 @@ attic_window_open:
skip_first: true
notifiers:
- telegram_group
- alexa_kitchen
- alexa_all

View File

@ -52,4 +52,8 @@
- sensor.instagram_lotte_media
- sensor.instagram_codedwithlove
- sensor.instagram_codedwithlove_follows
- sensor.instagram_codedwithlove_media
- sensor.instagram_codedwithlove_media
# TikTok
- sensor.tiktok_beauty
- sensor.tiktok_beauty_hearts
- sensor.tiktok_beauty_videos

View File

@ -218,3 +218,25 @@
resource: !secret instagram_codedwithlove
value_template: '{{ value_json.data.counts.media }}'
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