Running a different version of the data importer #390
-
Hi i used the dataimporter with your addon. it ran into an issue which i fixed on a different branch on the original firefly dataimporter repo. Can you help me run my branch on the addon? or any way to run my branch with homeassistant? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Hi, that's not straightforward. First, you should fork the repo, modify the config.json of the addon to remove reference to the image tag (it will then autobuild) then change the build tag in dockerfile to your own prebuilt container. You then add the forked address in your HA and install the updated addon. Other option : modify on the fly the files you needed to modify with a script running at the start of the addon, while keeping the initial container. If you do that, I could include it in the main addon so that it only triggers if the problematic code is present (and it will stop trigerring if an official container of data importer is published with the fix). |
Beta Was this translation helpful? Give feedback.
-
Thanks, I'll merge it |
Beta Was this translation helpful? Give feedback.
-
The build is done. So just wait for the supervisor to refresh (a couple hours) or you can force refresh it from the same location where you added my custom repo to your list in the addons store |
Beta Was this translation helpful? Give feedback.
Hi, that's not straightforward. First, you should fork the repo, modify the config.json of the addon to remove reference to the image tag (it will then autobuild) then change the build tag in dockerfile to your own prebuilt container. You then add the forked address in your HA and install the updated addon. Other option : modify on the fly the files you needed to modify with a script running at the start of the addon, while keeping the initial container. If you do that, I could include it in the main addon so that it only triggers if the problematic code is present (and it will stop trigerring if an official container of data importer is published with the fix).