Hello, I'm trying to connect to Bittle using the included WiFi adapter but I'm facing some difficulties.
First, of all, I have no previous knowledge about connecting to these kind of devices; I'm making assumptions about how it works.
From what I've seen, the WiFi adapter uses a ESP-WROOM-02D module, that is based on ESP8266.
It seems to be working as a Soft Access Point, so, in order to control Bittle:
· I have to connect to the WiFi Network that appears as ESP-XXXXXX when I turn on Bittle.
· To control Bittle, I have to send the commands to the ESP8266 module, which will comunicate through serial connection with Bittle (am I right?).
Once I connect to "Bittle's network", it starts making some noises periodically. At this point is where I don't know how to proceed.
I have checked that I have connection to Bittle's ip (ok).
I have tried to access to Bittle's ip from a web browser, but it shows ERR_CONNECTION_REFUSED.
FYI: When I try to use the IR remote controller, Bittle beeps several times quickly but doesn't react.
What should I do next in order to send commands (e.g. 'kbalance') and receive Bittle's response? (I'm planning to send the commands using python, but any kind of guidance will be appreciated).
Router FIX!
I had mentioned that for my ASUS router I had to set WIFI mode to legacy in order fo the ESP8266 to connect. The problem was that I like to use the router's "Smart Connect" feature which just shows 1 SSID for both 2.4 and 5Ghz and the router figures out which to connect the device to. Unfortunately, when this is enabled it changes the WIFI mode to auto and there is not an option to change it.
The answer, I found if you downgrade the ESP8266 Community in Boards Manager to 2.5.1 it connects with no problem regardless of the router setting. I guess it's not just the IRremote that needs an older version.
I also noticed that when the WiFi model successfully connects to my router the red light on the board comes on. If the red light does not come on I know the connection has failed and the module reverted back to the defaults the there will be the Bittle-AP showing up in my available wireless network list.
And yes, I am now able to get to the action page with not problems. But I might want to edit that up a little. :)