I can connect to the initial Wifi AP that it sets up, and enter my own Wifi details. The ESP32 will then connect to my home wifi and I can see it on the network, however it is not seen by the Smart Garden application when scanned, and I cannot connect to port 80 on the extender.
Great you got that resolved. I'm going to have to go back and check the 1833 versus 1883 problem. 1883 is the default port. The reason it works in the Smart Garden System is that the Raspberry Pi overwrites the default on the first connect.
Post by backyardhops on Nov 30, 2020 11:21:02 GMT -8
Biggy-backing on this sting. I had the same error and over time it went away on its own. But the 192.168.XXX.XXX:8001 Configuration tool does not see the Extender. Is that related to this 1883 versus 1833?
Hi BP - this may be a moot point because I ordered another board. But I still want to learn.
I uninstalled everything and reinstalled. My goal was to have everything in the library folder.
1. Should the Library exist in here (only hardware shows): C:\Users\Administrator\[ARDUINO_SKETCHBOOK_DIR] 2. There is a separate: C:\Users\Administrator\Documents\Arduino. That does contain "libraries" and within it are
SDL_ESP32_WirelessSmartGardenExtender-master Time Time-master
3. There is a separate folder: C:\Users\Administrator\Documents\ArduinoData and within it are: dir: cache dir: logs dir: packages dir: staging and a few other files
4. My board is the Adafruit ESP32 Feather Upload speed: "921600" Flash Frequency: "80MHz" Partition Scheme: "Default" Core Debug Level: "Verbose" Port: "COM3"
5. In #include <timeLib.h> the word TimeLib is in organge.
Well, we have limited experience with Windows (we use the Arduino IDE on Mac and Linux), but the libraries should be under the Arduino/Libraries directory. I think the error you are having is the time library is not being found.
We do use a windows machine for production programming and that works fine.
Post by backyardhops on Dec 15, 2020 15:33:49 GMT -8
A couple of things for you.
1. I think the SmartGardenSystem2 on Github is faulty. My shenanigans above got it to work. I have this in the Arduino IDL and can share if you want. Or prove me wrong!!
2. Incidentally, the extender will not display its IP address on my network unless it sees my Raspberry on the network. I did not understand this until I used the Serial Monitor on the Arduino to see the read out from the extender. It kept looking for the Pi at 192.168.0.73 which was the address for my old Pi3. But my new Pi4 was on 220.127.116.11. So I removed the old Pi3 and forced a static IP of 192.168.0.73 for the new Pi4 so that is can connect with the extender. It worked.
3.I've learned a lot in this process. Including the need to stop banging my head against the wall and get a new card and install everything fresh.
4. Incidentally, Frenchie's installation instructions call for the SGS2 code to sit below the PixelStrip folder. I found this interesting because it eliminated the " 'ws' not defined" problem (maybe): /home/pi/SwitchDoc/SDL_Pi_8PixelStrip/SDL_Pi_SmartGardenSystem2