-->
Page 25 of 32

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

PostPosted: Wed Jul 27, 2016 7:08 am
by daxkamala
using PAHO engine I got a 'Broker disconnected AMQJS0007E Socket error:undefined.'

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

PostPosted: Fri Aug 19, 2016 4:30 am
by rynostrauss
Hi,

Could someone help me with the syntax to create a title for the button I'm trying to create: (I'm having trouble with the second to last line widgetConfig)

JsonObject& root1 = jsonBuffer.createObject();
sTopic[1] = prefix + "/" + deviceID + "/button_off";
root1["id"] = 1;
root1["page"] = "OUTDOOR"; ////THIS IS THE TAB TOPIC
root1["widget"] = "simple-btn";
root1["class1"] = "item no-border"; // class for 1st div
root1["style1"] = ""; // style for 1st div
root1["descr"] = ""; // text for description
root1["class2"] = ""; // class for description from Widgets Guide - Color classes
root1["style2"] = "font-size:20px;float:left;padding-top:10px;font-weight:bold;"; // style for description
root1["topic"] = sTopic[1];
root1["class3"] = "button button-full button-assertive"; // class for button
root1["style3"] = ""; // style for button
root1["widgetConfig"] = "title:small";
root1.printTo(thing_config[1]);

Thanks

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

PostPosted: Tue Aug 23, 2016 12:53 pm
by 4refr0nt
rynostrauss wrote:root1["widgetConfig"] = "title:small";

You can use this:
Code: Select allroot1["widgetConfig"] = "{\"title\":\"small\"}";

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

PostPosted: Sun Aug 28, 2016 1:05 pm
by 4refr0nt
mariuszb wrote:Cosmetic note :)
The most popular 'toggle'
Eg. maybe it could be this way? :)


Hi!
You can test now new BETA version IoT Manager https://play.google.com/apps/testing/ru ... iotmanager

Fully redesign toggle widget and new powerfull widget "steel"
Image
Image
Image