Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
A clear and concise description of what the problem is.
I want to use my tasmota smart plug to turn ON/OFF my DIY air filter when my Luftdaten sensor is above a certain threshold).
The smart plug should connect to my json local url (like http://192.168.1.39:888/data.json) and based on the data in this json the plug should switch on and off.
Following the docs/Scripting-Language, in user_config_override.h, I enabled reading HTTPS JSON WEB Pages with #define SCRIPT_GET_HTTPS_JP but don't find any ressource on how I can use gjp("host" "path") to get the data on the json. The only mention is :
gjp("host" "path") = trigger HTTPS JSON page read as used by Tesla Powerwall (if defined SCRIPT_GET_HTTPS_JP)
A lot of others features are well documented but not this one.
Among other, the missing information are:
How to define the variable to retrieve the data from gjp()?
How to extract the value from the json
An example of the full script from send request/retrieve the request is really needed on the documentation
PROBLEM DESCRIPTION
A clear and concise description of what the problem is. I want to use my tasmota smart plug to turn ON/OFF my DIY air filter when my Luftdaten sensor is above a certain threshold). The smart plug should connect to my json local url (like http://192.168.1.39:888/data.json) and based on the data in this json the plug should switch on and off. Following the docs/Scripting-Language, in user_config_override.h, I enabled reading HTTPS JSON WEB Pages with
#define SCRIPT_GET_HTTPS_JP
but don't find any ressource on how I can use gjp("host" "path") to get the data on the json. The only mention is :gjp("host" "path") = trigger HTTPS JSON page read as used by Tesla Powerwall (if defined SCRIPT_GET_HTTPS_JP)
A lot of others features are well documented but not this one.
Among other, the missing information are:
An example of the full script from send request/retrieve the request is really needed on the documentation
(After these step I will have to send the command "http://192.168.1.54/cm?cmnd=Power%20On" or "http://192.168.1.54/cm?cmnd=Power%20Off" based on the extracted json value and then recheck the json every 140secs ?
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Not needed
Backlog Template; Module; GPIO 255
:Status 0
:TO REPRODUCE
Steps to reproduce the behavior:
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)