Skip to content

Controll Via Restfull API from Homeassistant a Dell Server with Redfish API

Notifications You must be signed in to change notification settings

XingLii/HomeAssistant_Restfull_ResetType_Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

HomeAssistant Restfull-ResetType-Server

Controll Via Restfull API from Homeassistant a Dell Server with Redfish API

  1. 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
  1. Change IP in the URL
  2. Set User and Password from IDRAC

The ResetTypes are from Supported Action — Reset Description

With this set you cant test it via Services

image

The Dell Server should now react to the Data Block with the ResetType in it.

It works in Automations aswell.

About

Controll Via Restfull API from Homeassistant a Dell Server with Redfish API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published