[APP][Pro] SMA Solar devices

Hi,
I have STP 8.0 since 6 months and it works great with the SMA app. I recently got an energy meter installed and it was discovered and added. After aprox 12 hours it hanged. I got no new values from it. The inverter is still works in the app and the inverter gets values from the energy meter. I can see that on the inverter local webpage.
I then removed the energymeter from homey and tried to add it again. Homey can no longer find it. I have done a reset on the energy meter using the reset button on it for 5 secs. After that I had to reenter the password on it.
I have downloaded the repo from github and installed it using the node.js cli
The app is V2.1.6 and has a label saying development.
I ran
homey app run --clean
and had to re-add the inverter.
This is the log from nod.js homey:

Sending discovery datagram
Found SMA device at: 192.168.1.168
Collecting device info, found 1 devices.
{ host: '192.168.1.168', port: 502, autoClose: true }
Client connected on IP '192.168.1.168'
2020-12-13 17:48:33 [log] [ManagerDrivers] [inverter] Adding to devices: STP 8.0-3AV-40
Client closed for IP '192.168.1.168'
2020-12-13 17:48:37 [log] [ManagerDrivers] [inverter] Found '1' inverter(s)
2020-12-13 17:48:47 [log] [ManagerDrivers] [inverter] [0] SMA inverter initiated, 'STP 8.0-3AV-40'
{ host: '192.168.1.168', port: 502, refreshInterval: 5 }
Client connected on IP '192.168.1.168'
Timers initialized
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Setting up capabilities
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Device has capability 'measure_power'
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Device has capability 'meter_power'
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Device has capability 'measure_voltage'
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Device has capability 'measure_yield'
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Device has capability 'operational_status.health'
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Device has capability 'operational_status'
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Device has capability 'measure_voltage.dcA'
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Device has capability 'measure_voltage.dcB'
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Device has capability 'measure_power.dcA'
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Device has capability 'measure_power.dcB'
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Assigning new capability names
2020-12-13 17:48:48 [log] [ManagerDrivers] [inverter] [0] Calculate manual daily yield: 'true'
2020-12-13 17:48:53 [log] [ManagerDrivers] [inverter] [0] Total yield store value is '0', setting it to '4207115'
2020-12-13 17:52:02 [log] [ManagerDrivers] [inverter] [0] Renaming SMA inverter from 'STP 8.0-3AV-40' to 'STP 8.0-3AV-40'

When I try to add the energy meter there is no logging being printed at all and it says ‘looking for units’ and then ‘No SMA Energy Meters found’.
I can access the local webpage for both inverter and energy meter. I am using the default port 502 for modbus on the inverter. The app works well for the inverter.
The energy meter has FW 2.0.18.R
What can be wrong?