I've created the response sending the JSON array but I'm struggling with the jQuery/html bit.
I've created the response sending the JSON array but I'm struggling with the jQuery/html bit.
Explore... Chat... Share...
#include <user_config.h>
#include <SmingCore/SmingCore.h>
#define INT_PIN 0 // GPIO0
void interruptHandler()
{
Serial.println("Pin changed");
}
void init()
{
Serial.begin(SERIAL_BAUD_RATE); // 115200 or 9600 by default
attachInterrupt( INT_PIN, interruptHandler, CHANGE);
}
But how is the best way to import the new sming with mqtt into Eclipse workspace that already has the existing Sming?
Is anyone able to help with an example of AJAX/JSON creating a dynamic table from an array in the webserver?
Will this simple code work for you? ( Paste into Basic_Serial e.g.)
Is anyone able to help with an example of AJAX/JSON creating a dynamic table from an array in the webserver?
If you problem in Sming code I'm ready to answer. If it's a jQuery related, you can find many jQuery manuals and examples on stackoverflow and specialized sites. It's absolutely equal in Sming environment.
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]