ateodorescu / home-assistant-ipmi

IPMI connector for Home Assistant
MIT License
36 stars 8 forks source link

Finished fetching IPMI resource status data in 10.002 seconds (success: False) #9

Closed chunkster29 closed 10 months ago

chunkster29 commented 10 months ago

I've tryied setting it up but it won't connect can connect via the command line using ipmitool -I lanplus -H 192.168.1.125 -U root -P XXXXXXXX sdr elist all does the addon support lanplus as a connection method

ateodorescu commented 10 months ago

lanplus is supported. In fact it's the first connection type that the server tries. Maybe I'll improve this to be able to spit the error in the log.

chunkster29 commented 10 months ago

following up this what is being shown on the webserver {"success":false,"message":"Wrong connection data provided!"}

ateodorescu commented 10 months ago

Please try to open the following url in your browser: http://YOUR_HASS_IP:9595/?host=YOUR_SERVER_IP&port=623&user=YOUR_USER&password=YOUR_PASSWORD and let's see what it returns. YOUR_HASS_IP is the IP address of your home assistant server. YOUR_SERVER_IP is the IP address of the IPMI server.

chunkster29 commented 10 months ago

now that's returning json data

ateodorescu commented 10 months ago

That's exactly what the integration does when using the addon.

chunkster29 commented 10 months ago

well looks like the connection information isn't getting passed for some reason

ateodorescu commented 10 months ago

Might be related to https://github.com/ateodorescu/home-assistant-ipmi/issues/10

chunkster29 commented 10 months ago

that as fixed the problem

ateodorescu commented 10 months ago

fixed in https://github.com/ateodorescu/home-assistant-ipmi/releases/tag/v1.1.1