Problem after maintenance.

4 years 9 months ago #3645 by bordor
Replied by bordor on topic Problem after maintenance.
Thank you for quick reply. I wonder how much time it will take because i tried since yesterday?. I'm also afraid that if ESP will send wrong values it will blocks again for few days or longer :(

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

4 years 9 months ago #3647 by EasyIoT
Replied by EasyIoT on topic Problem after maintenance.

bordor wrote: Thank you for quick reply. I wonder how much time it will take because i tried since yesterday?. I'm also afraid that if ESP will send wrong values it will blocks again for few days or longer :(


At begging ban is for 10 min only. If you continue with If invalid logins more times then system bans IP address for one week.

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

4 years 9 months ago #3653 by dejanj
Replied by dejanj on topic Problem after maintenance.
Hi!

After cloud was moved, I have problem using it. I didn't make any change in my code, so it looks like that problem is on Cloud side. I must tell that I was using cloud almost for a year and it is working perfectly. There are just old information in cloud (till 09.01.2017).

The code that worked for almost a year without problem:

#include <ESP8266WiFi.h>

// EasyIoT Cloud definitions - change EIOT_CLOUD_INSTANCE_PARAM_ID
#define EIOT_CLOUD_TEMP1_INSTANCE_PARAM_ID "******************************************************************"

#define REPORT_INTERVAL 180000 // 180 s

#define EIOT_CLOUD_ADDRESS "cloud.iot-playground.com"
#define EIOT_CLOUD_PORT 40404

void sendTeperature1(float Temp1) {
WiFiClient client;
if (client.connect(EIOT_CLOUD_ADDRESS, EIOT_CLOUD_PORT) == 0) {
//Serial.println("connection failed");
}
String url = "";
// URL: /RestApi/SetParameter/[instance id]/[parameter id]/[value]
url += "/RestApi/SetParameter/" + String(EIOT_CLOUD_TEMP1_INSTANCE_PARAM_ID) + "/" + String(Temp1); // generate EasIoT cloud update parameter URL

client.print(String("POST ") + url + " HTTP/1.1\r\n" +
"Host: " + String(EIOT_CLOUD_ADDRESS) + "\r\n" +
"Connection: close\r\n" +
"Content-Length: 0\r\n" +
"\r\n");
delay(100);
while (client.available()) {
String line = client.readStringUntil('\r');
}
}

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

4 years 9 months ago #3663 by zoli
Replied by zoli on topic Problem after maintenance.
Hi

I have the same problem, none of my tokens are working.
Even is I try to update the temperature in web bowser I get an error:

cloud.iot-playground.com:40404/RestApi/SetParameter/577d6215c943a04d06fbb3b3/3yESp3mETmlN32Kx/5

The error:"The cloud.iot-playground.com page isn’t working"

Please help
Thanks Zoltan

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

4 years 9 months ago #3664 by EasyIoT
Replied by EasyIoT on topic Problem after maintenance.
@dejanj and @zoli old REST API was disabled for security reasons. Use REST API V1.
@dejanj here is example of temperature sensor which will substitute your old program:

iot-playground.com/blog/2-uncategorised/...i-v1-and-email-alarm

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

Time to create page: 0.239 seconds

Forum latest

  • No posts to display.