about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-22 Update protocol.mdwind-rider1-0/+2
2017-04-22 Add device type mapping to protocolwind-rider1-5/+36
2017-04-22 bug fix in timeout (#70)Daniel Høyer Iversen1-3/+2
2017-04-22 fix check_power for SP2/SP3 (#72)Dimitrij1-1/+5
Fixed up to avoid merge conflict with #78
2017-04-22 Add support for pure python AES implementation (#78)Thomas Järvstrand2-22/+44
2017-01-03 Bump version to 0.3Matthew Garrett1-2/+2
2017-01-02 check_power_raw included for mp1 devicesVíctor Ferrer García1-8/+13
Export raw power state for MP1 devices
2016-12-28 Merge pull request #46 from Danielhiversen/patch-10Matthew Garrett1-1/+9
validate the authorization
2016-12-26 validate the authorizationDaniel Høyer Iversen1-1/+9
2016-12-25 Ensure discover() returns devices and not NoneDaniel Høyer Iversen1-0/+1
There's a small race condition in the discover() method. If recv() returns before the socket timeout is reached, but we hit the top of the loop after the timeout is reached, we'll return None rather than the set of devices.
2016-12-25 Merge pull request #34 from eschava/masterMatthew Garrett1-5/+6
allow to specify network interface for discover method
2016-12-25 Merge pull request #37 from Danielhiversen/patch-9Matthew Garrett1-10/+13
Make communication thread safe
2016-12-25 Merge pull request #30 from Danielhiversen/patch-5Matthew Garrett2-0/+2
Add pycrypto as package dependency
2016-12-25 Add new device support: Broadlink MP1 Smart power stripVictor Ferrer3-0/+72
2016-12-22 Make communication thread safeDaniel Høyer Iversen1-10/+13
2016-12-20 allow to specify network interface for discover methodEugene Schava1-5/+6
2016-12-18 Update setup.pyDaniel Høyer Iversen1-0/+1
2016-12-18 Create requirements.txtDaniel Høyer Iversen1-0/+1
2016-12-03 Bump versionMatthew Garrett1-2/+2
2016-12-03 Provide raw sensor dataMatthew Garrett1-0/+23
Provide raw versions of the sensor data for interpretation by clients
2016-12-03 Fix python 2 compatibilityMatthew Garrett1-7/+17
Ugly but appears to work
2016-12-03 Expose the type of the discovered deviceMatthew Garrett1-0/+9
Allow clients to identify what kind of device has been discovered
2016-12-03 Fix setup.pyMatthew Garrett1-1/+0
2016-12-03 Merge remote-tracking branch 'zenitraM/python3'Matthew Garrett1-32/+32
2016-11-24 Python 3 compatibilityAlejandro M1-32/+32
2016-11-20 Add packet retransmission and timeoutMatthew Garrett1-3/+13
UDP doesn't guarantee delivery, so reattempt packet transmission if we don't get a response and timeout if we still don't have anything after (by default) 10 seconds.
2016-11-19 Merge pull request #16 from PeWu/smartplugMatthew Garrett2-5/+21
Updated SmartPlug commands - set_power() and check_power()
2016-11-19 Fix single device discoveryMatthew Garrett1-41/+46
The automatic device type detection was only implemented when discovering with a timeout. Refactor to do it for the single-device discover() case.
2016-11-18 Merge branch 'master' into smartplug.Przemek Wiech1-18/+83
2016-11-18 Updated SmartPlug commands - set_power() and check_power()Przemek Wiech2-5/+22
2016-11-18 Add automatic determination of device typeMatthew Garrett1-17/+83
Look at the device ID and figure out what type of device it is, and provide appropriate classes for each that only support the functionality available on that device.
2016-11-13 Add experimental support for smartplugsMatthew Garrett2-0/+11
This adds a set_power() call that should work for the SP2 - unsure whether it will work for the SP3.
2016-11-11 Merge pull request #14 from msh100/masterMatthew Garrett1-0/+1
each send_packet() needs a unique count
2016-11-10 each send_packet() needs a unique countMarcus Stewart Hughes1-0/+1
Increment count instead of randomly generating on each send_packet() as per @mjg59's suggestion. Tested and working as expected.
2016-11-04 Merge pull request #11 from kelvl/macos-cant-assign-address-fixMatthew Garrett1-8/+8
Fix for [Errno 49] Can't assign requested address
2016-11-02 Fix for [Errno 49] Can't assign requested addressKelvin Law1-8/+8
Fixes #3 on macOS
2016-10-30 Update documentation to cover RF packetsMatthew Garrett2-3/+2
RF packets behave identically to IR packets, so update the docs to match
2016-10-30 Add support for multiple devices and update documentationMatthew Garrett2-68/+107
Add support for discovering more than one device on the network, and update the documentation to describe that.
2016-10-24 Add support for sensor dataMatthew Garrett1-1/+56
Add a check_temperature() function that'll work for both the RM2 and the A1 sensor platform, and a check_sensors() function that returns the full set of sensor data for the A1 as a dict.
2016-10-12 Add some todos in the protocolMatthew Garrett1-0/+8
2016-10-12 Document packet formatMatthew Garrett1-0/+128
2016-10-10 Attempt to handle timezonesMatthew Garrett1-4/+11
The timezone should be embedded in the discovery packet, so make a better attempt to do that.
2016-09-15 Initial commitMatthew Garrett4-0/+262