X
 
  • Time
  • Show
Clear All
new posts

  • haggan
    replied
    Hej! Thanks! I did not get a email about you updating this thread! So I have totally missed it! Thanks for sharing! Have you by the way seen the pyYASDI lib? I tried it but cant get it to work. the YASDI is a lib developed byt the SMA guys! Thanks again I will now test your code!

    Leave a comment:


  • TD22057
    replied
    Originally posted by haggan
    Hej I am much interested in your python script.
    Here you go: https://github.com/TD22057/T-Home

    It's Python code based on reading the SBFSpot C code. It polls the inverter while the sun is up and converts the information into Python data objects. There are also scripts which take those and convert them into a JSON'ed dictionary and publishes that as a ZeroMQ message. It should be pretty easy to modify the code to do whatever you want with the data. Feel free to PM me if you have any questions.

    Leave a comment:


  • TD22057
    replied
    Originally posted by haggan
    Hej I am much interested in your python script.
    OK - I'm on travel for the next couple of weeks but I'll put it on github when I get back (Oct 22 or so).

    Leave a comment:


  • haggan
    replied
    Originally posted by TD22057
    I haven't put the code up anywhere yet but if you're interested in looking at it let me know. It would require some python programming skills to rework it for your setup but it shouldn't be that difficult to do.
    Hej I am much interested in your python script.

    Leave a comment:


  • macholini
    replied
    Originally posted by wrlsguy
    Thanks for the detailed answer. It looks like the SB3800-TL-22 does not have the built in Bluetooth for connection to Sunny Explorer so this install will have to stick with Sunny Portal.
    Sunny Explorer can talk to the inverter through the Webconnect interface, that's how mine is setup. But Webconnect is optional on that inverter and if you get it, then you are getting Sunny Portal anyway. So you either get both or you get none.

    Leave a comment:


  • wrlsguy
    replied
    Originally posted by macholini
    You can't do per-string monitoring on Sunnyportal through Webconnect but you can use Sunny Explorer (free windows app) to see instantaneous per-string values (power, voltage, current, temperature, etc.) separately. If you want to have that data persisted somewhere, then you can setup SBFspot which uses the Webconnect API to poll the instantaneous values every 5 mins, puts them in a database on your computer, and uploads to PVOutput. E.g., here is the PVOutput link to one of my inverters, which has per-string data uploaded in the extended fields:
    PVOutput.org - share, compare and monitor live solar photovoltaic output data


    Unfortunately, the per-string data doesn't include energy values since that requires integration of power over time, and the inverter only reports instantaneous values per-string, not averages per time period (it does support aggregate energy values for the whole inverter only). You could compute the per-string energy by polling more frequently and doing the power integration yourself but you'd need to write code for that. There was a feature request to add this functionality to SBFspot but AFAIK, there are no current plans for that.
    Thanks for the detailed answer. It looks like the SB3800-TL-22 does not have the built in Bluetooth for connection to Sunny Explorer so this install will have to stick with Sunny Portal.

    Leave a comment:


  • macholini
    replied
    Originally posted by wrlsguy
    With the Webconnect, are you able to monitor each string on a two input inverter independently through Sunnyportal? I just installed a SB3800-TL-22 and it seems to only report the output of the two strings as a total value.
    You can't do per-string monitoring on Sunnyportal through Webconnect but you can use Sunny Explorer (free windows app) to see instantaneous per-string values (power, voltage, current, temperature, etc.) separately. If you want to have that data persisted somewhere, then you can setup SBFspot which uses the Webconnect API to poll the instantaneous values every 5 mins, puts them in a database on your computer, and uploads to PVOutput. E.g., here is the PVOutput link to one of my inverters, which has per-string data uploaded in the extended fields:
    PVOutput.org - share, compare and monitor live solar photovoltaic output data


    Unfortunately, the per-string data doesn't include energy values since that requires integration of power over time, and the inverter only reports instantaneous values per-string, not averages per time period (it does support aggregate energy values for the whole inverter only). You could compute the per-string energy by polling more frequently and doing the power integration yourself but you'd need to write code for that. There was a feature request to add this functionality to SBFspot but AFAIK, there are no current plans for that.

    Leave a comment:


  • wrlsguy
    replied
    Originally posted by macholini
    I ended up using SMA Webconnect, which pushes to SunnyPortal, plus I use SBFspot w/ the Webconnect interface to poll the inverters every 5 mins and upload to PVOutput. I then use Rainforest Eagle to monitor my POCO meter over zigbee and get consumption data pushed to wattvision, which then gets polled by PVOutput every 5 mins. That way, I can overlay generation data from SBFspot + Webconnect and consumption data from Rainforest Eagle + wattvision. It works great.

    The problem I ran into is that the Eagle reports a single number at each timepoint, which is the net consumption (i.e., total consumption - generation), and it can be positive or negative. When it gets uploaded on PVOutput, it gets interpreted as total consumption (not net), and negative numbers get mapped to 0. PVOutput then calculates its own net consumption number by subtracting the generation data at that time point again... Obviously, that's wrong but I haven't figured out how to fix it so for now I ignore the net number that PVOutput gives me. I am hoping this is a mis-configuration matter that I can fix though.
    With the Webconnect, are you able to monitor each string on a two input inverter independently through Sunnyportal? I just installed a SB3800-TL-22 and it seems to only report the output of the two strings as a total value.

    Leave a comment:


  • logdin
    replied
    Originally posted by macholini
    Ah, thank you! Just changed it.

    Do you happen to know if this will apply the correction to all my consumption data retroactively?
    I don't think so. My understanding is Net calcs are done as data is received. At this time there is no wattvision backload, but BB is considering it. Not sure how far away it is. And, if you are using free wattvision plan, the best you could hope for is 30 days.

    Leave a comment:


  • macholini
    replied
    Originally posted by logdin
    Make the the donation to Pvoutput, then set direction to net for wattvision setting in pvoutput
    Ah, thank you! Just changed it.

    Do you happen to know if this will apply the correction to all my consumption data retroactively?

    Leave a comment:


  • logdin
    replied
    Originally posted by macholini
    I ended up using SMA Webconnect, which pushes to SunnyPortal, plus I use SBFspot w/ the Webconnect interface to poll the inverters every 5 mins and upload to PVOutput. I then use Rainforest Eagle to monitor my POCO meter over zigbee and get consumption data pushed to wattvision, which then gets polled by PVOutput every 5 mins. That way, I can overlay generation data from SBFspot + Webconnect and consumption data from Rainforest Eagle + wattvision. It works great.

    The problem I ran into is that the Eagle reports a single number at each timepoint, which is the net consumption (i.e., total consumption - generation), and it can be positive or negative. When it gets uploaded on PVOutput, it gets interpreted as total consumption (not net), and negative numbers get mapped to 0. PVOutput then calculates its own net consumption number by subtracting the generation data at that time point again... Obviously, that's wrong but I haven't figured out how to fix it so for now I ignore the net number that PVOutput gives me. I am hoping this is a mis-configuration matter that I can fix though.

    Make the the donation to Pvoutput, then set direction to net for wattvision setting in pvoutput

    Leave a comment:


  • macholini
    replied
    I ended up using SMA Webconnect, which pushes to SunnyPortal, plus I use SBFspot w/ the Webconnect interface to poll the inverters every 5 mins and upload to PVOutput. I then use Rainforest Eagle to monitor my POCO meter over zigbee and get consumption data pushed to wattvision, which then gets polled by PVOutput every 5 mins. That way, I can overlay generation data from SBFspot + Webconnect and consumption data from Rainforest Eagle + wattvision. It works great.

    The problem I ran into is that the Eagle reports a single number at each timepoint, which is the net consumption (i.e., total consumption - generation), and it can be positive or negative. When it gets uploaded on PVOutput, it gets interpreted as total consumption (not net), and negative numbers get mapped to 0. PVOutput then calculates its own net consumption number by subtracting the generation data at that time point again... Obviously, that's wrong but I haven't figured out how to fix it so for now I ignore the net number that PVOutput gives me. I am hoping this is a mis-configuration matter that I can fix though.

    Leave a comment:


  • solar pete
    replied
    Originally posted by TD22057
    I started looking at https://sbfspot.codeplex.com/ to read data from my WebConnect box (which was based on https://sbfspot.codeplex.com/). I didn't like the C interface very much so I re-wrote the basic communication system in Python. I have my Eagle electric meter using my home server (Linux box but a Raspberry Pi would work fine) as its "cloud device" and I'm polling the WebConnect box on my SMA inverter at regular intervals to log my electric usage and solar production.

    I haven't put the code up anywhere yet but if you're interested in looking at it let me know. It would require some python programming skills to rework it for your setup but it shouldn't be that difficult to do.
    Hi TD22057 and welcome to Solar Panel Talk,

    We have a rule about no posting links for newbies and that we discourage those seeking free advertising. However as your links relate directly to the thread I will let it slide, this time, cheers.

    Leave a comment:


  • TD22057
    replied
    I started looking at https://sbfspot.codeplex.com/ to read data from my WebConnect box (which was based on https://sbfspot.codeplex.com/). I didn't like the C interface very much so I re-wrote the basic communication system in Python. I have my Eagle electric meter using my home server (Linux box but a Raspberry Pi would work fine) as its "cloud device" and I'm polling the WebConnect box on my SMA inverter at regular intervals to log my electric usage and solar production.

    I haven't put the code up anywhere yet but if you're interested in looking at it let me know. It would require some python programming skills to rework it for your setup but it shouldn't be that difficult to do.

    Leave a comment:


  • logdin
    replied
    webbox to pvoutput?

    I am not an SMA owner, but do have many SMA owners on Team San Diego (PVoutput). Some are using webbox, others have built raspberry pi's for logging. There is an autoloader for webbox on pvoutput.

    PVOutput is a terrific service thats free or about $8.50/year if you want all the enhanced features including consumption monitoring. You can monitor consumption with many products, but in San Diego and SDGE, the Rainforest Eagle combined with Wattvision and PVOutput gives you near realtime results and is very accurate. The Eagle is $99 from amazon, and to get Net value readings on PVOutput is about $8.50/year. There is no scripting or extra computer required. Just a network connection for the Eagle. Slam dunk easy.

    Leave a comment:

Working...