Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It was all working so well, then Babyware #527

Open
DrDrewZA opened this issue Jan 2, 2025 · 4 comments
Open

It was all working so well, then Babyware #527

DrDrewZA opened this issue Jan 2, 2025 · 4 comments
Labels
question Further information is requested

Comments

@DrDrewZA
Copy link

DrDrewZA commented Jan 2, 2025

Hi all

I run my ha install on a vm on my windows 11 based server. I connect vi static IP using a 150s. My sp6000 has been working well with pai until yesterday, when I decided to rename all the zones in my panel using babyware. Then everything fell apart. I've got HA, MQTT and PAI all successfully talking to each other again, but there are 'legacy' undeleted entities showing in HA as unavailable and all the new entities are also there, but they show as unavailable as well, but oddly enough, they still seem to report state changes, etc - they're just not avaailable to me to use for anything.

I think I see a problem that may be the cause of my symptoms - in MQTT explorer, I note that there is a trailing space after the panel model, so instead of "SP6000" it shows "SP6000 " This trailing space then flows into all the idenitifiers giving me things like "identifiers": [
"Paradox_SP6000 _291338f9" Note the space

I have tried uninstalling both MQTT and PAI and reinstalling from scratch, but the old entity names in HA are still there and the trailing space remains as well as my problems.

Anyone have any ideas where I can rip every trace of the old setup out of the system and delete absolutely everything, fix the trailing space problem and reinstall it all again? Or have a better idea?

Many thanks in advance

Drew

Alarm system

Environment

Git branch

Question

Logs (if required)

@DrDrewZA DrDrewZA added the question Further information is requested label Jan 2, 2025
@yozik04
Copy link
Collaborator

yozik04 commented Jan 2, 2025

Use MQTT Explorer to clean up all related to PAI. It is possible to do bulk delete there.

@DrDrewZA
Copy link
Author

DrDrewZA commented Jan 2, 2025

Yep - tried that first - the entities remain in HA. I think it is because I renamed them, so it may have stored the details in the database. What Ive done now is rename all the zones in babyware back to their original zone names and functionality for a couple of automations has been restored, however all the old entities are still reporting as unavailable, although they are in fact online. Its the weirdest thing. I need to find where these entities are stored in HA and remove them and start over, but where to find them?

@DrDrewZA
Copy link
Author

DrDrewZA commented Jan 2, 2025

Ah well - I guess backups are there for a reason. I restored a backup from a week ago and it fixed what needed fixing, so I am sorted and just have to make a few updates to my config to be where I need to be. Interesting problem though - I wont be renaming the zones in HA again, as I think this caused the problem.

@yozik04
Copy link
Collaborator

yozik04 commented Jan 2, 2025

You can rename, just clear all configuration with your panel serial under homeassistant topic. It should delete all old entities from HA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants