iot-playground / easyiot-cloud Goto Github PK
View Code? Open in Web Editor NEWEasyIoT Cloud source code examples and libraries. More at http://cloud.iot-playground.com/
EasyIoT Cloud source code examples and libraries. More at http://cloud.iot-playground.com/
Hi,
I tried out the library using the ESP8266 Fan Controller circuit and corresponding code. Here's the issue:
After connect() returns, the callback function defined by onConnected() is not invoked, yet isConnected() returns true. But when NewModule() is invoked, it hangs. The output on the serial console follows.
Do other people have similar issues? Is it a server-side issue or a library issue?
Thank you,
Nikos
20:52:10.643 ->
20:52:10.643 -> D0: 16
20:52:10.643 -> D1: 5
20:52:10.643 -> D2: 4
20:52:10.643 -> D3: 0
20:52:10.643 -> D4: 2
20:52:10.643 -> D5: 14
20:52:10.643 -> D6: 12
20:52:10.643 -> D7: 13
20:52:10.745 -> Connecting to AP..............
20:52:18.563 -> WiFi connected
20:52:18.563 -> IP address: 192.168.1.122
20:52:18.563 -> ModuleId: 0
20:52:18.563 -> Connecting to MQTT server
20:52:18.563 -> MQTT client id:24:a1:60:30:2c:44-98
20:52:18.563 -> connect mqtt...
20:52:19.077 -> create new module
I'm glad to use your design.
But I have problems remembering the relay positions.
The relay does not restore its position after a power failure.
Only relay with ID 0 is triggered.
Your code has not changed.
I created a branch of the EasyIoT-cloud that works with the WiFi NiNA package instead of the EPS8266. This branch can be found here. I didn't create a pull request since I wasn't able to get the package compatible with both of them at the same time. Unless somebody else knows how to make the package compatible with both WiFi packages at the same time, I think it is better to create a new master_wifinina
base to create the pull request on.
Multi-WiFi library support:
I think this could be done by putting the include statements of both of the libraries inside a namespace. However, after a quick search, I found out that this method is advised against (see for example this topic). I, therefore, looked at the techniques explained in this topic. I think however that it is better if somebody of the @iot-playground team decides whether integrating the WiFiNina support into the API is worth it or that it is better to keep it on a separate branch.
Hi,
I am trying to get current parameter value using MQTT by subscribing to /[Module]/[ParameterName] (for example /4/Sensor.Parameter1, but I receive 0 initially, and never receive any value when I change the value directly from Module=>Parameter configuration.
Surprisingly when I changed the Demo Light Switch value using ON/OFF user interface, I receive the value.
Note: I am using MQTT Client on windows (Paho) for test.
Hello, I have been trying to run the project on my Arduino Mega with a tft_320qvt connected to a shield but I keep getting a white screen, any help is appreciated if possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.