Git Product home page Git Product logo

homebridge-ble-thermobeacon's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

blumenstiel

homebridge-ble-thermobeacon's Issues

Brifit device is not recognized

Describe Your Problem:
I try to add a Brifit Bluetooth Thermometer Hygrometer to Homebridge but the device is not recogniced. I guess that my sensor is slightly different because the referenced scripts can read the data (my sensor https://www.amazon.de/dp/B08GWVLXZ3?ref=ppx_yo2ov_dt_b_product_details&th=1). I would be very glad for some help. Thanks!

I tested the ThermoBeacon script. The Pi is reciving the data:

raspberry@pi:~/ThermoBeacon $ python tbcmd.py scan
[3d:26:00:00:01:a6] [18] T= 20.50°C, H = 55.38%, Button:Off, Battery : 90%, UpTime =    25195s
[3d:26:00:00:01:a6] [18] T= 20.50°C, H = 55.38%, Button:Off, Battery : 90%, UpTime =    25196s
[3d:26:00:00:01:a6] [18] Max=26.50°C at 19248s, Min=12.56°C at 10838s

Maybe the sensor is not identified correctly as "identify" is not working:

raspberry@pi:~/ThermoBeacon $ python tbcmd.py identify -mac 3d:26:00:00:01:a6
connectd
///Characteristic 0000fff5-0000-1000-8000-00805F9B34FB was not found!

I tested identify with and without pressing the button. I guess this is somehow related to the Transmit Handle 0x0021 in https://github.com/rnlgreen/thermobeacon/blob/main/thermobeacon2.py

"query" is working fine:

raspberry@pi:~/ThermoBeacon $ python tbcmd.py query -mac 3d:26:00:00:01:a6
{'mac': '3d:26:00:00:01:a6', 'temp': 20.44, 'relhum': 56.06, 'button': False, 'battery': 90.32, 'uptime': 26986}

I also scaned for BLE with bluetoothctl and scan on and got:

[NEW] Device 3D:26:00:00:01:A6 ThermoBeacon
[CHG] Device 3D:26:00:00:01:A6 RSSI: -76
[CHG] Device 3D:26:00:00:01:A6 ManufacturerData Key: 0x0018
[CHG] Device 3D:26:00:00:01:A6 ManufacturerData Value:
  00 00 a6 01 00 00 26 3d a8 01 30 4b 00 00 c9 00  ......&=..0K....
  56 2a 00 00                                      V*..            

Logs:

Logs from starting the child bridge:

[03/01/2023, 22:32:09] [homebridge-ble-thermobeacon] Launched child bridge with PID 1355
[03/01/2023, 22:32:09] Registering platform 'homebridge-ble-thermobeacon.BleThermoBeacon'
[03/01/2023, 22:32:09] [homebridge-ble-thermobeacon] Loaded homebridge-ble-thermobeacon v0.0.15 child bridge successfully
[03/01/2023, 22:32:09] Loaded 0 cached accessories from cachedAccessories.0E181663E32D.
[03/01/2023, 22:32:09] Homebridge v1.6.0 (HAP v0.11.0) (homebridge-ble-thermobeacon) is running on port 47939.

Plugin Config:

{
    "debug": true,
    "buttonAsLock": true,
    "devices": [
        {
            "address": "3d:26:00:00:01:a6",
            "name": "Blue",
            "buttonAsLock": true
        }
    ],
    "platform": "BleThermoBeacon",
    "_bridge": {
        "username": "0E:18:16:63:E3:2D",
        "port": 47939
    }
}

I tested it with and without buttonAsLock.

Environment:

  • Plugin Version:
  • Homebridge Version: v1.6.0
  • Node.js Version: v18.12.1
  • NPM Version: 8.19.2
  • Operating System: Raspbian
  • I followed the "Configuration" from ReadMe and added bluetooth.conf.

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.