Device to Server connection

Post Reply
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Device to Server connection

Post by gaurav » Wed Aug 30, 2017 1:11 pm

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 14298 times

gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Re: Device to Server connection

Post by gaurav » Thu Aug 31, 2017 10:04 am

Can anyone help me?

User avatar
pzygmunt
Posts: 6871
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Re: Device to Server connection

Post by pzygmunt » Thu Aug 31, 2017 11:43 am

Which firmware ?

gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Re: Device to Server connection

Post by gaurav » Thu Aug 31, 2017 12:06 pm

Wemos_gate_x2_DS.

User avatar
pzygmunt
Posts: 6871
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Re: Device to Server connection

Post by pzygmunt » Thu Aug 31, 2017 12:20 pm

Ask @Zybi. He is the author of this firmware.

Zybi
Posts: 1378
Joined: Sun Jun 26, 2016 4:24 pm

Re: Device to Server connection

Post by Zybi » Thu Aug 31, 2017 12:31 pm

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

gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Re: Device to Server connection

Post by gaurav » 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.

Zybi
Posts: 1378
Joined: Sun Jun 26, 2016 4:24 pm

Re: Device to Server connection

Post by Zybi » Thu Aug 31, 2017 6:35 pm

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

Post Reply