1

Topic: Connection with another server alternately with remotexy

I would like to post/retrieve informations to/from another server (in this case Circus of things) than the running Remotexy one
No problem with boards based on ESP8266 (Wemos D1 mini, nodeMCU ...  for example) => it works perfectly

But it seems a bit more complicated with a board like (Nano+ESP) with ESP acting as a "modem" with a serial "Hayes" communication between Nano and ESP). Probably a conflict between libraries which manage the communication between the Nano and the ESP....  and I'm very not skilled in managing libraries

A solution could be to alternately open/close de communication with de 2 servers. Is it a set of instructions to manage this kind of situation ?. All other suggestions are welcome

Tx. Regards
JP

2

Re: Connection with another server alternately with remotexy

RemoteXY library fully manages commands and listens for answers.
There are 2 ways:
1. You have to modify the library file esp8266.h , add to it additional functionality for your task.
2. You can develop custom your esp8266 management code. This code must open the server on the port 6377. And provide a virtual serial port for RemoteXY library so that RemoteXY can send and receive data through your code.
It's all hard enough