Bonjour,
Depuis la dernière mise à jour vers
Core 2024.2.2
Supervisor 2024.01.1
Operating System 11.5
Interface utilisateur 20240207.1
les sensors du serveur HP Ilo ne fonctionnent plus
Mon fichier yalm qui contient les sensors. Je ne l’ai pas modifié, il fonctionnait. La partie ‹ Lune › elle fonctionne toujours. Ce qui me fait dire que le problème ne viendrait pas de là.
Rebbot complet (serveur compris) → idem.
Rien trouvé sur le net comme quoi il y aurait un soucis avec ILO. Mais plus aucune entité ‹ hp_ilo › dans HA
Des idées?
Merci d’avance
#Lune
- platform: template
sensors:
moon_phases:
friendly_name: 'Lune'
value_template: >-
{% set phases = {'first_quarter': 'Premier quartier', 'full_moon': 'Pleine lune',
'last_quarter': 'Dernier quartier', 'new_moon': 'Nouvelle lune',
'waning_crescent': 'Dernier croissant', 'waning_gibbous': 'Gibbeuse décroissante',
'waxing_crescent': 'Premier croissant', 'waxing_gibbous': 'Gibbeuse croissante'} %}
{% set phase = states('sensor.moon') %}
{{ phases[phase] if phase in phases.keys() else 'Error' }}
entity_picture_template: /local/moon_phases/{{ states('sensor.moon') }}.png
# HP ILO
- platform: hp_ilo
host: !secret Srv_IPadress
username: !secret SrvUserName
password: !secret SrvPassword
scan_interval: 30
monitored_variables:
- name: Inlet temperature
sensor_type: server_health
unit_of_measurement: "°C"
value_template: '{{ ilo_data.temperature["01-Inlet Ambient"].currentreading[0] }}'
- name: CPU 1 temperature
sensor_type: server_health
unit_of_measurement: "°C"
value_template: '{{ ilo_data.temperature["02-CPU 1"].currentreading[0] }}'
- name: Sys Exhaust 1 temperature
sensor_type: server_health
unit_of_measurement: "°C"
value_template: '{{ ilo_data.temperature["39-Sys Exhaust"].currentreading[0] }}'
- name: Sys Exhaust 2 temperature
sensor_type: server_health
unit_of_measurement: "°C"
value_template: '{{ ilo_data.temperature["40-Sys Exhaust"].currentreading[0] }}'
- name: Sys Exhaust 3 temperature
sensor_type: server_health
unit_of_measurement: "°C"
value_template: '{{ ilo_data.temperature["41-Sys Exhaust"].currentreading[0] }}'
- name: Storage Status
sensor_type: server_health
value_template: '{{ ilo_data.health_at_a_glance["storage"]["status"] }}'
- name: Fan Block 1 Speed
sensor_type: server_health
unit_of_measurement: '%'
value_template: '{{ ilo_data.fans["Fan Block 1"].speed[0] }}'
- name: Fan Block 2 Speed
sensor_type: server_health
unit_of_measurement: '%'
value_template: '{{ ilo_data.fans["Fan Block 2"].speed[0] }}'
- name: Fan Block 3 Speed
sensor_type: server_health
unit_of_measurement: '%'
value_template: '{{ ilo_data.fans["Fan Block 3"].speed[0] }}'
- name: Fan Block 4 Speed
sensor_type: server_health
unit_of_measurement: '%'
value_template: '{{ ilo_data.fans["Fan Block 4"].speed[0] }}'
- name: Fan Block 5 Speed
sensor_type: server_health
unit_of_measurement: '%'
value_template: '{{ ilo_data.fans["Fan Block 5"].speed[0] }}'
- name: Fan Block 6 Speed
sensor_type: server_health
unit_of_measurement: '%'
value_template: '{{ ilo_data.fans["Fan Block 6"].speed[0] }}'
- name: Fan Block 7 Speed
sensor_type: server_health
unit_of_measurement: '%'
value_template: '{{ ilo_data.fans["Fan Block 7"].speed[0] }}'
- name: Fan Block 8 Speed
sensor_type: server_health
unit_of_measurement: '%'
value_template: '{{ ilo_data.fans["Fan Block 8"].speed[0] }}'
- name: Fan Block 1 Status
sensor_type: server_health
value_template: '{{ ilo_data.fans["Fan Block 1"].status }}'
- name: Fan Block 2 Status
sensor_type: server_health
value_template: '{{ ilo_data.fans["Fan Block 2"].status }}'
- name: Fan Block 3 Status
sensor_type: server_health
value_template: '{{ ilo_data.fans["Fan Block 3"].status }}'
- name: Fan Block 4 Status
sensor_type: server_health
value_template: '{{ ilo_data.fans["Fan Block 4"].status }}'
- name: Fan Block 5 Status
sensor_type: server_health
value_template: '{{ ilo_data.fans["Fan Block 5"].status }}'
- name: Fan Block 6 Status
sensor_type: server_health
value_template: '{{ ilo_data.fans["Fan Block 6"].status }}'
- name: Fan Block 7 Status
sensor_type: server_health
value_template: '{{ ilo_data.fans["Fan Block 7"].status }}'
- name: Fan Block 8 Status
sensor_type: server_health
value_template: '{{ ilo_data.fans["Fan Block 8"].status }}'
Herbs
Février 18, 2024, 10:03
2
Salut @Argonaute64
Il y a une issue sur github :
opened 02:25AM - 04 Feb 24 UTC
integration: hp_ilo
### The problem
The HP ILO integration stopped working the configuration has no… t change nor has the ilo login details it will not create the entity's any more even though it has worked up until the last upadte
### What version of Home Assistant Core has the issue?
core
### What was the last working version of Home Assistant Core?
up until the latest update
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
hp_ilo
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/hp_ilo/
### Diagnostics information
I dont have any at this time
### Example YAML snippet
```yaml
- platform: hp_ilo
host: 192.168.100.47
username: Studmuffin
password: no password for u
monitored_variables:
- name: Studmuffin XCP-NG Inlet Tempeture
sensor_type: server_health
unit_of_measurement: "°C"
value_template: '{{ ilo_data.temperature["01-Inlet Ambient"].currentreading[0] }}'
- name: Studmuffin ESXI 1 Power Consumption
sensor_type: server_power_readings
```
### Anything in the logs that might be useful for us?
```txt
Not currently at this time if u need data tell me how to get it and i can get it to u
the code snippet is 1 out of the 4 i have
```
### Additional information
_No response_
avec le PR pour résoudre dans une prochaine version de HA :
home-assistant:dev
← Nirostar:dev
opened 07:49AM - 12 Feb 24 UTC
<!--
You are amazing! Thanks for contributing to our project!
Please, DO N… OT DELETE ANY TEXT from this template! (unless instructed).
-->
## 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.
-->
This should fix the problem here: #109581
The library fixed this already years ago (https://github.com/seveas/python-hpilo/commit/6854475304d99bf9f2e06628f7dc9979ceb5c401)
## 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.
-->
- [x] Dependency upgrade
- Library changes: https://github.com/seveas/python-hpilo/compare/4.3...4.4.3
- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New integration (thank you!)
- [ ] New feature (which adds functionality to an existing integration)
- [ ] Deprecation (breaking change to happen in the future)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] 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 #109581
## 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**
- (currently can't run them on my Windows machine but the CI pipeline is fine)
- [x] There is no commented out code in this PR.
- [x] I have followed the [development checklist][dev-checklist]
- [ ] I have followed the [perfect PR recommendations][perfect-pr]
- [x] The code has been formatted using Ruff (`ruff format homeassistant tests`)
- [ ] 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:
- [x] The [manifest file][manifest-docs] has all fields filled out correctly.
Updated and included derived files by running: `python3 -m script.hassfest`.
- [x] New or updated dependencies have been added to `requirements_all.txt`.
Updated by running `python3 -m script.gen_requirements_all`.
- [x] 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`.
<!--
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/development_checklist/
[manifest-docs]: https://developers.home-assistant.io/docs/creating_integration_manifest/
[quality-scale]: https://developers.home-assistant.io/docs/integration_quality_scale_index/
[docs-repository]: https://github.com/home-assistant/home-assistant.io
[perfect-pr]: https://developers.home-assistant.io/docs/review-process/#creating-the-perfect-pr
1 « J'aime »
Merci je regarde
Louper celle là
Bon après avoir regardé, je vais attendre la mise à jour de HA