# How to modify an existing flow?

**URL:** <https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548>\
**Category:** Hardware\
**Created:** [26 September 2021 18:55 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548 "2021-09-26T18:55:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChristophCaina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christophcaina/32/37783_2.png) [@ChristophCaina](https://discourse.nodered.org/u/ChristophCaina)\
**Post date:** [26 September 2021 18:55 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548/1 "2021-09-26T18:55:56Z")

</div>

Hi all,  
I am using NodeRed within HomeAssistant...

I am using a package "node-red-contrib-solaredge" which allows me to connect to the SolarEdge Monitoring API.

This package / palette does include two commands: "Details" and "Overview"  
But the API does allow some more commands to get certain other information.  
How could I Update the possible commands "easily" ?

I've forked the origin project on git hub but I do struggle with how I can import this into my NodeRed...

thanks for your help and suggestions and with regards,  
Christoph

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 September 2021 19:22 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548/2 "2021-09-26T19:22:30Z")

</div>

If you have forked it on github then you can install your fork by going to your .node-red folder and running  
`npm install your_git_username/node-red-contrib-solaredge`

---

<div class="post-metadata">

**Author:** ![ChristophCaina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christophcaina/32/37783_2.png) [@ChristophCaina](https://discourse.nodered.org/u/ChristophCaina)\
**Post date:** [26 September 2021 19:35 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548/3 "2021-09-26T19:35:36Z")

</div>

thanks!  
Unfortunately, sincec NodeRed is running within HomeAssistant, I can't really use npm... the only way I've found would be an upload as tgz file.. but I am not sure, how exactly I can acheive this...

I've downloaded the fork as tar.gz - but I think, the folder structure isn't correct...

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9fd0d1047de2ac2742c2db10366f25b9e2cfcd0b.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 September 2021 20:35 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548/4 "2021-09-26T20:35:04Z")

</div>

Probably best to ask in an HA forum then. Few here use HA.

---

<div class="post-metadata">

**Author:** ![ChristophCaina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christophcaina/32/37783_2.png) [@ChristophCaina](https://discourse.nodered.org/u/ChristophCaina)\
**Post date:** [26 September 2021 20:55 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548/5 "2021-09-26T20:55:26Z")

</div>

Hi, I've managed to install the package now... But since then, I am getting the warning: "type already registered" for the new node.

Do you have any hints for me?

![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/e/be93b33b4209e6ef24b0c4ddb7776bf608ecd59e.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [26 September 2021 21:03 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548/6 "2021-09-26T21:03:49Z")

</div>

Have you somehow installed the fork without removing the original version?

---

<div class="post-metadata">

**Author:** ![ChristophCaina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christophcaina/32/37783_2.png) [@ChristophCaina](https://discourse.nodered.org/u/ChristophCaina)\
**Post date:** [26 September 2021 22:18 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548/7 "2021-09-26T22:18:37Z")

</div>

I thought, I have uninstalled the original package... but it seems, that I have missed some areas where it was in use.

Now, I've got everything working - thanks a lot!

---

<div class="post-metadata">

**Author:** ![Wvanlaa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wvanlaa/32/48872_2.png) [@Wvanlaa](https://discourse.nodered.org/u/Wvanlaa)\
**Post date:** [1 October 2021 14:09 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548/8 "2021-10-01T14:09:32Z")

</div>

Hello @ChristophCaina, did you used some sort of "structure" for the tgz file, or just "dump" the files in like you have in the listing screenshot?  
I am new to this type of "custom install" for Home Assistant (or Node Red in general) and I could not find a download for a "ready" .tgz file.

I am getting an error "module not found".  
created the .tgz by running:  
"tar -czvf node-red-contrib-solaredge-2.tgz node-red-contrib-solaredge-2/"

Would you be able to shed a light on this please?

thanks,

---

<div class="post-metadata">

**Author:** ![ChristophCaina](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christophcaina/32/37783_2.png) [@ChristophCaina](https://discourse.nodered.org/u/ChristophCaina)\
**Post date:** [1 October 2021 17:40 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548/9 "2021-10-01T17:40:30Z")

</div>

hi,  
the upload as tgz did not work - probably, due to the file structure I had in the Screenshot.

BUT:  
you can use the Homeassistant Configuration to send npm commands to install different contributions:

1. 

Use the NodeRED repository list to search for your contribution:  
 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/6/b6e5a10d4ae5b1756dfbb6579a81f7c0b207f6ed.png)

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/0/6057bba66e9a420288d682cf58bdbdf6d3fa019d.png)

1. 

Apply the path to the repository in your HA Configuration... you will find this at: Supervisor / Addons / NodeRed / Configuration

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/a/ca374b5a1331d48772a667d92b43b66b24cbe1a3.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [30 November 2021 17:41 UTC](https://discourse.nodered.org/t/how-to-modify-an-existing-flow/51548/10 "2021-11-30T17:41:17Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
