Page 1 of 1

Device to Server connection

Posted: Wed Aug 30, 2017 1:11 pm
by gaurav
I installed the cloud server but it is not showing the device I tried to connect.

This is what I got on putty.
debug.png
debug.png (15.6 KiB) Viewed 17751 times

Re: Device to Server connection

Posted: Thu Aug 31, 2017 10:04 am
by gaurav
Can anyone help me?

Re: Device to Server connection

Posted: Thu Aug 31, 2017 11:43 am
by pzygmunt
Which firmware ?

Re: Device to Server connection

Posted: Thu Aug 31, 2017 12:06 pm
by gaurav
Wemos_gate_x2_DS.

Re: Device to Server connection

Posted: Thu Aug 31, 2017 12:20 pm
by pzygmunt
Ask @Zybi. He is the author of this firmware.

Re: Device to Server connection

Posted: Thu Aug 31, 2017 12:31 pm
by Zybi
gaurav wrote: Thu Aug 31, 2017 12:06 pm Wemos_gate_x2_DS.
Write exactly what firmware you used:

https://github.com/SUPLA/ESP8266/tree/m ... os_D1_mini

Re: Device to Server connection

Posted: Thu Aug 31, 2017 12:55 pm
by gaurav
I used the source code of wemos_mini and compiled it in the latest IotSdk.

I connected it to the cloud server which I installed on the local machine, the server(I/O devices tab) does not show the device but when I connect it to your cloud server the I/O devices tab shows the device

In both of the above cases config button does not work.

Re: Device to Server connection

Posted: Thu Aug 31, 2017 6:35 pm
by Zybi
gaurav wrote: Thu Aug 31, 2017 12:55 pm I used the source code of wemos_mini and compiled it in the latest IotSdk.

I connected it to the cloud server which I installed on the local machine, the server(I/O devices tab) does not show the device but when I connect it to your cloud server the I/O devices tab shows the device

In both of the above cases config button does not work.
When I sent you the source code of Wemos_mini board, I wrote to you that my code is different from the official source code of SUPLA and you have to adjust it accordingly based on the analysis of other official board code definitions.

For example:
- I do not use a function void supla_esp_board_send_channel_values_with_delay(void *srpc)
- The official code will not support #define LED_RED_PORT 15
- The official code does not correctly compile firmware when #define B_RELAY_PORT 5 (I do not know why but it is)
- And some other differences