From 29d9def05121ce0c24b9b3f48fbd4e90e3d7ed2b Mon Sep 17 00:00:00 2001 From: Camilo Date: Sun, 13 Jun 2021 19:42:29 +0200 Subject: [PATCH] =?UTF-8?q?=C2=A8IoT=20examples?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/examples/IFTTT.xml | 70 +++ www/examples/MQTT.xml | 147 +++++ www/examples/NTP.xml | 156 +++++ www/examples/examples.json | 4 + www/examples/oledmouth.xml | 630 ++++++++++++++++++++ www/toolbox/toolbox_arduino_all-esp8266.xml | 255 ++++---- 6 files changed, 1107 insertions(+), 155 deletions(-) create mode 100644 www/examples/IFTTT.xml create mode 100644 www/examples/MQTT.xml create mode 100644 www/examples/NTP.xml create mode 100644 www/examples/oledmouth.xml diff --git a/www/examples/IFTTT.xml b/www/examples/IFTTT.xml new file mode 100644 index 000000000..71e38b1b1 --- /dev/null +++ b/www/examples/IFTTT.xml @@ -0,0 +1,70 @@ + + toolbox_arduino_all-esp8266 + + + + TRUE + tu wifi + password de wifi + + + El api key de webhook de tus applets + + + + + + + + + Nombre Evento + + + + + + + + Este es el valor numerico + + + + + 100.12 + + + + + + + valor texto + + + + + Otro texto + + + + + + + 6 + + + + + s + + + 10 + + + + + + + + + + \ No newline at end of file diff --git a/www/examples/MQTT.xml b/www/examples/MQTT.xml new file mode 100644 index 000000000..9f889cd34 --- /dev/null +++ b/www/examples/MQTT.xml @@ -0,0 +1,147 @@ + + toolbox_arduino_all-esp8266 + + + + contador + LARGE_NUMBER + + + 0 + + + + + ReleText + TEXT + + + OFF + + + + + AnguloServo + UNUMBER + + + 0 + + + + + FALSE + tu red wifi + tu password wifi + io.adafruit.com + 1883 + usuario en adafruit + Tu api de conexion + OTTO_ + + + oscarlogix5/feeds/pote + + + AnguloServo + + + + + oscarlogix5/feeds/rele + + + ReleText + + + + + + + + + + + + + + + + + + + s + + + 5 + + + + + oscarlogix5/feeds/temperaturaoscar + + + contador + + + + + contador + + + ADD + + + contador + + + + + 1 + + + + + + + + + + + + + + EQ + + + ReleText + + + + + 10 + + + ON + + + + + + + LOW + + + + + HIGH + + + + + + + + + + \ No newline at end of file diff --git a/www/examples/NTP.xml b/www/examples/NTP.xml new file mode 100644 index 000000000..eb884958b --- /dev/null +++ b/www/examples/NTP.xml @@ -0,0 +1,156 @@ + + toolbox_arduino_all-esp8266 + + + + 115200 + + + FALSE + xxxxxxxxx + xxxxxxxxxxxxx + + + 2 + + + + + + + + + + + + + text + + + 0 + + + + + + + text + + + 1 + + + + + + + text + + + 2 + + + + + + + text + + + 3 + + + + + + + text + + + 4 + + + + + + + text + + + 5 + + + + + + + text + + + 6 + + + + + + + text + + + 0 + + + + + + + text + + + 1 + + + + + + + text + + + 2 + + + + + s + + + 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/www/examples/examples.json b/www/examples/examples.json index 26aeff09a..1cd74f668 100644 --- a/www/examples/examples.json +++ b/www/examples/examples.json @@ -31,11 +31,15 @@ {"source_url": "oled.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ–ฅ๏ธ OLED Display | +screen","visible": true}, {"source_url": "oledframe.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ–ฅ๏ธ OLED Frame | +screen","visible": true}, {"source_url": "oledicon.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ–ฅ๏ธ OLED Icon | +screen","visible": true}, + {"source_url": "oledmouth.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ–ฅ๏ธ OLED Mouth | +screen","visible": true}, {"source_url": "oledlogo.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ–ฅ๏ธ OLED Logo | +screen","visible": true}, {"source_url": "oledgyro.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ–ฅ๏ธ OLED Gyro | +screen","visible": true}, {"source_url": "servocalibration.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ–ฅ๏ธ OLED Servo | +screen","visible": true}, {"source_url": "oledlaser.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ–ฅ๏ธ OLED Laser | +screen","visible": true}, {"source_url": "TFTicon.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ“บ TFT Icon |+screen","visible": true }, {"source_url": "TFTAnimation.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ“บ TFT Animation |+screen","visible": true }, + {"source_url": "IFTTT.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | โ˜๏ธ IoT IFTTT | Otto IoT","visible": true }, + {"source_url": "MQTT.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | โ˜๏ธ IoT MQTT | Otto IoT","visible": true }, + {"source_url": "NTP.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | โ˜๏ธ IoT NTP | Otto IoT","visible": true }, {"source_url": "MUvision.xml","source_text": "๐Ÿ‘จโ€๐Ÿš€Level 3 | ๐Ÿ‘๏ธ AI Camera | +MU vision camera","visible": true} ] \ No newline at end of file diff --git a/www/examples/oledmouth.xml b/www/examples/oledmouth.xml new file mode 100644 index 000000000..75e0fae12 --- /dev/null +++ b/www/examples/oledmouth.xml @@ -0,0 +1,630 @@ + + toolbox_arduino_all + + + + 64 + 0x3C + + + x + CHARACTER + + + 64 + + + + + + + + + x + + + A0 + 0 + + + + + TRUE + TRUE + + + 64 + + + x + + + + + 32 + + + + + 10 + + + + + s + + + 1 + + + + + + + + + + s + + + 1 + + + + + + + + + + s + + + 1 + + + + + + + + + + s + + + 1 + + + + + + + + + + s + + + 1 + + + + + + + + + + s + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + oh + + + TRUE + TRUE + + + 64 + + + x + + + + + 32 + + + + + 32 + + + + + TRUE + FALSE + + + 64 + + + x + + + + + 32 + + + + + 22 + + + + + + + + + + + + oh2 + + + TRUE + TRUE + + + 64 + + + x + + + + + 32 + + + + + 22 + + + + + TRUE + FALSE + + + 64 + + + x + + + + + 32 + + + + + 12 + + + + + + + + + + + + happy + + + TRUE + TRUE + + + 64 + + + x + + + + + 32 + + + + + 32 + + + + + TRUE + FALSE + + + 64 + + + x + + + + + 32 + + + + + 22 + + + + + TRUE + FALSE + + + 0 + + + + + 0 + + + + + 128 + + + + + 32 + + + + + TRUE + TRUE + + + 32 + + + MINUS + + + x + + + + + 32 + + + + + + + 22 + + + + + 66 + + + + + 10 + + + + + + + + + + + + + + + + sad + + + TRUE + TRUE + + + 64 + + + x + + + + + 32 + + + + + 32 + + + + + TRUE + FALSE + + + 64 + + + x + + + + + 32 + + + + + 22 + + + + + TRUE + FALSE + + + 0 + + + + + 32 + + + + + 128 + + + + + 32 + + + + + TRUE + TRUE + + + 32 + + + MINUS + + + x + + + + + 32 + + + + + + + 32 + + + + + 66 + + + + + 10 + + + + + + + + + + + + + + + + happy2 + + + TRUE + TRUE + + + 64 + + + x + + + + + 32 + + + + + 32 + + + + + TRUE + FALSE + + + 64 + + + x + + + + + 32 + + + + + 22 + + + + + TRUE + FALSE + + + 0 + + + + + 0 + + + + + 128 + + + + + 32 + + + + + TRUE + TRUE + + + 22 + + + MINUS + + + x + + + + + 42 + + + + + + + 22 + + + + + 84 + + + + + 10 + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/www/toolbox/toolbox_arduino_all-esp8266.xml b/www/toolbox/toolbox_arduino_all-esp8266.xml index 6b7aa11c1..0c492363b 100644 --- a/www/toolbox/toolbox_arduino_all-esp8266.xml +++ b/www/toolbox/toolbox_arduino_all-esp8266.xml @@ -25,6 +25,8 @@ + + @@ -41,56 +43,46 @@ 1 - - - - + + + + 3 + + + + 0 + 0 + + + 4 + 4 + 2 + + + 0 + 0 + 0 + 8 + + + 0 + 0 + 8 + 8 + + - + 1 @@ -329,24 +321,28 @@ - + + 90 - 2 + 2 0 - + 1500 - 2 + 2 - 2 + 2 - - 2 + + 2 - - 2 + + 2 + + + 2 90 @@ -354,106 +350,53 @@ 45 - 2 + 2 - 2 + 2 - + + 2 + 3 + - - - - - - - - - + + 11 + 5 + A0 + A1 + A2 + A3 + + + 255 + + + 0 + + + + + 4096 + 2 + 3 + 4 + 5 + + 20 + 4096 + + + - 10 + 10 - 10 + 10 1 @@ -628,7 +571,12 @@ - + + + + + + 0 0 128 @@ -637,18 +585,23 @@ 0 0 - 1 + 1 Hello Otto 0 0 - 1 + 1 3 0 0 + + + 32 + 32 + 30 0 @@ -669,11 +622,6 @@ 30 10 - - 32 - 32 - 30 - 30 15 @@ -682,9 +630,6 @@ 60 60 - - -