Baahver
(Bart)
March 3, 2022, 9:33am
1
I run Home Assistant core on my Ubuntu server. Today I did an update as:
sudo -u homeassistant -H -s
source /srv/homeassistant/bin/activate
pip3 install --upgrade homeassistant
This normally does not give me trouble. But today I have a problem after update to 2022.3.0
The ZwaveJS integration gives me an error:
Z-Wave JS Server version is incompatible: 1.14.1 a version is required that supports at least api schema 15
How do I fix this? Is it possible to upgrade ZwaveJS? How would I do that?
Please advise.
Systeemstatus
Versie core-2022.3.0
Type installatie Home Assistant Core
Ontwikkeling false
Supervisor false
Docker false
Gebruiker homeassistant
Virtuele omgeving true
Python-versie 3.9.5
Besturingssysteem Linux
Versie van het besturingssysteem 5.11.0-49-generic
CPU-architectuur x86_64
Tijdzone Europe/Amsterdam
I’m running ZwaveJS2MQTT in docker.
zwavejs2mqtt: 6.5.1
zwave-js: 8.11.4
home id: 3430515805
home hex: 0xcc79845d
Baahver
(Bart)
March 3, 2022, 10:11am
2
Sorry!
I figured it out. I had to upgrade ZwaveJS2MQTT docker. Now:
zwavejs2mqtt: 6.5.2
zwave-js: 8.11.6
home id: 3430515805
home hex: 0xcc79845d
And the integration is able to communicate again!
i have the same issue but zwavejs2mqtt does not find an update, it still stay`s at 0.35.0 but latest should be 0.35.2, never had issues before, always performing updates over frontend.
any suggestions how to force update ?
thank you!
Baahver
(Bart)
March 4, 2022, 5:53pm
6
Are you running ZwaveJS2MQTT in a docker? If so:
docker stop zwavejs2mqtt
docker rm zwavejs2mqtt
docker run …
Change to your your settings.
Then I had a new version. latest
Edit: I just saw your other post. I do not use the supervisor.
anyway thanks for your efforts!
I am also experiencing this issue and do not use docker. Anyone find a solution? Supervisor not offering an option to upgrade Z Wave JS version
Fulg
(Benoit Miller)
April 14, 2022, 12:33pm
9
On my side it looks like the Home Assistant Community Add-ons were not updating correctly (I don’t understand why yet). There were some git errors in the Supervisor log regarding add-on updates, that was probably related. I was stuck on Z-Wave JS to MQTT version 0.35 and no Community add-ons were visible in the Add-on Store page anymore.
Out of desperation I uninstalled Z-Wave JS to MQTT , and restored an older version of the Add-on from a backup (which downgraded it further) and eventually I got offered an update to 0.37, along with a couple of other community add-on updates that were also missing. This also brought back the Community add-ons in the Add-on Store page.
Fulg
(Benoit Miller)
May 8, 2022, 1:51pm
10
For the benefit of future readers: this ended up happening again, and once more it was related to the Home Assistant Community Add-ons being missing (therefore they are not updated).
The easy solution was to go to the Add-on Store (Settings > Add-ons > Add-on Store button), click on the three dots menu at the top right, select Repositories, then add back the default URL (which is https://github.com/hassio-addons/repository
) and click Add. This brought back the Community Add-ons and finally I could update the old Z-Wave JS to MQTT plugin.
Now the real question is, why am I losing this URL in the repositories…
5 Likes
jnc
(Jan)
May 10, 2022, 7:30am
11
There was a bug in 2022.4 that caused repeated repository updates. Based on that GitHub started blocking requests, which then resulted in HA to remove the repository as it was thinking it is dead.
home-assistant:dev
← home-assistant:Limit-update-refresh
opened 07:03AM - 15 Apr 22 UTC
<!--
You are amazing! Thanks for contributing to our project!
Please, DO N… OT DELETE ANY TEXT from this template! (unless instructed).
-->
## Breaking change
<!--
If your PR contains a breaking change for existing users, it is important
to tell them what breaks, how to make it work again and why we did this.
This piece of text is published with the release notes, so it helps if you
write it towards our users, not us.
Note: Remove this section if this PR is NOT a breaking change.
-->
## Proposed change
<!--
Describe the big picture of your changes here to communicate to the
maintainers why we should accept this pull request. If it fixes a bug
or resolves a feature request, be sure to link to that issue in the
additional information section.
-->
Limit Supervisor update refresh to not run on scheduled updates.
## Type of change
<!--
What type of change does your PR introduce to Home Assistant?
NOTE: Please, check only 1! box!
If your PR requires multiple boxes to be checked, you'll most likely need to
split it into multiple PRs. This makes things easier and faster to code review.
-->
- [ ] Dependency upgrade
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New integration (thank you!)
- [ ] New feature (which adds functionality to an existing integration)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [x] Code quality improvements to existing code or addition of tests
## Additional information
<!--
Details are important, and help maintainers processing your PR.
Please be sure to fill out additional details, if applicable.
-->
- This PR fixes or closes issue: fixes #69733
- This PR is related to issue:
- Link to documentation pull request:
## Checklist
<!--
Put an `x` in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to ask.
We're here to help! This is simply a reminder of what we are going to look
for before merging your code.
-->
- [x] The code change is tested and works locally.
- [x] Local tests pass. **Your PR cannot be merged unless tests pass**
- [x] There is no commented out code in this PR.
- [x] I have followed the [development checklist][dev-checklist]
- [ ] The code has been formatted using Black (`black --fast homeassistant tests`)
- [x] Tests have been added to verify that the new code works.
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated for [www.home-assistant.io][docs-repository]
If the code communicates with devices, web services, or third-party tools:
- [ ] The [manifest file][manifest-docs] has all fields filled out correctly.
Updated and included derived files by running: `python3 -m script.hassfest`.
- [ ] New or updated dependencies have been added to `requirements_all.txt`.
Updated by running `python3 -m script.gen_requirements_all`.
- [ ] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.
- [ ] Untested files have been added to `.coveragerc`.
The integration reached or maintains the following [Integration Quality Scale][quality-scale]:
<!--
The Integration Quality Scale scores an integration on the code quality
and user experience. Each level of the quality scale consists of a list
of requirements. We highly recommend getting your integration scored!
-->
- [ ] No score or internal
- [ ] 🥈 Silver
- [ ] 🥇 Gold
- [ ] 🏆 Platinum
<!--
This project is very active and we have a high turnover of pull requests.
Unfortunately, the number of incoming pull requests is higher than what our
reviewers can review and merge so there is a long backlog of pull requests
waiting for review. You can help here!
By reviewing another pull request, you will help raise the code quality of
that pull request and the final review will be faster. This way the general
pace of pull request reviews will go up and your wait time will go down.
When picking a pull request to review, try to choose one that hasn't yet
been reviewed.
Thanks for helping out!
-->
To help with the load of incoming pull requests:
- [ ] I have reviewed two other [open pull requests][prs] in this repository.
[prs]: https://github.com/home-assistant/core/pulls?q=is%3Aopen+is%3Apr+-author%3A%40me+-draft%3Atrue+-label%3Awaiting-for-upstream+sort%3Acreated-desc+review%3Anone+-status%3Afailure
<!--
Thank you for contributing <3
Below, some useful links you could explore:
-->
[dev-checklist]: https://developers.home-assistant.io/docs/en/development_checklist.html
[manifest-docs]: https://developers.home-assistant.io/docs/en/creating_integration_manifest.html
[quality-scale]: https://developers.home-assistant.io/docs/en/next/integration_quality_scale_index.html
[docs-repository]: https://github.com/home-assistant/home-assistant.io
1 Like
reedy
May 13, 2022, 11:27pm
12
Thanks @Fulg
I just updated to 2022.5.4 and had this issue. Solution solved the problem.
@Fulg ’s solution worked me. Thanks!
This did it for me. Thank you.