Code Monkey home page Code Monkey logo

homebridge-aqara-hub-lux's People

Contributors

esgie avatar kpintscher avatar niou-ns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

esgie

homebridge-aqara-hub-lux's Issues

Optain token?

Hello,

I don't use the Mi Home app so my Aqara Hub is not listed there and if I add the hub to mi home I need to reset the hub and I don't want to do that because I have 23 devices connected to it.

How do I get the token from the Aqara app?

thanks.

Cannot connect to the Aqara Hub (CN version)

I've got the tokens from the sensors, but i got this error:

[10/20/2020, 23:52:23] [movimento cozinha] Failed to discover Aqara Gateway at 192.168.x.x
[10/20/2020, 23:52:23] [movimento cozinha] Will retry after 30 seconds

The IP on the config is the ip of the Aqara hub correct? And the hub must have the name "Aqara Hub"? The "name" is the name of the acessory or i can put whatever i want?

Not working for Chinese version

Hi there,
Thanks for the plugin, but I cannot get it to work! I've got a chinese version of aqara hub.
I've extracted the token using Charles web proxy... however the plugin says cannot discover aqara hub at ip address, can u please help?

Regards

Teymur

Provide instructions for using this sensor in Home App Automation

Hi
I managed to use your plugin to expose this sensor to my Home App home. It is working great!
However, I don't know how to use the sensor in an automation as the sensor is always on. Could you provide some examples? I would like to use this sensor together with the motion sensor, e.g. if lux is <10 and movement is detected, switch on aqara hub light.

Including other Aqara lux sensors

Hi,
Would it be possible to expose also Aqara motion sensor’s light sensor To HomeKit? It would be very useful to use it instead of timings.

Still cannot get the token of the AqaraHub. Please help!

Hi there,

I don't why, maybe my AqaraHub (chinese version) is special, but I'm not able to use the token that I retrieved from the device. It looks like it is being changed once the device is paired with the app. Here are the steps I follow:
I reset my device:

  1. When the device is in AccessPoint mode I connect to it:
    With packet sender I send the HEX "21310020ffffffffffffffffffffffffffffffffffffffffffffffffffffffff" to the IP of the device (192.168.5.1) port 54321

  2. I listen the traffic with Wireshark and the device replies:

0000 f8 16 54 61 7f 01 50 ec 50 ed 88 8b 08 00 45 00 ..Ta..P.P.....E. 0010 00 3c d5 da 40 00 40 11 d9 20 c0 a8 05 01 c0 a8 .<..@.@.. ...... 0020 05 64 d4 31 f4 01 00 28 b3 ca 21 31 00 20 00 00 .d.1...(..!1. .. 0030 00 00 10 71 ef fc 00 00 03 8f 50 61 77 45 76 41 ...q......PawEvA 0040 58 31 35 6c 73 72 32 32 61 71 X15lsr22aq

  1. I take last 16 bytes PawEvAX15lsr22aq and convert them with https://www.rapidtables.com/convert/number/ascii-to-hex.html this tool and I get 50 61 77 45 76 41 58 31 35 6c 73 72 32 32 61 71

  2. I remove the spaces and then I paste this 5061774576415831356c737232326171 in the plugin settings, save config and restart homebridge

  3. Pair the device with the aqara app, add motion sensor so I get the light sensor as well

  4. Homebridge log says

Failed to discover aqara gateway at IP address, will try again in 30 seconds.

Can you please point out anything that I do wrong. THanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.