In addition to the KNX bus, Pool’nX exposes the pool’s statuses and commands on a TCP server, port 50000 of its local network. An authorized supervisor, PLC or home automation system reads the values and sends commands with short text messages.
Intended for the integrator who connects the pool to a non-KNX system. For the KNX bus, follow the KNX statuses and the KNX commands.
Before you start
Section titled “Before you start”- Note the IP address of the Pool’nX, shown as Local IP address on its Can’nX Cloud page, and the IP address of the client on the same network.
- The client must reach the Pool’nX with this IP address, with no address translation between the two.
Allow the client
Section titled “Allow the client”- In the Pool’nX window, open Options with the gear icon button.
- In IP addresses of TCP clients, enter the client’s IP address, for example 192.168.1.50 (example).
- Turn on the row’s switch.
- Click Save. Success! confirms the save.
A connection from another address, or with the switch off, receives a message starting with Connection Refused, then is closed.
Exchange messages with Pool’nX
Section titled “Exchange messages with Pool’nX”Connect the client over TCP to port 50000 of the Pool’nX. Each message is a text ending with two asterisks.
| Direction | Message | Effect |
|---|---|---|
| Pool’nX to client | key:value**, for example tempWater:27.5** (example) | One status value per message |
| Client to Pool’nX | requestUpdate** | Reads the controller again and resends all statuses |
| Client to Pool’nX | key:value**, for example aux1:1** (example) | Sends the matching command to the controller |
- On connection, Pool’nX reads the controller again and sends all statuses that have a value.
- Pool’nX then sends the statuses at every reading, whether their row is ticked Active or not in the KNX table.
- Messages are sent one by one, about every 50 milliseconds.
- The value of a command is read as a whole number: the decimal part is ignored.
- Send one message at a time: several messages joined in the same send are not recognized.
The keys and accepted values are those of the Klereo and PoolCop tables.
Check the result
Section titled “Check the result”- Connect a TCP test tool from the allowed IP address: the statuses arrive as
key:value**. - Send
requestUpdate**: the statuses are sent again. - Send a test command, then check Last event in Pool Commands and the state in Pool Status.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause and action |
|---|---|
| Connection Refused message, then the connection closes | The IP address seen by the Pool’nX is not the allowed one, or the switch is off. Correct IP addresses of TCP clients and save. |
| Connection impossible | Check the local IP address of the Pool’nX, port 50000 and the network between the two devices. |
| Command with no effect | Check the key, the value and the ** terminator. A value outside the controller’s list is not passed on. |
See also Pool’nX troubleshooting.
French labels: Options, Adresse IP du client TCP, Enregistrer.