APC SmartUPS Status Device

I can try without the card first. Send logs off all the commands I issue in the code via your own.telnet session

Dumb question, apologies for that...

Based on the original device handler description at the top of the thread, it seems it is polling at a user defined interval rather than getting active updates from the UPS. Is that correct?

My use case is pretty simple...I have a SMT750RM2UC connected to my C7 and want to use the UPS to tell me if there's AC power coming in or not. If AC power is off and comes back on, I want to use that change in status to trigger all my non-Hue smart bulbs to turn off. Obviously the ideal situation would be for that rule to trigger ASAP after power is restored, so getting an update from the UPS on that status change would be much better than brute force polling.

On eBay, the SMT1500’s vary widely in price. Some are 1500C (~$500-1000) and others are 1500RM2U ($100-200). Anyone know the difference?

Also some mention SmartConnect; others don’t. Does this matter?

Sorry for noob questions.

I use the SMTL1000RM2UC. It was pretty expensive around $1500 but it's a Lithium-Ion battery and it has a pretty short mounting depth which was the only way I was going to fit a big UPS in my network rack. The rack only has about 12 inches of mounting depth. All my network gear including an AT&T Modem, Wireless backup modem, Raspberry PI, alarm secondary power source, UDM-Pro, USW-48 Pro, USW-Agg Pro, and all 5 of the AP's are powered off it using PoE and it has about an hour runtime.

For me the SMTL were a better option since I had the rack already. I'd still probably go with the SMTL over the regular SMT's though. The smart connect modules are an addon card that let you connect to the UPS much like a proprietary ethernet adapter.

The card slides into the back where that blank cover is:

image

the smt1500 vs smc1500 .. smt1500 older have better runtime

the ones with the c at the end ie smt1500c or smc1500c have the smartconnect card built in so you dont need to buy one..

if i was you the best deal is pick up an older smt1500 and buy yourself batteries so you dont pay shipping for a heavy ups.. and then pick up the net card also separate...
something like this .

the smt1500rm2u are rackmount and take differnt batteries.. not sure where you are seeing them for 100 but they are not that cheap and basically the same price..

this card i picked up one from him for 30 offer.. i have software to upgrade the firmware in it if you need help
https://www.ebay.com/itm/363706012866?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m2749.l2649

batteries i normally use these

https://www.amazon.com/Mighty-Max-Battery-Replaces-Cartridge/dp/B00V7ZNJGE/ref=sr_1_6?keywords=rbc7&qid=1646766798&sr=8-6

ups

1 Like

I purchased from these guys an APC SU750XL last year. Best price I could find and came with new batteries.

They have an SMT1500 with AP9630 netcard for $370. Without the netcard it's $250 then try ebay for a card

1 Like

@kahn-hubitat Any way to add Power Source capability to this so that when rule Machine sees UPSStatus as battery it can trigger?

What is the benefit of this as you can already write a rule using the custom attribute to trigger on a power failure.

I guess I was thinking easier not to have to create a local variable to be fed by the attribute and instead just use Power source so RM watched it as the trigger. (easier for newbies I would suppose too)

you dont need any local variables.. see this rule..

you just use a custom attribute (upsStatus) in the trigger like below and check status is on battery

1 Like

Fair enough... Was thinking of things differently....

one last thing, is it possible to have the device name attached to the built in %device% variable for notifications? Or am I looking at that wrong too?

That's not something the driver does, i believe it is populated by the system automatically. Someone correct me if i am wrong. Are you saying it is not working?

Yeah. So for instance, in a notification I usually put %device% is doing something, pay attention to it.

%device% is being sent as null

That %device% only populates after the rule triggers, so when you create the rule it will show as null since it does not know what device triggered it yet.

2 Likes

Working fine for me i just tested


1 Like

Another 'abnormal' response?

dev:28492022-08-13 04:00:06.060 pm debugGot UPS Status = Discharged,!

Network
AP9631
sumx v6.8.0
aos v6.8.2
bootmon v1.0.9

Probably ok never let my batteries get to that state. Ie.totally discharged as it shuts.down first.
And should not turn back on till power comes back and .it would be charging. how did you even get that state.

Runtime calibration. Surprised no one has seen this.

I.dont know how often you refresh but even after calibration it should not be discharged it should start charging immediatley.