dgibson / python-smadata2

Python code for communicating with SMA photovoltaic inverters within built in Bluetooth
GNU General Public License v2.0
23 stars 12 forks source link

setup config instructions? #4

Open aspiringguru opened 5 years ago

aspiringguru commented 5 years ago

just found this repo, Can you add some notes on which versions of python, platform it runs on? basic setup and config as I'm not the best at picking up someone elses code.

I'm hoping to get a connection over bluetooth to my SMA SB-3000TL-20.

but mostly thanks for publishing this.

dgibson commented 5 years ago

On Thu, May 16, 2019 at 07:46:07PM -0700, Matthew wrote:

just found this repo, Can you add some notes on which versions of python, platform it runs on?

Sorry, this fell through the cracks and I didn't get around to look at it until now. I'm afraid this is mostly a project for my personal use

The current python-smadata2 tree runs on Python3, though I only moved it from Python2 relatively recently. It needs the "dateutil" external package.

I've only ever used it on Linux (mostly Debian / Raspbian, though I've done a little on Fedora as well). I don't think there's anything fundamentally linked to the OS, but it might have some Unix-y assumptions in there.

Where do you think would be a good place to put such notes?

I'm hoping to get a connection over bluetooth to my SMA SB-3000TL-20.

Ok, I don't immediately know if that inverter uses the protocol version which this code supports. I know SMA had an earlier protocol which is totally different, and I think there's also a newer one which also appears to be pretty different - I haven't investigated it much.

-- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT the other | way around! http://www.ozlabs.org/~dgibson