controlenvy / apex-power-hub

Power Hub development issues and knowledge base.
1 stars 0 forks source link

Add BYPASS mode to UPS page #11

Open vpluciani opened 1 month ago

vpluciani commented 1 month ago

Can we add some heading to make it clear what the current mode is? Also, want to add a button to force into BYPASS mode. That is useful when there is a problem.

image

tpcowan commented 3 weeks ago

@vpluciani @weshatchett this feature is a little more challenging. There is an snmp item defined in the mib for turning the UPS to bypass mode, but unfortunately it appears to be locked behind a "community string" requirement for authentication. Power on and power off used to have this issue too, but we moved them to a http request. Unfortunately it doesn't look like there's a corresponding http request for turning to bypass.

@vpluciani can you look into the community string and email it to myself and @weshatchett?

vpluciani commented 3 weeks ago

I will try, but unfortunately I am not sure what to ask for. Our supplier has given all of the control docs they got from the manufacturer in Taiwan. Is there a specific thing I need to ask for to get the Community String?

tpcowan commented 3 weeks ago

I'd ask something along the lines of:

We're having an issue trying to set the unit to bypass using the snmp protocol at the address 1.3.6.1.4.1.43943.1.1.8.11 provided in the mib for upsCtlCfgUPSTurnToBypass. When we set that variable, we receive back a noAccess error. Is there a particular community string or restricted access for that variable?

weshatchett commented 2 weeks ago

@tpcowan have you been able to test using the default web password as the 'community string'?