about summary refs log tree commit diff
path: root/broadlink
AgeCommit message (Collapse)AuthorFilesLines
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ärvstrand1-19/+37
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-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 Add new device support: Broadlink MP1 Smart power stripVictor Ferrer1-0/+61
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-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 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 Garrett1-2/+13
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 Wiech1-2/+14
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 Garrett1-0/+6
This adds a set_power() call that should work for the SP2 - unsure whether it will work for the SP3.
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-02 Fix for [Errno 49] Can't assign requested addressKelvin Law1-8/+8
Fixes #3 on macOS
2016-10-30 Add support for multiple devices and update documentationMatthew Garrett1-60/+90
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-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 Garrett1-0/+172