There are a few ways to debug an app, best is to install the app via CLI - then you can see all log outputs on your laptop. There are multiple guides out there on how to install an app via CLI, I wrote one for one of my other apps here.
There is also a file in the test folder which you can run on your laptop and see if the general discovery code works there.
Again, essentially the only issues so far with the Energy device is due to the lack of UDP multicast support in the local network.
I figured out the issue - my energy device was installed to talk directly to the inverter (via single ethernet cross cable) and SMAâs web portal collects the data fine and reports it. The device wasnât actually on the network and so the UDP traffic wasnât available or accessible using Modbus.
Something perhaps to consider documenting, as apparently wiring up the energy meter in that was a fairly common thing according to the SMA tech who helped troubleshoot why it wasnât working. He was surprised Modbus protocol was being used, as heâs never seen that in home installations before. Fair call considering Modbus was more commonly used in larger enterprise or grid monitoring systems apparently.
Dear, First of all many thanks for the work put in the app.
Iâve just been able to add my 2 SMA inverters and home manager 2 as energy meter. One is a STP 3.0-3AV-40 which works and registers perfectly. My other one is a hybrid SMA STP 6.0-3SE-40. I added this as a normal inverter first, but everytime it is loading the battery the PV power parameter (netvermogen) gets a strange value which gives an undefined message in the energy tab.
I then tried to add it as a sunny boy storage but this adds it as an extra device (user) in the energy tab without giving any solar production.
Maybe Iâm overlooking something
The SMA app was running smoothly until somewhere in September.
Suddenly it could not find the inverter anymore so we rebooted the app, rebooted homey, rebooted our network, but nothing helped.
We decided to unstinstall and reinstall the SMA app but now we are unable to add the inverter.
We have web access to the inverter with the IP we used in Homey.
We use gate 502.
We have a Unifi network.
Slow reply, but yes you should use the inverter type. âNetvermogenâ - This is âgrid powerâ in English, and the modbus register read is 30775, which for the hybrid inverters have the description âAC Side > Grid measurements > Powerâ. This is the same description as for non hybrid inverters.
Such a larger number maybe is supposed to mean null, ie 0. Will see what I can find, I have since long a value Iâm checking for which is supposed to be ânullâ (parseInt(â0x8000 0000â, 16)).
When it is not possible to connect to an inverter it is either Modbus that is not enabled in the inverter, by default it is turned off. Or, network connectivity, segmented networks where Homey and the inverter are not in the same network.
The slider is mentioned previously in this thread, but it controls the max output of your inverter. The homey app doesnât allow to tell units or any message on the view so not possible to clarify what it is.
I can observe the same behaviour as you describe, which is odd since this worked before on my inverter and I havenât upgraded the firmware of it (I see my Home Manager 2 got a new firmware on the 31st of August). No error message when writing to the modbus register, but the value doesnât seem to be persisted any longer. Will do some more digging âŚ
This I canât verify since I donât have a hybrid inverter. Does it work in the Homey web app?
The slider is mentioned previously in this thread, but it controls the max output of your inverter. The homey app doesnât allow to tell units or any message on the view so not possible to clarify what it is.
Ah, thanks⌠I did mis that.
This I canât verify since I donât have a hybrid inverter. Does it work in the Homey web app?
The webinterface does show a empty battery which is correct since i havenât installed/connected one yet.
(How) Can i help?
Upon startup the app tries to determine the device type in order to know which modbus registries are available. Different inverter models have different modbus registries available.
You could try and send me a manual diagnostic report.
Iâve recently connected my SMA inverter to Homey and I get correct data into Homey.
The problem I now face is that I no longer get any data in my SMA energy app. It looks like every day is without any solar power. Also, I dont get any production data into my electricity company app (Tibber) like I did before I connected the inverter to Homey. Has anyone experienced the same and how can I fix this? Please take a look at my screenshots.
Iâam trying to connect the sunnyboy 4.0 but it cannot find the inverter, When i enter manual the ip adres , the aswer is that the inverter is not found or the wrong port.
SB4.0-1AV-41 014
Firmwareversie: 4.0.75.R
I can login the inverter, see the picture, whatâs going wrong ?
Hi! Nee here translates to No I guess? Meaning TCP Modbus is not enabled in the inverter - i.e. it wont work. Check the first post in the thread for how to enable Modbus.
Sorry, no workaround that I know of. You need to get the password from the installer - or have the installer login and change the value. It is a simple radio button where you change no to yes and save.
I know some installers use the same password for all inverters of a certain type (mine did), and might not want to disclose it. Thus give them the option to enable Modbus as well.
If you have this homey app, is there any point in having/buying a âsunny home manager 2.0â if you have for example the âSunny Tripower Smart Energyâ inverter? What would be the additional benefits? Or is it needed to be able to talk to the inverter?
Thanks!