4refr0nt / iot-manager-demo

Demo sketches for IoT Manager https://play.google.com/store/apps/details?id=ru.esp8266.iotmanager
MIT License
66 stars 31 forks source link

ESP8266 examples will not compile #8

Closed SRFurst closed 4 years ago

SRFurst commented 7 years ago

The IDE examples for ESP8266 (IoTManager.ino and IoTManager2.ino) will no longer compile under Arduino IDE 1.8.1 and PubSub 2.6. It would appear that the syntax of the callback function has changed and this definition is no longer valid:

void callback(const MQTT::Publish& sub)

Can you update the examples, please?

4refr0nt commented 7 years ago

IoT Manager examples incompatible with standart PubSub (any version). You must use PubSub from Imroy v1.91.1 from https://github.com/Imroy/pubsubclient (you can intstall it manually, without LibManager) Its requrements publish in any examples in header section. Please, try compile with proper library.

SRFurst commented 7 years ago

Thank you, I did not know there were multiple forks of this library. Worked fine with the correct library!

On your widgets guide, you show 7 examples of Toggle widgets. Unfortunately, you only show the code for the first 6… It appears that the font size is increased on the 7th example and also that the icon has a color, whether the toggle is on or off. Can you share the code for that example, please?

Thank you. I will leave a review on the iOS app store for you.

Sheldon

From: Victor Brutskiy notifications@github.com Reply-To: 4refr0nt/iot-manager-demo reply@reply.github.com Date: Saturday, February 4, 2017 at 1:51 PM To: 4refr0nt/iot-manager-demo iot-manager-demo@noreply.github.com Cc: Sheldon Furst furst@ucsd.edu, Author author@noreply.github.com Subject: Re: [4refr0nt/iot-manager-demo] ESP8266 examples will not compile (#8)

IoT Manager examples incompatible with standart PubSub (any version). You must use PubSub from Imroy v1.91.1 from https://github.com/Imroy/pubsubclient (you can intstall it manually, without LibManager) Its requrements publish in any examples in header section. Please, try compile with proper library.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.