Get value of a sensor from iot-server with a esp8266

6 years 1 month ago #3927 by wmnbg
Hi,

Can i request a sensorvalue of my local iotserver with a esp8266 over wlan?

I found only the solution to do this inside the iotserver in this way:

ModuleHelper.GetProperty(Domains.ESP8266, "N3S0", "Sensor.Humidity");

I want to display some values at an esp8266 with display, where i poll some other devices.

Would be fine, if i can poll the iotserver too.

Thx for your help.

Werner

Please Log in or Create an account to join the conversation.

6 years 1 month ago #3930 by EasyIoT
It is possible. In this post:
iot-playground.com/blog/2-uncategorised/...ch-screen-thermostat

is example how to send value from temperature sensor to touch screen thermostat.

Please Log in or Create an account to join the conversation.

6 years 1 month ago #3935 by wmnbg
Hi,
thanks for your Reply.
Very great work what you linked in your reply.
When I understand right, it must bei the esp.request commands.
But I use ESP8266 directly without an arduino.
I couldn't find the http request, what is behind the esp.request Command.

For sending to IoT-Server I use the "/Api/EasyIoT/Control/Module/Virtual/"
I found already a request for all Sensors "Api/EasyIoT/Config/Module/List"
Is there a way to make a simple http Request for a single Sensor?
Would be great, if there is a way to request this data.

Thanks in advance

Please Log in or Create an account to join the conversation.

6 years 1 month ago #3938 by EasyIoT
Unfortunately there is no function to read single module value.

Please Log in or Create an account to join the conversation.

Time to create page: 0.247 seconds

Forum latest

  • No posts to display.