Topic: How to use both cloud and LAN connection?
Hello
Is there any way to connect to remoteXY both via cloud and LAN? Why should I suffer cloud high latency while I'm at home?
Any help is really appreciated.
You are not logged in. Please login or register.
RemoteXY community → Need help → How to use both cloud and LAN connection?
Hello
Is there any way to connect to remoteXY both via cloud and LAN? Why should I suffer cloud high latency while I'm at home?
Any help is really appreciated.
Yes, the new 3.x.x library does it. But you have to make changes to the code manually. The library contains an example that does this: ESP_WiFiServerAndCloud
Thanks for the good support (Although a long time has passed).
The example does not include any clue about using a password and the "#define REMOTEXY_ACCESS_PASSWORD" seems not to work. Could you help again?
Yes, the new 3.x.x library does it. But you have to make changes to the code manually. The library contains an example that does this: ESP_WiFiServerAndCloud
This code shows how set REMOTEXY_ACCESS_PASSWORD in example ESP_WiFiServerAndCloud
void setup()
{
CRemoteXYComm_WiFi * wifi = new CRemoteXYComm_WiFi (
"myHomeFiFi", // REMOTEXY_WIFI_SSID
"myPass" // REMOTEXY_WIFI_PASSWORD
);
remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &RemoteXY,
"1234567" // REMOTEXY_ACCESS_PASSWORD
);
remotexy->addConnection (new CRemoteXYConnectionServer ( wifi,
6377 // REMOTEXY_SERVER_PORT
));
remotexy->addConnection (new CRemoteXYConnectionCloud ( wifi,
"cloud.remotexy.com", // REMOTEXY_CLOUD_SERVER
6376, // REMOTEXY_CLOUD_PORT
"xxxxxxxxxxxxxxxxxxxxxxxx" // REMOTEXY_CLOUD_TOKEN
));
// TODO you setup code
}
RemoteXY community → Need help → How to use both cloud and LAN connection?
Powered by PunBB, supported by Informer Technologies, Inc.