sr-201-relay.py =============== sr-201-relay.py primary job in life is to document how to configure and control the SR-201 Ethernet relay, including a working example. The documentation is in the source code. Because it is a working example it can also be used to configure and control a relay. Dependencies ------------ - Either Python 2 or Python 3. - Tested on Linux only. Building, Installing and Running -------------------------------- There is no building required, and the only installation consists of download a copy of sr-201-replay.py to the current directory and making it executable. The factory default IP Address of a SR-201 is 192.168.1.100. To get started power it up via USB, connect a Ethernet cable, ensure you can ping that address, then run these commands: ./sr-201-relay.py # Displays help ./sr-201-relay.py 192.168.1.100 # Displays the configuration License ------- Copyright (c) 2017 Russell Stuart. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. The copyright holders grant you an additional permission under Section 7 of the GNU Affero General Public License, version 3, exempting you from the requirement in Section 6 of the GNU General Public License, version 3, to accompany Corresponding Source with Installation Information for the Program or any work based on the Program. You are still required to comply with all other Section 6 requirements to provide Corresponding Source. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. -- Russell Stuart 2017-Aug-08