On the other hand, once we DID get Eclipse working, yesterday we played with the MQTT software and to be honest I think this has the most potential of the lot as essentially any ESP-01 can talk to any other ESP-01 via the MQTT broker. The only problem with that is understanding the pesky IBM broker who's instructions are attrocious - having gotten the basic version working yesterday we could in no way get the plain text password version to work - I think tha'ts more the MOSQUITTO setup than the ESP-01s.
But as a demonstration of how useful the Eclipse setup is - I borrowed the port setting instructions from one setup, brouhgt them into the MQTT package and trapped messages "GPIO2 ON" and "GPIO2 OFF" and successfully had the MQTT turning a light on and off - also although the author had not actually used SENDING a message, I ran that and on receipt of a message had one ESP-01 send a message to another instantly and reliably... that is a MAJOR step forward. I'll detail this once we get to grips with passwords in MQTT as I would not dare use this without them.
To make MQTT work however we need a decent client for Android phones for testing as the only one that is out there "My MQTT" is awful, it does't reconnect to a server if it loses the signal, it can only talk to one server and can't store the details of another etc. I found a library for 10 euros for B4A (Basic for Android) which we're considering getting to make our own Android MQTT client with some presets etc, essential for testing. I just hope there are no last minute surprises with the MQTT code.. of and if anyone knows of an MQTT public server that is cheap/free and doesn't put silly limits or zero security, I'd love to hear from them - I fancy sending simple codes around ESP-01 boards with extras like a globally-subscribed TIME message etc. I could see these boards with i2c and MQTT attaching to a range of devices if only this works securely and reliably.
Did I trigger anyone off
alonewolfx2 wrote:I still think CHERTS's Eclipse esp IDE better than cygwin for Windows and it can compile even nodemcu.