Announcement

Collapse
No announcement yet.

MeiHarmonyHub on HomeTroller SEL Pro with Mono 3.2.8

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

    MeiHarmonyHub on HomeTroller SEL Pro with Mono 3.2.8

    Hi!

    I have a Hometroller SEL Pro. I am still running Mono 3.2.8 because if I update to Mono 5, it breaks mono-devel (due to end of life of LST 14.04.01). This is an empty installation (just Zwave plugin).

    If I install 3.0.2.0 and try to add a Hub I get the following error:

    Posting back to plugin web page MeiHarmonyHub_Config: Object reference not set to an instance of an object-> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] in :0

    With the latest Beta, it simply says "There was no device found at the IP address." and the log record:

    2018-06-19 10:45:08,013 DEBUG [5] HSPI - Posting back data on page (MeiHarmonyHub_Config) with data: IP_address=192.168.2.241&id=hub
    _device_add&hub_device_add=Submit
    2018-06-19 10:45:08,014 DEBUG [5] HSPI - new Hub with IP address (192.168.2.241) provided. Is it valid?
    2018-06-19 10:45:08,320 DEBUG [5] HSPI - Was a new hub found at IP? False
    2018-06-19 10:46:21,320 DEBUG [5] HSPI - Shutting down connections to hubs...
    2018-06-19 10:46:21,402 INFO [1] HSPI - Connection to homeseer lost, exiting
    2018-06-19 10:46:27,253 DEBUG [5] HSPI - It took 23ms to load the knownDevices file into memory.
    2018-06-19 10:46:27,309 INFO [5] HSPI - Updating new settings with defaults. Previous version: 3.0.3.14; Current Version: 3.0.3.14
    2018-06-19 10:46:27,312 DEBUG [5] HSPI - Settings changed. Saving settings
    2018-06-19 10:46:27,358 DEBUG [5] HSPI - It took 41ms to save the settings (HSPI_MeiHarmonyHub.Classes.Settings) to file
    2018-06-19 10:46:27,360 INFO [5] HSPI - Initializing Clients.
    2018-06-19 10:46:27,364 INFO [5] HSPI - Registering Triggers.
    2018-06-19 10:46:27,366 DEBUG [5] HSPI - Registering Triggers
    2018-06-19 10:46:27,373 INFO [5] HSPI - Registering Actions.
    2018-06-19 10:46:27,376 DEBUG [5] HSPI - Registering Actions
    2018-06-19 10:46:27,381 DEBUG [5] HSPI - Polling Timers: adding timer: DeviceStatusUpdate at pollInterval: 86400000
    2018-06-19 10:46:27,384 DEBUG [5] HSPI - Polling Timers: timer: DeviceStatusUpdate Started
    2018-06-19 10:46:27,386 DEBUG [5] HSPI - Polling Timers: adding timer: SleepTimerUpdate at pollInterval: 0
    2018-06-19 10:46:47,141 DEBUG [5] HSPI - Posting back data on page (MeiHarmonyHub_Config) with data: IP_address=192.168.2.241&id=hub
    _device_add&hub_device_add=Submit
    2018-06-19 10:46:47,153 DEBUG [5] HSPI - new Hub with IP address (192.168.2.241) provided. Is it valid?
    2018-06-19 10:46:47,553 DEBUG [5] HSPI - Was a new hub found at IP? False

    I have also tried the manual JSON trick to insert the HUB and it doesn't work.

    Could you please let me know if Mono 5 is required? In a Docker Container I was able to install MeilHarmony without any problem, but it had Mono 5.
    Regards,
    Jose

    #2
    Originally posted by jagaliano View Post
    Hi!

    I have a Hometroller SEL Pro. I am still running Mono 3.2.8 because if I update to Mono 5, it breaks mono-devel (due to end of life of LST 14.04.01). This is an empty installation (just Zwave plugin).

    If I install 3.0.2.0 and try to add a Hub I get the following error:

    Posting back to plugin web page MeiHarmonyHub_Config: Object reference not set to an instance of an object-> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] in :0

    With the latest Beta, it simply says "There was no device found at the IP address." and the log record:

    2018-06-19 10:45:08,013 DEBUG [5] HSPI - Posting back data on page (MeiHarmonyHub_Config) with data: IP_address=192.168.2.241&id=hub
    _device_add&hub_device_add=Submit
    2018-06-19 10:45:08,014 DEBUG [5] HSPI - new Hub with IP address (192.168.2.241) provided. Is it valid?
    2018-06-19 10:45:08,320 DEBUG [5] HSPI - Was a new hub found at IP? False
    2018-06-19 10:46:21,320 DEBUG [5] HSPI - Shutting down connections to hubs...
    2018-06-19 10:46:21,402 INFO [1] HSPI - Connection to homeseer lost, exiting
    2018-06-19 10:46:27,253 DEBUG [5] HSPI - It took 23ms to load the knownDevices file into memory.
    2018-06-19 10:46:27,309 INFO [5] HSPI - Updating new settings with defaults. Previous version: 3.0.3.14; Current Version: 3.0.3.14
    2018-06-19 10:46:27,312 DEBUG [5] HSPI - Settings changed. Saving settings
    2018-06-19 10:46:27,358 DEBUG [5] HSPI - It took 41ms to save the settings (HSPI_MeiHarmonyHub.Classes.Settings) to file
    2018-06-19 10:46:27,360 INFO [5] HSPI - Initializing Clients.
    2018-06-19 10:46:27,364 INFO [5] HSPI - Registering Triggers.
    2018-06-19 10:46:27,366 DEBUG [5] HSPI - Registering Triggers
    2018-06-19 10:46:27,373 INFO [5] HSPI - Registering Actions.
    2018-06-19 10:46:27,376 DEBUG [5] HSPI - Registering Actions
    2018-06-19 10:46:27,381 DEBUG [5] HSPI - Polling Timers: adding timer: DeviceStatusUpdate at pollInterval: 86400000
    2018-06-19 10:46:27,384 DEBUG [5] HSPI - Polling Timers: timer: DeviceStatusUpdate Started
    2018-06-19 10:46:27,386 DEBUG [5] HSPI - Polling Timers: adding timer: SleepTimerUpdate at pollInterval: 0
    2018-06-19 10:46:47,141 DEBUG [5] HSPI - Posting back data on page (MeiHarmonyHub_Config) with data: IP_address=192.168.2.241&id=hub
    _device_add&hub_device_add=Submit
    2018-06-19 10:46:47,153 DEBUG [5] HSPI - new Hub with IP address (192.168.2.241) provided. Is it valid?
    2018-06-19 10:46:47,553 DEBUG [5] HSPI - Was a new hub found at IP? False

    I have also tried the manual JSON trick to insert the HUB and it doesn't work.

    Could you please let me know if Mono 5 is required? In a Docker Container I was able to install MeilHarmony without any problem, but it had Mono 5.
    Regards,
    Jose
    I'm going to be brutally honest and say I don't know. I'm not overly familiar with Mono and the requirements it may place on my plugin. I believe many have said they did need to go to Mono 5 to get the plugin to work, but i'm not entirely sure why.

    If you can, turn on debug logging in the general settigns (in the newest beta version) and try an add a hub by IP.

    Then send me the log ([homeseerInstallDirectory]/Logs/MeiHarmonyHub.log).

    I will see what I'm getting back and why it's not adding it.

    Comment


      #3

      Comment


        #4
        If you don't mind waiting, I"ll add more debugging around that test. I thought I had some so it should definitely say why, but it's not, so I'll revisit it (could be because that is for the initial connect test and not the normal connect).

        I'll try and add more debugging tonight and release 3.0.3.15 for you to test. If I can get this working on your version of Mono, I will.

        Comment


          #5
          I updated to Mono 5, and now the plugin can't connect anymore.
          here's the log

          Jun-19 2:48:24 PM MeiHarmonyHub: Error The Conection to Hub with ID ff3d06ef-b799-4cd0-ba76-27d754873577 failed with stack trace: at System.Runtime.Serialization.Json.JsonSerializationReader.De serializeGenericCollection (System.Type collectionType, System.Type elementType) [0x00000] in :0 at System.Runtime.Serialization.Json.JsonSerializationReader.Re adObject (System.Type type) [0x00000] in :0 at System.Runtime.Serialization.Json.TypeMap.Deserialize (System.Runtime.Serialization.Json.JsonSerializationReader jsr) [0x00000] in :0 at System.Runtime.Serialization.Json.JsonSerializationReader.Re adObject (System.Type type) [0x00000] in :0 at System.Runtime.Serialization.Json.JsonSerializationReader.Re adRoot () [0x00000] in :0 at System.Runtime.Serialization.Json.DataContractJsonSerializer .ReadObject (System.Xml.XmlReader reader, Boolean verifyObjectName) [0x00000] in :0
          Jun-19 2:48:24 PM MeiHarmonyHub: Error The Conection to Hub with ID ff3d06ef-b799-4cd0-ba76-27d754873577 failed with message: Expected element 'item', but found 'Harmony' in namespace ''. Error at (1,246)

          Comment


            #6
            Originally posted by Rko180 View Post
            I updated to Mono 5, and now the plugin can't connect anymore.
            here's the log
            I responded to your PM.

            Comment


              #7

              Comment

              Working...
              X