Announcement

Collapse
No announcement yet.

Upgrade form HS3 Plugin to HS4 Plugin

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

    Upgrade form HS3 Plugin to HS4 Plugin

    Hi

    Have done a transition from HS3 to HS4, the plugin seem to work fine when i did use the HS3 plugin on the HS4 installation, so did upgrade the Hs3 plugin to HS4 plugin 4.0.2.10

    After upgrade from hs3 to hs4 i got a lot of error in my log, so i did remove all the devices that got error in the log, hopeing the plugin would add them back to HS, but i only get this errors :-(
    In the new pugin there is no possibility for "reinstall" all devices like it was in the hs3 plugin.

    I also missing my ikea windows blinds, the blinds was working in hs3 plugin, they are everyting is working fine in deconz version 84 but the blinds are not showing up in the plugin.

    Have tried to remove the plugin and reinstall it, but same result...

    What is the issue ?
    11.10.2020 20:06:50 JowiHue Error Error: (CreateNewDevice):Object reference not set to an instance of an object.
    11.10.2020 20:06:50 JowiHue Info Creating device for Garderobe TRADFRI motion 2 of type LightGroup
    11.10.2020 20:06:50
    JowiHue Error Error: (CreateNewDevice):Object reference not set to an instance of an object.
    11.10.2020 20:06:50 JowiHue Info Creating device for Amalie TRADFRI remote control 3 of type LightGroup
    11.10.2020 20:06:50 JowiHue Error Error: (CreateNewDevice):Object reference not set to an instance of an object.
    11.10.2020 20:06:50 JowiHue Info Creating device for Stort Soverom TRADFRI remote 5 of type LightGroup
    11.10.2020 20:06:50 JowiHue Error Error: (CreateNewDevice):Object reference not set to an instance of an object.
    11.10.2020 20:06:50 JowiHue Info Creating device for Blinds of type LightGroup
    11.10.2020 20:06:50 JowiHue Error Error: (CreateNewDevice):Object reference not set to an instance of an object.
    11.10.2020 20:06:50 JowiHue Info Creating device for Yttergang Natt of type LightGroup
    11.10.2020 20:06:50 JowiHue Error Error: (CreateNewDevice):Object reference not set to an instance of an object.
    11.10.2020 20:06:50 JowiHue Info Creating device for Emilie SoveRom Trådfri remote 1 of type LightGroup
    11.10.2020 20:06:50 JowiHue Error Error: (CreateNewDevice):Object reference not set to an instance of an object.
    11.10.2020 20:06:50 JowiHue InfoCreating device for Stue TRADFRI remote control 7 of type LightGroup
    11.10.2020 20:06:50 JowiHue Error Error: (UpdateLight):Exception while executing GetDeviceWithFeaturesByRef - devRef : 0 - message : Error while converting 0 to HsDevice : Object reference not set to an instance of an object. Service Version: NO_VERSION
    11.10.2020 20:06:50 Plugin Debug Exception while executing GetDeviceWithFeaturesByRef - devRef : 0 - message : Error while converting 0 to HsDevice : Object reference not set to an instance of an object.

    #2
    Did a full uninstall of the plugin, by removing the plugin and the database( \data\JowiHue), reinstalled the plugin and now it cant find the deconz bridge :-(

    Comment


      #3
      That looks bad. I wonder what has happend here. I have the Ikea blinds too here, and it works fine, also when I remove the device and let it come back.
      Did you try to use the IP address while adding a new bridge? What deCONZ device do you have a ConBee or Raspbee? Are you running on windows or linux?
      -- Wim

      Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

      1210 devices/features ---- 392 events ----- 40 scripts

      Comment


        #4
        The issue over is for ikea remotes...
        it's running on Conbee, Windows server 2019, same pc as HS is running on.

        What is the recommended action for removing all plugin data form HS, so i can try to install from scratch ?

        Comment


          #5
          Did delete alle data i did found in this folders and did a reinstall of the app..
          HS folder\Logs
          HS folder\html\image
          HS folder\Data
          HS folder\Updates4
          HS folder\

          Did not remove my devices, so have to take that later.

          After installing the app, it still had my licens reg, but it was not accepted by the conbee/deconz so needed to use the authenticator app feature.in the wizard for adding a new bridge.

          Then under the bridge registration, it did stopp i step 2.. in the log i got this error ...

          14:14:16.3808711 -- (DeCONZCache.UpdateBridgeCache) exit; Update running =False
          14:14:21.2858134 -- (DeCONZCache.Bridgereachable) Reachability check firststart
          14:14:21.2968148 -- (BridgeApi.GetJsonCommand) Sendrequest took 10 millisconds Thread: 0
          14:14:21.3028092 -- (BridgeApi.GetJsonCommand) Error: Start:Unexpected character encountered while parsing value: {. Path 'groups.43087.scenes', line 1, position 10411.
          14:14:21.3038107 -- (BridgeApi.GetJsonCommand) Newtonsoft.Json.JsonReaderException(0x80131500): Unexpected character encountered while parsing value: {. Path 'groups.43087.scenes', line 1, position 10411.
          at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
          at Newtonsoft.Json.JsonTextReader.ReadAsString()
          at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.S etPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.S etPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.D eserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
          at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReade r reader, Type objectType)
          at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
          at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
          at HSPI_JowiHue.BridgeApi.GetJsonCommand(String URL, Object ReqObject, Boolean Dict, String Type)

          14:14:21.3098109 -- (BridgeApi.GetJsonCommand) GetJsoncommand: Error reading details - HSPI_JowiHue.DeCONZ+BridgeCacheBase

          This error is just looping and the log file is geting big ;-)

          Comment


            #6
            This log part is comming from the JowiHue.log file right? I will need to see more of it as the log should include the result as well. Can you send this log file to jowihue at ziggo dot nl? Maybe I will get a pointer on this. What is the deCONZ version you are running at this point?

            Thanks,

            Wim
            -- Wim

            Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

            1210 devices/features ---- 392 events ----- 40 scripts

            Comment


              #7
              Sent you the log fil.

              deCONZ Version: 2.05.84 / 9/14/2020

              Comment


                #8
                Send a reply
                -- Wim

                Plugins: JowiHue, RFXCOM, Sonos4, Jon00's Perfmon and Network monitor, EasyTrigger, Pushover 3P, rnbWeather, BLBackup, AK SmartDevice, Pushover, PHLocation, Zwave, GCalseer, SDJ-Health, Device History, BLGData

                1210 devices/features ---- 392 events ----- 40 scripts

                Comment


                  #9
                  Wim solved the problem.. Great job.. :-)

                  Comment

                  Working...
                  X