Closed arkayar closed 5 years ago
Sounds like you have one-way communications working... Try simply rebooting your ST hub (make sure you pull the power cord/batteries from it. Strange, but I have seen that fix things.
Double check the ST’s hub IP address is correct. Double check the MAC address of the ESP8266 is correct (verify via your router’s list of DHCP leases.) Make sue in the Web ide thatbthe Parent Device has the HUB field and location filled in.
Also, much easier to have this discussion in the ST Community Forum in my ST_Anything thread.
Oh, and in the Arduino IDE, please choose the “NodeMCU v1.0” as the board type to automatically assign all of the GPIO pins to the correct names (I.e. D1, D2, etc...)
Ahh, the old "Did you try turning it off and back on again". LOL. Welp, that fixed it! :D I also corrected the board type. Thank you so much. Apologies for posting in the wrong area. Now I know.
Glad that fixed it! Enjoy!
Hi, I feel like I am so close to getting my very first ST_Anything project working, but I'm stumped. I hope you can help. I am sure I am missing a minor final detail.
I am using a ESP8266 NodeMCU Board and a DS18B20 temperature sensor. It is the only attached device. (HiLetgo New Version ESP8266 NodeMCU LUA CP2102 ESP-12E Internet WiFi Development Board) & () In the Arduino IDE, I have (Board: "Generic ESP8266 Module") selected When I upload and run, i see the temp updating in the Arduino Serial Monitor and it's formatted like this:
The Arduino is connected to my wifi, It and my ST hub bot have static IP addresses. I have installed the Device Handlers and set up the device as Parent_ST_Anything_Ethernet I have set up the device in the SmartThings app with the correct IP, port 8090, and the correct MAC address. I don't understand "Number of Buttons" Since its just a temperature sensor, I set that to "0"
At this point I expect the child device handler to be automagically created, but I never see it. I have tried creating it manually, but that doesn't seem to work. I since deleted everything and tried again a few times, and the child temperature device is never created.
On the ST app, If I tap Refresh or Configure I see the logs update in the Arduino Serial Monitor and in the SmartThings Live Logging as follows:
Arduino, (I tap Refresh or Configure in the ST app):
SmartThings Live Logging, (I tap Refresh or Configure in the ST app):
Here is theArduino sketch i'm using
Does anything stick out to you. I really want to get this working and I'm just spinning my wheels at this point. Thanks.