Commit History

Автор SHA1 Съобщение Дата
  Fabian Peter Hammerle de6d509bdd change default log level from `DEBUG` to `INFO`; added option `--debug` преди 3 години
  Fabian Peter Hammerle 4feeb7a56d report button automator's battery level in topic `homeassistant/cover/switchbot/MAC_ADDRESS/battery-percentage` after every command преди 3 години
  Fabian Peter Hammerle 32c2b2364f report curtain motor's battery level in topic `homeassistant/cover/switchbot-curtain/MAC_ADDRESS/battery-percentage` after every command преди 3 години
  Fabian Peter Hammerle 592cdec215 refactor: moved invocation of `switchbot.SwitchbotDevice.update` to new method `_MQTTControlledActor._get_device` (to prepare retrieval of battery state for button automators) преди 3 години
  Fabian Peter Hammerle fcb34cee5e drop compatibility with python3.5 преди 3 години
  Fabian Peter Hammerle c7e77dc37f refactor to remove duplicate definition of _CurtainMotor._MQTT_POSITION_TOPIC_LEVELS преди 3 години
  Fabian Peter Hammerle 81ab4563c4 `BTLEManagementError`: added workaround instructions for docker-based setups преди 3 години
  Fabian Peter Hammerle 22d3f7bc2c fix capturing of `BTLEManagementError` on pySwitchbot v0.10.1 преди 3 години
  Fabian Peter Hammerle fadf3877c9 provide further information & workaround in exception msg when `le on` triggers `BTLEManagementError` преди 3 години
  Fabian Peter Hammerle 90d274d00c added option `--fetch-device-info` to toggle reporting of curtain motor's position (can't enable by default due to `bluepy.btle.BTLEManagementError: Failed to execute management command 'le on'`) преди 3 години
  Fabian Peter Hammerle 0e9729f601 curtains: report position after sending stop command преди 3 години
  Fabian Peter Hammerle 794d14c512 implement _CurtainMotor._report_position() преди 3 години
  Fabian Peter Hammerle a508804751 fix argument type hints of internal `{_ButtonAutomator,_CurtainMotor}.__init__` преди 3 години
  Fabian Peter Hammerle 5dc3fc3b75 added command-line param `--device-password-file` преди 3 години
  Fabian Peter Hammerle f9cc568450 callbacks: add support for device passwords преди 3 години
  Fabian Peter Hammerle 57906b1176 added command-line parameter `--retries` to alter maximum number of attempts to send a command to a SwitchBot device преди 3 години
  rickieyyy 0e86ffc89c Update __init__.py преди 3 години
  Fabian Peter Hammerle c6a19b7cb9 refactor _MQTTControlledActor: split method _mqtt_publish from report_state преди 3 години
  Fabian Peter Hammerle 607019f8fc log subscribed mqtt topics преди 3 години
  Fabian Peter Hammerle 699ecd6bda added logger name to logging format преди 3 години
  Fabian Peter Hammerle 44f2706bde add support for switchbot curtain motors преди 3 години
  Fabian Peter Hammerle b49dbfa18c upgrade paho-mqtt to no longer suppress exceptions occuring in mqtt callbacks преди 3 години
  Fabian Peter Hammerle 7ff05ba3f2 dev env: upgrade black преди 4 години
  Fabian Peter Hammerle d4294995c1 replaced variable type hint incompatible with python3.5 преди 4 години
  Fabian Peter Hammerle 9002166fbe password file: fix \r\n getting replaced by \n преди 4 години
  Fabian Peter Hammerle 5e0e2a0124 added command line parameter --mqtt-password-file преди 4 години
  Fabian Peter Hammerle 7fce0c4545 _report_state; adapt logging; no longer wait for publish (froze) преди 4 години
  Fabian Peter Hammerle ce8cf8c8bf publish new state to homeassistant/switch/switchbot/MAC_ADDRESS/state on success преди 4 години
  Fabian Peter Hammerle 396e3423ec added command line parameters --mqtt-username and --mqtt-password преди 4 години
  Fabian Peter Hammerle 1cbea6d273 fixed executable name in command line help преди 4 години