Browse Source
This adds a check to determine which relay the system is (hostname/device name). When name is determined,the URL the program will use for the RESTAPI call is then set. At the time of writing, the system is expecting two relays. Hence the if-else statement. If more devices are to be added, this approach will need to be reconsidered.unstable
Craig Oates
3 years ago
1 changed files with 12 additions and 2 deletions
Reference in new issue