lampa.py
XiaomiGateway3
lampa.py | XiaomiGateway3 | |
---|---|---|
1 | 4 | |
12 | 2,330 | |
- | - | |
0.0 | 9.6 | |
almost 3 years ago | 2 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lampa.py
-
LAN control replacement.
Hello everybody! Recently Xiaomi turned off the lan control function for all of its lamps, so I decided to make a library to control lamps through Xiaomi servers. The program is in python programming language, but I think it will be very easy for you to rewrite it in any other, or make a plugin for homebridge. So far I have only added on, off, changing the brightness and color temperature function, but in the future I will add all of them. Pull requests are welcome! Link to GitHub: https://github.com/mishailovic/lampa.py
XiaomiGateway3
- Xiaomi Gateway 3 for Home Assistant
- Anyone successfully create own Control Panel with MiJia/Home eco system? Something like this photo? Can share how you do it ? iOS/Android also can ππ»
-
Using Aqara Cube or Xiaomi Wireless Switch for more elaborate controls (+Alexa)?
Following the recommendation from u/flaquito and u/CorgiFinancial, and since I did not want to spend any additional time or money on getting new hardware, I ended up with the following. - Booted up my old laptop, which hasn't been used for 2 years, and set up the docker version of HASS. It was indeed very straightforward. In hindsight, I might redo the process and install either a VM or the supervised version, just so I can have the addons (seems like a cool thing to have). - Adding all WiFi-related things was super easy! TV, PS4, Chromecast, etc. For Yeelight, I had to enable "LAN Control" to all my lamps. - The Xiaomi Smart Home Hub is not offered by default on HASS. I found a custom integration on hacs.xyz (adding HACS integration was also straightforward). The custom Smart Home Hub can be found [here](https://github.com/AlexxIT/XiaomiGateway3). - Enabling the telnet mode was non-trivial for me, as I did not want to change the Mi server to China (seems it loses all current setup?). Note that most online guides tell you to swap over to China to get the "About" menu option so you can enable the telnet. Instead, I found [this](https://gist.github.com/zvldz/1bd6b21539f84339c218f9427e022709), which worked like a charm with the custom integration: first add the gateway using the Mi credentials (it reads the mappings and tokens from the Mi Cloud), then add the gateway *again* by selecting the direct IP + the above definition. You can then delete the cloud-based gateway.
- Mi Smart Home Hub Compatibility
What are some alternatives?
Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor - This custom integration provides a way to present a live view of a map for Xiaomi (Roborock/Viomi/Roidmi/Dreame) vacuums without a need for rooting.
zigbee2mqtt - Zigbee π to MQTT bridge π, get rid of your proprietary Zigbee bridges π¨
miio - Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
xiaomi_miot_raw - All-in-one & Easy-to-use. Integrate all your Xiaomi Smart Home - with a single integration and NO YAML files - into Home Assistant.
Sunset - This is a collection of Python scripts designed to change the Windows background image, to play a sound and to open a locally connected light bulb/light band at the start of the night. At the end of the night (the beginning of the day), it reverts the background image, plays a sound and closes the light.
ble_monitor - BLE monitor for passive BLE sensors
Xiaomi-cloud-tokens-extractor - This tool/script retrieves tokens for all devices connected to Xiaomi cloud and encryption keys for BLE devices.
hacs-hubitat - A Hubitat integration for Home Assistant
zigpy - Library implementing a ZigBee stack
ZigStarGW-MT - GUI wrapper designed for convenient service work with TI CC1352/CC2538/CC2652 based Zigbee sticks or gateways. Packed into single executable file
sensor.goveetemp_bt_hci - Govee Temperature/Humidity BLE Home Assistant Component
zigpy-znp - TI CC2531, CC13x2, CC26x2 radio support for Zigpy and ZHA