diff --git a/README.md b/README.md index 3c6213e..71cb87e 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ I use the following software, running in docker containers, on my Raspberry Pi: ## Used External Services * Alexa (via Alexa Home Skill and AWS Lambda function) +* Bit.ly API * Google/Youtube API * Instagram API * Openweathermap diff --git a/configuration.yaml b/configuration.yaml index 189a14d..75b38c8 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -63,6 +63,8 @@ influxdb: - sensor.youtube_mtb - sensor.youtube_mtb_videos - sensor.youtube_mtb_views + # Bitly + - sensor.bitly_youtube_bb # Instagram - sensor.instagram_beauty - sensor.instagram_beauty_follows @@ -147,14 +149,14 @@ ffmpeg: ffmpeg_bin: /usr/bin/ffmpeg camera: - - platform: yi - name: YiHome1 - host: !secret yihome1 - password: !secret yihome1_password - ffmpeg_arguments: '-pred 1 -vf scale=800:450' - - platform: mqtt - name: YiHome1-Mqtt - topic: /home/camera/yihome1/motion/photo +# - platform: yi +# name: YiHome1 +# host: !secret yihome1 +# password: !secret yihome1_password +# ffmpeg_arguments: '-pred 1 -vf scale=800:450' +# - platform: mqtt +# name: YiHome1-Mqtt +# topic: /home/camera/yihome1/motion/photo # - platform: mjpeg # name: octoprint_webcam # mjpeg_url: !secret octoprint_cam_url diff --git a/sensors/social.yaml b/sensors/social.yaml index beb8f53..ec2211a 100644 --- a/sensors/social.yaml +++ b/sensors/social.yaml @@ -41,6 +41,15 @@ value_template: '{{ value_json["items"][0].statistics.viewCount }}' force_update: true +# Bit.ly + # http://bit.ly/youtube-bb + - platform: rest + scan_interval: 300 + name: bitly_youtube-bb + resource: !secret bitly_youtube-bb + value_template: '{{ value_json.data.link_clicks }}' + force_update: true + # Instagram #beauty - platform: rest diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml index ca1f3f4..4e48748 100644 --- a/ui-lovelace.yaml +++ b/ui-lovelace.yaml @@ -1,5 +1,5 @@ # Icons @ https://materialdesignicons.com/ -title: Połowa Bliźniaka +title: Making Home Great Again views: - !include lovelace-views/overview.yaml - !include lovelace-views/livingroom.yaml @@ -7,4 +7,4 @@ views: - !include lovelace-views/spotify.yaml - !include lovelace-views/instagram.yaml - !include lovelace-views/devices.yaml - - !include lovelace-views/cctv.yaml \ No newline at end of file +# - !include lovelace-views/cctv.yaml \ No newline at end of file diff --git a/www/avatars/jenny-bty.jpg b/www/avatars/jenny-bty.jpg index 60bb96c..17c1ca8 100644 Binary files a/www/avatars/jenny-bty.jpg and b/www/avatars/jenny-bty.jpg differ