March 11, 20233 yr Author Sure pleasure Out of curiosity I have been adding a seperate email and testing between visitor and manager rights. Both seem to have the same rights and can edit settings lol
March 12, 20233 yr Author I have been doing some more digging and looking at roles and permissions ( I have a company account) If anyone can import the seperate debugging flow and then send me the data as per this wiki page https://github.com/gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk/wiki/Info-Gathering---Permission-Codes
March 12, 20233 yr On 2023/03/11 at 7:30 PM, Craig1970 said: Hi @Gary Waterworth, so excited to find your solution. I am relatively new to HA, but loving it and especially the collaboration. I too am ultimately wanting to edit Sunsynk settings if SOC is low and load-shedding is coming soon. Again, thank-you for your work to date. I have followed the steps best I can, and the entities are appearing, but sensors show "unavailable". When looking at Developer Tools, States most of the sensor.sunsynk....... are unavailable, except the plant list, which returns correct info. The sensor.sunsynk_flow is returning data in the attributes. Is this to be expected, and one must create new sensors using templates? Possibly the issue described below is stopping data-flow. On the Node-Red Debug notes the script seems to generally be running, but getting stuck on Inverter Serial Number. Hi @Gary Waterworth just to let you know the updated git files worked fine, and I am now pulling the data into HA 100%. Lots of work to do to get all the sensors/templates and dashboards going, but will get through that. Haven't braved the automation yet, but very keen to get into that. Thanks again for all your effort and sharing thereof. Big Kudos.
March 14, 20233 yr Hi @Gary Waterworth I've had a look and I don't see the DC and AC Temps anywhere so I'm guessing those aren't included in the sensors that or I'm blind, which is also possible. If you are planning on any updates in the future could I make a suggestion for those to be included if at all possible. Would be nice if one could to be able to keep an eye on it via HA as I want to try and integrate a fan or cooling solution on my inverter based on the Temps as my garage do get a bit toasty in the summer. According to the installer I need not worry but hitting 80 C on the DC temp just feels a tad bit high. If not there is the old school solution of just slapping a fan with temp probe on there 😅 Edited March 14, 20233 yr by -cK-
March 14, 20233 yr Author This was actually on the back of my mind a few days ago. I have yet to find a place where it gives it as a number 😕 as a point in time. I have found the web query where it asks for the data for that graph, so worst case I can allways get the last figure from there. This is just not the type of query you want to run every few seconds. It is a really fugly way to get the data though Definately Doable tho : Will work on this tomorrow Edited March 14, 20233 yr by Gary Waterworth
March 15, 20233 yr Author AC/DC Temp Data. Added a sensor : sensor.sunsynk_temp_data in it there are 2 attributes added : actemp and dctemp Will update every 3 minutes. Kept all the graph data in there as well. Going to see what I can do with apex graphs
March 15, 20233 yr Much obliged @Gary Waterworth The apex card is working. Did a quick test with a simple Warning Message Automation and it does the job just as required. Now I should be able to do fan mod on the inverter with a smart switch and a fan hooked up to it to kick in with something like this 👍
March 17, 20233 yr Started messing around with Grafana, and reading sensors into InfluxDB; first draft. Nothing special yet, but will blend in nice once complete. Edited March 17, 20233 yr by randomfool
March 17, 20233 yr slight cleanup - i'll export the json here when finished if anyone wants a copy Edited March 17, 20233 yr by randomfool
March 17, 20233 yr Nice Still need to delft into Grafana and InfuxDB myself (got it installed but that is where that ended for now) Just made a few custom cards at this point to give me what I want at a glance and got my geyser of so many automation it ain't funny just to try and not use any Eskom power 😅. There is probably and more elegant way of doing all of those automations I have but heck if it works it works is my motto... Edited March 17, 20233 yr by -cK-
March 18, 20233 yr Author 10 hours ago, randomfool said: slight cleanup - i'll export the json here when finished if anyone wants a copy Sure, please post the json when you are ready. Will be useful to someone, even as a reference This is the route I went using apexcharts and mushroom
March 18, 20233 yr 3 hours ago, Gary Waterworth said: Sure, please post the json when you are ready. Will be useful to someone, even as a reference This is the route I went using apexcharts and mushroom Fantastic. Can you export this? It is basically everything I am looking to achieve, only auto mode for me will be use timer or grid charge now. I only began using HA after finding this thread. The last 2 weeks learning it have been slow but fun.
March 18, 20233 yr Author 1 hour ago, randomfool said: Fantastic. Can you export this? It is basically everything I am looking to achieve, only auto mode for me will be use timer or grid charge now. I only began using HA after finding this thread. The last 2 weeks learning it have been slow but fun. Sure , I will start updating the git with various cards. The automation side is far harder as there are sensors provided by other addons and even then it is very customised to my needs . Still on my bucket list to document properly
March 18, 20233 yr 1 hour ago, Gary Waterworth said: Sure , I will start updating the git with various cards. The automation side is far harder as there are sensors provided by other addons and even then it is very customised to my needs . Still on my bucket list to document properly Awesome love the flow layout one and the timer slot card one would love to add those in to my current set. 👍 A bit off the topic but do you perhaps know if one can match the top readout of the value to match the colour of the thresholds you have set when using experimental: color_threshold: true E.G. in my charging/discharging card it would be nice if I coud have that top value match the current graph colour so if charging the reading is lime or green and when discharging it is = to whatever the current mix of yellow orange red I have set is. Hope that makes scense currently it is set to a fix colour as per from the source of another graph I used to make this. Should probably go check in that repository where I saw this graph style but thought I'd ask if not no prob.
March 18, 20233 yr @-cK- you can find the latest power flow card here https://github.com/slipx06/Sunsynk-Home-Assistant-Power-Flow-Card I've added some animations and other improvements. If you want some Dashboard ideas https://github.com/slipx06/Sunsynk-Home-Assistant-Dash Edited March 18, 20233 yr by slipx
March 18, 20233 yr Author 3 hours ago, slipx said: @-cK- you can find the latest power flow card here https://github.com/slipx06/Sunsynk-Home-Assistant-Power-Flow-Card I've added some animations and other improvements. If you want some Dashboard ideas https://github.com/slipx06/Sunsynk-Home-Assistant-Dash Thanks. I was looking for your origional post to link I took yours and removed the excess stuff ( for what I use ) and added some of my own
March 19, 20233 yr On 2023/03/18 at 5:55 AM, Gary Waterworth said: Sure, please post the json when you are ready. Will be useful to someone, even as a reference This is the route I went using apexcharts and mushroom could you share the modified power flow card yaml for the power flow card based on your sensor names? thanks
March 20, 20233 yr Author 8 hours ago, randomfool said: could you share the modified power flow card yaml for the power flow card based on your sensor names? thanks Sure , but credits go to slipx for all his good work. https://github.com/gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk/blob/main/Gather Files/Sample Card for Power flow based on work by slipx on powerforum.co.za.txt Edited March 20, 20233 yr by Gary Waterworth
March 20, 20233 yr Author Added a whole lot of sample cards in https://github.com/gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk/tree/main/Gather Files Pretty much the core of everything I use
March 20, 20233 yr On 2023/03/18 at 6:34 PM, Gary Waterworth said: Thanks. I was looking for your origional post to link I took yours and removed the excess stuff ( for what I use ) and added some of my own I've been working on a "lite" version if you don''t need Aux or Non-Essential Uploaded to GitHub if you want to give it a try Edited March 20, 20233 yr by slipx
March 20, 20233 yr Author 16 minutes ago, slipx said: I've been working on a "light" version if you don''t need Aux or Non-Essential Thanks. Will definately make use of that Two thing I added in on mine 1. Temperature of Battery Stack 2. Predicted time battery will last till 20% soc on current usage with no other power available. I used a function node, so the code is based on javascript if ( soc < socmin ) { ttime = "Battery Below " + socmin +"%" } else { var secondstemp = 0; var soctemp = 0; secondstemp = ((((soc - socmin) / 100 * totalw) / (load + 60)) * 60 * 60); // (load + 60) -- The +60 is for power used internally by the sunsynk invertor // socmin is the 20% minimum var thours = parseInt((secondstemp / (60*60))); var tminutes = (secondstemp / 60) - (thours*60); var ttime =""; if ((tminutes <= 1) && ( thours === 0)) { ttime = " Less than 1 Minute " } else if ( thours === 0 ) { ttime = tminutes.toFixed(0) + " Minutes Left" ; } else { ttime = thours + " Hour(s) " + tminutes.toFixed(0) + " Minutes Left"; } } Edited March 20, 20233 yr by Gary Waterworth
March 20, 20233 yr Author We may have some issues in the future . WIll create a new plant login and do some testings/https decoding to see if they have changed any auth things
March 20, 20233 yr Author 33 minutes ago, Gary Waterworth said: We may have some issues in the future . WIll create a new plant login and do some testings/https decoding to see if they have changed any auth things Aaarggg ok I can see some changes that are annoying Requesting Bearer has additional fields 😕 . At least they havent done what I was worried about {"username":xxx,xxxx,"grant_type":"password","client_id":"csp-web","source":"sunsynk","areaCode":"sunsynk"} Looked at a few other queries and it is seems there are other cosmetic changes in the query syntax. Wonder if sunsynk is going to officially offer a 3rd party api or not like elinter did. When the time comes i am going to have to make 2 sections in the git now 1 for sunsynk , 1 for e-linter Looks to me like Sunsynk has bought the api from e-linter. Edited March 20, 20233 yr by Gary Waterworth
March 20, 20233 yr 7 hours ago, Gary Waterworth said: Aaarggg ok I can see some changes that are annoying Requesting Bearer has additional fields 😕 . At least they havent done what I was worried about {"username":xxx,xxxx,"grant_type":"password","client_id":"csp-web","source":"sunsynk","areaCode":"sunsynk"} Looked at a few other queries and it is seems there are other cosmetic changes in the query syntax. Wonder if sunsynk is going to officially offer a 3rd party api or not like elinter did. When the time comes i am going to have to make 2 sections in the git now 1 for sunsynk , 1 for e-linter Looks to me like Sunsynk has bought the api from e-linter. Thanks for the digging into this. Hopefully not too difficult for you to workaround. I imported some of your cards; looking really nice now. I do not have the entity sensor.sunsynk_battery_temp so commented out lines 30 and 31 for the card to work. Home-Assistant---E-Linter-Logger---Sunsynk/Sample Card Code AC_DC Temperatures ( Apex Charts ).txt at main · gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk · GitHub Also, regarding the function node for the remaining battery SOC, is this compiled into the exiting gather json or a seperate flow you created? Edited March 20, 20233 yr by randomfool
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.