MAC (B3)
To set the CG1018 to operate with B3 server define URL_MAC=1.
If URL_MAC=1, the settings for B2 and Coolguard (RQS) had no influence.
The settings shown below set MAC (B3) mode and define server as boomerang3.com.
# B3:
#URL_MAC=0 -> Uses the SERVICE_URL to get status from server (older behaviour of Blixtljus)
#URL_MAC=1 -> Default behaviour, uses the URL_MAC_BASE + the MAC-adress to generate a unique URL only used by this unit, for example: http://www.boomerang3.com/bl/MAC/?id=B827EB29CA0D
URL_MAC=1
URL_MAC_BASE="https://boomerang3.com/api/relaybox"In this mode the URL consists of two parts, where the first is defined at URL_MAC_BASE and is the same for all CG1018 that communicates with the same server.
For the server to distinguish between different Relay Boxes, the MAC address of the specific unit is automatically appended to the URL in the GET request sent to the server, so it looks as shown in the example below:
If
URL_MAC_BASE:"http://boomerang3.com/api/RelayBox"
CG1018 MAC address: B8:27:EB:29:CA:0Dthen the automatically generated URL is:
http://boomerang3.com/api/RelayBox/?id=B827EB29CA0DThe details of packets exchange in B3 mode can be found in Wireshark logs.
Last updated
