POC to inject javascript into the IDF over MQTT
You need to have the IDF installed. You can view the free section of my course to get up and running https://learnesp32.com
-
clone this repo:
git clone https://github.com/Mair/idf-duktape.git
-
ensure you have node red installed https://nodered.org/docs/getting-started/
-
add an inject node as follows
- set up a mqtt out node as follows
-
connect the 2 nodes
-
add js / compiled typescript to the inject node payload and send it