The configuration JSON has to be published in /home/config/<ID` of the main device (5 chars)><Port-SubID(1 char)>/ and has to look like: {"port":<Number` of the hardware Port as uint8_t>, "analog":<analog port? 1 or 0>, "output":<output port? 1 or 0>}. The ESP answers with "success".
The configuration JSON has to be published in
/home/config/<ID` of the main device (5 chars)><Port-SubID(1 char)>/and has to look like:{"port":<Number` of the hardware Port as uint8_t>, "analog":<analog port? 1 or 0>, "output":<output port? 1 or 0>}. The ESP answers with "success".