Unable to delete old temperature sensors

Hi Victron staff, Hi @guystewart
in the old community forum there were serveral threads about phantom temperature sensors, which were old/inactive and the users are unable to delete them, because they don’t show up in the device list.
Here is a link to such a thread: https://communityarchive.victronenergy.com/questions/130438/vrm-unable-to-delete-device.html
I again would like to ask, if the problem is still on your radar and if you know, when the problem will be solved? It’s there for over more than two years at least.
Thanks for your great work!
Christian

I would like to know also
image

Usually the cerbo should display “Remove disconnected devices” at the end of the main menu.
(Temperature sensors are not listed in the VRM Device List)

Can you see, if your cerbo / gx displays such an option?

image

If not, please check what the Temperature-Sensor is showing when selecting it and going to device:

image

If it says “connected”, then it claims to be connected, just not updating values.
(Therefore, the cerbo does not offer to remove “disconnected” devices)

Hi dognose,
thanks for your post. No, in the Cerbo/GX display there is no such option at the moment. The sensor is ONLY shown in the right widget bar of VRM dashboard:


And by the way, my temperature sensors created with the dbus-mqtt-devices driver for VenusOS are shown in my device list:

So, I think, @guystewart knows the problem, should be on the todo-list, but of course maybe not that important…
But I didn’t want that this topic gets lost due to the new community forum :wink:
Christian

It’s on the radar, it’s a low priority, but by co-incidence I have heard from the team earlier this week they are making a change so at least stale temperature data isn’t shown.

Once that is released I’ll ask again about the ability to remove it entirely.

Thank you very much, I appreciate that the problem is still being addressed. Thanks also for the information. Let’s wait for the changes.

1 Like

Hi @guystewart, i have also a phantom tremp sensor in my vrm portal and it would be nice to get rid of this. My Installation VRM-Portal ID is: 102c6b643886 and the name of the phantom sensor is: “Fernseher”. He ist not in the device list, but in the Dashboard. Would be great if you can remove this please?

Please let me say thank you for this amazing stuff that victron will provide to there customers. I highly appreceate.

Best regards, Rene

Hi @Rene

I know I have been promising this feature/bug fix for a very long time now, but it is still the same story. The developers have it all scoped and are ready to go, it just needs to be prioritised over other features and fixes, and so far it hasn’t been.

The day will come though.

1 Like

Hello Christian,

Have you tried to just remove the widget for the offending temperature sensor?

Regards,
Frode.

Hi Frode!
Thanks for the idea, but the problem is, that the sensors show ONLY in the side bar of the site overview page:


So no option to remove anything here.
But maybe one day the issue will come on top of the victron-to-do-list :slight_smile:

Looks like you could ssh into the installation, and edit the settings.xml to remove the old sensors.
Enable ssh trough lan in the remote console, set superuser password.
Open a terminal or putty, type or configure putty:
ssh root@[iptodevice]
Input your superuser password
type yes to accept the ssh key
cd /data/conf
cp settings.xml settings.xml.backup
nano settings.xml

root@einstein:/data/conf# nano settings.xml

Locate the entry for the old sensor (in my example I use my current ruuvi sensor), there are likely two places for the entry, one under the digital inputs:

</digital_input_4>
<ruuvi_f0dc72bcd36b>
      <ClassAndVrmInstance type="s" default="temperature:20" silent="False">temperature:20</ClassAndVrmInstance>
      <CustomName type="s" default="" silent="False">BAGASJE</CustomName>
      <Enabled type="i" min="0" max="1" default="0" silent="False">1</Enabled>
      <TemperatureType type="i" min="0" max="6" default="2" silent="False">2</TemperatureType>
    </ruuvi_f0dc72bcd36b>

And one after system setup:

</SystemSetup>


<TempSensorRelay>
     <Mode type="i" min="0" max="100" default="0" silent="False">0</Mode>
     <ruuvi_f0dc72bcd36b>
       <Enabled type="i" min="0" max="2" default="0" silent="False">1</Enabled>
       <_0>
         <ClearValue type="i" min="-100" max="100" default="0" silent="False">12</ClearValue>
         <Relay type="i" min="-1" max="100" default="-1" silent="False">-1</Relay>
         <SetValue type="i" min="-100" max="100" default="0" silent="False">7</SetValue>
       </_0>
       <_1>
         <ClearValue type="i" min="-100" max="100" default="0" silent="False">0</ClearValue>
         <Relay type="i" min="-1" max="100" default="-1" silent="False">-1</Relay>
         <SetValue type="i" min="-100" max="100" default="0" silent="False">0</SetValue>
       </_1>
     </ruuvi_f0dc72bcd36b>
   </TempSensorRelay>

Use ctrl+w for search in nano. do it multiple times to find additional lines. To identify entries for your sensors, you could search for “Luft” for your first one, and “Giebel” for your second. make note of the unique number to search for the second entry for each sensor.

I have not tried this myself, but I would like to think if you delete the content between the start identifier : <ruuvi_f0dc72bcd36b> and end identifier: </ruuvi_f0dc72bcd36b>, save the file and exit(ctrl+o, then ctrl+x), then reboot the system (type “reboot” in the terminal), you will not see the entries for the sensor anymore.
If something is not working anymore, you can restore the old settings.xml by:
cp settings.xml.backup settings.xml

Regards,
Frode.

Hi Frode,
thanks for the hint. I looked into my settings.xml, but the “ghost sensors” are not listed in this file. This is consistend with the fact, that these two “ghost senors” are NOT listed in my device list either on the Venus device itself nor in the VRM portal device list.
I think the two “side widgets” are generated from the data stored at Victrons servers. Last time I downloaded all my data from VRM portal, there were these old last values from the two sensors. That was more than two years ago, that the sensors produced data.
So the problem is, that I cant’t do anything to “delete” this data or say the VRM portal to NOT show sensors with data older than 6 months or so…
I know it’s on the to do list of Victron developers, but I assume with very low priority…
But thanks for your idea!
Christian

Ok, then you could try to add the sensors to the xml file (using the data from the backup of the vrm), and after reboot, try to delete them from the vrm portal.

Last effort, backup your logs and xml file (without ghost sensors), and
Delete install from vrm, re-add it to vrm, check to see if they are gone, if so, great.
If not:
Reinstall the system from scratch, delete install from vrm, maybe save the xml file for easier setup? or setup manually.

Regards,
Frode.

Is there any update to this? I also have a phantom temp sensor that’s been around for 5 months. Thanks!

Hi,

It’s not forgotten,

The future direction of the dashboard is getting some attention from the VRM team at the moment.

I’ll ask if that precludes crossing this specific long standing feature request off the list.

The debate is how much customisation do we allow there, and the result of that changes how this is implemented.