[DEPRECATED] ST_Anything - Arduino/ESP8266/ESP32

So, I’m still struggling that the arduino system seems to be resetting the Ethernet between each device initialization and the hub never sees any messages to it.

18:07:45.150 -> Enter the following three lines of data into ST App on your phone!
18:07:45.150 -> localIP = 192.168.1.172
18:07:45.150 -> serverPort = 8090
18:07:45.150 -> MAC Address = 06AABBCCDE01
18:07:45.183 -> 
18:07:45.183 -> hubIP = 192.168.1.29
18:07:45.183 -> hubPort = 39500
18:07:45.183 -> 
18:07:45.183 -> SmartThingsEthernet: Intialized
18:07:45.183 -> 
18:07:45.183 -> Everything: Sending: contact2 open
18:07:46.682 -> 
18:07:46.682 -> Enter the following three lines of data into ST App on your phone!
18:07:46.682 -> localIP = 192.168.1.172
18:07:46.682 -> serverPort = 8090
18:07:46.682 -> MAC Address = 06AABBCCDE01
18:07:46.682 -> 
18:07:46.682 -> hubIP = 192.168.1.29
18:07:46.682 -> hubPort = 39500
18:07:46.682 -> 
18:07:46.682 -> SmartThingsEthernet: Intialized
18:07:46.682 -> 
18:07:46.682 -> Everything: Sending: contact3 open
18:07:48.188 -> 
18:07:48.188 -> Enter the following three lines of data into ST App on your phone!
18:07:48.188 -> localIP = 192.168.1.172
18:07:48.188 -> serverPort = 8090
18:07:48.188 -> MAC Address = 06AABBCCDE01
18:07:48.188 -> 
18:07:48.188 -> hubIP = 192.168.1.29
18:07:48.188 -> hubPort = 39500
18:07:48.188 -> 
18:07:48.188 -> SmartThingsEthernet: Intialized
18:07:48.221 -> 
18:07:48.221 -> Everything: Sending: contact4 open
18:07:49.717 -> 
18:07:49.717 -> Enter the following three lines of data into ST App on your phone!
18:07:49.717 -> localIP = 192.168.1.172
18:07:49.717 -> serverPort = 8090
18:07:49.717 -> MAC Address = 06AABBCCDE01
18:07:49.717 -> 
18:07:49.717 -> hubIP = 192.168.1.29
18:07:49.717 -> hubPort = 39500
18:07:49.717 -> 
18:07:49.717 -> SmartThingsEthernet: Intialized
18:07:49.717 -> 
18:07:49.717 -> Everything: Sending: contact5 open
18:07:51.216 -> 
18:07:51.216 -> Enter the following three lines of data into ST App on your phone!
18:07:51.216 -> localIP = 192.168.1.172
18:07:51.216 -> serverPort = 8090
18:07:51.216 -> MAC Address = 06AABBCCDE01
18:07:51.216 -> 
18:07:51.249 -> hubIP = 192.168.1.29
18:07:51.249 -> hubPort = 39500
18:07:51.249 -> 
18:07:51.249 -> SmartThingsEthernet: Intialized
18:07:51.249 -> 
18:07:51.249 -> Everything: Sending: contact6 open
18:07:52.741 -> 
18:07:52.741 -> Enter the following three lines of data into ST App on your phone!
18:07:52.741 -> localIP = 192.168.1.172
18:07:52.741 -> serverPort = 8090
18:07:52.741 -> MAC Address = 06AABBCCDE01
18:07:52.741 -> 
18:07:52.741 -> hubIP = 192.168.1.29
18:07:52.741 -> hubPort = 39500
18:07:52.741 -> 
18:07:52.741 -> SmartThingsEthernet: Intialized
18:07:52.741 -> 
18:07:52.741 -> Everything: Sending: contact7 open
18:07:54.238 -> 
18:07:54.238 -> Enter the following three lines of data into ST App on your phone!
18:07:54.271 -> localIP = 192.168.1.172
18:07:54.271 -> serverPort = 8090
18:07:54.271 -> MAC Address = 06AABBCCDE01
18:07:54.271 -> 
18:07:54.271 -> hubIP = 192.168.1.29
18:07:54.271 -> hubPort = 39500
18:07:54.271 -> 
18:07:54.271 -> SmartThingsEthernet: Intialized
18:07:54.271 -> 
18:07:54.271 -> Everything: Sending: contact8 open
18:07:55.775 -> 
18:07:55.775 -> Enter the following three lines of data into ST App on your phone!
18:07:55.775 -> localIP = 192.168.1.172
18:07:55.775 -> serverPort = 8090
18:07:55.775 -> MAC Address = 06AABBCCDE01
18:07:55.775 -> 
18:07:55.775 -> hubIP = 192.168.1.29
18:07:55.775 -> hubPort = 39500
18:07:55.775 -> 
18:07:55.775 -> SmartThingsEthernet: Intialized
18:07:55.775 -> 
18:07:55.775 -> Everything: Sending: contact9 open
18:07:57.270 -> 
18:07:57.270 -> Enter the following three lines of data into ST App on your phone!
18:07:57.303 -> localIP = 192.168.1.172
18:07:57.303 -> serverPort = 8090
18:07:57.303 -> MAC Address = 06AABBCCDE01
18:07:57.303 -> 
18:07:57.303 -> hubIP = 192.168.1.29
18:07:57.303 -> hubPort = 39500
18:07:57.303 -> 
18:07:57.303 -> SmartThingsEthernet: Intialized
18:07:57.303 -> 
18:07:57.303 -> Everything: Sending: contact10 open
18:07:58.807 -> 
18:07:58.807 -> Enter the following three lines of data into ST App on your phone!
18:07:58.807 -> localIP = 192.168.1.172
18:07:58.807 -> serverPort = 8090
18:07:58.807 -> MAC Address = 06AABBCCDE01
18:07:58.807 -> 
18:07:58.807 -> hubIP = 192.168.1.29
18:07:58.807 -> hubPort = 39500
18:07:58.807 -> 
18:07:58.807 -> SmartThingsEthernet: Intialized
18:07:58.807 -> 
18:08:42.554 -> Everything: Free Ram = 6403
18:09:42.613 -> Everything: Free Ram = 6403
18:09:42.613 -> Everything: Free Ram = 6403
  • I’ve changed arduinos… even trying unos and megas.
  • I’ve changed cables
  • I’ve changed ethernet cards
  • I’ve changed routers
  • I changed mac addresses (lots of voodoo out in googlesphere on this)
  • I even changed my hairstyle.

So I thought I might have a problem with the build environment. So I set up an Arduino IDE on a different machine, and so far I still have the same problem.

As I was setting this up, I noticed something and I’m not sure what is customary:

There is an Arduino folder under

C:\Program Files (x86)\Arduino

With all of the customary sub folders:
.\drivers
.\examples
.\libraries
.\hardware

and so on

And there is ALSO an Arduino folder under

C:\Users\paull\Documents\Arduino

It has all of my sketches and it also has a similarly configured .\libraries folder.

Before I try to put all of the the stuff in one place or another, I thought I’d check: Is there a customary way to structure the directories for Arduino and st_Anything?

  • List item