Announcement

Collapse
No announcement yet.

The given key was not present in the dictionary

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

    The given key was not present in the dictionary

    Hello, does anyone know what this error means?
    Insteon Thermostat Error InsteonRcv [ACK 6B 02 01 3D 6B 42 46 2C 8E 2F 6B 8C] The given key was not present in the dictionary.
    I get this error about 2 or 3 times almost every day.

    I am using M. Sandler's insteon plugin and Insteon HUB for controlling insteon devices, in HS3

    Thanks
    F

    #2
    It sounds like you are receiving back a command (6B) reply maybe for a poll request but something in the answer isn't lining up with the devices you have defined. Is it possible you checked the "Humidistat" option but don't actually have it or vice versa, you have it but didn't check that option to create that device?

    Mark's plugin is required so good you're using that. I'm also using an Insteon hub as my PLM died couple years ago now IIRC.

    Have you turned up Debug logging to see what is being sent around that time? Any commands from you TO the thermostat? Or is this a case of a temp (or humidity) change being sent by the thermostat as it naturally is changing?

    Nathan
    HS 3.0.0.435 (PRO)
    Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
    Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
    Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
    http://www.kazteel.com/

    Comment


      #3
      Originally posted by nfrobertson View Post
      It sounds like you are receiving back a command (6B) reply maybe for a poll request but something in the answer isn't lining up with the devices you have defined. Is it possible you checked the "Humidistat" option but don't actually have it or vice versa, you have it but didn't check that option to create that device?

      Mark's plugin is required so good you're using that. I'm also using an Insteon hub as my PLM died couple years ago now IIRC.

      Have you turned up Debug logging to see what is being sent around that time? Any commands from you TO the thermostat? Or is this a case of a temp (or humidity) change being sent by the thermostat as it naturally is changing?

      Nathan
      Hello Nathan, you were right on the issue. I did have the "humidistat" checked. When I unchecked that option, the error has not happened for a day now. I have a pretty lame explanation as to why I had that checked. I confused the fact that Insteon Thermostat has a humidity read out in it and thus, was thinking this is a Humidistat. NOT!
      Thanks much for looking into this.

      A separate question.
      I have another house where I was thinking to replace my RCS thermostats with Insteon. THe question i have are:
      - is there a limit to how many thermostats can be supported? I have at least 5 that I need to enable. Too much polling on Insteon network?
      - These thermostats run from a zone controller, this does not meter for your pluglin, right. They are supported as individual thermostats?
      - I am debating between HS3 and HS4. Any issue with HS4 in your plugin? I know Mark's plugin works ok in HS4

      Thanks very much.

      Felix

      Comment


        #4
        I'm glad disabling humidistat option stopped the error message. However, I am curious about what thermostat model you have? The Smarthome 2441th (wired) or 2441zth (wireless) both have the humidistat built in and so should have that option checked so that you get a virtual Humidity device that can reflect the value for humidity. Only the Venstar thermostat that I have didn't originally come with the humidistat but I was able to add an option board to it. Now, it's worth mentioning that if you have a wireless 2441zth with external 5v adaptor I've seen it send so many updates that I wouldn't be surprised by a few error messages. I have a whole thread here where I experimented with different 5v adaptors and found the apple 5v 1A square phone adaptor to be the best for that setup.

        For your other questions: there isn't a defined limit on thermostats. The plugin will happily try to create as many as you define to it. However, as you guess, that will put more Insteon traffic on the insteon network. If you have a relatively new setup with several of the dual-mode devices (I think all Insteon switches are now right?) then this might not be an issue but only testing will tell for certain. See comments above about 2441zth wireless with 5v adaptor. I wish I had better advice or there was an Insteon network diagnostic tool to use but I'm not aware of such a thing. I would recommend doing detailed research on all thermostat options (hardware and Homeseer plugins) before replacing an existing setup.

        I'm guessing your "zone controller" is connected to wired thermostats right? That wouldn't matter for the plugin no. Each thermostat is configured/connected to the Insteon Hub to relay Insteon commands and information.

        Lastly, I haven't started work on an HS4 version of the plugin. I do have my own HS4 license (and dev license) but haven't had time to explore that new development. I will have some time over Christmas and New Years and may dig into it then.

        Nathan


        HS 3.0.0.435 (PRO)
        Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
        Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
        Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
        http://www.kazteel.com/

        Comment


          #5
          Originally posted by nfrobertson View Post
          I'm glad disabling humidistat option stopped the error message. However, I am curious about what thermostat model you have? The Smarthome 2441th (wired) or 2441zth (wireless) both have the humidistat built in and so should have that option checked so that you get a virtual Humidity device that can reflect the value for humidity. Only the Venstar thermostat that I have didn't originally come with the humidistat but I was able to add an option board to it. Now, it's worth mentioning that if you have a wireless 2441zth with external 5v adaptor I've seen it send so many updates that I wouldn't be surprised by a few error messages. I have a whole thread here where I experimented with different 5v adaptors and found the apple 5v 1A square phone adaptor to be the best for that setup.

          Nathan

          Hi Nathan, my thermostat with Humidity Sensor, model #2441TH.
          Now that you mention it, the humidity value is not accurate. The plugin shows 36% while the tstat shows 27%.

          I can re-enable the Humidity function to validate if the value is then reported correctly, But even now I recall it was reported correctly before.

          Let me know if there is something I can do to test this out.
          Felix

          PS, its been 3 days now and not a single error message. Magic fix.

          Comment


            #6
            Hopefully things are still working for you. You should be able to turn the "Has Humidistat?" option back on and if you do continue to get an error, perhaps the virtual device that it needs to set the value on has somehow gone missing? At initial thermostat setup, if you've check the "Has Humidistat?" option then a virtual device is created and a command is sent to the thermostat to report on humidity changes (usually takes +/- 2 to report). You could always check the "Has Humidistat?" option then Save. Next run the Update Links to try and make sure it sends the command to report humidity changes.
            HS 3.0.0.435 (PRO)
            Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
            Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
            Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
            http://www.kazteel.com/

            Comment


              #7
              Originally posted by nfrobertson View Post
              Hopefully things are still working for you. You should be able to turn the "Has Humidistat?" option back on and if you do continue to get an error, perhaps the virtual device that it needs to set the value on has somehow gone missing? At initial thermostat setup, if you've check the "Has Humidistat?" option then a virtual device is created and a command is sent to the thermostat to report on humidity changes (usually takes +/- 2 to report). You could always check the "Has Humidistat?" option then Save. Next run the Update Links to try and make sure it sends the command to report humidity changes.
              Hi, thanks for your note. I am running free of that error. Values are accurate. There is no problem with HS device for "Has Humidistat?" option. Its enabled and I am getting correct humidity values. So, thanks again, i am trouble free.

              Felix

              Comment


                #8
                Originally posted by nfrobertson View Post
                Hopefully things are still working for you. You should be able to turn the "Has Humidistat?" option back on and if you do continue to get an error, perhaps the virtual device that it needs to set the value on has somehow gone missing? At initial thermostat setup, if you've check the "Has Humidistat?" option then a virtual device is created and a command is sent to the thermostat to report on humidity changes (usually takes +/- 2 to report). You could always check the "Has Humidistat?" option then Save. Next run the Update Links to try and make sure it sends the command to report humidity changes.
                Hi, I am having a problem again. I updated mark's insteon plugin to beta, version 7.36 and have been having problems with thermostat plugin ever since. Have you tested your plugin against this beta? Or perhaps anyone else has this combination?
                After starting the insteon and thermostat plugin within 5 minutes I get this:
                Feb-01 8:32:00 AM Insteon Thermostat Error InsteonRcv [01 3D 6B 42 46 2C 8E 11 2E 02 01 01 09 28 10 20 4B 19 00 CB C0 45 E0 7D] The given key was not present in the dictionary.
                Feb-01 8:32:00 AM Insteon Thermostat Unexpected mode value returned from 0x00 0x2E 0x09 extended get (read set 3): 75
                Feb-01 8:32:00 AM Insteon Thermostat t1 Humidity = 32
                Feb-01 8:32:00 AM Insteon Thermostat t1 Temp = 776
                Feb-01 8:32:00 AM Insteon Thermostat Degrees format is UNKNOWN. Assuming Fahrenheit
                Feb-01 8:29:11 AM Insteon Thermostat Error InsteonRcv [01 3D 6B 42 46 2C 8E 11 2E 02 01 01 09 25 19 20 4B 19 00 CB C0 45 7B A4] The given key was not present in the dictionary.
                Feb-01 8:29:11 AM Insteon Thermostat Unexpected mode value returned from 0x00 0x2E 0x09 extended get (read set 3): 75
                Feb-01 8:29:11 AM Insteon Thermostat t1 Humidity = 32
                Feb-01 8:29:11 AM Insteon Thermostat t1 Temp = 1191
                Feb-01 8:29:11 AM Insteon Thermostat Degrees format is UNKNOWN. Assuming Fahrenheit
                Feb-01 8:28:42 AM Insteon Thermostat ALL-Link Cleanup Message [40] cmd1 [13] cmd2 [02] -- 01 3D 6B 42 46 2C 8E 40 13 02
                Feb-01 8:28:42 AM Insteon Thermostat t1 turning off HEAT
                Feb-01 8:28:40 AM Insteon Thermostat t1 turning off HEAT
                Feb-01 8:25:00 AM Insteon Thermostat Post-startup timer: All thermostats have DEVCAT. Timer exiting.
                Feb-01 8:23:16 AM Insteon Thermostat t1 Temp = 67
                Feb-01 8:23:14 AM Insteon Thermostat t1 Humidity = 26
                Feb-01 8:23:10 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6A] [20]
                Feb-01 8:23:08 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6B] [03]
                Feb-01 8:23:06 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6A] [60]
                Feb-01 8:23:04 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6B] [02]
                Feb-01 8:23:04 AM Insteon Thermostat POLL thermostat: t1
                Feb-01 8:23:04 AM Insteon Thermostat t1 version = 10
                Feb-01 8:23:04 AM Insteon Thermostat t1 devcat = 050B
                Feb-01 8:23:02 AM Insteon Thermostat t1 protocol = 2
                Feb-01 8:23:00 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [10] [00]
                Feb-01 8:23:00 AM Insteon Thermostat Request DEVCAT and FIRMWARE version for t1
                Feb-01 8:23:00 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [0D] [00]
                Feb-01 8:23:00 AM Insteon Thermostat Request PROTOCOL for t1
                Feb-01 8:22:51 AM Insteon External device name t1 (Address:3D.6B.42) has registered as external device #1
                Feb-01 8:22:51 AM Insteon Thermostat Registering Insteon Thermostat t1 with address: 3D.6B.42
                Feb-01 8:22:51 AM Insteon Device t1 (3D.6B.42) was not found in the externally registered device list.
                Feb-01 8:22:51 AM Insteon Thermostat Unregister Insteon Thermostat t1 with address: 3D.6B.42
                Feb-01 8:22:51 AM Insteon Thermostat Insteon PLM address = 46.2C.8E
                Feb-01 8:22:36 AM Plug-In Finished initializing plug-in Insteon Thermostat
                Feb-01 8:22:36 AM Starting Plug-In Insteon Thermostat loaded in 10080 milliseconds
                Feb-01 8:22:36 AM Starting Plug-In Plugin Insteon Thermostat started successfully in 9772 milliseconds
                Feb-01 8:22:36 AM Insteon Thermostat SQLite DB version = 3.7.17
                Feb-01 8:22:36 AM Insteon Thermostat Open SQLite DB: URI=file:C:\Program Files (x86)\HomeSeer HS3\Data\InsteonThermostat.db3
                Feb-01 8:22:36 AM Insteon Thermostat ---------------------------------------------------------------------
                Feb-01 8:22:36 AM Insteon Thermostat HVACs [Name] [Floor] [Room] [Maintenance Interval] [ModeRef] [FanRef] [CoolRef] [HeatRef] [MaintRef]
                Feb-01 8:22:36 AM Insteon Thermostat ---------------------------------------------------------------------
                Feb-01 8:22:36 AM Insteon Thermostat PROGRAMS [Name] [Thermostat] [Heat SP] [Cool SP] [Mode] [Fan]
                Feb-01 8:22:36 AM Insteon Thermostat ---------------------------------------------------------------------
                Feb-01 8:22:36 AM Insteon Thermostat [t1] [Insteon] [Thermostats] [3D:6B:42] [True] [False] [False] [False] [None]
                Feb-01 8:22:36 AM Insteon Thermostat THERMOSTATS [Name] [Floor] [Room] [InsteonAddr] [Humidistat?] [ExtSensor?] [ForceProtocol=2?] [Used Saved DEVCAT?] [HVAC]
                Feb-01 8:22:36 AM Insteon Thermostat ---------------------------------------------------------------------
                Feb-01 8:22:36 AM Insteon Thermostat Voice Control appears to not be checked for: Master Program [Master Program] Ref=64
                Feb-01 8:22:36 AM Insteon Thermostat Found existing TSTAT HUMIDITY device for: t1
                Feb-01 8:22:35 AM Insteon Thermostat Found existing TSTAT TEMP device for: t1
                Feb-01 8:22:34 AM Insteon Thermostat Found existing TSTAT COOL device for: t1
                Feb-01 8:22:33 AM Insteon Thermostat Found existing TSTAT HEAT device for: t1
                Feb-01 8:22:32 AM Insteon Thermostat Found existing TSTAT HOLD device for: t1
                Feb-01 8:22:31 AM Insteon Thermostat Found existing TSTAT FAN device for: t1
                Feb-01 8:22:30 AM Insteon Thermostat Found existing TSTAT MODE device for: t1
                Feb-01 8:22:29 AM Insteon Thermostat Found existing TSTAT PROGRAM device for: t1
                Feb-01 8:22:27 AM Insteon Thermostat ---------------------------------------------------------------------
                Feb-01 8:22:27 AM Insteon Thermostat Control Page Refresh=60
                Feb-01 8:22:27 AM Insteon Thermostat Bounds Humidity High=100
                Feb-01 8:22:27 AM Insteon Thermostat Bounds Humidity Low=5
                Feb-01 8:22:27 AM Insteon Thermostat Bounds Cool Set High=125
                Feb-01 8:22:27 AM Insteon Thermostat Bounds Cool Set Low=30
                Feb-01 8:22:27 AM Insteon Thermostat Bounds Heat Set High=125
                Feb-01 8:22:27 AM Insteon Thermostat Bounds Heat Set Low=30
                Feb-01 8:22:27 AM Insteon Thermostat Restrict Temp Updates=False
                Feb-01 8:22:27 AM Insteon Thermostat Bounds Temp Ext High=125
                Feb-01 8:22:27 AM Insteon Thermostat Bounds Temp Ext Low=30
                Feb-01 8:22:27 AM Insteon Thermostat Bounds Temp High=125
                Feb-01 8:22:27 AM Insteon Thermostat Bounds Temp Low=30
                Feb-01 8:22:27 AM Insteon Thermostat InsteonFlags=F
                Feb-01 8:22:27 AM Insteon Thermostat DecorateDeviceSymbols=True
                Feb-01 8:22:27 AM Insteon Thermostat DumpRawInsteon=False
                Feb-01 8:22:27 AM Insteon Thermostat LogTempUpdates=True
                Feb-01 8:22:27 AM Insteon Thermostat LogHumidityUpdates=True
                Feb-01 8:22:27 AM Insteon Thermostat sqliteDbFile=URI=file:C:\Program Files (x86)\HomeSeer HS3\Data\InsteonThermostat.db3
                Feb-01 8:22:27 AM Insteon Thermostat logFileDebug=C:\Program Files (x86)\HomeSeer HS3\Logs\InsteonThermostatDebug.log
                Feb-01 8:22:27 AM Insteon Thermostat logLvl=67 [Always] [Err] [Info] [Debug]
                Feb-01 8:22:27 AM Insteon Thermostat ---------------------------------------------------------------------
                Feb-01 8:22:27 AM Insteon Thermostat INI Version = 3.0.7.1
                Feb-01 8:22:27 AM Insteon Thermostat INI values from hspi_insteon_thermostat.ini
                Feb-01 8:22:27 AM Insteon Thermostat ---------------------------------------------------------------------
                Feb-01 8:22:27 AM Insteon Thermostat hs.PluginLicenseMode = Registered. Thank you!
                Feb-01 8:22:27 AM Insteon Thermostat hs.GetOSType/Version = Windows 6.1.7601.65536
                Feb-01 8:22:27 AM Insteon Thermostat hs.InterfaceVersion = 4
                Feb-01 8:22:27 AM Insteon Thermostat hs.Version = 3.0.0.548
                Feb-01 8:22:27 AM Insteon Thermostat ---------------------------------------------------------------------
                Feb-01 8:22:27 AM Insteon Thermostat Starting Up... Insteon Thermostat plug-in version = 3.0.7.1
                Feb-01 8:22:27 AM Insteon Thermostat ---------------------------------------------------------------------
                Feb-01 8:22:27 AM Starting Plug-In Initializing plugin Insteon Thermostat ...
                Feb-01 8:22:26 AM Info Plugin Insteon Thermostat has connected. IP:127.0.0.1:57612
                Feb-01 8:20:59 AM Plug-In Finished initializing plug-in Insteon
                Feb-01 8:20:59 AM Starting Plug-In Insteon loaded in 8231 milliseconds
                Feb-01 8:20:59 AM Insteon External Device Registration complete.
                Feb-01 8:20:59 AM Insteon Waiting to initialize External Devices...
                Feb-01 8:20:59 AM Starting Plug-In Plugin Insteon started successfully in 7871 milliseconds
                Feb-01 8:20:55 AM Insteon Hub contacted on 192.168.0.24:25105 with an Insteon address of 46.2C.8E and firmware version A5
                Feb-01 8:20:51 AM Insteon Insteon Support library (Insteon.dll) version: 1.1.7.36
                Feb-01 8:20:51 AM Starting Plug-In Initializing plugin Insteon ...

                Comment


                  #9
                  Here is a snippet of log that shows Temperature at 66 degrees where in fact it is 68 a couple of times.
                  Feb-01 10:53:38 AM Insteon Thermostat t1 Humidity = 28
                  Feb-01 10:45:46 AM Insteon Thermostat Direct Message unhandled 2E (extended get/set) data2=1 data3=[0B] raw data [01 3D 6B 42 46 2C 8E 11 2E 02 01 01 0B 36 01 20 4B 1C 00 C1 C2 44 2B 93]
                  Feb-01 10:45:17 AM Insteon Thermostat ALL-Link Cleanup Message [40] cmd1 [11] cmd2 [02] -- 01 3D 6B 42 46 2C 8E 40 11 02
                  Feb-01 10:45:17 AM Insteon Thermostat t1 calling for HEAT
                  Feb-01 10:38:04 AM Insteon Thermostat t1 Humidity = 27
                  Feb-01 10:20:56 AM Insteon Thermostat t1 Temp = 66
                  Feb-01 10:20:54 AM Insteon Thermostat t1 Humidity = 27
                  Feb-01 10:20:50 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6A] [20]
                  Feb-01 10:20:48 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6B] [03]
                  Feb-01 10:20:46 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6A] [60]
                  Feb-01 10:20:44 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6B] [02]
                  Feb-01 10:20:44 AM Insteon Thermostat POLL thermostat: t1
                  Feb-01 10:20:44 AM Device Control Device: Insteon Thermostats t1 to Polling (255) by/from: CAPI Control Handler
                  Feb-01 10:20:35 AM Insteon Thermostat Direct Message unhandled 2E (extended get/set) data2=1 data3=[0B] raw data [01 3D 6B 42 46 2C 8E 11 2E 02 01 01 0B 1C 2E 20 4B 1B 00 C6 C0 44 60 2F]
                  Feb-01 10:20:24 AM Insteon Thermostat Direct Message unhandled 2E (extended get/set) data2=1 data3=[0B] raw data [01 3D 6B 42 46 2C 8E 11 2E 02 01 01 0B 1C 28 20 4B 1B 00 C6 C0 44 FD 77]
                  Feb-01 10:15:26 AM Insteon Thermostat t1 Temp = 66
                  Feb-01 10:15:24 AM Insteon Thermostat t1 Humidity = 27
                  Feb-01 10:15:20 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6A] [20]
                  Feb-01 10:15:18 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6B] [03]
                  Feb-01 10:15:16 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6A] [60]
                  Feb-01 10:15:14 AM Insteon Thermostat TransmitInsteon: [t1] [0F] [6B] [02]
                  Feb-01 10:15:14 AM Insteon Thermostat POLL thermostat: t1
                  Feb-01 10:15:14 AM Device Control Device: Insteon Thermostats t1 to Polling (255) by/from: CAPI Control Handler
                  I know that the thermostat is returning correct info because at the time of this plugin polling, I looked physically at the thermostat and saw 68 degrees and I used Insteon HUB app that showed 68 degrees. This indicates to me that either communication between Insteon plugin and Thermostat plugin is not working or device database is not working property. Note that all my Insteon devices (light switches, etc) are working properly with correct status.

                  Comment


                    #10
                    So it seems per our discussion in December things were working. Then you upgraded to a beta version of Mark's plugin and things broke. Roll back to Mark's plugin 3.0.7.1
                    HS 3.0.0.435 (PRO)
                    Hardware: Napco GEM-P9600 | VenstarT1800 w/Insteon 2441V adapter | Insteon PLM
                    Plugins HS3: Napco Gemini (mine) | Insteon Thermostat (mine) | Insteon Plug-in (mnsandler) | HSTouch Server (HST)
                    Platform: Windows 10 Pro 64bit, core2 duo 2.0Ghz, 4GB memory
                    http://www.kazteel.com/

                    Comment

                    Working...
                    X