APC UPS Status plug-in error
Ed
eds-ha at ealkenn.net
Sat Feb 15 13:20:02 EST 2020
James,
Me too.
I just went through the steps to set up a RPi to connect to a CyberPower
1000PF. After testing the setup with the CyberPower plugged into AC and
unplugged from AC, all seems to be working as expected. With the loads I
have on the UPS, I'm getting 68 minutes run time when the battery is
fully charged.
You're right: It's pretty cool.
Ed
On 2/13/20 12:03 PM, James Sentman wrote:
> Firstly just let me say how happy I am that someone other than me is
> running the thing :) This is one of my more favorite of recent additions.
>
> The error is saying that it’s trying to poll the UPS when it was not
> able to actually open a connection to it. I made some changes to the
> code recently here to better recover from some other errors but i’ve
> not seen this particular one. I will do some further study and see if
> I can figure it out or send you a version that collects some more info.
>
>
>
>> On Feb 12, 2020, at 5:51 PM, Randy Carson <randycarson at gmail.com
>> <mailto:randycarson at gmail.com>> wrote:
>>
>> I am seeing this in the log intermittently:
>>
>> 2020-02-12 11:43:38 AM UPS-Home Network: Error in xtTimer.action:
>> type=<type 'exceptions.AttributeError'> value='NoneType' object has
>> no attribute 'recv' (UPS-Home Network)
>> 2020-02-12 11:43:38 AM UPS-Home Network: Traceback (most recent call
>> last): (UPS-Home Network)
>> 2020-02-12 11:43:38 AM File
>> "/Applications/Xtension/XTension.app/Contents/Resources/Plugins/python_includes/current/xtension_plugin/xtension_plugin.py",
>> line 3463, in _action (UPS-Home Network)
>> 2020-02-12 11:43:38 AM self.action() (UPS-Home Network)
>> 2020-02-12 11:43:38 AM File
>> "/Applications/Xtension/XTension.app/Contents/Resources/Plugins/apcstatus.isf/apcstatus.py",
>> line 1275, in action (UPS-Home Network)
>> 2020-02-12 11:43:38 AM apc.pollUPS() (UPS-Home Network)
>> 2020-02-12 11:43:38 AM File
>> "/Applications/Xtension/XTension.app/Contents/Resources/Plugins/apcstatus.isf/apcstatus.py",
>> line 712, in pollUPS (UPS-Home Network)
>> 2020-02-12 11:43:38 AM s = self.sock.recv( 10000) (UPS-Home Network)
>> 2020-02-12 11:43:38 AM AttributeError: 'NoneType' object has no
>> attribute 'recv' (UPS-Home Network)
>>
>> Any idea what is causing it?
>>
>> Xtension 9.4.27 running on OS 10.11.6 Mac Mini early 2009
>> APC UPS Status connected to a Raspberry PI
>>
>
> Thanks,
> James
>
>
> James Sentman http://www.PlanetaryGear.orghttp://MacHomeAutomation.com
>
>
>
>
>
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20200215/2d551231/attachment.html>
More information about the XTensionList
mailing list