The use of the ESP8266 in the world of IoT

User avatar
By 4refr0nt
#38746
mariuszb wrote:I can't can't logon to my local ubuntu/mosquitto. Any ideas ?
(I can connect with: SimpleMQTT Viever, MyMQTT from google Play, but not from IoT Manager)

U must enable WebSockets in mosquitto.conf (mosquitto must be compiled with WebSockets support)
For example:
Code: Select alllistener 9001
protocol websockets
listener 1883
protocol mqtt
require_certificate false


Then restart mosquitto and try connect from IoT Manager to 9001 port.
User avatar
By dicamarques
#38845 Since I didn't find any video on how to actually set up this app with the ESP8266, I decided to make a video.
I hope I havent made any mistake :lol:

https://www.youtube.com/watch?v=gZQ46suSD30

Also, is there any list of the available widgets? I would like to have a Button not a toggle
User avatar
By mariuszb
#38910 Thank you :), I came to this yesterday.
IoTmanager is a Nice work.
1 pc ESP connected - Sming framework based software
I noticed that they do not always appear elements... must be the distance between sending the description of the item(config) and its condition (status)?
(if intercede 100 ms, then almost always is ok)

I have a problem with connecting two pieces of ESP
Can you explain how it works? ( from Android example)
void pubConfig () {
   bool success;
   success = client.publish (MQTT :: Publish (prefix, deviceID) .set_qos (1));

It's like only allows one device at the same time? am I wrong ? (second override first one)