Controll Via Restfull API from Homeassistant a Dell Server with Redfish API
- Add this to configuration.yaml
rest_command:
restapi_control_resettype_dell_server:
url: "https://<<IP>>/redfish/v1/Systems/System.Embedded.1/Actions/ComputerSystem.Reset"
method: POST
username: "XY"
password: "XY"
content_type: "application/json;charset=utf-8"
payload: '{"ResetType": "{{ ResetType }}"}'
verify_ssl: false
- Change IP in the URL
- Set User and Password from IDRAC
The ResetTypes are from Supported Action — Reset Description
With this set you cant test it via Services
The Dell Server should now react to the Data Block with the ResetType in it.
It works in Automations aswell.