jaroschek / home-assistant-eaton-ups

Custom Home Assistant integration for Eaton UPS devices and sensors through SNMP.
9 stars 2 forks source link

5PX Gen2 not working #19

Closed romanhoc closed 3 weeks ago

romanhoc commented 3 months ago

Hi Stefan,

i tried to get my new Eaton 5PX Gen2 integrated ... with no success. image

Debug-Log: 2024-07-24 08:48:11.098 DEBUG (SyncWorker_24) [custom_components.eaton_ups.api] Get OID(s) ['1.3.6.1.4.1.534.1.1.2.0', '1.3.6.1.4.1.534.1.1.5.0', '1.3.6.1.4.1.534.1.1.6.0', '1.3.6.1.4.1.534.1.1.3.0', '1.3.6.1.4.1.534.1.3.3.0', '1.3.6.1.4.1.534.1.3.5.0', '1.3.6.1.4.1.534.1.3.9.0', '1.3.6.1.4.1.534.1.4.3.0', '1.3.6.1.4.1.534.1.4.5.0', '1.3.6.1.4.1.534.1.4.10.0', '1.3.6.1.4.1.534.1.2.1.0', '1.3.6.1.4.1.534.1.2.2.0', '1.3.6.1.4.1.534.1.2.4.0', '1.3.6.1.4.1.534.1.2.5.0', '1.3.6.1.4.1.534.1.2.6.0', '1.3.6.1.4.1.534.1.2.7.0', '1.3.6.1.4.1.534.1.2.8.0', '1.3.6.1.4.1.534.1.2.9.0', '1.3.6.1.4.1.534.1.2.10.0', '1.3.6.1.4.1.534.1.8.2.0'] 2024-07-24 08:48:11.185 DEBUG (MainThread) [custom_components.eaton_ups.coordinator] Finished fetching eaton_ups data in 0.088 seconds (success: False)

can you help me ? BR, roman

xoatrash commented 2 months ago

Same here.

jaroschek commented 1 month ago

@romanhoc @xoatrash The problem is, that I implemented this for an 9PX with an Gigabit Network Card (M2). SO it seems that not all requsted OIDs are available for every other model.

But I have now implemented a workaround by ignoring OIDs that cause an error and retry the SNMP request with that OID.

The change is now available in the pre-release: https://github.com/jaroschek/home-assistant-eaton-ups/releases/tag/1.2.1-beta1

luvaas commented 3 weeks ago

I'm running 1.2.1-beta with my 5PX Gen 2, but it doesn't seem to solve the issue. Still getting the configuration error.

romanhoc commented 3 weeks ago

hi all,

MY 5PX is running perfectly since the update from september ...

many thx !

bR ROman

-----Ursprüngliche Nachricht----- Von: Darren @.> Gesendet: Samstag 19. Oktober 2024 18:54 An: jaroschek/home-assistant-eaton-ups @.> CC: Roman rHoc @.>; Mention @.> Betreff: POSSIBLE SPAM Re: [jaroschek/home-assistant-eaton-ups] 5PX Gen2 not working (Issue #19)

I'm running 1.2.1-beta with my 5PX Gen 2, but it doesn't seem to solve the issue. Still getting the configuration error.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

jaroschek commented 3 weeks ago

@luvaas please try the latest release 1.2.2. This solves an additional bug that was introduced with Home Assistant 2024.10.

luvaas commented 3 weeks ago

Release 1.2.2 works for me! I missed that it was released. Thanks for creating this integration!

jaroschek commented 3 weeks ago

I'm glad this is solved now.