# Fronius-solar 1.0.4

**URL:** <https://discourse.nodered.org/t/fronius-solar-1-0-4/81699>\
**Category:** General\
**Created:** [1 October 2023 10:20 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699 "2023-10-01T10:20:46Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [1 October 2023 10:20 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/1 "2023-10-01T10:20:46Z")

</div>

Hello

I have updated “fronius-solar” to version 1.0.4 and now I receive the following error message:

"TypeError: fronius.GetPowerFlowRealtimeData is not a function"

Before the update it worked without any problems. Does anybody have the same Problem?

I found the following on github:

> **[Comparing v1.0.3...v1.0.4 · mabunixda/node-red-contrib-fronius-solar](https://github.com/mabunixda/node-red-contrib-fronius-solar/compare/v1.0.3...v1.0.4)**
>
> Contribute to mabunixda/node-red-contrib-fronius-solar development by creating an account on GitHub.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/f/af82365a017227a7b567e5f8fb5a2af1a6b92d4a.png)

Maybe that is related to my problem

---

<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:** [1 October 2023 12:11 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/2 "2023-10-01T12:11:25Z")

</div>

> [@Wurmi](#):
>
> Does anybody have the same Problem?

Yes, several apparently. [Error after upgrading to 1.0.4 · Issue #31 · mabunixda/node-red-contrib-fronius-solar · GitHub](https://github.com/mabunixda/node-red-contrib-fronius-solar/issues/31)

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [1 October 2023 18:53 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/3 "2023-10-01T18:53:36Z")

</div>

Jesus - i am an blind idiot. Thanks  
I will try to downgrade

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [3 October 2023 20:19 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/4 "2023-10-03T20:19:19Z")

</div>

I have tried to change the line 83 like described here:

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/d/cd450d61016fe61b9eabbfc809d641af351bba41.png)

Now i think i have got a bigger problem - but i dont know why

i get the following msg when i try to start node red via - node-red-start

Error loading settings file: /home/pi/.node-red/settings.js nodered.service: Main process exited, code=exited, status=1/FAILURE nodered.service: Failed with result 'exit-code'. nodered.service: Service RestartSec=100ms expired, scheduling restart. nodered.service: Scheduled restart job, restart counter is at 1.

i have never changed something in the settings.js ☹

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [3 October 2023 21:09 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/5 "2023-10-03T21:09:30Z")

</div>

> [@Wurmi](#):
>
> I have never changed something in the settings.js

Then there is a good chance your SD card is failing

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [4 October 2023 06:16 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/6 "2023-10-04T06:16:17Z")

</div>

Thats a bad news. ☹  
A few weeks ago i cloned thr card, but the new sd wont work too. With the new one the rasp dont boot ☹  
Thats a bad situation niw i think

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [4 October 2023 10:17 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/7 "2023-10-04T10:17:45Z")

</div>

Should i try to remove the file and let them recreating by Node-red - but first i think i should try to clone the card...

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [6 October 2023 05:29 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/8 "2023-10-06T05:29:05Z")

</div>

I have set a up a new installation on a new card with my saved Nodered Config. Only Grafana and Influx isnt wokring a the moment. Hope i will get it running again too

---

<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:** [9 October 2023 07:12 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/9 "2023-10-09T07:12:22Z")

</div>

An SD card is not the ideal storage for influxdb. Unless you have only a small amount of data I Recommend using a USB disc.

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [12 October 2023 16:26 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/10 "2023-10-12T16:26:56Z")

</div>

I use an SSD for the measurement data. The second SD card also appears to be broken. I set up a Node Red instance on a Windows Mini PC and it works, but without Grafana and Influx.  
I gave the card to a colleague and he is trying to restore the original card - i hope he is successfull.  
In any case, as a lesson for the future, I will only support the operating system on an SSD

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [17 October 2023 14:30 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/11 "2023-10-17T14:30:54Z")

</div>

After a few days on a windows machine i set up a new system on a ssd and got the most things working.  
The last thing i have to do is to get change the influxdb config, that it will write the data on the 2nd ssd - where the old data are stored. The question is - do i have to just change the path or export the data from the old storge and import it on the new one. Thats the last part i have to figure out.

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [21 October 2023 20:22 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/13 "2023-10-21T20:22:40Z")

</div>

For all with the same problem:

I wasnt able to downgrade so i did this quickfix for me:

> <https://github.com/mabunixda/node-red-contrib-fronius-solar/issues/31>
>
> I get this error after upgrading:
> 
> "TypeError: fronius.GetPowerFlowRealtimeDat…a is not a function"
> 
> I have restarted nodered
> 
> 
> After looking at the changes to v1.0.4 i see the name of the function was changed but this function is defined in "node-fronius-solar" so it would also need to be changed there.
> 
> Needs to be called "GetPowerFlowRealtimeDataData"

`nano ./.node-red/node_modules/node-red-contrib-fronius-solar/fronius/fronius.js`

change line 83:  
FROM:  
fronius.GetPowerFlowRealtimeData(node.options).then(function(json) { // eslint-disable-line  
TO:  
fronius.GetPowerFlowRealtimeDataData(node.options).then(function(json) { // eslint-disable-line

save and restart node-red.

So i got the version 1.0.4 running.

A functionable SD Card oder SSD is recommended 😃

---

<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:** [20 December 2023 20:23 UTC](https://discourse.nodered.org/t/fronius-solar-1-0-4/81699/14 "2023-12-20T20:23:25Z")

</div>

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