Announcement

Collapse
No announcement yet.

MeiUnifi stopped working.

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

  • MeiUnifi stopped working.

    I set up a licensed version of MeiUnifi PI a month or more ago. I haven't really fully set it up yet, have been busy. I went to look at it today and it does not seem to be working at all. Last updates were 5 Feb.

    It is not listed in the Plig In drop down menu with my other PIs.

    The manage PI page indicates this under it's status:
    WARNING: Failed getting InterfaceStatus from MeiUnifi - the interface was not found in the list of active interfaces, the list may need to be refreshed.
    I can restart the machine, but this PI dows not seem to start or work.

    any thoughts where to start with getting this to work?

  • #2
    Have you tried to look into the previous posts?. There could be something in there for you.
    Else, what's your your system?


    Eman.
    The People's Advocate.

    Comment


    • #3
      If you stop the plugin and start it then look in the HomseSeer Logs, do you see anything?
      MeiAutomtion Home

      Comment


      • #4
        Originally posted by sirmeili View Post
        If you stop the plugin and start it then look in the HomseSeer Logs, do you see anything?
        mar-12 10:45:08 Error Initializing plug-in(1): MeiUnifi Instance::Unexpected character encountered while parsing value: {. Path 'data[0].stat.ap', line 1, position 16552. Time to load: 1316 milliseconds
        mar-12 10:45:08 Fatal Error occurred in InitIO: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'data[0].stat.ap', line 1, position 16552. ved Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType) ved Newtonsoft.Json.JsonTextReader.ReadAsString() ved Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.S etPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.S etPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.D eserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) ved Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReade r reader, Type objectType) ved Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) ved Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) ved Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) ved HSPI_MeiUnifi.Controllers.UnifiAPI.ParseResults[T](String results, JsonConverter jsonConverter) ved HSPI_MeiUnifi.Controllers.UnifiAPI.SendRequest[T](String url, RequestType requestType, StringContent content, JsonConverter jsonConverter) ved HSPI_MeiUnifi.Controllers.UniFiController.UpdateDeviceConfig (Controller unifiController) ved HSPI_MeiUnifi.Controllers.UniFiController.Connect(Controller unifiController) ved HSPI_MeiUnifi.Controllers.UniFiController.Connect(String unifiControllerId) ved HSPI_MeiUnifi.Controllers.UniFiController.ConnectToAllContro llers() ved HSPI_MeiUnifi.Controllers.UniFiController..ctor(IHSPI plugin)
        mar-12 10:45:07 Starting Plug-In Initializing plugin MeiUnifi ...
        Running on windows 10, and version 3.0.0 of the plugin.

        Comment


        • #5
          Hello, I am in a similar situation since HS4 migration. It worked for a while but since this morning, I get "WARNING: Failed getting InterfaceStatus from MeiUnifi - the interface was not found in the list of active interfaces, the list may need to be refreshed.".

          I did turn it on and off, uninstall and re-install but no luck, it doesn't work. I did test both regular and beta version. All config menus are also gone so there is nothing I can do.

          Looking at the log, here is what I have:

          Error occurred in InitIO: System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: ConnectFailure (No route to host) ---> System.Net.Sockets.SocketException: No route to host
          at System.Net.Sockets.SocketAsyncResult.CheckIfThrowDelayedExce ption () [0x00014] in <e8eb3d7a311640f484845e45cbec8973>:0
          at System.Net.Sockets.Socket.EndConnect (System.IAsyncResult asyncResult) [0x0002c] in <e8eb3d7a311640f484845e45cbec8973>:0
          at System.Net.Sockets.SocketTaskExtensions+<>c.<ConnectAsync>b_ _2_1 (System.IAsyncResult asyncResult) [0x00006] in <e8eb3d7a311640f484845e45cbec8973>:0
          at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00019] in <6649516e5b3542319fb262b421af0adb>:0
          --- End of stack trace from previous location where exception was thrown ---

          at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x0019b] in <e8eb3d7a311640f484845e45cbec8973>:0
          --- End of inner exception stack trace ---
          at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00217] in <e8eb3d7a311640f484845e45cbec8973>:0
          at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x000cc] in <e8eb3d7a311640f484845e45cbec8973>:0
          at System.Net.WebOperation.Run () [0x0009a] in <e8eb3d7a311640f484845e45cbec8973>:0
          at System.Net.WebCompletionSource`1[T].WaitForCompletion () [0x00094] in <e8eb3d7a311640f484845e45cbec8973>:0
          at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <e8eb3d7a311640f484845e45cbec8973>:0
          at System.Net.Http.HttpClientHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x002e7] in <933cc8a6a7234711aca75cc03b122727>:0
          --- End of inner exception stack trace ---
          at System.Net.Http.HttpClientHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00478] in <933cc8a6a7234711aca75cc03b122727>:0
          at System.Net.Http.HttpClient.SendAsyncWorker (System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpCompletionOption completionOption, System.Threading.CancellationToken cancellationToken) [0x000ca] in <933cc8a6a7234711aca75cc03b122727>:0
          at HSPI_MeiUnifi.Controllers.UnifiAPI.SendRequestToServer (System.String url, HSPI_MeiUnifi.Controllers.UnifiAPI+RequestType requestType, System.Net.Http.StringContent content) [0x00049] in <ee4ba4096f104a6ab49c3dd4f7d80f94>:0
          at HSPI_MeiUnifi.Controllers.UnifiAPI.ConnectToController () [0x0009e] in <ee4ba4096f104a6ab49c3dd4f7d80f94>:0
          at HSPI_MeiUnifi.Controllers.UniFiController.Connect (HSPI_MeiUnifi.Models.Configs.Controller unifiController) [0x0007b] in <ee4ba4096f104a6ab49c3dd4f7d80f94>:0
          at HSPI_MeiUnifi.Controllers.UniFiController.Connect (System.String unifiControllerId) [0x0001d] in <ee4ba4096f104a6ab49c3dd4f7d80f94>:0
          at HSPI_MeiUnifi.Controllers.UniFiController.ConnectToAllContro llers () [0x00041] in <ee4ba4096f104a6ab49c3dd4f7d80f94>:0
          at HSPI_MeiUnifi.Controllers.UniFiController..ctor (MBPlugins.IHSPI plugin) [0x001da] in <ee4ba4096f104a6ab49c3dd4f7d80f94>:0


          Any idea? Thanks!

          Comment


          • #6
            I have not tested this plugin on HS4. I don't know why HS set it as HS4 compatible.
            MeiAutomtion Home

            Comment


            • #7
              Originally posted by clio75 View Post
              mar-12 10:45:08 Error Initializing plug-in(1): MeiUnifi Instance::Unexpected character encountered while parsing value: {. Path 'data[0].stat.ap', line 1, position 16552. Time to load: 1316 milliseconds
              mar-12 10:45:08 Fatal Error occurred in InitIO: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'data[0].stat.ap', line 1, position 16552. ved Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType) ved Newtonsoft.Json.JsonTextReader.ReadAsString() ved Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.S etPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.S etPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.P opulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.C reateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) ved Newtonsoft.Json.Serialization.JsonSerializerInternalReader.D eserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) ved Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReade r reader, Type objectType) ved Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) ved Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) ved Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) ved HSPI_MeiUnifi.Controllers.UnifiAPI.ParseResults[T](String results, JsonConverter jsonConverter) ved HSPI_MeiUnifi.Controllers.UnifiAPI.SendRequest[T](String url, RequestType requestType, StringContent content, JsonConverter jsonConverter) ved HSPI_MeiUnifi.Controllers.UniFiController.UpdateDeviceConfig (Controller unifiController) ved HSPI_MeiUnifi.Controllers.UniFiController.Connect(Controller unifiController) ved HSPI_MeiUnifi.Controllers.UniFiController.Connect(String unifiControllerId) ved HSPI_MeiUnifi.Controllers.UniFiController.ConnectToAllContro llers() ved HSPI_MeiUnifi.Controllers.UniFiController..ctor(IHSPI plugin)
              mar-12 10:45:07 Starting Plug-In Initializing plugin MeiUnifi ...
              Running on windows 10, and version 3.0.0 of the plugin.
              it looks like there is a problem with the JSON coming back from the site. Did you say you are running this on a Pi?
              MeiAutomtion Home

              Comment


              • #8
                I am having the same problem.
                Initializing plug-in(1): MeiUnifi Instance::Unexpected character encountered while parsing value: {. Path 'data[0].stat.ap', line 1, position 19079. Time to load: 972 milliseconds
                May-04 9:36:54 AM Fatal Error occurred in InitIO: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: {. Path 'data[0].stat.ap', line 1, position 19079. 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 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.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 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.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 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) at HSPI_MeiUnifi.Controllers.UnifiAPI.ParseResults[T](String results, JsonConverter jsonConverter) at HSPI_MeiUnifi.Controllers.UnifiAPI.SendRequest[T](String url, RequestType requestType, StringContent content, JsonConverter jsonConverter) at HSPI_MeiUnifi.Controllers.UniFiController.UpdateDeviceConfig (Controller unifiController) at HSPI_MeiUnifi.Controllers.UniFiController.Connect(Controller unifiController) at HSPI_MeiUnifi.Controllers.UniFiController.Connect(String unifiControllerId) at HSPI_MeiUnifi.Controllers.UniFiController.ConnectToAllContro llers() at HSPI_MeiUnifi.Controllers.UniFiController..ctor(IHSPI plugin)

                Comment


                • #9
                  can you tell me what version of HS and what type of system you are running it on (windows/linux)?
                  MeiAutomtion Home

                  Comment


                  • #10
                    Latest HS3Pro / Windows 10 Pro

                    Comment


                    • #11
                      I just got the add on today, I am running HS3 Standard on Windows. I am getting an error, I try to restart the add on (Meiunify) wont load These is in the HS3 Logs
                      ay-06 3:02:29 PM Fatal Error occurred in InitIO: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.247:8443 at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(I AsyncResult ar) --- End of inner exception stack trace --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification(Task task) at HSPI_MeiUnifi.Controllers.UnifiAPI.SendRequestToServer(Strin g url, RequestType requestType, StringContent content) at HSPI_MeiUnifi.Controllers.UnifiAPI.ConnectToController() at HSPI_MeiUnifi.Controllers.UniFiController.Connect(Controller unifiController) at HSPI_MeiUnifi.Controllers.UniFiController.Connect(String unifiControllerId) at HSPI_MeiUnifi.Controllers.UniFiController.ConnectToAllContro llers() at HSPI_MeiUnifi.Controllers.UniFiController..ctor(IHSPI plugin)
                      I appreciate any help with the add on.

                      Comment


                      • #12
                        sirmeili Frank, I don't know whether this helps but I'm getting the same error due to inability to connect to one of my controllers at a remote site. It normally connects over site-to-site vpn which is currently down and it's throwing what appears to be the exact same error. The plugin fails at start-up. While typing this reply I just deleted the unreachable controller and its devices from HSPI_MeiUnifi_ControllerConfig.json (entire section) and the plugin started up cleanly. Guess I'll need to delete the associated HS3 devices and start over with that controller once the vpn is back up. Was going to start a thread on this tomorrow--that an unreachable configured controller seems to break things--and will still do so if you'd like.

                        OP, hopefully this wasn't an unhelpful tangent. First make sure the controller is reachable by the PI. If it is, then if you're comfortable with digging into the MeiUnifi config files you could try deleting the controller identified by IP address in the error. It may be the entire file contents if you only have one controller. Beware that at the very least you'll be starting over with your config of the controller and its devices, and any events that use those devices will break. Standard disclaimers...only mess with what you're comfortable breaking, back everything up first, etc...


                        Originally posted by Yoarick View Post
                        I just got the add on today, I am running HS3 Standard on Windows. I am getting an error, I try to restart the add on (Meiunify) wont load These is in the HS3 Logs
                        ay-06 3:02:29 PM Fatal Error occurred in InitIO: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.247:8443 at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult) at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context) at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(I AsyncResult ar) --- End of inner exception stack trace --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification(Task task) at HSPI_MeiUnifi.Controllers.UnifiAPI.SendRequestToServer(Strin g url, RequestType requestType, StringContent content) at HSPI_MeiUnifi.Controllers.UnifiAPI.ConnectToController() at HSPI_MeiUnifi.Controllers.UniFiController.Connect(Controller unifiController) at HSPI_MeiUnifi.Controllers.UniFiController.Connect(String unifiControllerId) at HSPI_MeiUnifi.Controllers.UniFiController.ConnectToAllContro llers() at HSPI_MeiUnifi.Controllers.UniFiController..ctor(IHSPI plugin)
                        I appreciate any help with the add on.
                        -Wade

                        Comment


                        • #13
                          So it's definitely a connection error, but I thought I was catching those. I will check the code. What I would do is log on from the machine HS is running on and attempt to access the Unifi Controller using it's IP (not unifi.ubnt.com).

                          Thanks cc4005. I definitely think it's relevant.
                          MeiAutomtion Home

                          Comment


                          • #14
                            Originally posted by sirmeili View Post
                            So it's definitely a connection error, but I thought I was catching those. I will check the code. What I would do is log on from the machine HS is running on and attempt to access the Unifi Controller using it's IP (not unifi.ubnt.com).

                            Thanks cc4005. I definitely think it's relevant.
                            Yes, the Ip for my controller is different from the file. I am using unify cloud Key Gen2 Controller. It was thinking if it can be change in the config but I can't not access the config on HS3. Thank You

                            Comment


                            • #15
                              The config should be in [hs3installdirector]/Config/MeiUnifi/HSPI_MeiUnifi_ControllerConfig.json

                              Or you should be able to just change the IP in the UI on the Controller Config page.
                              MeiAutomtion Home

                              Comment

                              Working...
                              X