MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-HomeAssistantDisplay Question

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 3 Posters 52 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • UncleRogerU Offline
      UncleRoger
      last edited by

      I have HomeAssistant set up and use MMM-HomeAssistant-sensors to grab some data from various devices (mostly a couple of cheap temp/humidity sensors and the fancy new stove & fridge). These display on the mirror as a simple table which is fine.

      I also have my wife’s EV hooked up in HA so I can see its status. I have a nice little panel (card?) set up with a gauge for the battery and indicators for things like charging, doors locked, etc.

      Can I display that panel as-is on my mirror using MMM-HomeAssistantDisplay? Or would I need to recreate the display for the mirror?

      Is there a module that will simply render a HA panel on the mirror?

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @UncleRoger
        last edited by sdetweil

        @UncleRoger if you use an iframe or webview, you could display that card on its own page, embedded on the MM page…
        and it looks like you could have another userid whose home page is that card…

        otherwise the HADisplay is really only sensor types.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        UncleRogerU 1 Reply Last reply Reply Quote 0
        • UncleRogerU Offline
          UncleRoger @sdetweil
          last edited by

          @sdetweil

          So put an iframe or webview on the MM to point to an HA user with that card as its only view?

          Something like MMM-SmartWebDisplay or MMM-WebView?

          Thanks again!

          S 1 Reply Last reply Reply Quote 1
          • S Do not disturb
            sdetweil @UncleRoger
            last edited by

            @UncleRoger yes

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • H Offline
              Hilt
              last edited by Hilt

              @uncleroger

              If your iFrame doesn’t render, in your HA configuration.yaml file, include the following :

              http:
                use_x_frame_options: false
              

              Restart HA first, wait for it to finish, then restart your MM instance to see if the iFrame shows.

              I use this older MM iFrame module as it’s straight forward.

              Within HA, you can also make use of the Kiosk Mode HACS add-on to hide the header and/or sidebars. Once installed, you simply add the following at the top of your dashboard YAML using the Raw configuration editor ( this step is shown in the vid ).

              kiosk_mode:
                non_admin_settings:
                  kiosk: true
                  ignore_entity_settings: true
              

              If you have solar power or another view of your household electricity use via HA, there’s a super funky card that’s been released : https://github.com/Giorgio866/lumina-energy-card. It can show the flow of power around the house as well as what’s going into the EV. Feel the love for Tron !

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy