vk2him / Enphase-Envoy-mqtt-json

Takes real time stream from Enphase Envoy and publishes to mqtt broker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install in Docker with docker-compose (request)

cmseasy opened this issue · comments

I am running Home Assistant Container in Docker, not in HA OS. I have no Add-On's
Is there a workout (script?) to install Enphase-Envoy-mqtt-json] in docker (with docker-compose)?

I'm unable to test docker, my HA is running as a Virtual Machine - I did get the script to work fine and send the correct data to the mqtt broker running as a standalone application from the Linux OS that hosts the VM. Checkout Installation Method 2 from my instructions as you may be able to run it that way. Basically, you run the perl script which connects to the envoy and publishes the data every second to the mqtt broker. This script can run on Windows/Linux/Mac provided you can load the perl dependancies as listed in the instructions. From within HA you then create sensors from the mqtt topics from the broker. This is how I initially run this for many months before converting it to a HA Add-on so that everything was done within HA. Hope that helps?

Thinking about this more, there may be a way add this manually within HA.

Create a directory from root called /addons/Enphase-Envoy-mqtt-json then copy all the files manually from my github repo into it – you will have something like this: - Note the new directory is on the same level as the /config directory:

image001

Restart HA and you should see it in the Add-on Store as a Local add-ons

image002

Click that to install per the Instructions.

Some help might be available here on this as that is what I followed to create the add-on initially:

https://developers.home-assistant.io/docs/add-ons/tutorial/

Cheers
Ian

Thanks for your reaction/help.

Unfortunately addons are not added in a Docker Home Assistant Container envoironment. Addons needs the not installed Supervisor. I tested your workflow: no addons in Docker HA.

I read that Addons are Docker containers, so it shoult be possible to install Enphase-Envoy-mqtt-json in a container. My first Enphase-Envoy-mqtt-json Docker install finished with an error. I wil try further, I am not a Docker expert... it is a learning proces...

Once again: thanks,
Martin

Hi , @cmseasy sorry for responding to this old thread, but did you ever figure this out?

did you ever figure this out?

No, I did not.
I installed HAOS with Supervisor in a Proxmox virtual machine on a NUC and moved my configuration.