January 19, 20242 yr 20 hours ago, Ronnie1102 said: Nope, just allows you to have more control of your system as well. Sweet Just got upgraded and set my intervals to 60s 👍. Will try to update the flows tomorrow because I think I messed something up just now so just reverted to my pre update backup. I did saw one of the lines in the SS_Consolid where it showed my sn_data come back as " 12345678: false" so not sure what I missed but was rushing it so will try again when I have more time tomorrow.
January 20, 20242 yr @Gary Waterworth I've tried updating my flows to your latest but seem to be getting the following error: Reverting to the previous flows is my current solution. My gateway is set to 60s so not sure what might be causing this. I've tried with redoing the config and secrets with the latest of V2.2 and with using the previous config and secrets wich works currently and just updating the flows with the same result. Repasted the Long life Token as well to cover my bases. Any idea on why my plant will throw out that error when updating to the new flows? Edited January 20, 20242 yr by -cK-
January 21, 20242 yr Author 6 hours ago, -cK- said: @Gary Waterworth I've tried updating my flows to your latest but seem to be getting the following error: Reverting to the previous flows is my current solution. My gateway is set to 60s so not sure what might be causing this. I've tried with redoing the config and secrets with the latest of V2.2 and with using the previous config and secrets wich works currently and just updating the flows with the same result. Repasted the Long life Token as well to cover my bases. Any idea on why my plant will throw out that error when updating to the new flows? Please power cycle your home assistant device to clear out any info that may be old. Global context can survive a service restart Check what this portion of the flows is showing Check what this is in the global context Edited January 21, 20242 yr by Gary Waterworth
January 21, 20242 yr Author On 2024/01/19 at 6:17 AM, Ronnie1102 said: Yep I had to replace some with 0's the other day again as well. Been looking into this because of another IOT sensor that is being " difficult" Developed teh following SQL queries so I can try see exactly what went on Now I just need to wait for it to happen again Get list of all Sunsynk id's -------------------------------- SELECT * FROM "statistics_meta" where statistic_id like "sensor.sunsynk_%" id statistic_id source unit_of_measurement has_mean has_sum name 173 sensor.sunsynk_pv_total recorder kWh 0 1 NULL 175 sensor.sunsynk_battery_etotalchg recorder kWh 0 1 NULL 176 sensor.sunsynk_battery_etotaldischg recorder kWh 0 1 NULL 177 sensor.sunsynk_grid_total recorder kWh 0 1 NULL 179 sensor.sunsynk_load_total recorder kWh 0 1 NULL 190 sensor.sunsynk_grid_total_cost_2 recorder ZAR 0 1 NULL 191 sensor.sunsynk_grid_cost recorder ZAR 0 1 NULL select min,max,mean,state,sum, DATETIME(created_ts,'auto') from "statistics" where metadata_id = 173 and created_ts < unixepoch('2024-01-01 00:00:00') order by created_ts desc select min,max,mean,state,sum,created_ts,DATETIME(created_ts,'auto') from "statistics_short_term" where metadata_id = 173 and created_ts < unixepoch('2024-01-01 00:00:00') order by created_ts desc
January 21, 20242 yr 14 hours ago, Gary Waterworth said: Please power cycle your home assistant device to clear out any info that may be old. Global context can survive a service restart Check what this portion of the flows is showing Check what this is in the global context I've done a shut down and boot up again after importing the new flows. This is what that section is returning: What I'm noticing is where yours shows a total: 1, mine shows 0 and the info is array[0] and no drop down. Not sure if this could be related to how my account is setup. In the Equipment section I need to first search my gateway under the plant name which show my plant name then is shows up and then I can edit it. Nothing is listed in the Equipment section, I only have access to my settings via My Plants. Edited January 21, 20242 yr by -cK-
January 21, 20242 yr Author That is teh problem... You cannot see your gateways. This may be a permission your installer has not given you I will have to put a "override" in the config to ignore this Edited January 21, 20242 yr by Gary Waterworth
January 21, 20242 yr 1 hour ago, Gary Waterworth said: That is teh problem... You cannot see your gateways. This may be a permission your installer has not given you I will have to put a "override" in the config to ignore this Thanks, will appreciate it. Will go chat with the installer before trying this but I see there is an option to add a gateway and I do have both the sn and key which I can see if I search my gateway now that my account is elevated to Advanced User (was hoping my stuff would get listed under the equipment section automatically but alas no such luck).
January 22, 20242 yr Author Ok commited a few changes sysworkmode - Not functional yet, started adding what is required energy export - Entity templates added gateways ( gather and updates ) If 0 gateways found enable gather and update ( but with 6 minute global delay ) if force_short_delay set to "true" in config entity then global delay reduced to a minute Have a look for me as I cant test this login on my side , but should be good Also added some quality of life and displaying number of inverters/plants and gateways found to node status's
January 22, 20242 yr Author 7 hours ago, -cK- said: Thanks, will appreciate it. Will go chat with the installer before trying this but I see there is an option to add a gateway and I do have both the sn and key which I can see if I search my gateway now that my account is elevated to Advanced User (was hoping my stuff would get listed under the equipment section automatically but alas no such luck). Dont do this. Your gateway is there , you just cant see it 😕 Check permissions under global context SS_Consolid: I am interested in what gateway.* ones you have Edited January 22, 20242 yr by Gary Waterworth
January 22, 20242 yr Author 12 hours ago, -cK- said: I've done a shut down and boot up again after importing the new flows. This is what that section is returning: What I'm noticing is where yours shows a total: 1, mine shows 0 and the info is array[0] and no drop down. Not sure if this could be related to how my account is setup. In the Equipment section I need to first search my gateway under the plant name which show my plant name then is shows up and then I can edit it. Nothing is listed in the Equipment section, I only have access to my settings via My Plants. Will look into this. i may need to do gateways by plant, but then will neeed extra logic
January 22, 20242 yr 1 hour ago, Gary Waterworth said: Dont do this. Your gateway is there , you just cant see it 😕 Check permissions under global context SS_Consolid: I am interested in what gateway.* ones you have On which version you want this info there is now technically 3 I can do for you or will it be the same across them all: 1) 2 updates back, pre the 60s logic 2) 1 update back. pre override logic (believe I still have a copy of this instance) 3) latest update with override logic On nr 1 the info looks like this: If you need it on the updated versions I'll need to do that tonight when I'm home for you. But if it is going to be the same across the board I see inverter.settings.name is array 1 on yours but mine seems to be on array 3. I'm guessing this is part of the problem that the arrays don't line up with what is in the flows. On a side note I've noticed that current is returning null under the usable_load Shouldn't this be returning the load current that the inverter is giving to the home (so if the power is 432w the current should be around 1.8A if my math is correct), not sure if this has been addressed in you updates and or if this is another "me_bug" as I'm still on the older flows. Edited January 22, 20242 yr by -cK-
January 22, 20242 yr Author 2 hours ago, -cK- said: On which version you want this info there is now technically 3 I can do for you or will it be the same across them all: 1) 2 updates back, pre the 60s logic 2) 1 update back. pre override logic (believe I still have a copy of this instance) 3) latest update with override logic On nr 1 the info looks like this: If you need it on the updated versions I'll need to do that tonight when I'm home for you. But if it is going to be the same across the board I see inverter.settings.name is array 1 on yours but mine seems to be on array 3. I'm guessing this is part of the problem that the arrays don't line up with what is in the flows. On a side note I've noticed that current is returning null under the usable_load Shouldn't this be returning the load current that the inverter is giving to the home (so if the power is 432w the current should be around 1.8A if my math is correct), not sure if this has been addressed in you updates and or if this is another "me_bug" as I'm still on the older flows. Ok I found a logic bug in 2 of my functions I am busy looking at it , but I need to doa whole of of checking to make sure what I am chaanging doesnt break automation EDIT Ok , while fixing a bug on my side I can see a bug on Sunsynks side Their payload show 0 current on the load Probably going to have to put in a manual calculation for this. Edited January 22, 20242 yr by Gary Waterworth
January 22, 20242 yr Author And their grid power current is also fubar I know for a fact I am using no grid power atm Edited January 22, 20242 yr by Gary Waterworth
January 22, 20242 yr Author 2 hours ago, -cK- said: On nr 1 the info looks like this: Thanks this is fine. Still the same over all the versions You have some interesting permissions I dont have. Cannot see why you cannot list all the gateways ~shrug~ Might try to manually give myself some permissions May just play a bit on the account I share to Edited January 22, 20242 yr by Gary Waterworth
January 22, 20242 yr 2 hours ago, Gary Waterworth said: EDIT Ok , while fixing a bug on my side I can see a bug on Sunsynks side Their payload show 0 current on the load Probably going to have to put in a manual calculation for this. Okay cool, it's not just me 😁 Yea as an interim workaround I just edited the sensor that needs this in my config to do the calculation instead of trying to pull it from the attribute itself until it is sorted 👍. {{ (state_attr('sensor.sunsynk_usable_flow', 'load_power') | float / state_attr('sensor.sunsynk_usable_load', 'volt') | float) | round(1) }}
January 22, 20242 yr @Gary Waterworth Just for info sake as I know you still need to look into addressing the gateway issue of my setup, but I've tried your latest updated flows of this morning with the override option just out of curiosity. Below is the returns I'm getting on it when adding force_short_delay: "true" ListInverters: is now returning "true" again but the flows are still not pulling data for me as I believe this relates to the Gateways issue of my setup as that is still returning on array[0] which is not the inverter.settings.name array which I guess needs to be pulled for things to work correctly.
January 23, 20242 yr Author Need more information tbh. Can I see a screenshot of the flows to see how far they run and any debug errors. The array 0 is expected as you can't list gateways. Did you check the sn and plant if are correct in the secrets file. That screenshot looks good
January 23, 20242 yr 4 hours ago, Gary Waterworth said: Need more information tbh. Can I see a screenshot of the flows to see how far they run and any debug errors. The array 0 is expected as you can't list gateways. Did you check the sn and plant if are correct in the secrets file. That screenshot looks good Sure thing I'll update the flows again tonight, see you've merged some of it who knows 🤞 The SN and Plant ID should be correct as I leave those untouched in the secrets file when updating as it is only the description section that gets amended. Besides the flows anything else in particular you want to see? Particular debugs/SS Consolidated views perhaps or shall we just start with the basics, flows and my entity states, then we can see what is populating and what is not and move on from there.
January 23, 20242 yr Author 3 hours ago, -cK- said: Sure thing I'll update the flows again tonight, see you've merged some of it who knows 🤞 The SN and Plant ID should be correct as I leave those untouched in the secrets file when updating as it is only the description section that gets amended. Besides the flows anything else in particular you want to see? Particular debugs/SS Consolidated views perhaps or shall we just start with the basics, flows and my entity states, then we can see what is populating and what is not and move on from there. If we can see how far the flows are going , then I know where to start looking also if there are any debug messages after the 1st minute
January 23, 20242 yr On 2024/01/23 at 12:06 PM, Gary Waterworth said: If we can see how far the flows are going , then I know where to start looking also if there are any debug messages after the 1st minute v2.3 seemed to have done the trick for me @Gary Waterworth No errors I can see and the sensors are populating with this update so my slipx card is working again (previously everything was just 0 or NaN) Commands also getting pushed no problem thus far. Not sure if it was something you changed when you merged the flows or if it was something I messed up on the previous updates. Long story short it seems I'm sorted now 😎 Edited January 24, 20242 yr by -cK-
January 24, 20242 yr Author Yeah , merging the 2 flows removed a problem area with the in/out gates where I saw they sometimes "lost" their config 😕 Also I have seen there is no need for a custom export flow as teh system caters for multi inverter/3 phase quite happily now
January 24, 20242 yr 3 minutes ago, Gary Waterworth said: Yeah , merging the 2 flows removed a problem area with the in/out gates where I saw they sometimes "lost" their config 😕 Also I have seen there is no need for a custom export flow as teh system caters for multi inverter/3 phase quite happily now Will load the new flows and try it out (am using 3 phase)
January 24, 20242 yr Author 5 hours ago, HowserMD said: Will load the new flows and try it out (am using 3 phase) Perfect thx. I don't have 3 phase so can't test myself
January 24, 20242 yr 25 minutes ago, Gary Waterworth said: Perfect thx. I don't have 3 phase so can't test myself This is what I can see so far, I can see the grid's values in SS.Consolid.Plant["x"].Inverter["x"].grid and output I could not see any sunsynk entity.states or attributes that have the above. On the sunsynk-power-flow-card, the only 3 phase setting I can see is inverter.three_phase: true, and this is what is produced
January 24, 20242 yr Author 7 minutes ago, HowserMD said: This is what I can see so far, I can see the grid's values in SS.Consolid.Plant["x"].Inverter["x"].grid and output I could not see any sunsynk entity.states or attributes that have the above. On the sunsynk-power-flow-card, the only 3 phase setting I can see is inverter.three_phase: true, and this is what is produced Can I get a screenshot of the flows. Want to see what has run
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.