Hello
i have attached a dummy device in espeasy and now i am struggeling to specify the specific
http request.
could somehow please drop me some hints or the corresponding request for?
many thanks in advance
HTTP Request for dummy device
Moderators: grovkillen, Stuntteam, TD-er
HTTP Request for dummy device
- Attachments
-
- 4387CD7B-7658-4DA4-A0F2-06A0C35B1231.jpeg (169.22 KiB) Viewed 12462 times
Re: HTTP Request for dummy device
The screenshot does look like an old version.
Also can you please elaborate a bit on what you mean by the http request?
Either you want to send the data somewhere?
Or do you want to retrieve the data from some other computer?
Have you looked at the controllers? (sending data from a task) or the rules (very powerful scripting options to do just about anything with the device)
Controllers: https://espeasy.readthedocs.io/en/lates ... oller.html
Rules: https://espeasy.readthedocs.io/en/lates ... Rules.html
For the rules, I would suggest to have a look at the following commands:
sendToHttp
TaskRun
taskValueSet
Also can you please elaborate a bit on what you mean by the http request?
Either you want to send the data somewhere?
Or do you want to retrieve the data from some other computer?
Have you looked at the controllers? (sending data from a task) or the rules (very powerful scripting options to do just about anything with the device)
Controllers: https://espeasy.readthedocs.io/en/lates ... oller.html
Rules: https://espeasy.readthedocs.io/en/lates ... Rules.html
For the rules, I would suggest to have a look at the following commands:
sendToHttp
TaskRun
taskValueSet
Re: HTTP Request for dummy device
Hello
thanks for your reply and i try to sort out a little better.
I would like to get the data by an active request in the way http://<ip_device>... and in detail for the voltage-value.
Thank you
thanks for your reply and i try to sort out a little better.
I would like to get the data by an active request in the way http://<ip_device>... and in detail for the voltage-value.
Thank you
Re: HTTP Request for dummy device
i think you can not get a single value.
what you can get is a json string with all the values
if you have node-red it is easy to get a single value from it
http://192.168.1.129/json?view=sensorupdate
otherwise the idea is to send the value from espeasy to another application by using http or MQTT
where do you want to send the value?
what you can get is a json string with all the values
if you have node-red it is easy to get a single value from it
http://192.168.1.129/json?view=sensorupdate
otherwise the idea is to send the value from espeasy to another application by using http or MQTT
where do you want to send the value?
Who is online
Users browsing this forum: No registered users and 28 guests