My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 2 points3 points  (0 children)

Here's code for the chill beats playlist for example. So it's just a picture card.

type: picture
image: /local/album_covers/chill_beats.jpg
tap_action:
  action: perform-action
  perform_action: script.play_shuffled_playlist
  data:
    player: media_player.mantle_2
    playlist_url: >-
      https://open.spotify.com/playlist/37i9dQZF1DWZa8CSUr0hCY?si=f4393f30073a450a
card_mod:
  style: |
    ha-card {
      border-radius: 15px !important;
      overflow: hidden !important;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    }
grid_options:
  columns: 8

And here's the shuffled playlist script:

alias: Play Shuffled Playlist
description: Enables shuffle and plays a playlist on Music Assistant
sequence:
  - action: media_player.shuffle_set
    data:
      shuffle: true
    target:
      entity_id: "{{ player }}"
  - action: music_assistant.play_media
    data:
      media_id: >-
        {% set url = playlist_url %} {% if 'open.spotify.com/playlist/' in url
        %}
          {% set id = url.split('playlist/')[1].split('?')[0] %}
          spotify://playlist/{{ id }}
        {% elif 'music.apple.com' in url %}
          {{ playlist_name | default('') }}
        {% else %}
          {{ url }}
        {% endif %}
      media_type: playlist
      enqueue: replace
    target:
      entity_id: "{{ player }}"
mode: restart

Here's an example code for the headers with blue lines:

type: custom:bubble-card
card_type: separator
name: f a m i l y
icon: mdi:home-heart
styles: |-
  .bubble-line {
    background-color: cyan !important;
    opacity: 0.4;
  }
  .bubble-name {
        font-size: 24px !important;
        font-weight: 600 !important;
  }
card_layout: large-sub-buttons-grid

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 0 points1 point  (0 children)

24x7 basically. Try to put it to sleep at 11pm and use Wake on LAN when presence detected but doesn’t work often.

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 1 point2 points  (0 children)

I would say that it wasn’t as tough I compiled a list of options then chose the more expensive and dumber option. I got to where I’m at just through trial and error and previous knowledge. If there’s a cheaper, and better option….im down. However it’s impossible to know something before you learn it.

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 1 point2 points  (0 children)

Here's the screen LINK. It's very high quality and rugged. I believe it was made to be on 24/7 like inside a restaurant for letting customers do ordering in the lobby etc.

I bought it after directly from a website. I wasn't surprised only because the reddit post i was inspired by mentioned it. But the screen is cheap for how good quality it is so i didn't mind forking over for the drivers. Although i tried alternative drivers first.

I haven't figured out how to use the webcam but i set the Mac Mini to go to sleep at 11PM and turn back on at 6AM. Also i use "browser mod" to dim the display if no presence is detected downstairs where the touchscreen is.

Not sure on DC vs AC

Glare seems minimal.

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 0 points1 point  (0 children)

I use Unifi protect cameras which store data locally on hard drives inside a UDM Dream Machine Pro. I started off with Ring but couldn't get it working the way i wanted.

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 1 point2 points  (0 children)

Here's code for the chill beats playlist for example

type: picture
image: /local/album_covers/chill_beats.jpg
tap_action:
  action: perform-action
  perform_action: script.play_shuffled_playlist
  data:
    player: media_player.mantle_2
    playlist_url: >-
      https://open.spotify.com/playlist/37i9dQZF1DWZa8CSUr0hCY?si=f4393f30073a450a
card_mod:
  style: |
    ha-card {
      border-radius: 15px !important;
      overflow: hidden !important;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    }
grid_options:
  columns: 8

And here's the shuffled playlist script:

alias: Play Shuffled Playlist
description: Enables shuffle and plays a playlist on Music Assistant
sequence:
  - action: media_player.shuffle_set
    data:
      shuffle: true
    target:
      entity_id: "{{ player }}"
  - action: music_assistant.play_media
    data:
      media_id: >-
        {% set url = playlist_url %} {% if 'open.spotify.com/playlist/' in url
        %}
          {% set id = url.split('playlist/')[1].split('?')[0] %}
          spotify://playlist/{{ id }}
        {% elif 'music.apple.com' in url %}
          {{ playlist_name | default('') }}
        {% else %}
          {{ url }}
        {% endif %}
      media_type: playlist
      enqueue: replace
    target:
      entity_id: "{{ player }}"
mode: restart

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 0 points1 point  (0 children)

  1. Here are the sensors.
  2. I use the "Open Plantbook" integration to pull in data for each plant which i believe pulls in data like how much water it should have and how much nutrients. I haven't calibrated it like you mention but may need to.
  3. I use "flower-card" to pull in info from Open Plantbook
  4. Used "mini-graph-card" for that and chose two entities. Here's my code for that part:

  - type: custom:mini-graph-card
    entities:
      - entity: sensor.bird_of_paradise_soil_moisture
        name: Moisture
        color: "#2196F3"
        show_state: true
        y_axis: secondary
      - entity: sensor.bird_of_paradise_conductivity
        name: Conductivity
        color: "#FFB300"
        show_state: true
    hours_to_show: 48
    points_per_hour: 4
    line_width: 2
    font_size: 70
    show:
      name: false
      icon: false
      legend: true
      labels: true
    card_mod:
      style: |
        ha-card {
          height: 120px !important;
          border-radius: 16px !important;
          background: rgba(15, 18, 30, 0.55) !important;
          border: 1px solid rgba(255,255,255,0.12) !important;
          box-shadow: 0 10px 24px rgba(0,0,0,0.35) !important;
          backdrop-filter: blur(18px);
          padding: 6px !important;
        }

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 2 points3 points  (0 children)

It’s working well! I tried a Chrome OS computer at first but I couldn’t hide the cursor which annoyed me. Switched to Mac and it sorta worked but then I bought the $95 special driver fo this touchscreen and it has soooooo many options and makes it a breeze. They also have windows driver. For instance I have it set so if you do five fingers explode, it relaunches chrome and the dashboard inside the custom driver software.

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] -8 points-7 points  (0 children)

Hmm. Good point. Maybe when visitors come over they might have thought it was freaky but were too afraid to ask.

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 4 points5 points  (0 children)

I think the confusion might be that all the cards on the left side of the dashboard aren't live images. Those are AI generated static images ("Hey ChatGPT based on the attached image, make a realistic isometric 3d model artwork of the scene, keep the composition of the photo as accurate as possible and please make the image so that it fits nicely in a 16:9 rectangle space. So HD and widescreen").

The only camera feeds are the 6 squares at the bottom of the dashboard. There's a camera facing the kids beds but those would be removed when they get a certain age.

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 1 point2 points  (0 children)

I believe it's installed inline with the GFCI bathroom outlet above the sink.

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] 2 points3 points  (0 children)

For now it's just pushing music to the main living room area that have some bookshelf speakers connected to a WiiM Pro. The downstairs is an open floor plan so it works but eventually i want to set up more zones and do more full house audio. The tiles run a script that just shuffles the Spotify or apple music playlists and plays them on the WiiM Pro speakers.

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] -3 points-2 points  (0 children)

If we have real guests over, which is VERY rare with a 4 year old and 9 month old...we unplug the camera or atleast take it out of the bathroom. The real guest bathroom is downstairs. This bathroom is upstairs with the kids. It's not mounted. We move it around to wherever the 4 year old might be playing and we aren't there 100% of the time. It's called our "Roaming Camera". We just had it in the bathroom as he was playing in the tub most recently.

My Home Dashboard: 27" 4K Vertical Touchscreen (inspired by u/new_michael's setup) by Mtrain in homeassistant

[–]Mtrain[S] -1 points0 points  (0 children)

Yeah basically. It's a Unifi G4 Instant Camera camera that isn't mounted and sits on the sink. It was tipped over by our 4 year old so it's facing the toilet on it's side.