Announcement

Collapse
No announcement yet.

PI will not start due to error

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

  • palli
    replied
    Interestingly the conflict also affects the Harmony Hub PI, too much tcp port activity

    Click image for larger version

Name:	Capture2.PNG
Views:	59
Size:	42.6 KB
ID:	1407055

    Last edited by palli; July 29, 2020, 03:50 PM. Reason: error

    Leave a comment:


  • palli
    replied
    Thanks for that.
    The other plugin is Global Cache Pro

    Leave a comment:


  • drule
    replied
    Yep, that sounds like the problem. Both plugins are trying to listen for the beacon signals sent by Global Cache devices. Which ever plugin gets there first wins! I've changed my plugin to "lose gracefully." If the plugin can't auto-discover GC devices, you can still enter them manually in the IR Devices page.

    I'm not sure which other plugin you are running but I assume it is an HS3 plugin? Is it the UltraJones plugin? I don't know if the other plugin will also lock the tcp port, my plugin doesn't. If it does, running both plugins together may still not work but if it doesn't, you should be OK. Please confirm which other plugin you are using and I will do some testing with it.

    Here's another fix.

    HSPI_drhsIR.zip

    Leave a comment:


  • palli
    replied

    Ok so I see this

    Click image for larger version

Name:	Capture.PNG
Views:	97
Size:	179.7 KB
ID:	1407007

    This indicates a conflict with another PI.
    So disabled Global Cache Pro and get this

    Click image for larger version

Name:	Capture1.PNG
Views:	75
Size:	32.6 KB
ID:	1407008

    So it works ok but only with GC pro disabled.
    Is it possible to run the two together with port changes?

    Any how the original issue is sorted
    Thanks for your help
















































    Leave a comment:


  • drule
    replied
    OK, good that we're getting further along. I can't reproduce this new error at the moment though. On my Windows 10 system, with HS 4.1.2.0 and the tz set to UK, I am seeing everything starting up OK now. Are there any further messages in the log? Can you also try disabling the plugin from the Plugins/Installed page by sliding the slider to off and then manually launching the plugin from a command window? This should give some more info. For instance I get this:

    Code:
    C:\Program Files (x86)\HomeSeer HS4>HSPI_drhsIR.exe
    Connecting to HomeSeer...
    Connected to HomeSeer
    Host API Version: 4
    Waiting for initialization...
    InitIO called by HomeSeer
    Loading settings from INI
    Updating view
    Updating view
    Updating view
    Updating view
    29/07/2020 13:21:30:[IR Plugin]->Loaded 0 IR codes.
    29/07/2020 13:21:30:[IR Plugin]->Loaded 0 IR receivers.
    29/07/2020 13:21:30:[IR Plugin]->Enable RAW mode on IRTran device at 192.168.xxx.yyy...
    29/07/2020 13:21:30:[IR Plugin]->Loaded 5 IR senders.
    29/07/2020 13:21:30:[IR Plugin]->Start Global Cache IR Receivers...
    29/07/2020 13:21:30:[IR Plugin]->Listening for IRTrans broadcasts...
    29/07/2020 13:21:30:[IR Plugin]->Listening for Global Cache devices...
    Initialized
    29/07/2020 13:21:35:[IR Plugin]->Sending IRTrans UDP Discover...

    Leave a comment:


  • palli
    replied
    Thanks for that, it is loaded ok.
    The PI seems to disconnect as soon as it has finished initialising

    Below is what I see in log.

    It loads at startup ok but immediately disconnects with the same dialogue as shown below.

    Tried disable/enable and reinstall but same result.

    It will not run for me!

    Jul-29 17:42:08 Info Plugin drhsIR with instance IR Plugin has connected. IP:127.0.0.1:64075
    Jul-29 17:42:07 Warning I/O interface IR Plugin is down, executable is not running, restarting ...
    Jul-29 17:41:38 Info Plugin IR Plugin with ID: drhsIR and Instance: has disconnected
    Jul-29 17:41:37 Plug-In Finished initializing plug-in IR Plugin
    Jul-29 17:41:37 Starting Plug-In IR Plugin loaded in 332 milliseconds
    Jul-29 17:41:37 Starting Plug-In Plugin IR Plugin started successfully in 31 milliseconds
    Jul-29 17:41:37 Info Loaded 0 IR senders.
    Jul-29 17:41:37 Info Loaded 0 IR receivers.
    Jul-29 17:41:37 Info Loaded 0 IR codes.
    Jul-29 17:41:37 Starting Plug-In Initializing plugin IR Plugin ...
    Jul-29 17:41:37 Info Plugin drhsIR with instance IR Plugin has connected. IP:127.0.0.1:63964

    Leave a comment:


  • drule
    replied
    Thanks for the report!

    I tracked this down to a bug caused by the differences in the date/time format between the US and the UK. I'll upload a fix to the HomeSeer Updater but as that can sometimes take a while before it becomes available, here's a copy of the fixed executable file. Just override HSPI_drhsIR.exe in your HomeSeer directory with the one in this zip file.

    -David

    Leave a comment:


  • palli
    started a topic PI will not start due to error

    PI will not start due to error

    No matter what I do I cannot get this plug in to run.
    Have reinstalled it a couple of times but keep getting the error below.
    Any advice welcomed

    Jul-29 11:07:17 Plug-In Finished initializing plug-in IR Plugin
    Jul-29 11:07:17 Starting Plug-In IR Plugin loaded in 319 milliseconds
    Jul-29 11:07:17 Info Plugin IR Plugin with ID: drhsIR and Instance: has disconnected
    Jul-29 11:07:17 Error Initializing plug-in(1): IR Plugin Instance::Error on InitIO: The string was not recognized as a valid DateTime. There is an unknown word starting at index 20. Time to load: 70 milliseconds
    Jul-29 11:07:16 Starting Plug-In Initializing plugin IR Plugin ...
    Jul-29 11:07:16 Info Plugin drhsIR with instance IR Plugin has connected. IP:127.0.0.1:62888
    Jul-29 11:07:10 Updater Copying file: C:\program files (x86)\Homeseer HS4\html\drhsIR\drhsIR-devices.html
    Jul-29 11:07:10 Updater Copying file: C:\program files (x86)\Homeseer HS4\html\drhsIR\drhsIR-codes.html
    Jul-29 11:07:10 Updater Making dir: C:\program files (x86)\Homeseer HS4\html\drhsIR\
    Jul-29 11:07:10 Updater Copying file: C:\program files (x86)\Homeseer HS4\HSPI_drhsIR.exe.config
    Jul-29 11:07:10 Updater Copying file: C:\program files (x86)\Homeseer HS4\HSPI_drhsIR.exe
    Jul-29 11:07:09 Info Plugin install for IR Plugin starting...
Working...
X