WTA : nodeMCU DHT11/22 send to EasyIoT server

6 years 5 months ago #1503 by Dennis
another idea,

WifiClient client
POST bla bla

WifiClient client2
POST bla bla

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

6 years 5 months ago #1504 by lesjaw

Dennis wrote: replace with "Connection: keep-alive" and find out, i'd say! :)

edit - and 1000ms is way too long since the reply is coming in, better to wait after getting the rrsponse from the server and not before, the 10ms is just for the wifi subsystem to catch up.. no need to extend to one second


still didnt work dennis.. hmm

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

6 years 5 months ago - 6 years 5 months ago #1505 by lesjaw

Dennis wrote: another idea,

WifiClient client
POST bla bla

WifiClient client2
POST bla bla


ok trying this one now

update ::

IT WORKS!!! yihaaaaaa B) B) B)

thanks dennis

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

6 years 5 months ago #1506 by lesjaw
now..how to add label celcius and % on them?

:sick:


Attachments:

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

6 years 5 months ago #1507 by Dennis
congrats. :)

You can set the Unit in the easyIot servers module settings..

regards

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

6 years 5 months ago #1508 by lesjaw
if i add +"%" and +" C"

it give error
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Bad Request</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Bad Request - Invalid URL</h2>
<hr><p>HTTP Error 400. The request URL is invalid.</p>
</BODY></HTML>
HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii

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

Time to create page: 0.353 seconds

Forum latest

  • No posts to display.