Please help removing drivers from HPM

Please help, I have had trouble with my instance and am unable to uninstall some drivers.
My hub appears to be functioning correctly today, but I would like to get rid of these corrupt drivers if possible is there anyway to do this?

If you scroll down a bit on that page there should be a Next button.

A couple of questions / clarifications:

Just an FYI, hpm is actually a custom app, not part of the built-in platform (not relevant to your exact issue)

When you say corrupt, what exactly are you seeing to produce that comment?

HPM is just managing the code for drivers and apps. By removing them from within HPM, you are not removing instances of their use, i.e. devices or installed apps. These devices and/ installed apps will need to be removed first before the code. The code being present on the hub would not normally pose any issue that would effect the performance of the hub.

1 Like

Drivers just sit there. Changing the drivers is all you really need to do. As @sburke781 says, why do you think drivers are corrupt?

Note: Life 360 no longer works on most platforms like Hubitat, HA, Smartthings etc. They are actively blocking their api....

Go into Drivers code to delete drivers....

1 Like

And do an update / re-sync or whatever it's called in HPM...

1 Like

Just FYI, this is working now after a code change to the login method...for now.

1 Like

For now. I expect it will be blocked rather quickly like My Q does

I tried this but I was getting errors, I had several other drivers that I had to reinstall using the repair for me to be able to delete any

At the moment all seems to be functioning apart from a few sonoff devices such as contact and motion sensors I am putting that down to battery at the moment but all went online at the same time. The main error I have at the moment is not being able to delete some drivers. and My favourite automation for a morning weather update using openweathermap no longer functions, every time I get a weather update now it is from 4pm on the 1st of this month rather then the most recent update

I tried to delete the codes manually but in the hubitat package manager they was still showing, there was several more drivers with the same error but I made a repair on all of them and managed to delete the majority its just, the tuya driver and the life 360 drivers that seem to be causing me a issue. I had some zigbee devices fail at the same time this is what made me look for errors, I have batteries on order for these zigbee devices that failed.
There is a rule you helped me make the other year that no longer functions correctly at the moment too. you showed me a step by step guide on how to set up a switch to provide a weather report in the morning. I still get the weather report, but its fro the 1st of this month at 4pm

nice to see you back happy new year old friend

I think I may have the morning automation you helped me make working again, I just changed the API Key Version (2.5 = OFF; 3.0 = ON) * from on to off

Are you able to post a screenshot of the error you are seeing when you try to delete the code in HPM?

To jump ahead a little, could it be you have actually deleted them yourself in the Apps Code or Drivers Code sections of the HE Admin interface, outside of HPM? .... Ah, actually that appears to be what you are describing to @rlithgow1:

It would appear one of the Apps, Life 360 With States, by @bptworld was removed from his repository back in September 2022. I am expecting this will be your issue, potentially one of the others may be in a similar state.

Can you try removing just the Life360+ and Tuya drivers you show selected in the screenshot of the OP?

Also, as @tray_e suggests, also try unmatching the Life 360 With States in HPM, available in the Settings screen for HPM, just below the Available Repositories.

Wouldn't he just need to "unmatch" at that point?

1 Like

Based on what I just found, most likely, just not sure if it causes any grief in the unmatch process when it's no longer in the repository. If we get to that point may be a question for csteele.

how do I do this?


looks like we got rid of life 360+ but life 360 with stats and tuya still have the same error,

how will I match them?

I think I original started getting issues with my hub when re-connecting a konnected device, I had tried to install esp home on it and directly putting it in ha due to esphome but it didn't work for me and I am better with the rules in hubitat to get what I need.
I am still having issues with my zigbee devices too and I have changes the batteries now, I think one motion sensor come back to life I haven't rechecked the second one yet

I would have expected two different issues between Life360 With States and the error you posted for Tuya. For Tuya you need to look through your list of devices and remove any using those drivers, like it talks about in the error message.

To unmatch the Life360 With States package:

In the first screen in HPM, click Settings:

Then select Remove a Matched Package at the bottom:

From there you can select from your package in HPM that you want to unmatch
image

2 Likes

It may be worth briefly explaining that HPM provides an extra layer of management of the drivers and Apps on top of what HE looks after. If you manually add a driver or App Code, HPM has no knowledge of it, but HE will know about it and list it in the Drivers Code or Apps Code area. Equally, if you add something through HPM, this is then recorded both within HPM and HE's listings of code. If you have something you have installed in HPM, you ideally would remove it using HPM (after removing any installed Apps or devices that use the code), but not removing the code from underneath HPM in the Drivers Code and Apps Code areas, otherwise you end up with a mismatched entry in HPM. Not that this can't be recovered from, just makes the management of it easier.

2 Likes