Re: [melbourne-pug] Fronius API and Python - queries about a third party module.

2018-04-20 Thread Matthew Wakefield
Two quick comments that are not really on topic so will send directly. Any reason not to use sunspec modbus TCP? This would be more generic and the libraries may reflect the broader use case. Victron code is open source and they interact a lot with Fronius. (Their controller is a raspberry pi

Re: [melbourne-pug] Fronius API and Python - queries about a third party module.

2018-04-19 Thread Juan Nunez-Iglesias
Hi David, The __init__ design is certainly unusual. The original author does seem to welcome contributions as pull requests, so if you feel like you can improve the layout, I suggest you go for it! My guess is that they felt that it is a small enough file that they couldn't be bothered doing it

[melbourne-pug] Fronius API and Python - queries about a third party module.

2018-04-19 Thread David Crisp
A couple of questions to the more experienced Python developers here. I have been working with my Fronius Symo solar inverter to extract data from the onboard API. It's actually a reasonably simple process of making a web request and then processing the resulting JSON. There is one third party