Announcement

Collapse
No announcement yet.

Device string and value not updated

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • pcp
    replied
    The release version is in the Updater. See http://board.homeseer.com/showpost.p...61&postcount=1 for more details

    Leave a comment:


  • pcp
    replied
    Thank you for the update. I know about being busy! I will send a new version to the HS3 updater in a few days. As far as hs2 goes, I will see what I can do but might take me a bit.

    Leave a comment:


  • eole
    replied
    SOLVED

    Hi Philippe,
    Sorry for the delay but I was a bit busy.
    I've tried it for remote UPS (APC SmartUPS 2200 with serial to usb adapter) and local UPS (BackUPS CS650 with usb).
    The plugin works now fine
    For some reason, the APC2200 doesn't send to APCUPSD the nominal power so the graph is empty but, as it's ok for the CS650, the plugin can't be the source of this issue.
    Thanks a lot Philippe for your job, it's very useful.
    Can I hope the same correction for the HS2 version of your plugin, because I can't migrate for the moment, due to the lack of plugins in HS3 and the huge job to rewrite the scripts ?
    Thanks again.

    Fitchi, sure you can use this great plugin.

    Leave a comment:


  • Fischi
    replied
    Hi Eole,
    is the plugin working OK now ?
    I live in Germany and I'm also interested in the APS CS 650.

    It would be great if it works.

    Regards,
    Fischi

    Leave a comment:


  • pcp
    replied
    Attached is an updated version of the plugin for testing. Based on my testing this should work (I switched my US computer to FR, but their might still be slight differences). Let me know if that resolves the issue; if so I post an updated version to the Updater.
    Attached Files

    Leave a comment:


  • pcp
    replied
    I played with it a bit more over the weekend but not complete yet. The issue is that apcupsd sends the numerical as us local (i.e. Using a dot for the decimal separator) while the local on your PC is a comma as the decimal separator. In the plugin version in the post I forced the conversion for APCSUPSD values to use the us local even if the local on your PC is different; I had hoped this would solve it. The real solution would be if apcupsd uses the local for the decimal separator, I checked a bit over the weekend but did not see such a configuration in apcupsd (maybe missed it!).

    Leave a comment:


  • eole
    replied
    Originally posted by pcp View Post
    The issue per the log entries is that apcupsd does not use the locale; at least I think.
    Hi Philippe,
    You're right : i've tried switching local settings from FR to US (dot and not coma) and it works fine. All fields are filled. So this is the issue.
    I can let it work a moment for testing, but you're next update will be welcome.
    Thanks in advance.

    Leave a comment:


  • eole
    replied
    Thanks Philippe, I'll still wait... a few hours

    Leave a comment:


  • pcp
    replied
    FYI, I have not forgotten about this tough only had very limited time since my last update.

    Leave a comment:


  • pcp
    replied
    Thanks and yes will have to spend more time looking into this. The issue per the log entries is that apcupsd does not use the locale; at least I think.

    Leave a comment:


  • eole
    replied
    Thanks for this, but I doesn't seems to be solved ; I think you'll have to spend more week-ends . Sorry for French locale for numbers...

    sept.-29 05:05:56 APCUPSD Debug --------------- refreshTimer END -----------------
    sept.-29 05:05:56 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 237, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 236, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 235, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 234, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 233, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 232, Value: 1
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 231, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 230, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 229, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 221, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 222, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 228, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 227, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 226, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 225, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 224, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 223, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 218, Value: 1411967111
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 217, Value: 1411915084
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 219, Value: 1
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 220, Value: 1
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered SetDeviceValue(). Setting Device Ref: 216, Value: 2
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Update devices for UPS2
    sept.-29 05:05:55 APCUPSD (UPS2) Debug QueryStatusAndEvents - Query status and events for UPS2 done
    sept.-29 05:05:55 APCUPSD (UPS2) Debug QueryStatusAndEvents - Got status
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entered tcpClient_onDisconnect() UPS2
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (36): END APC : 2014-09-29 05:05:55 +0100
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (29): FIRMWARE : 817.v4.I USB FW:v4
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): NOMPOWER : 400 Watts
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (21): NOMBATTV : 12.0 Volts
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): NOMINV : 230 Volts
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): NOMOUTV : 230 Volts
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (21): BATTDATE : 2012-05-02
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (23): SERIALNO : 3B0622X58167
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (21): MANDATE : 2006-05-28
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (21): STATFLAG : 0x05000008
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (15): STESTI : None
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (13): SELFTEST : NO
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (14): XOFFBATT : N/A
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): CUMONBATT: 0 Seconds
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): TONBATT : 0 Seconds
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (12): NUMXFERS : 0
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (27): LASTXFER : Low line voltage
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (18): LINEFREQ : 50.0 Hz
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (21): BATTV : 13.6 Volts
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (19): ALARMDEL : No alarm
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (17): ITEMP : 29.2 C
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (22): RETPCT : 0.0 Percent
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (22): HITRANS : 256.0 Volts
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (22): LOTRANS : 180.0 Volts
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): DSHUTD : 0 Seconds
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): DWAKE : 0 Seconds
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (17): SENSE : Medium
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (22): OUTPUTV : 230.0 Volts
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): MAXTIME : 0 Seconds
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): MINTIMEL : 3 Minutes
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): MBATTCHG : 5 Percent
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (23): TIMELEFT : 26.2 Minutes
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (24): BCHARGE : 100.0 Percent
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (23): LOADPCT : 17.0 Percent
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (22): LINEV : 240.0 Volts
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (17): STATUS : ONLINE
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (26): MODEL : Back-UPS CS 650
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (36): STARTTIME: 2014-09-28 14:38:04 +0100
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (22): UPSMODE : Stand Alone
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (25): DRIVER : USB UPS Driver
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (20): CABLE : USB Cable
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (19): UPSNAME : BATIMENT
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (40): VERSION : 3.14.12 (29 March 2014) Win32
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (16): HOSTNAME : DOMO2
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (36): DATE : 2014-09-29 05:05:11 +0100
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering ParseUPSStatusOrEvent for UPS2 and line (23): APC : 001,045,1037
    sept.-29 05:05:55 APCUPSD (UPS2) Debug QueryStatusAndEvents - reading status
    sept.-29 05:05:55 APCUPSD (UPS2) Debug QueryStatusAndEvents - Query status for UPS2 from network
    sept.-29 05:05:55 APCUPSD (UPS2) Debug QueryStatusAndEvents - Connected and query status
    sept.-29 05:05:55 APCUPSD (UPS2) Debug QueryStatusAndEvents - Query status for UPS2 from network
    sept.-29 05:05:55 APCUPSD (UPS2) Debug Entering QueryStatusAndEvents for UPS2
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 166, Value: 92
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 165, Value: 174
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 164, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 163, Value: 1411866080
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 162, Value: 1411866078
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 161, Value: 1
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 160, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 159, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 158, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 150, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 151, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 157, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 156, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 155, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 154, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 153, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 152, Value: 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 147, Value: 1411967162
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 146, Value: 1406396492
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 148, Value: 1
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 149, Value: 1
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered SetDeviceValue(). Setting Device Ref: 145, Value: 2
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Update devices for UPS1
    sept.-29 05:05:55 APCUPSD (UPS1) Debug QueryStatusAndEvents - Query status and events for UPS1 done
    sept.-29 05:05:55 APCUPSD (UPS1) Debug QueryStatusAndEvents - Got status
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entered tcpClient_onDisconnect() UPS1
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (36): END APC : 2014-09-29 05:06:06 +0100
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (18): FIRMWARE : 80.14.I
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (12): EXTBATTS : 0
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (21): NOMBATTV : 48.0 Volts
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (20): NOMOUTV : 225 Volts
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (19): BATTDATE : 06/28/13
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (23): SERIALNO : YS0321210433
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (19): MANDATE : 05/20/03
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (15): REG3 : 0x00
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (15): REG2 : 0x00
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (15): REG1 : 0x00
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (15): DIPSW : 0x00
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (21): STATFLAG : 0x05000008
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (14): STESTI : 336
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (13): SELFTEST : NO
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (36): LASTSTEST: 2014-09-20 17:39:50 +0100
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (36): XOFFBATT : 2014-09-28 01:01:20 +0100
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): CUMONBATT: 174 Seconds
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (20): TONBATT : 0 Seconds
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (36): XONBATT : 2014-09-28 01:01:18 +0100
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (13): NUMXFERS : 92
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (38): LASTXFER : Line voltage notch or spike
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (18): LINEFREQ : 50.0 Hz
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (21): BATTV : 55.0 Volts
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): ALARMDEL : Low Battery
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (17): ITEMP : 33.7 C
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): RETPCT : 0.0 Percent
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): HITRANS : 253.0 Volts
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): LOTRANS : 196.0 Volts
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (20): DLOWBATT : 2 Minutes
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): DSHUTD : 180 Seconds
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (21): DWAKE : 60 Seconds
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (15): SENSE : High
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): OUTPUTV : 241.8 Volts
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): MINLINEV : 240.5 Volts
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): MAXLINEV : 243.1 Volts
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (20): MAXTIME : 0 Seconds
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (20): MINTIMEL : 3 Minutes
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (20): MBATTCHG : 5 Percent
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (24): TIMELEFT : 123.0 Minutes
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (24): BCHARGE : 100.0 Percent
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (23): LOADPCT : 14.5 Percent
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): LINEV : 241.8 Volts
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (17): STATUS : ONLINE
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (25): MODEL : SMART-UPS 2200
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (36): STARTTIME: 2014-07-26 17:41:32 +0100
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (22): UPSMODE : Stand Alone
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (30): DRIVER : APC Smart UPS (any)
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (29): CABLE : Custom Cable Smart
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (18): UPSNAME : APC2200
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (40): VERSION : 3.14.12 (29 March 2014) Win32
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (19): HOSTNAME : domoware
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (36): DATE : 2014-09-29 05:06:02 +0100
    sept.-29 05:05:55 APCUPSD (UPS1) Debug Entering ParseUPSStatusOrEvent for UPS1 and line (23): APC : 001,053,1256
    sept.-29 05:05:55 APCUPSD (UPS1) Debug QueryStatusAndEvents - reading status
    sept.-29 05:05:55 APCUPSD (UPS1) Debug QueryStatusAndEvents - Query status for UPS1 from network
    sept.-29 05:05:55 APCUPSD (UPS1) Debug QueryStatusAndEvents - Connected and query status
    sept.-29 05:05:54 APCUPSD (UPS1) Debug QueryStatusAndEvents - Query status for UPS1 from network
    sept.-29 05:05:54 APCUPSD (UPS1) Debug Entering QueryStatusAndEvents for UPS1
    sept.-29 05:05:54 APCUPSD Debug Entered refreshTimer_Elapsed()
    sept.-29 05:05:54 APCUPSD Debug --------------- refreshTimer START -----------------

    Leave a comment:


  • pcp
    replied
    I made some changes to see if that will resolve (or work around) the issue. Can you try the attached plugin version as a test?

    Just copy it to the HomeSeer installation folder to overwrite the existing. Merci.

    I did not have enough time to check if apcupsd can be reconfigured to use your French locale for numbers (and therefore be compatible with the numeric conversion which uses your locale).
    Last edited by pcp; November 2nd, 2014, 06:52 PM.

    Leave a comment:


  • pcp
    replied
    Thanks. I look into it over the weekend. Per the log you posted apcupsd does not use the local and uses a dot instead of a comma and believe that must be the issue.

    Leave a comment:


  • eole
    replied
    You're right, I'm in France and run a Windows 7 Pro French.
    I'm using comma by default.
    It's probably the same problem on the HS2 server which is Windows XP Pro SP3 French and can't also update the values.




    Otherwise this plugin seems really perfect.
    Thanks for your help.

    Leave a comment:


  • pcp
    replied
    Thank you for posting the log; based on this somehow the plugin cannot parse / extract the value. I will have to look at it this weekend, but my guess is that it is related to some locale settings (. versus ,). Vous etes en France avec une configuration utilisant le comma pour les decimales?

    Leave a comment:

Working...
X