-->
Page 9 of 32

Re: IoT Manager: Android app for DIY devices (ESP8266 and ot

PostPosted: Thu Jan 14, 2016 3:24 am
by mariuszb
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)

Re: IoT Manager: Android app for DIY devices (ESP8266 and ot

PostPosted: Thu Jan 14, 2016 3:31 am
by 4refr0nt
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.

Re: IoT Manager: Android app for DIY devices (ESP8266 and ot

PostPosted: Fri Jan 15, 2016 8:06 am
by dicamarques
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

Re: IoT Manager: Android app for DIY devices (ESP8266 and ot

PostPosted: Fri Jan 15, 2016 7:03 pm
by mariuszb
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)