Page 1 of 1
Python Plugin: SMA Inverters ModbusTCPIP
Posted: Sunday 23 February 2020 20:36
by doki
Hello!
Plugin works with SMA Sunny Tripower inverter, 8 parameters are mapped:
https://github.com/doopa75/SMA-Inverter-ModbusTCPIP
Enjoy!
Re: Python Plugin: SMA Inverters ModbusTCPIP
Posted: Wednesday 26 February 2020 7:02
by jeroenkl
Re: Python Plugin: SMA Inverters ModbusTCPIP
Posted: Wednesday 26 February 2020 7:04
by jeroenkl
Added to my domoitcz setup, use for sunnyboy.
TCP and UDP modbus is activated on my SMA port 502.
Should I use device ID 3?
Error message (log):
2020-02-26 11:41:14.438 (SMA2.5) SMA Inverter Modbus plugin start
2020-02-26 11:41:14.438 (SMA2.5) SMA Sunny Boy
2020-02-26 11:41:14.158 Status: (SMA2.5) Started.
2020-02-26 11:41:14.433 Status: (SMA2.5) Entering work loop.
2020-02-26 11:41:14.433 Status: (SMA2.5) Initialized version 0.7.5, author 'doki'
2020-02-26 11:41:24.509 (SMA2.5) Your inverter is SMA Sunny Boy
2020-02-26 11:42:07.223 Error: WebServer PO exception occurred : 'stoull'
BR,
Jeroen
Re: Python Plugin: SMA Inverters ModbusTCPIP
Posted: Saturday 29 February 2020 8:13
by doki
ID 3 is correct for SMA inverters.
Please send me number of registers and description.
for example solar production - 30529
PS test your connection using program:
http://en.radzio.dxp.pl/modbus-master-simulator/
how to use is it explained on this page:
https://www.sma-sunny.com/en/how-to-tes ... -inverter/
Re: Python Plugin: SMA Inverters ModbusTCPIP
Posted: Tuesday 09 June 2020 16:56
by Jordindc
Hi doki,
Installed and working. Great work! I'm just wondering each parameter's meaning. I think Active Power AC is instant power generated and totalizes Active Power L1, L2 and L3 (one for each phase). But I'm not sure how to understand the rest of parameters (beside Solar Production that is total production since beginning of installation). In fact, I'd like to know daily, monthly and year production, and instant compsumption from public network (information that I can see in weconnect tool).
Thanks for your great job and for your answer.
Jordi