Monitor status of DC1018P DC UPS

Hi, I recently purchased the DC UPS (some OEM with model: DC1018P) for my wifi router.
I would like to monitor this DC UPS with home assistant and ESP32
Interestingly, I found there are 2 ports on the DC UPS PCB for external interfacing.
1 port with SWD label which I believe it is for debugging purpose?
another port with 9 pin port without label. (it has marking from pin 1 to 9 in sequence start with R, G, 100, C75, W50, D25, KEY, 3V3, GND)

Does anyone could suggest any possible to monitor this DC UPS with serial communication to ESP32?

Photo as below.

1 Like

Might be possible, but unlikely worth of time needed to find serial connection and reverse engineer communication protocol. What you need to monitor?

Hi Karosm, I would like to monitor the battery voltage, current and UPS power status

Ok, further to the invetigation, found that the 9 pin port is actually for external communication with the UPS.

It will be useful for others as belwo references.

R= main power supply unavailable to UPS. (signal is active low)
G= main power supply available to UPS. (signal is active low)
100= steady: battery is 100% and discharging, bliking: battery is charging and reach between 76%-99%. (signal is active low)
C75= steady: battery is 75% and discharging, blinking: battery is charging and reach between 51%-75%. (signal is active low)
W50= steady: battery is 50% and discharging, blinking: battery is charging and reach between 26%-50%. (signal is active low)
D25= steady: battery is 25% and discharging, blinking: battery is charging and reach between 0%-25%. (signal is active low)
KEY= suspect input for UPS operation (guessing active high to power ON/OFF the UPS). To be confirmed.
3V3= 3.3VDC power supply for external controller.
GND= ground

1 Like

Nice job! And no serial needed.

Hey @westwoon did you integrate this UPS to the Home Assistant? I spent a few days trying to read the device status via wemos d1 mini gpio’s, but no luck still…