Read the statement by Michael Teeuw here.
Is adding Home Assistant the right way to go?
-
HI
I am really not sure whether this is the right section to post, so please move if need be.I have my MM set up on RP5, have the usual google calendar, weather etc, planning on adding some other bits and pieces as I go on.
This year, we have got a new EV (XPeng) and now have Sigenstor battery and have updated our panesl. We are also going to add WIFI to our Daikin splits. I have already set up MMM-Pages and would like to have a page to cover our Sigenergy information with solar and battery info, have info about our car battery and eventually to have the Daikin stuff on there. I have found the module for Daikin, but not for the other things. Home Assistant does seem to already have these things and I am trying to work out whether it is best to try and develop MM modules to access these information (or put a request in), or to add Home Assistant modules via iFrame or something like that. If the latter, then I am a little stuck on how to proceed. I don’t have anything set up for Home Assistant, and I’m reluctant to wipe the RaspberryPi and start again with the HAOS. I have seen something about dockers, do I create a docker on the Pi to setup HA there? and can that be on there whilst MM is installed on the RPi? I seem to be going in circles. I will possibly ask about creating HA in a docker container in their forum, but was wondering if anyone here, knows which is the best approach for those with a lot of MM set-up already.
Thanks in advance. -
@British_Kiwi there is a HomeAssisstant module that seems capable of displaying just about any element
MMM-HomeAssistantDisplay
and you should be able to have multiple instances on different pages…
I run HA in docker, not on HAOS( setup up that way to begin with)
first as an app, then moved to docker when I wanted to upgrade the host OS,
now moved to my synology nas box as the serveronly thing you don’t get is the ‘easy’ Addons…
-
@sdetweil thanks Sam as always!! So if I install docker and then follow the HA install instructions for the container, then should be fine. I think i eventually found the correct instructions.
I do have a Synology NAS which I could possibly put it on, would need to check where to put it and what permissions.
Could I add docker directly onto the Pi? -
@British_Kiwi for synology use the container manager community tool (added to package manager), HA install link https://www.home-assistant.io/installation/alternative/#install-home-assistant-container
Each App has its own compose file
You could put docker on pi 4/5
I run a mosquito mqtt server there too
And dozzle to be able to see all the container logs
And uptime-kuma to monitor apps
And watchtower to keep the containers up to dateI use zigbee devices, so run the zigbee2mqtt server there too
And the esphome server for ha integration of esphome devices (new ha assist devices for voice)I Moved all my pi docker stuff to synology
here is a dozzle list of all the containers I am running on my synology 923+ nas, 32 gig memory
-
I too use HA in a container on Synology. I make the dashboards within HA and use iFrame’s to display them on the MagicMirror. This way you can make the dashboards as pretty as you like. You really don’t have limits.
To get some idea :
https://forum.magicmirror.builders/topic/19738/home-dashboard?page=1
Initially I was running an older version of MagicMirror and I had to add the following in the configuration.yaml file of Home Assistant to have them to display :
http: use_x_frame_options: false
To be fair, I haven’t tried excluding this since I rebuilt the MagicMirror using the latest build at the time. But it’s still in there today and isn’t causing any harm. It was more a HA workaround in any case
-
@Hilt @sdetweil sorry for the delay in response. School holidays, plus investigating options for heat pumps and keep getting distracted. I did manage to install Docker and Portainer (hadn’t seen your response yet) to my Pi and so am going to have a play with HA today. However, also going to check all your suggestions to see what can be useful :)
-
@British_Kiwi have fun. Lot to learn…