/idf-duktape

POC to inject JavaScript into the IDF using MQTT

Primary LanguageC

ESP32 Duktape POC

sample Gif

Quick overview

POC to inject javascript into the IDF over MQTT

prerequisites

You need to have the IDF installed. You can view the free section of my course to get up and running https://learnesp32.com

  1. clone this repo: git clone https://github.com/Mair/idf-duktape.git

  2. ensure you have node red installed https://nodered.org/docs/getting-started/

  3. add an inject node as follows

inject

  1. set up a mqtt out node as follows

inject

  1. connect the 2 nodes

  2. add js / compiled typescript to the inject node payload and send it