Is there a list with the http commands and syntax that esp easy accepts?
for example: http://<ESP IP address>/control?cmd=pulse,<gpio>,<state>,<duration>
http command
Moderators: grovkillen, Stuntteam, TD-er
Re: http command
nmcsantos wrote:Is there a list with the http commands and syntax that esp easy accepts?
for example: http://<ESP IP address>/control?cmd=pulse,<gpio>,<state>,<duration>
http://www.esp8266.nu/index.php/Main_Page
Click on the name of a device and you are directed to the page for that special device where, if applicable, the http commands are listed and explained.
No use for a shortlist of all the different http commands in ESPEasy because different device's can have different special commands.
Re: http command
Thank you for your repply.costo wrote:nmcsantos wrote:Is there a list with the http commands and syntax that esp easy accepts?
for example: http://<ESP IP address>/control?cmd=pulse,<gpio>,<state>,<duration>
http://www.esp8266.nu/index.php/Main_Page
Click on the name of a device and you are directed to the page for that special device where, if applicable, the http commands are listed and explained.
No use for a shortlist of all the different http commands in ESPEasy because different device's can have different special commands.
I had alredy read this topic, and i as searching specially http commands that can control outputs. I did find the pulse command i na topic. There are others?
Re: http command
im am no developer, think the question must be answered by the devs.
the wiki is a little short on this,
as far as i understand the source-code,
each possible-commands come individually from each plugin.
for example, in the switch-plugin i see something like
https://github.com/ESP8266nu/ESPEasy/bl ... Switch.ino
so there is a PWM command... and so forth..
some example in the wiki here:
http://www.esp8266.nu/index.php/GPIO
if there is no easy dokumentation on the wiki, one has to search each plugin-source to collect possible commands.
may the devs correct me ...

the wiki is a little short on this,
as far as i understand the source-code,
Code: Select all
if (Plugin_ptr[x](Function, event, str))
return true;
for example, in the switch-plugin i see something like
Code: Select all
if (tmpString.equalsIgnoreCase("PWM"))
so there is a PWM command... and so forth..
some example in the wiki here:
http://www.esp8266.nu/index.php/GPIO
if there is no easy dokumentation on the wiki, one has to search each plugin-source to collect possible commands.
may the devs correct me ...

Re: http command
Thank you for iluminating me.tozett wrote:im am no developer, think the question must be answered by the devs.
the wiki is a little short on this,
as far as i understand the source-code,
each possible-commands come individually from each plugin.Code: Select all
if (Plugin_ptr[x](Function, event, str)) return true;
for example, in the switch-plugin i see something like
https://github.com/ESP8266nu/ESPEasy/bl ... Switch.inoCode: Select all
if (tmpString.equalsIgnoreCase("PWM"))
so there is a PWM command... and so forth..
some example in the wiki here:
http://www.esp8266.nu/index.php/GPIO
if there is no easy dokumentation on the wiki, one has to search each plugin-source to collect possible commands.
may the devs correct me ...

I just started investigating arduino and stuffs 1 month ago. For that, it is a little dificult to read the pluggin files.
Re: http command
found this, where it says that control via MQTT is somehow limited..
http://www.esp8266.nu/forum/viewtopic.p ... 3601#p3601

http://www.esp8266.nu/forum/viewtopic.p ... 3601#p3601

Who is online
Users browsing this forum: No registered users and 17 guests