Page 2 of 2
Re: SMA info in Domoticz
Posted: Thursday 05 August 2021 14:54
by FireWizard
Hi, @DJathome,
Did you forfil all the requirements, especially the 3rd one?
Requirements:
1. SMA Sunny Tripower or Sunny Boy with Modbus TCP enabled.
2. python 3.x
3. pip3 install -U pymodbus pymodbusTCP.
As this is probably the cause of the errors.
Regards
Re: SMA info in Domoticz
Posted: Thursday 05 August 2021 19:02
by waltervl
See
https://www.domoticz.com/wiki/Using_Pyt ... leshooting
Using "sudo pip3 install" mostly solves this issue as Domoticz normally runs on elevated rights so sudo is needed for installing the extra python modules.
Re: SMA info in Domoticz
Posted: Friday 06 August 2021 16:57
by DJathome
Or is this just a problem with PATH, but it beats me where to correct this succesfully.
Re: SMA info in Domoticz
Posted: Friday 06 August 2021 16:59
by DJathome
Oeps, I overlooked your new replies, reading them now…
Re: SMA info in Domoticz
Posted: Friday 06 August 2021 17:10
by DJathome
@Firewizard;
Point 1 fullfilled, of course this might only be possible to do using the installer login (which I happen to have the credentials for)
Point 2 python 3.7.3 of I am not mistaking.
Point 3 I will check if I did not a typo there (one of those that does not lead to na error message)
Maybe running that last pip install with sudo as waltervl suggests is a good idea.
Re: SMA info in Domoticz
Posted: Friday 06 August 2021 17:36
by DJathome
Yes, yes, yes,
I ran the commands suggested with the plugin but now:
sudo pip3 install -U pymodbus pymodbusTCP as waltervl suggested and now I see additional 'devices' in the devices list of my Domoticz.
Now let's see what this all get's me.
Once again thank for your patience and help!
Re: SMA info in Domoticz
Posted: Friday 06 August 2021 17:54
by DJathome
Avoiding double post here....

Re: SMA info in Domoticz
Posted: Friday 06 August 2021 17:55
by DJathome
Update, it gets better every time;
With SBFspot I got 6 new devices in the list, with the ModBus Plugin I got 12.
Moreover, when I check 'temperature' it lists 0.0 C using SBFspot.
same value in SBFspot's log:
SUSyID: 342 - SN: XXXXXXXXXX
Device Temperature: 0.0°C
With Modbus I get 42,1 C as value (which is a very plausible value), not that the invertertemperature was of that much interest to me but hey, I am not complaining.
And the stringpowervalues are also there now.
Thanks to you all Firewizard,waltervl,PieterS
Re: SMA info in Domoticz
Posted: Friday 06 August 2021 18:13
by DJathome
Screenshot for the devices list;
Re: SMA info in Domoticz
Posted: Friday 06 August 2021 18:55
by FireWizard
Hello @DJathome,
Looks good.
If I look to your screenshot, I see DC Power A and DC Power B (so obviously 2 strings).
The AC Power matches the RFXmeter.
Temperature of 41,5 degrees Celsius makes sense.
But why is L1, L2, and L3 all 0 Watt?
No Voltage for L2 and L3, so obviously a single phase system?
If everything is alright you may mark this issue as solved.
Regards
Re: SMA info in Domoticz
Posted: Friday 06 August 2021 22:20
by PieterS
@DJathome: Great job!! Good to see results.
To bad you do not get any currents of DC and AC. A bit strange...
@Firewizard: Some values as L2 or L3 are not available as it is a single phase inverter.
Indeed very strange the value of Power of L1. Maybe a config-error of Modbus? Or a little bit of fine tuning in Domoticz?
Re: SMA info in Domoticz
Posted: Friday 06 August 2021 22:34
by FireWizard
Hi, @PieterS,
Some values as L2 or L3 are not available as it is a single phase inverter.
I thought so.
Indeed very strange the value of Power of L1
Or could it be that the inverter did not produce any energy (See time of the day 18:08:07).
Although there is DC Power.
Lets wait for a more sunny day.
Regards
Re: SMA info in Domoticz
Posted: Saturday 07 August 2021 0:22
by DJathome
FireWizard wrote: Friday 06 August 2021 18:55
Hello @DJathome,
Looks good.
If I look to your screenshot, I see DC Power A and DC Power B (so obviously 2 strings).
The AC Power matches the RFXmeter.
Temperature of 41,5 degrees Celsius makes sense.
But why is L1, L2, and L3 all 0 Watt?
No Voltage for L2 and L3, so obviously a single phase system?
If everything is alright you may mark this issue as solved.
Regards
Hello Firewizard,
You are spot on in supposing this is a one phase inverter.
Maybe L1,L2,L3 on 0 Watt is just a glitch while experimenting.
Mind you, for a single phase SMA inventer like mine you can fill in in the SMA inverter’s config in which phase it will inject its power. This is a mere informative setting, but it will result in only one device having and updating values in normal operation.
In my SMA L1 is entered as ‘feed in’ phase, hence the voltage is indicated for L1 and is 0 Volt for L2 and L3.
Re: SMA info in Domoticz
Posted: Saturday 07 August 2021 13:27
by DJathome
@Firewizard,
I guess those L1,L2 and L3 on 0 Watt is normal when the plugin tries to read values that are not there in a single phase inverter.
There is another devices that does read the momentaneous power production and that is AC power.
This plugin from derenback lists as tested on Sunny Tripower 10, STP10.0-3AV-40 601 what is a triphase inverter.
The plugin lists forked from Want100Cookies/Domoticz-SMA-Inverter that in turn was tested on;
Sunny Tripower and Sunny Boy 3.6
So I guess in the plugin I used there are devices generated that are of no use on a Sunny Boy 3.6
I am going to try to find out if it is possible to 'clean' a bit

Re: SMA info in Domoticz
Posted: Saturday 07 August 2021 13:49
by FireWizard
@DJathome,
It is not a problem to clean. Simple go to "Devices" and click to blue arrow, so that it turns to green.
If you are satisfied, mark this topic as solved, please
Regards
Re: SMA info in Domoticz
Posted: Saturday 07 August 2021 23:21
by DJathome
Dear Firewizard,
I will probably look stupid here, but where can I mark this topic as solved, please?