【Feedback】NONOS 1.5.4 OTA problem

lou0908
Posts: 16
Joined: Tue Jun 21, 2016 1:49 pm

Re: 【Feedback】NONOS 1.5.4 OTA problem

Postby lou0908 » Fri Jul 08, 2016 2:41 pm

esp_rubin wrote:I'm so sorry, we never offer the offical IDE for any developer, I'll suggest it our our R&D team, hope it will be under plan, thank you!!

The IDE I mentioned is Ai-Thinker ESP8266 SDK v2.0 which I download form the site of http://www.espressif.com/en/products/ha ... /resources.
In the folder there is a RTOS demo build with V1.3, I want using the IDE to compiler RTOS V1.4, unfortunately, I can not find any more document about how to build project and compiler. Is there any guidance about how to using the IDE?
thank you

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

Re: 【Feedback】NONOS 1.5.4 OTA problem

Postby ESP_Rubin » Mon Jul 11, 2016 10:00 am

Hi,
It's our parter Ai-Thinker's IDE solution.
In default, we only offer the Lubuntu compiler environment, you can try it.

lou0908
Posts: 16
Joined: Tue Jun 21, 2016 1:49 pm

Re: 【Feedback】NONOS 1.5.4 OTA problem

Postby lou0908 » Mon Jul 11, 2016 8:28 pm

esp_rubin wrote:Hi,
It's our parter Ai-Thinker's IDE solution.
In default, we only offer the Lubuntu compiler environment, you can try it.

ok thank you very much
I have encounter another problem, I want to test Reverse Control feature, and the demo is also plug, I use Postman to send the http packet to iot.espressof.cn, I found that Get and Post results are not same as the users' guidance described, now I want get the plug status from iot.expressif.cn, In postman the packet I send and the result is received as follow picture shows:
Unnamed QQ Screenshot20160711201904.png

It is very obvious that the response result is different from the users guidance
Unnamed QQ Screenshot20160711201904.png

also, POST command I follow the user guidance to reverse control remote plug has the same phenomenon, it is a failure.
What is wrong in my steps to implement the experiment?
The result shows a sensor demo response, but I have not built any sensor device in our iot.espressif.cn?
I look forward to your help, thank you
Attachments
Unnamed QQ Screenshot20160711202147.png

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

Re: 【Feedback】NONOS 1.5.4 OTA problem

Postby ESP_Rubin » Tue Jul 12, 2016 10:25 am

I'm confused with your question:
First, you found POST message is different with GET message, i only capture the GET message, never see any POST message
Second, you found result shows sensor message, but it's absolute a plug message from your picture, why you think it's a sensor message?
{"status": 200, "nonce": 11432809, "datapoint": {"x": 1}, "deliver_to_device": true}

lou0908
Posts: 16
Joined: Tue Jun 21, 2016 1:49 pm

Re: 【Feedback】NONOS 1.5.4 OTA problem

Postby lou0908 » Tue Jul 12, 2016 11:00 am

esp_rubin wrote:I'm confused with your question:
First, you found POST message is different with GET message, i only capture the GET message, never see any POST message
Second, you found result shows sensor message, but it's absolute a plug message from your picture, why you think it's a sensor message?
{"status": 200, "nonce": 11432809, "datapoint": {"x": 1}, "deliver_to_device": true}

I want to get the plug information from iot.espressif.cn via GET message, and the result is shown in the picture I have shown in my previous post. And I found that the response from iot.espressif.cn which displayed in the POSTMAN software shows is different from the Guidance's result:
{"status": 200, "nonce": 11432809, "datapoint": {"x": 1}, "deliver_to_device": true}
My experiment result is
{
"status": 200,
"datapoint": {
"updated": "2016-07-11 20:11:49",
"created": "2016-07-11 20:11:49",
"datatype": 0,
"visibly": 1,
"datastream_id": 8024,
"at": "2016-07-11 20:11:49",
"x": 1,
"id": 4680799
}
}
I wonder what is wrong with my experiment?
thank you very much for your help!

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

Re: 【Feedback】NONOS 1.5.4 OTA problem

Postby ESP_Rubin » Tue Jul 12, 2016 2:30 pm

it seems our document error.
"{"status": 200, "nonce": 11432809, "datapoint": {"x": 1}, "deliver_to_device": true}"
should be the POST response info.

lou0908
Posts: 16
Joined: Tue Jun 21, 2016 1:49 pm

Re: 【Feedback】NONOS 1.5.4 OTA problem

Postby lou0908 » Tue Jul 12, 2016 4:10 pm

esp_rubin wrote:it seems our document error.
"{"status": 200, "nonce": 11432809, "datapoint": {"x": 1}, "deliver_to_device": true}"
should be the POST response info.

thank you for your response
I use POST message to do the experiment, the response from iot.espressif.cn is same as the GET command. unfortunately, my experiment is fail, I can not reverse control plug as I expected, for example, I want to open the plug, I send message as follows:
{"datapoint":{"x":1}}
but my test board have any response,the phenomenon is shown as follows
Unnamed QQ Screenshot20160712155441.png

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

Re: 【Feedback】NONOS 1.5.4 OTA problem

Postby ESP_Rubin » Tue Jul 12, 2016 4:34 pm

could you check the log info in IotBucket to confirm the cloud has capture the POST command

lou0908
Posts: 16
Joined: Tue Jun 21, 2016 1:49 pm

Re: 【Feedback】NONOS 1.5.4 OTA problem

Postby lou0908 » Tue Jul 12, 2016 5:08 pm

esp_rubin wrote:could you check the log info in IotBucket to confirm the cloud has capture the POST command

yes, the log is shown follow
Unnamed QQ Screenshot20160712170718.png

ESP_Rubin
Posts: 222
Joined: Wed Jun 29, 2016 11:59 am

Re: 【Feedback】NONOS 1.5.4 OTA problem

Postby ESP_Rubin » Tue Jul 12, 2016 6:39 pm

有两种方法可以确认设备手否收到数据了:
1) 你可以查看8266的串口输出
2) 你可以点开“数据模型”中的“数据”这一项

Who is online

Users browsing this forum: No registered users and 15 guests