Testers Wanted - UPS Monitoring

I have several SMT1000’s some networked, some just serial spread accross multiple locations I would like to monitor and help develop. Is OP still active?

If this is still being worked on I would like to test also.

lost hope… :sob:

1 Like

Did this die out?

Please tell me there’s something still here. This is a fantastic idea that I literally have been researching today after putting in a UPS for my internet hardware.

Even if there’s just instructions.

This isn’t the same - but I’ve recently got a simple switch working using a pi and NUT for my APC 1500 smart.

followed these instructions and barring a few issues it now works.

It would be great to see UPS stats live via a smartapp.

1 Like

@SteveWhite is this dead or are you still thinking about resuming this? Could you share what you have so far with the community?

Thanks!!

I tried to reach out to Steve White, but decided to roll my own when I didn’t hear back. The setup is about the same: A raspberry pi monitoring the UPS over UBS. This is a little different than HandyHarley’s project in that the RPI presents a UPnP service on the LAN, which the smartthings Service Manager can discover.


5 Likes

Awesome man! Start a new thread and showcase your work! You deserve it!

3 Likes

this look exactly like what i need. ive got a pi running nut and can pull out ups status, but i have no idea how to implemet your code. do you have any instructions at all?

thanks again.

I updated the README for the python service you run on your pi. I should have mentioned, it assumes
upsc myups 2> /dev/null produces sensible output. You then install the service and DHT into your ST IDE. Lastly, you can discover your device through the service app.

thanks - yes I get a good output from upsc myups 2> /dev/null.

i’ll have a play and see what happens!

hi, ive had a look at this but somehow still having issues.

i’m running the service and getting the following output:

Traceback (most recent call last):

File “main.py”, line 4, in <module>

from lib.upnp_http_server import UPNPHTTPServer, get_network_interface_ip_address

File “/home/pi/upsmonitor/lib/upnp_http_server.py”, line 1, in <module>

from http.server import BaseHTTPRequestHandler, HTTPServer

ImportError: No module named http.server

only just getting into linux so its a learning curve. am i missing something?

Lets move the installation discussion to How to install · Issue #1 · brianegge/upnp-ups-service · GitHub

ok thanks.

So your fork is a fork of a fork with 20+ commits ahead. It might be time to just create a new repo and put a reference back to the forks and this thread in the readme. Also start a new thread like @Benji said. Think that would make the most sense at this point.

Any chance of ever seeing this as a direct driver via Telnet connection?

Trying to run this on unRaid 6.6. I have nut running no worries. Do you have a Docker Hub account? Might make process easier than cloning from git

1 Like

I’d be interested but for all my APC UPS’s already network connected, short of just monitoring I’d also would like tot power cycle the UPS when needed from ST