Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Ethernet Shield 2

Ethernet Shield 2

Scheduled Pinned Locked Moved Controllers
11 Posts 2 Posters 4.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bergerie
    wrote on last edited by
    #1

    I'm running an Arduino UNO with Ethernet shield 2 using Wiznet W5500. I'm trying to setup a connection with my Vera Lite. It would suggest that the Vera plugin installed correctly with Plugin Version 1.4 but No indication of Lib version yet. I presume that this field will only be filled in once a successfull connection has been established with the ethernet gateway. The plugin currently shows: "Cannot send command-communication error"

    For the ethernet gateway, I used the mysensors http://www.mysensors.org/build/ethernet_gateway example. In edit mode I changed the IP address and MAC leaving port 5003. (matched with Vera plugin Advanced tab). If I use "Run on Arduino", I get "There was an error compiling". If I cut and paste EthernetGateway.ino into the IDE (1.7.6), it compiles without any error. However, despite the "apparent" successfull compilation, the VERA plugin continues to display "Cannot send command-communication error". I have also tried to change #include <Ethernet.h> to #include <Ethernet2.h>, though still no connection.
    Is the sketch compatible with the Arduino shield 2 with just hardwired Dallas Temperature sensors? If so, any suggestions where to look for remedying the current lack of comm with VERA?
    Appreciate any feedback.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      akbooer
      wrote on last edited by
      #2

      Have you tried restarting Vera once the gateway is up and running, and then doing an include?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bergerie
        wrote on last edited by
        #3

        @akboer Thanks for attending to my issue which is highly appreciated. Yes indeed, I compiled with ether.h, reboot vera. Likewise, I changed to ethernet2.h and reboot the Vera too. In both cases. the end result on the VERA lite Plugin is "Cannot send command-communication error".
        Am I correct in using this sketch in a ethernet shield 2 with hardwired dallas temp devices? I have no wireless ethernet links installed.
        Any further guidance would be appreciated.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          akbooer
          wrote on last edited by akbooer
          #4

          I have a Uno and the same shield as you, although I connect to a Vera Edge. I'm using the V1.5 library on the Uno and a Nano for a sensor node.

          Aside from the changing parameter for soft SPI, I compiled for both gateway and node with no trouble. On Vera I used the plugin from the UI7 branch of GitHub (are you using UI7 ?)

          This is a very common setup, so should work OK... you HAVE configured your gateway IP address in the Vera plugin attributes?

          B 1 Reply Last reply
          0
          • A akbooer

            I have a Uno and the same shield as you, although I connect to a Vera Edge. I'm using the V1.5 library on the Uno and a Nano for a sensor node.

            Aside from the changing parameter for soft SPI, I compiled for both gateway and node with no trouble. On Vera I used the plugin from the UI7 branch of GitHub (are you using UI7 ?)

            This is a very common setup, so should work OK... you HAVE configured your gateway IP address in the Vera plugin attributes?

            B Offline
            B Offline
            Bergerie
            wrote on last edited by
            #5

            @akbooer What refers to the V1.5 library? Do you mean the EthernetGateway library? I'm using the Arduino-development.zip from GitHub. What should I do with soft SPI since I'm not using a radio. If this need to be changed, does this involve editing Myconfig.h? I'm still running UI5 on my Vera Lite. The VERA Lite Arduino Plugin indeed is holding the same IP address and port number as referred to in the EthernetGateway.ino.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              akbooer
              wrote on last edited by
              #6

              Yes, the Ethernet gateway library.

              If you're not using a radio, how are you connecting to any sensor nodes?

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Bergerie
                wrote on last edited by
                #7

                I have only hardwired dallas temp devices connected to pin 2.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  akbooer
                  wrote on last edited by
                  #8

                  I didn't think the gateway node supported attached sensors?

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    Bergerie
                    wrote on last edited by
                    #9

                    I can't imagine I'm the only one trying to interface an Arduino UNO with Ethernet Shield 2 (Wiznet W5500) and hardwired sensors on pin 2 with Vera Lite UI5. I'm still lost with VERA lite Plugin reporting "Cannot send command-communication error". Any guidance please!

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      akbooer
                      wrote on last edited by
                      #10

                      Does this thread shed any light on your issue?

                      http://forum.arduino.cc/index.php?topic=329990.0

                      B 1 Reply Last reply
                      0
                      • A akbooer

                        Does this thread shed any light on your issue?

                        http://forum.arduino.cc/index.php?topic=329990.0

                        B Offline
                        B Offline
                        Bergerie
                        wrote on last edited by
                        #11

                        @akbooer Thanks for yr quick support suggestion. However, none is applicable since the ethernet shield 2 is working fine. I even connect to the Vera using HTTP GET request to get data into the variable container plug in. The problem remains that I can't fine a proper sketch to interface the ethernet shield board with the Arduino VERA plug in. THis would have many advantages for me by virtue of having individual device nr's.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        11

                        Online

                        11.7k

                        Users

                        11.2k

                        Topics

                        113.1k

                        Posts


                        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • MySensors
                        • OpenHardware.io
                        • Categories
                        • Recent
                        • Tags
                        • Popular