Discuss Android App for SMA Bluetooth Inverters in the Solar PV Forum | Solar Panels Forum area at ElectriciansForums.net

W

wstevew

I have been working in my spare time on an android app and thought I would share a screenshot.

It provides a live view via Bluetooth connection, it works fine on my 4000TL and should work on all Bluetooth enabled SMA Inverters. It can also retrieve historic data from the inverter for the previous 90 days, as that's all the inverter holds.

I don't have a name for the app yet though.

Screenshot_2012-04-30-20-30-001.png


Screenshot_2012-04-30-20-28-251.png


Screenshot_2012-04-30-20-49-331.png
 

Attachments

  • Screenshot_2012-04-30-20-49-331.jpg
    32 KB · Views: 189
ok, one reason the sunny beam is geared up for a snap shot is to save battery life. I dont have a smart phone but would your app drain the battery like any other app?

Also what is useful is being able to link weather reports to days and showing comparisons on the same screen (or is this askig too much!)
 
ok, one reason the sunny beam is geared up for a snap shot is to save battery life. I dont have a smart phone but would your app drain the battery like any other app?

Yes of course, it uses the processor and Bluetooth radio so will use battery like any other application. (I have left It running for a few hours on battery and no major usage, main power user is usually the display and cellular radio).

Its update is real time whilst connected to and inverter, but the graph is 5 minute average from the inverter like the sunny beam and sunny explorer, if you connect ad-hoc then it requests the current day from the last time it has stored. Nothing is lost of you are unable to connect for up to 90 days as a facility exists to request a date from and to from the inverter. (the inverter holds 90 days).

Below the graph are real time instantaneous values.

A more permanent solution would be a tablet connected to a PSU (or mini solar panel).

Also what is useful is being able to link weather reports to days and showing comparisons on the same screen (or is this askig too much!)

Its possible to do as there are various weather web services, but keeping the database compact is important too, maybe a future feature to get a general weather condition stored in a database against the date. (saying this im sure most can easily spot when the clouds are there on the graph!).

This evening I have been coding the ability to export to pvoutput.org and its working, I just have to tidy it up now as it was a bit too fast as their server only allows posting of one batch per second, I just have to allow setting of the API key.

pvoutput.org do add the general weather conditions against uploaded data.

At the moment I am putting the efforts into providing a stable multi threaded app, which means you can browse the graph's etc whilst at the same time it is downloading data from the inverter.
 
Last edited by a moderator:
Great job! I wanted to do something similar but haven't got the same skills you have!

Have you made it compatible for Android Tablets?

+1 for a beta tester, phone and/or tablet.
 
Thanks for the comments.

I believe the reason there is not more like this is that SMA have not documented the Bluetooth protocol. This had to be worked out by researching on the web, some help from another forum member "stuart99" (Thanks). and a few other techniques involving trial and error.


It should work on any android device that supports Bluetooth and is 2.3.3 (Gingerbread) or above, I have tested it on Galaxy S2 running 2.3.5 and now 4.0.3. All Display code is device independent (the same code produces both the landscape and portrait views) so should scale up to larger tablet displays ok.
 
Last edited by a moderator:
To those that are interested I have published the App tonight on Google Play, Its Called "Sunny Solar Log". If you download and need anything then give me a shout on here or via the support email for the app.
 
Last edited by a moderator:
How about iPhone ??

Hmmm. I do have an iPhone and iPad2 so I wont say never but not highly likely at the moment.

I am not sure its even possible with iOS, it has dire support for Bluetooth mainly audio only. Just try and do anything other than connect to your car or wireless headphones and it seems impossible.

Also, so far to do this project I have been working on it in my spare time over 3 months, brought a laptop to write it, paid for a google play developer account and now ordered an android tablet.

Im not sure what the develper costs are for iOS and the possibility of developing it and then apple say well no you cant publish it because we dont like it or verify it works as we dont have an inverter is not that appealing.

I think there will be further developments on the android one first.
 
Hi for the iPhone the problem is Apple..... They don't use a standard bluetooth connection but an apple modified version. You have to pay and signate a ton of paper.........
Just develop this solution for our platform eSense but not possible to integrate without legal problems.
have a look at the app just search on google play for eSense.
 
Added new function today to Import CSV Files from Sunny explorer.

With this function if you have files older than the inverters 90 day capacity then you can import the history if you have previously exported the data using Sunny Explorer.
 
1.04 released tonight, It is now possible to put multiple SMA csv files into a folder on the device and import the whole lot in one go.
 
1.06 More Graph Improvements
1.07 Plant view, aggregate daily and monthly graphs for all inverters (if you have more than one).

Anyone on here using this?
 
1.12
Now auto creates folders on sdcard for Backup,Restore and Import
Database Backup facility
Backs up on startup to "/sdcard/Sunny Solar Log/Backup"
Database Restore facility
Auto Restore on startup from "/sdcard/Sunny Solar Log/Restore"


1.11
Graph Tweaks
New Weekly Graph View


1.10
minor tweaks to pvoutput export


1.09
Bug Fix (Potential Force Close fix).
 
I believe the reason there is not more like this is that SMA have not documented the Bluetooth protocol. This had to be worked out by researching on the web, some help from another forum member "stuart99" (Thanks). and a few other techniques involving trial and error.

Glad you got it working, theres the original code over at the OpenEnergyMonitor web site.
 
Sorry, I've got Sunny Explorer, Sunny Beam and plenty of different SMA inverters to try it on... but I'm not paying £5 to beta test a product and give you feedback to ensure it's bug-free.

Microsoft don't charge for the beta versions of Windows do they? Neither do a lot of smaller firms when they produce software.

Fair enough once it's up and running, fulling developed and bug-free.

Just my personal opinion, as usual would welcome your thoughts.
 
Sorry, I've got Sunny Explorer, Sunny Beam and plenty of different SMA inverters to try it on... but I'm not paying £5 to beta test a product and give you feedback to ensure it's bug-free.

Microsoft don't charge for the beta versions of Windows do they? Neither do a lot of smaller firms when they produce software.

Fair enough once it's up and running, fulling developed and bug-free.

Just my personal opinion, as usual would welcome your thoughts.


Del Boy,

In summary, this is up and running and currently has approx 80 active users worldwide using TL's, HF's, Tripowers. Etc

Personally have a tablet running it 24/7 uploading to pvoutput.org every 5 min.

What can I say apart from take a look at the listing on Google play and its feature list and decide.if it is for you.

On there you can read feedback from other users. All good apart from one person who made no attempt to contact me and gave 1 star. I attempted to contact them by email and even a message on the listing (no response). I guess you can't help some people.

I have had a few people who have needed support (which I provide by email) to get Bluetooth pairings working. Also setting the date/time of the inverter.

If someone is unable to get it working then I have the ability to refund them.

All the Best

Steve
 
If you are having problems please email me its quicker.
If I can't sort it for you I will refund.

The email address Is on the Google play listing.
Or you can reply to the email I send to every buyer.
 
Microsoft don't charge for the beta versions of Windows do they? Neither do a lot of smaller firms when they produce software.

Actually I think they do but it depends on your definition of beta and fully developed.

Fair enough once it's up and running, fulling developed and bug-free.

I see you have the same definition as I do, so Microsoft have never produced an OS that wasn't bugy and fully developed and when you buy the "full" software you are effectively beta testing it for them. There isn't a software writer on the planet that hasn't fudged the alpha/beta/full equation. They all effectively call their alpha versions beta's and their full versions are giant beta tests. It's only when you get to the first patch release that you get anywhere near to the OS they should be releasing as fully developed.

So your M$ analogy isn't a good one. Just saying.
 
Added Auto Reconnect.

walk out of range, walk back and reconnects.

Added Power Management 3 options,

1. Keep device awake while connected.
2. Keep device awake while program running
3. Keep devide awake with screen on while program running

Options 2 and 3 are not recommended if device is on battery

With option 1 Auto reconnect may not work until device wakes if disconnected for a while.
 
1.14. Released yesterday
Connection Rota Feature for multiple inverters
Minor auto pvoutput export changes
Shows Connected Inverter Name
Code re-factoring
 
1.15 Release tonight
Improved Compatibility for Inverters with Piggyback board
Auto Bluetooth enable/disable option
Auto Connect on app start option
Auto Disconnect overnight
Change to sync on connect
New pvoutput option in historic view
Pvoutput donator mode
Main Graph Tweaked
Historic Graphs set end date option
Goto Date option
code refactoring
 

Reply to Android App for SMA Bluetooth Inverters in the Solar PV Forum | Solar Panels Forum area at ElectriciansForums.net

Similar Threads

Hello all, To avoid too techy questions, i am the consumer not he installer. I have raised the issue with my installer who is researching it...
Replies
3
Views
1K
Hi all, We have a 3.9Kw array (13 x Sapphire 300W Black Mono solar panels) on our roof with a Growatt 3600MTL-S mini inverter. All good and has...
Replies
1
Views
1K
V.early days, just had installed solar. No battery, also supply of some parts difficult at the moment so no App or Online monitoring. I have a...
Replies
3
Views
3K
Hi all, total newbie to the forum. I sincerely hope that those in the know-how would be able to assist me. On my semi-detached house we have an...
Replies
13
Views
2K
Evening all, I just wanted to see if electrical improvers/adult trainees with appropriate levels of experience and who hold testing...
Replies
0
Views
1K

OFFICIAL SPONSORS

Electrical Goods - Electrical Tools - Brand Names Electrician Courses Green Electrical Goods PCB Way Electrical Goods - Electrical Tools - Brand Names Pushfit Wire Connectors Electric Underfloor Heating Electrician Courses
These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then CLICK HERE and post a thread with who you are, and we'll send you some stats etc

YOUR Unread Posts

This website was designed, optimised and is hosted by untold.media Operating under the name Untold Media since 2001.
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock