about summary refs log tree commit diff
path: root/broadlink
AgeCommit message (Collapse)AuthorFilesLines
2018-03-18 Basic support for Hysen Heating Controller (dev type 0x4ead) (#138)Peter Windridge1-1/+172
* Initial support for Hysen heating controller device. Only gets current temperature. * Add switch_to_auto() to put the controller in (pre-programmed) timed mode * Add set_temp() to manually set temperature. Now requires PyCRC (payload needs modbus CRC16) * Remove test script * Get current timer schedule * Get much more data from device * Add PyCRC to install_requires setup.py * Rewrite based on better understanding. Allow setting schedule and changing 'loop mode' * Add set_time function * Support advanced settings and perform CRC check on responses * Explain remaining unknowns for Hyson thermostat The room_temp_adj (or simply 'adj') only applies to the room_temp. It's limited to -5.0..+5.0, but uses a 2 byte data type. This leads to the assumption that external_temp could also use this data type, maybe for showing temperatures below 0 - but I cannot test this currently. Maybe I have to place it near a fridge to confirm. * Fix get_temp and add get_external_temp for Hysen Again: maybe payload[17] also belongs to the external temperature... * remove comment about first 2 bytes and raise error if CRC check on response fails * Remove comment about guessed meaning of unknown Just confirmed, that lowest outside temp is 0. So it seems to only need 1 byte, as room temp does. * add ability to toogle hysen device power Turn display power on/off * Update set_power() to support remote_lock for Hysen Sorry, there was still one thing missing: set/unset remote_lock. I captured again and changed the set_power accordingly. * fix comments
2018-03-18 broadlink_discovery returns wrong devtype (#157)Nightreaver1-46/+47
* few item in gendevice use `if` instead of `elif` * passing `devtype` back to device change `cli/broadlink_discovery` to display proper devtype
2018-03-18 Fix for environments where Crypto and pyaes are installed. (#151)marconfus1-1/+1
If both Crypto and pyaes are installed 'pyaes' is in sys.modules(), but as it is not imported (see top) it's not available. Fix for #128
2018-03-10 Merge pull request #149 from deel77/masterDaniel Høyer Iversen1-1/+4
Default support for python3 in get_energy() for SP2
2018-03-10 add new rmpro models - Pro Plus 3, Pro Plus 300, Pro Plus HYC, Pro Plus R1, ↵Steven Barthen1-0/+10
Pro PP
2018-02-08 modified get_energy() to support python3Dominik Lakatoš1-1/+4
2017-12-25 support for dooya curtain motor (#134)Aleksandr Smirnov1-0/+48
2017-11-25 Add support for SmartOne Alarm Kitjazzina1-1/+61
2017-11-25 sp2.get_energyEugene Schava1-0/+10
2017-11-25 SP3S support (#117)Eugene Schava1-0/+2
2017-11-25 add honyar mp1 devtype 0x4ef7hackers3651-1/+1
2017-06-13 [Critical] Fixes invalid byte string (b) for padding (#97, #107) (#108)mob411-1/+1
* Fixes invalid byte string (b) for padding (#97, #107) * Change version to 0.5
2017-05-07 pad the payload for AES encryption (16) (#92)kost1-1/+6
2017-04-25 Python3.5 syntax changesRobert Sullivan1-1/+1
2017-04-22 Add in AP Mode device setup for new Broadlink devices. (#53)Aydaen Lynch1-0/+37
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