Commit Graph
18 Commits
Author SHA1 Message Date
rwalker777 6d84a83236 Force protocol registration at factory initialization to work with ESPHome 2026.7.0
The self-registration mechanism using static initializers can fail with certain compiler/linker settings. Move built-in protocol registration into ensure_initialized() to guarantee all protocols (APC, CyberPower, GoldenMate, Generic) are registered before any protocol lookup occurs.

This fixes the issue where Goldenmate detection fails and there are no fallback protocols registered, resulting in "No suitable protocol found for vendor 0x075D".
2026-07-17 13:18:12 -05:00
rwalker777 1b63f30b4b Update protocol_goldenmate.cpp 2026-05-02 13:15:00 -05:00
rwalker777 d5d81ab445 Refine GoldenMate UPS protocol documentation
Updated protocol description and field mappings for GoldenMate UPS.
2026-05-02 13:14:27 -05:00
rwalker777 d9a8260a73 Remove GoldenMate vendor registration
Removed registration for vendor 0x06DA (GoldenMate) with high priority.
2026-05-02 12:44:30 -05:00
rwalker777 e28c0ef24e Update protocol_goldenmate.cpp 2026-05-02 12:42:50 -05:00
rwalker777 3ca23e9bf4 Add include for protocol_goldenmate.h 2026-05-02 12:29:07 -05:00
rwalker777 c5b88ddec2 Change 'Idowell' to 'Goldenmate' in UPS list 2026-05-02 12:25:50 -05:00
rwalker777 de5cc0e617 Refactor detect() to log hex dumps for report IDs
Updated the detect() method to include hex dump logging for multiple report IDs and removed the previous report checks.
2026-05-01 22:07:48 -05:00
rwalker777 f58e0d3b72 Update protocol_goldenmate.cpp 2026-05-01 22:05:37 -05:00
rwalker777 b5706d46e7 Create protocol_goldenmate.h 2026-05-01 20:21:45 -05:00
rwalker777 156905bab2 Add GoldenMate UPS protocol implementation
Implement GoldenMate UPS protocol for handling feature reports and device initialization.
2026-05-01 20:21:25 -05:00
rwalker777 039e7d53ad Update protocol_factory.cpp 2026-04-08 16:27:46 -05:00
rwalker777 890e1a013d Disable logging for registered protocol
Comment out logging for registered protocol.
2026-04-08 16:25:37 -05:00
rwalker777 0d2c9b2b54 Disable logging for fallback protocol registration
Commented out logging for registered fallback protocol.
2026-04-08 16:20:56 -05:00
rwalker777 f97093ae7d Add explicit initialization check in ProtocolFactory 2026-04-08 16:12:00 -05:00
rwalker777 e70c936813 Add logger checks before logging in ProtocolFactory 2026-04-08 15:55:01 -05:00
rwalker777 a71b90cf3e Remove device class override in binary sensor config
Removed device class override for binary sensor configuration.
2026-04-08 15:39:45 -05:00
rwalker777 0a573bb602 Remove device class setting from sensor config
Removed setting device class from sensor configuration if not specified.
2026-04-08 15:39:09 -05:00