Page 2 of 2

Re: Plugin Exception

PostPosted: Sat Aug 23, 2014 2:07 pm
by nlagaros
I see a dump of all states, but not a dump from the Honeywell site. If you go to Action Groups and create a new one for your device, you should see one called Dump JSON.

Re: Plugin Exception

PostPosted: Sat Aug 23, 2014 3:41 pm
by jalves
nlagaros wrote:
I see a dump of all states, but not a dump from the Honeywell site. If you go to Action Groups and create a new one for your device, you should see one called Dump JSON.


OK, I think I understand now. Here's a dump when I do that:

Code: Select all
 Aug 23, 2014, 5:40:11 PM
  Enabling plugin "Honeywell 0.1.1"
  Starting plugin "Honeywell 0.1.1" (pid 23485)
  Started plugin "Honeywell 0.1.1"
  Honeywell                       Your plugin version, v0.1.1, is current.
  Honeywell                       Saved Plugin Configuration
  Honeywell                       [AC Heat]: RawMessage: 5850177427070526141

Aug 23, 2014, 5:40:39 PM
  Action Group                    Thermo test
  Honeywell                       {
    "alerts": "\r\n",
    "communicationLost": false,
    "deviceLive": true,
    "latestData": {
        "canControlHumidification": false,
        "drData": {
            "CoolSetpLimit": 0,
            "DeltaCoolSP": -0.01,
            "DeltaHeatSP": -0.01,
            "HeatSetpLimit": 0,
            "Load": 127.5,
            "OptOutable": false,
            "Phase": -1
        },
        "fanData": {
            "fanMode": 0,
            "fanModeAutoAllowed": true,
            "fanModeCirculateAllowed": false,
            "fanModeFollowScheduleAllowed": false,
            "fanModeOnAllowed": true
        },
        "hasFan": true,
        "uiData": {
            "BatteryStatus": 0,
            "Commercial": false,
            "CoolLowerSetptLimit": 50.0,
            "CoolNextPeriod": 88,
            "CoolSetpoint": 75.0,
            "CoolUpperSetptLimit": 99.0,
            "Deadband": 3.0,
            "DeviceID": 521607,
            "DispTemperature": 75.0,
            "DispTemperatureAvailable": true,
            "DispTemperatureStatus": 0,
            "DisplayedUnits": "F",
            "DualSetpointStatus": false,
            "HeatLowerSetptLimit": 40.0,
            "HeatNextPeriod": 88,
            "HeatSetpoint": 65.0,
            "HeatUpperSetptLimit": 90.0,
            "HoldUntilCapable": true,
            "IndoorHumidStatus": 128,
            "IndoorHumidity": 128.0,
            "IndoorHumiditySensorAvailable": false,
            "IndoorHumiditySensorNotFault": true,
            "IsInVacationHoldMode": false,
            "OBPolarity": 0,
            "OutdoorHumidStatus": 128,
            "OutdoorHumidity": 128.0,
            "OutdoorHumidityAvailable": false,
            "OutdoorTemp": 128.0,
            "OutdoorTempStatus": 128,
            "OutdoorTemperatureAvailable": false,
            "RawMessageID": 5850177427070526141,
            "SchedCoolSp": 75.0,
            "SchedHeatSp": 65.0,
            "ScheduleCapable": true,
            "SenseFromHereAllowed": false,
            "SensorAveraging": false,
            "SetpointChangeAllowed": true,
            "SouthernAwayAllowed": false,
            "StatSenseDispTemp": 75.0,
            "StatusCool": 1,
            "StatusHeat": 1,
            "SwitchAutoAllowed": true,
            "SwitchCoolAllowed": true,
            "SwitchEmergencyHeatAllowed": true,
            "SwitchHeatAllowed": true,
            "SwitchOffAllowed": true,
            "SystemSwitchPosition": 5,
            "TemporaryHoldUntilTime": 1320,
            "ThermostatLocked": false,
            "TimeOfDayFlag": 0,
            "UIDataID": 31495981,
            "VacationHold": 0,
            "VacationHoldUntilTime": 0
        },
        "weather": {
            "HasStation": true,
            "Humidity": "54",
            "Icon": "10A_chance_of_thunderstorm%402x",
            "Phrase": "Mostly cloudy w/ t-storms",
            "Temperature": "92"
        }
    },
    "success": true
}
  Honeywell Error                 Honeywell warning: waiting for command execution [0]

Re: Plugin Exception

PostPosted: Tue Sep 09, 2014 9:18 am
by jalves
After several weeks of working well, I'm suddenly seeing a log full of errors. Looks like something happened about 11:00 pm last night. Here's a snippet of what I'm seeing.

Code: Select all
Traceback (most recent call last):
  File "plugin.py", line 49, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Honeywell.indigoPlugin/Contents/Server Plugin/Honeywell.py", line 78, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Honeywell.indigoPlugin/Contents/Server Plugin/Honeywell.py", line 166, in get_all
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Honeywell.indigoPlugin/Contents/Server Plugin/Honeywell.py", line 218, in get_one
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/__init__.py", line 307, in loads
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/decoder.py", line 335, in decode
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/decoder.py", line 353, in raw_decode
<type 'exceptions.ValueError'>: No JSON object could be decoded

  Honeywell Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  Schedule                        Poll Honeywell
  Honeywell Error                 Bad R3 status: 401:Unauthorized
  Honeywell Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 49, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Honeywell.indigoPlugin/Contents/Server Plugin/Honeywell.py", line 78, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Honeywell.indigoPlugin/Contents/Server Plugin/Honeywell.py", line 166, in get_all
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Honeywell.indigoPlugin/Contents/Server Plugin/Honeywell.py", line 218, in get_one
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/__init__.py", line 307, in loads
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/decoder.py", line 335, in decode
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/decoder.py", line 353, in raw_decode
<type 'exceptions.ValueError'>: No JSON object could be decoded

  Honeywell Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  Honeywell Error                 Bad R3 status: 401:Unauthorized
  Honeywell Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 49, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Honeywell.indigoPlugin/Contents/Server Plugin/Honeywell.py", line 78, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Honeywell.indigoPlugin/Contents/Server Plugin/Honeywell.py", line 166, in get_all
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Honeywell.indigoPlugin/Contents/Server Plugin/Honeywell.py", line 218, in get_one
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/__init__.py", line 307, in loads
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/decoder.py", line 335, in decode
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/decoder.py", line 353, in raw_decode
<type 'exceptions.ValueError'>: No JSON object could be decoded


Re: Plugin Exception

PostPosted: Thu Sep 11, 2014 10:44 am
by nlagaros
Bad news - looks like Honeywell changed something with their website to prevent access (for now). I've read that others that have coded to interface with the Total Comfort site are experiencing the same problems. I hope to find out soon how to adjust this plugin to work again. For now, out of luck. :(

Re: Plugin Exception

PostPosted: Thu Sep 11, 2014 11:06 am
by jalves
That's what I thought too. Darn.

Appreciate your work on it.

Re: Plugin Exception

PostPosted: Sat Sep 13, 2014 3:04 am
by nlagaros
I just posted an update. It is working for me. Honeywell updated their login authentication slightly. They also removed some outdoor weather reporting which stinks.

jalves wrote:
That's what I thought too. Darn.

Appreciate your work on it.

Re: Plugin Exception

PostPosted: Sat Sep 13, 2014 5:59 am
by jalves
Thanks for this. I'm going to be away for almost two weeks so I won't be able to try the update for a while. Will report when I get back.

Re: Plugin Exception

PostPosted: Wed Sep 17, 2014 11:08 am
by nlagaros
Just posted another update with further fixes. Hopefully this will stick for a while.