Announcement

Collapse
No announcement yet.

Ethernet Connection problem

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

  • #16
    1.0.0.118 installed here. All boards connected immediately.

    4X Mega 2560 boards, all with Ethernet shields (1st gen POE).
    Randy Prade
    Aurora, CO
    Prades.net

    PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

    Comment


    • #17
      Originally posted by rprade View Post
      1.0.0.118 installed here. All boards connected immediately.

      4X Mega 2560 boards, all with Ethernet shields (1st gen POE).
      Good news
      I hope this fixes other peoples problems to.

      Greig.
      Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
      X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
      Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
      Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
      Scripts =
      Various

      Comment


      • #18
        All boards connected immediately with 118
        but after the timeout Connection error.

        Does anyone else have this problem after 118.

        Comment


        • #19
          Originally posted by jonas.hellgren View Post
          All boards connected immediately with 118
          but after the timeout Connection error.

          Does anyone else have this problem after 118.
          please check your firewall and AV software.


          Greig
          Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
          X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
          Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
          Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
          Scripts =
          Various

          Comment


          • #20
            I'm going to give 118 API Ethernet version a try tonight and will report back.

            Art

            Comment


            • #21
              I upgraded to 118 and so far so good with the API Ethernet sketch. Thanks!

              Greig,

              One thing I noticed though is that here is no Auto Connect check box. Is that intentional?

              Art

              Comment


              • #22
                Originally posted by artart88 View Post
                I upgraded to 118 and so far so good with the API Ethernet sketch. Thanks!

                Greig,

                One thing I noticed though is that here is no Auto Connect check box. Is that intentional?

                Art
                Good spot. It looks like the first board will have it but it is missing from any others. I will get this fixed in the next build.
                FYI if the board was set to Auto connect before this build then it should still work you just can not turn it off and on.

                Greig.
                Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
                X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
                Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
                Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
                Scripts =
                Various

                Comment


                • #23
                  Yes that is what I am experiencing. Board 1 has the Auto checkbox but the rest do not. Otherwise 118 seems to be working great.

                  Comment


                  • #24
                    Hi Greig,
                    Sorry for the late reply, I had a short holiday.
                    Thanks for all the work on the plugin. I had several problems with previous versions:
                    - no correct API.ino download
                    - Arduino Plugin Error = Exception in UDPGetMessage : Operation on non-blocking socket would block

                    The situation is now:
                    HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.280
                    Enabled Plug-Ins:
                    1.0.0.118: Arduino Plugin
                    3.0.0.4: CM15A
                    3.0.0.103: HSTouch Server
                    3.0.1.87: Z-Wave

                    The API.ino download is doing fine now.
                    For the Arduino error I will have to wait some time to see if that is solved as well. I will report back.

                    Regards, Cor

                    Comment


                    • #25
                      Just update to 118. After updating the plugin I had to restart Homeseer to populate the setup pages for each board.

                      I still have the counters + events in place that will increment as soon as a board disconnects, for now every is up and running and they are all at zero. I'll monitor the behavior over the next couple of days and post the results.

                      Great work updating the plugin, nice to see that you addressed the ethernet disconnect issue!

                      PS. Also not seeing the Auto Connect for boards other than the first one, I had it checked for every board in the previous version, hope the settings are unchanged.

                      Comment


                      • #26
                        In addition to my last message above I can report that the error message:

                        'Arduino Plugin Error = Exception in UDPGetMessage : Operation on non-blocking socket would block'

                        happens many times. Is there anything to do about this? Could it have to do with the Arduino hardware? I am using 2 boards at the time, one Aduino Mega 2560 with a HanRun 14/32 ethernet board and one Seeeduino Stalker v2.1 with an Arduino ethernet2 board. On both board I am measuring temperature, rel.humidity and CO2 concentration with a Cozir sensor.
                        I did disconnect the boards one by one but the error occurs on both boards.
                        Any help appreciated.

                        Comment


                        • #27
                          I can't get .118 to connect either.
                          To be sure, I've disabled the Windows 10 firewall.

                          Here's the log (read from the bottom and up):

                          Code:
                          aug-10 18:14:18 
                          Arduino Plugin 
                          Disconnected from Board No:1 at ip address 192.168.0.91 Port No:8888 
                          
                          aug-10 18:14:18 
                          Arduino Plugin 
                          Error = Board: 1 Connection FAILED. 
                          
                          aug-10 18:14:02 
                          Arduino Plugin 
                          Warning = Board: 1 has a connection ERROR. Retrying. 
                          
                          aug-10 18:13:52 
                          Arduino Plugin 
                          Warning = Board: 1 has a connection ERROR. Retrying. 
                          
                          aug-10 18:12:47 
                          Arduino Plugin 
                          New Com port Found 
                          
                          aug-10 18:12:46 
                          Arduino Plugin 
                          Updating Values on Board No: 1 
                          
                          aug-10 18:12:45 
                          Arduino Plugin 
                          Updating pins on Board No: 1 
                          
                          aug-10 18:12:45 
                          Arduino Plugin 
                          Connected to Board No:1 at ip address 192.168.0.91 Port No:8888 
                          
                          aug-10 18:12:44 
                          Plug-In 
                          Finished initializing plug-in Arduino Plugin 
                          
                          aug-10 18:12:44 
                          Arduino Plugin 
                          Plug-in initialized. 
                          
                          aug-10 18:12:44 
                          Arduino Plugin 
                          Connecting Board No:1 at ip address 192.168.0.91 Port No:8888 
                          
                          aug-10 18:12:44 
                          Arduino Plugin 
                          Auto Connecting Board No:1 
                          
                          aug-10 18:12:43 
                          Arduino Plugin 
                          Checking boards config 
                          
                          aug-10 18:12:41 
                          Info 
                          Plugin Arduino Plugin has connected. IP:127.0.0.1:65522
                          This is with the 1.6.5 environment, the correct libraries installed and a new .ino file deployed.

                          I'm stuck.
                          HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
                          Running on Windows 10 (64) virtualized
                          on ESXi (Fujitsu Primergy TX150 S8).
                          WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

                          Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

                          Comment


                          • #28
                            Originally posted by Moskus View Post
                            I can't get .118 to connect either.
                            To be sure, I've disabled the Windows 10 firewall.

                            Here's the log (read from the bottom and up):

                            Code:
                            aug-10 18:14:18 
                            Arduino Plugin 
                            Disconnected from Board No:1 at ip address 192.168.0.91 Port No:8888 
                            
                            aug-10 18:14:18 
                            Arduino Plugin 
                            Error = Board: 1 Connection FAILED. 
                            
                            aug-10 18:14:02 
                            Arduino Plugin 
                            Warning = Board: 1 has a connection ERROR. Retrying. 
                            
                            aug-10 18:13:52 
                            Arduino Plugin 
                            Warning = Board: 1 has a connection ERROR. Retrying. 
                            
                            aug-10 18:12:47 
                            Arduino Plugin 
                            New Com port Found 
                            
                            aug-10 18:12:46 
                            Arduino Plugin 
                            Updating Values on Board No: 1 
                            
                            aug-10 18:12:45 
                            Arduino Plugin 
                            Updating pins on Board No: 1 
                            
                            aug-10 18:12:45 
                            Arduino Plugin 
                            Connected to Board No:1 at ip address 192.168.0.91 Port No:8888 
                            
                            aug-10 18:12:44 
                            Plug-In 
                            Finished initializing plug-in Arduino Plugin 
                            
                            aug-10 18:12:44 
                            Arduino Plugin 
                            Plug-in initialized. 
                            
                            aug-10 18:12:44 
                            Arduino Plugin 
                            Connecting Board No:1 at ip address 192.168.0.91 Port No:8888 
                            
                            aug-10 18:12:44 
                            Arduino Plugin 
                            Auto Connecting Board No:1 
                            
                            aug-10 18:12:43 
                            Arduino Plugin 
                            Checking boards config 
                            
                            aug-10 18:12:41 
                            Info 
                            Plugin Arduino Plugin has connected. IP:127.0.0.1:65522
                            This is with the 1.6.5 environment, the correct libraries installed and a new .ino file deployed.

                            I'm stuck.
                            Moskus,
                            Sorry you are having problems but I have it running here and many other do to so we will need to hunt down your problem. You say you are using the 1.6.5 environment but as per the config page you should be on 1.6.8. Please change this and see if you get anywhere. If not then please email me a full debug log so I can have a look and pin down your problem.

                            Greig.
                            Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
                            X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
                            Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
                            Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
                            Scripts =
                            Various

                            Comment


                            • #29
                              After some more testing 118 version is working fine with Mega not UNO.
                              I suspect a memory problem.

                              Removing onewire and LCD from sketch seem to get the UNO working.

                              Comment


                              • #30
                                Originally posted by enigmatheatre View Post
                                Moskus,
                                Sorry you are having problems but I have it running here and many other do to so we will need to hunt down your problem. You say you are using the 1.6.5 environment but as per the config page you should be on 1.6.8. Please change this and see if you get anywhere. If not then please email me a full debug log so I can have a look and pin down your problem.

                                Greig.
                                I'm sorry, I meant 1.6.8. I'll grab a debug log.


                                Originally posted by jonas.hellgren View Post
                                After some more testing 118 version is working fine with Mega not UNO.
                                I suspect a memory problem.

                                Removing onewire and LCD from sketch seem to get the UNO working.
                                Hmm! You might be on to something! The Arduino environment is complaining about "low memory" after a deployment...
                                HSPro 3.0.0.458, Z-NET with Z-wave plugin 3.0.1.190, RFXCOM + 2x RFXtrx433E, HSTouch, Squeezebox plugin, iTach IP/WF2IR & GC-100-6 with UltraGCIR, BLDenon, NetcamStudio, Jon00s Webpage builder, Harmony Hub plugin, SCSIP (with FreePBX), Arduino plugin, IFTTT, Pushalot plugin, Device History plugin.
                                Running on Windows 10 (64) virtualized
                                on ESXi (Fujitsu Primergy TX150 S8).
                                WinSeer (for Win10) - TextSeer - FitbitSeer - HSPI_MoskusSample

                                Are you Norwegian (or Scandinavian) and getting started with HomeSeer? Read the "HomeSeer School"!

                                Comment

                                Working...
                                X