Giter VIP home page Giter VIP logo

Comments (5)

hannseman avatar hannseman commented on May 30, 2024

Thanks!

Yeah I have the same problem but haven’t gotten around to try and fix it. I’ve been planning to solder a bigger antenna to the Bluetooth usb-adapter I use. It’s a really cheap one so maybe looking around for a more powerful and probably expensive adapter is an option. Let me know if you figure something out.

from homebridge-mi-hygrothermograph.

Aekung avatar Aekung commented on May 30, 2024

@hannseman

Thanks for the reply. I'm not sure if right now the device is trying to connect to the Apple TV or the Raspberry Pi via Bluetooth LE? I thought it would connect with Apple TV that I'm using as the hub for Home App just like other bluetooth peripherals. In this case, using Bluetooth USB with Raspberry Pi shouldn't cause any different, is it correct?

I have 2 Mi Devices in my home and 3 Apple TVs. However, only 2 Apple TVs are compatible with Bluetooth LE. I put the 4th Generation in my living room and the 4k in my Home Theater room. If I install one of the Mi Device in the living room and power my 4th Generation Apple TV on, Mi device will be found and connected very steady. However, if I turn my 4th Generation Apple TV off, the Mi Device in my living room will not be found easily and if it is found, the connection is super unsteady. Because of this, I think the Mi Device is connecting to my Apple TV instead of Raspberry Pi.

I'm not sure if I understand correctly. Please kindly advice if I am wrong.

from homebridge-mi-hygrothermograph.

hannseman avatar hannseman commented on May 30, 2024

The Apple TV does not communicate directly with homebridge devices. It will always have to go through your Raspberry Pi running homebridge. Homebridge acts like middle hand between Apple HomeKit and devices which are not natively HomeKit compatible.

In the case of this sensor the Apple TV will have no idea how to make sense of the raw data that is sent over Bluetooth or even know that it’s a Bluetooth device which is producing the data it’s seeing. The work of parsing the sensor data is made by this plugin which is then exposed over the network by homebridge.

Using a HomePod or Apple TV as a hub will give you remote access and the ability to manage permissions for your devices. As I’ve understood it can also act as a Bluetooth repeater for official HomeKit Bluetooth devices. But because of the way homebridge works it will not have the ability to do this.

I have no good explanation why you are seeing that turning off your Apple TV while connected to your local network would give you connectivity issues. What other Mi devices are you running?

from homebridge-mi-hygrothermograph.

Aekung avatar Aekung commented on May 30, 2024

@hannseman Thanks for the very well and clear explanation. I will have to try to find those Bluetooth Range Extender Antenna and plug it in my Raspberry Pi and I will let you know how it turns out.

The Mi Device I'm using is Xiaomi Mijia Bluetooth Hygrothermograph, which is the same device as in your plugin's picture.

from homebridge-mi-hygrothermograph.

hannseman avatar hannseman commented on May 30, 2024

Closing this issue but please comment if you find out any tricks for enhancing the range.

from homebridge-mi-hygrothermograph.

Related Issues (20)

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.