diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -4,11 +4,11 @@ Python 2 and 3 Wrapper around the Shelly HTTP api ## why -other packages like [pyShelly](https://github.com/StyraHem/pyShelly) only support CoAP or MSQT, neither I am comfortable with using in something +other packages like [pyShelly](https://github.com/StyraHem/pyShelly) only support CoAP or MSQT, neither I am comfortable with using in personal projects ## example -here is a simple working example for the Shelly 1 that turns on whatever is hooked up to it +here is a simple working example for the Shelly 1 that turns a relay on ```python import ShellyPy @@ -16,14 +16,14 @@ device = ShellyPy.Shelly("192.168.0.5") device.relay(0, turn=True) ``` -this example with comments can be found on [examples/toggle_lights.py](examples/toggle_lights.py) +this example with comments can be found on [examples/toggle_relay.py](examples/toggle_relay.py) ## devices #### supported - Shelly1 - Shelly1PM - Shelly2 -- Shelly2.5 (untested) +- Shelly2.5 - Shelly4Pro (untested) - Shelly Plug (untested) - Shelly PlugS (untested) @@ -44,4 +44,4 @@ give your shelly devices static IP adresses for best results ## license this project is licensed under the [MIT License](LICENSE) -feel free to do whatever you want with it
\ No newline at end of file +feel free to do whatever you want with it |