question

w8dev avatar image
w8dev asked

VRM unable to delete device

I'm trying to delete an old charge controller from the VRM device list and when I click Delete, nothing happens. If I open the browser inspector, each time I click the delete button, this error pops up in the console "TypeError: Cannot read properties of undefined (reading 'stopPropagation')". It seems like there's a JS problem with the VRM delete button.

VRM
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

9 Answers
Guy Stewart (Victron Community Manager) avatar image
Guy Stewart (Victron Community Manager) answered ·

Hi @w8dev,

If this is still an issue, can you please tell me the site name and the name of the device you can't delete and I will have a look and see if I can recreate it.

There are no known issues with the delete function.

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

fenix avatar image fenix commented ·

Hello Guy


i got the same type of issue...

installation 49877


Refrigerator



1675651882271.png

0 Likes 0 ·
1675651882271.png (69.9 KiB)
w8dev avatar image
w8dev answered ·

Hi @Guy Stewart (Victron Community Manager).

Eventually I was able to delete the device. I believe it was the next morning when I had checked again and there was a red "Delete" button that was visible in the device list without expanding the specific device (I'm assuming that's due to a loss of communication for so many hours).

The odd thing was, I tried on multiple devices with multiple browsers and each one threw the same error in the inspector.

It's resolved now, just something to keep your eyes open for.

Thanks,

Adam

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

thorvald avatar image
thorvald answered ·

Hi @Guy Stewart (Victron Community Manager), I also suddenly have a phantom MPPT on my home test bed, cannot delete the device as it does not show up in the VRM device list.

Device Name: MPPT-290

Installation Name: Home


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Ibraheem H avatar image
Ibraheem H answered ·

I also have this issue, deleted MPPT charge controller (does not show up on VRM anywhere) but has an instance id of 290 in mqtt explorer (also showing connected, when it is not). The funny thing is, and I consider this a bug, is that both entries in mqtt show the same serial number, which should be caught in the code as an obvious duplication.


Actually the deleted MPPT charge controller does show up on the Advanced page under PV Power.

1675336328114.png

And when editing the widget, the UI crashes:

1675336449498.png

There are alot of errors in the console even when the app is freshly loaded:

1675336520036.png


I have a MultiPlus II that has an instance id of 288, but another "phantom" one that has an instance of 289 - both show up in mqtt explorer and also on the VRM. It also shows up on the devices list in VRM and I can delete the "phantom" MP device. If I do delete the "phantom" MP, it still shows up in the controls menu on the VRM UI, even after refreshing. Again, on the mqtt explorer both "devices" have the same serial number.


When I reboot the Venus (RPI VenusOS v2.92) the "real" MP instance id swaps to 289 and the "phantom" one becomes 288. It shows up again on the devices list, where, again I can delete it.


I also have a "phantom" grid meter showing in mqtt explorer only.


I also have "phantom" batteries and a "phantom" SmartShunt, only visible on mqtt explorer.


Any way to manually clean up devices?


It seems like the code for removing devices needs some attention.


Devices connected to RPI using Victron Ve.Direct to USB cables, and MP via MK3.


1675335891373.png


1675335943183.png


1675336225147.png



1675335891373.png (195.9 KiB)
1675335943183.png (125.8 KiB)
1675336225147.png (55.2 KiB)
1675336328114.png (62.0 KiB)
1675336449498.png (836.3 KiB)
1675336520036.png (844.2 KiB)
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

christiangurk avatar image
christiangurk answered ·

Hi!

I've got a similar problem with my installation. I have also a "phantom" Multiplus II with id #289 in my VRM system. It's not visible on my local Venus OS (Raspi) screen. In VRM, if I open up the "Control" slideout on the Dashboard, I see two instances of Multiplus: #290, wich is the working one and #289, which seems to be from a former test, where the USB-MK3 was connectd to another USB port of the Raspberry:

victron1.jpg


It still shows up in VRM MQTT also:
com_victronenergy_vebus_289 = {"value": "com.victronenergy.vebus.ttyUSB1"}

victron1b.jpg


There are also two temperature sensors, which I once created with dbus-mqtt-devices (https://github.com/freakent/dbus-mqtt-devices) and still are visible in VRM. They're NOT visible in local dashboard or in the VRM device list, so I can't delete them there! I know, that you don't support third party drivers, but maybe you canhelp anyway?

victron2.jpgMaybe someone from Victron could have a look into my installation? That would be great! What do you need for finding my installation?

Thank you in advance!


victron1.jpg (164.1 KiB)
victron1b.jpg (146.5 KiB)
victron2.jpg (61.2 KiB)
5 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

christiangurk avatar image christiangurk commented ·

Hi,

in the meantime, the duplicate Multiplus II #289 is gone, so maybe someone has fixed this. Thanks a lot. I still have the problem, that there are two temperature sensors schown in the sidebar of the dashboard. See the first picture im my post above. I have downloaded the last 6 months of my installation and the two "ghost" temperature sensors are:

Temperature Sensor [5] labeled "PV Gartenhaus Luft"
Temparature Sensor {7] lableed "Gartenhaus Giebel"

Could maybe someone from Victron staff (@Guy Stewart (Victron Community Manager)) can look into my installation and mabe delete the corresponding data? My portalID is dca632079210. That would be very helpful. Thanks

0 Likes 0 ·
Show more comments
Ibraheem H avatar image
Ibraheem H answered ·
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

thorvald avatar image
thorvald answered ·

Same problem still with mine reported last November, can’t delete.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Ibraheem H avatar image
Ibraheem H answered ·

Mine seems to have resolved itself, not sure if it's a vrm update that fixed this or if support intervened. Havn't yet looked at the dbus paths.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Constantin Zaharia avatar image
Constantin Zaharia answered ·

same problem here still in 2024 we can't delete the zombie sensors from VRM

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.