-
-
Notifications
You must be signed in to change notification settings - Fork 377
PowerMaster / PowerGuide (legacy?) serial Protocol support #2769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Does not quickly ring a bell, check if https://networkupstools.org/ups-protocols.html shows anything similar? |
So... Looking at the docs I didn't find anything relevant, so I'll start hacking something... Any driver I should base on that is preferred? |
Not really... probably blazer or nutdrv_qx as best-evolved serial-capable ones. However it may be best to read through a few sources to see common or different ways of approaching some similar problems. And the new-drivers doc for general structure (what methods are for what purpose, etc.), and nut-names.txt for standard data point and command names. |
Add an initial driver for the "#*" protocol support that is used by many UPS out there that rely on the proprietary software suites PowerMaster+, ViewPower, PowerGuide and so on... The naming of the driver has been chosen since all the UPS replies start with an "#", while there's not a definitive common pattern for the queries or commands. Apparently the same protocol is used by various UPS devices, both online and line-interactive (given that many producers advertise to use the said programs), and only in serial mode (AFAIK). Although this driver has solely been tested with the Atlantis Land S1200 line-interactive UPS. So there may be missing features (such as the bypass mode) or lack of information. However most of the decoding has been done and the driver is enough to update the UPS status for monitoring and shutdown purposes. As for now, only the status updates features have been implemented. Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net> Closes: networkupstools#2769
Add an initial driver for the "#*" protocol support that is used by many UPS out there that rely on the proprietary software suites PowerMaster+, ViewPower, PowerGuide and so on... The naming of the driver has been chosen since all the UPS replies start with an "#", while there's not a definitive common pattern for the queries or commands. Apparently the same protocol is used by various UPS devices, both online and line-interactive (given that many producers advertise to use the said programs), and only in serial mode (AFAIK). Although this driver has solely been tested with the Atlantis Land S1200 line-interactive UPS. So there may be missing features (such as the bypass mode) or lack of information. However most of the decoding has been done and the driver is enough to update the UPS status for monitoring and shutdown purposes. As for now, only the status updates features have been implemented. Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net> Closes: networkupstools#2769 Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net>
Add an initial driver for the "#*" protocol support that is used by many UPS out there that rely on the proprietary software suites PowerMaster+, PowerMaster, PowerGuide and so on... The naming of the driver has been chosen since all the UPS replies start with an "#", while there's not a definitive common pattern for the queries or commands. Apparently the same protocol is used by various UPS devices, both online and line-interactive (given that many producers advertise to use the said programs), and only in serial mode (AFAIK). Although this driver has solely been tested with the Atlantis Land S1200 line-interactive UPS. So there may be missing features (such as the bypass mode) or lack of information. However most of the decoding has been done and the driver is enough to update the UPS status for monitoring and shutdown purposes. As for now, only the status updates features have been implemented. Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net> Closes: networkupstools#2769 Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net>
Add an initial driver for the "#*" protocol support that is used by many UPS out there that rely on the proprietary software suites PowerMaster+, PowerMaster, PowerGuide and so on... The naming of the driver has been chosen since all the UPS replies start with an "#", while there's not a definitive common pattern for the queries or commands. Apparently the same protocol is used by various UPS devices, both online and line-interactive (given that many producers advertise to use the said programs), and only in serial mode (AFAIK). Although this driver has solely been tested with the Atlantis Land S1200 line-interactive UPS. So there may be missing features (such as the bypass mode) or lack of information. However most of the decoding has been done and the driver is enough to update the UPS status for monitoring and shutdown purposes. As for now, only the status updates features have been implemented. Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net> Closes: networkupstools#2769 Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net>
Add an initial driver for the "#*" protocol support that is used by many UPS out there that rely on the proprietary software suites PowerMaster+, PowerMaster, PowerGuide and so on... The naming of the driver has been chosen since all the UPS replies start with an "#", while there's not a definitive common pattern for the queries or commands. Apparently the same protocol is used by various UPS devices, both online and line-interactive (given that many producers advertise to use the said programs), and only in serial mode (AFAIK). Although this driver has solely been tested with the Atlantis Land S1200 line-interactive UPS. So there may be missing features (such as the bypass mode) or lack of information. However most of the decoding has been done and the driver is enough to update the UPS status for monitoring and shutdown purposes. As for now, only the status updates features have been implemented. Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net> Closes: networkupstools#2769 Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net>
Hi, I've got an Atlantis Land OnePower A03-S1200 UPS and it doesn't seem to be recognized by the classic serial protocols so far (nor I see anything similar in the source code of the drivers I've quickly looked at).
The device shows up as a serial converter only on the USB side
Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics CH340 serial converter
so I don't think there's any HID support (although I can't fully confirm it since in the NAS I'm running it, I've a limited number of kenel modules and I'm currently remote, so I can't plug it elsewhere :)).However, thanks to this read I ended up to try the powerguide-1.0.0 software (easier to strace and debug compared to the PowerMaster java blobs) which gave me a some simple protocol information...
That leads to this status info:
Now... The analysis of it seems quite easy and fun, but... Before I start looking on implementing this
nutdrv_hashx
(just or any better name, as every reply is#
-prefixed), is this something that can be added to other driver, or that some other driver already implements?Further logs
The text was updated successfully, but these errors were encountered: