Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teltonika Blue Puck RHT #721

Closed
ACrazyConcept opened this issue Feb 17, 2022 · 4 comments
Closed

Teltonika Blue Puck RHT #721

ACrazyConcept opened this issue Feb 17, 2022 · 4 comments
Labels
bug Something isn't working fixed in beta This issue is fixed in the current beta release

Comments

@ACrazyConcept
Copy link

I had this laying around fo a while and just tried to add it.

I get this in the log with report_unknown: Teltonika

2022-02-17 16:58:44 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -71, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a5c0904166f2a29
2022-02-17 16:59:04 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -80, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a5b0904166f2a29
2022-02-17 16:59:14 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -75, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a5b0904166f2a29
2022-02-17 16:59:24 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -69, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a5a0904166f2a29
2022-02-17 16:59:34 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -76, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a580904166f2a2a
2022-02-17 16:59:34 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -59, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a580904166f2a2a
2022-02-17 16:59:44 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -69, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a550904166f2a29
2022-02-17 16:59:54 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -77, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a550904166f2a29
2022-02-17 17:00:04 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -68, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a540904166f2a29
2022-02-17 17:00:14 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -89, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a520904166f2a29
2022-02-17 17:00:14 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -59, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a520904166f2a29
2022-02-17 17:00:24 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -84, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a500904166f2a2a
2022-02-17 17:00:24 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -61, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a500904166f2a2a
2022-02-17 17:00:44 INFO (Thread-3) [custom_components.ble_monitor.ble_parser.teltonika] BLE ADV from UNKNOWN Teltonika DEVICE: RSSI: -59, MAC: F2:C5:EF:E5:C5:1C, DEVICE TYPE: None, ADV: 05166e2a4e0904166f2a29

And from btmon:

> HCI Event: LE Meta Event (0x3e) plen 40                                                                         #65 [hci0] 2.335326
      LE Advertising Report (0x02)
        Num reports: 1
        Event type: Connectable undirected - ADV_IND (0x00)
        Address type: Random (0x01)
        Address: F2:C5:EF:E5:C5:1C (Static)
        Data length: 28
        Flags: 0x06
          LE General Discoverable Mode
          BR/EDR Not Supported
        Service Data (UUID 0x2a6e): 530a
        Service Data (UUID 0x2a6f): 27
        Name (complete): P RHT 900DC8
        RSSI: -73 dBm (0xb7)
@Ernst79
Copy link
Collaborator

Ernst79 commented Feb 18, 2022

Looks like the complete local name is different than what we filter on

You will have to add the following on line 21 in teltonika.py.

    elif complete_local_name[0:5] == "P RHT":
        device_type = "Blue Puck RHT"

I'll add it in a next release.

@Ernst79 Ernst79 added bug Something isn't working fixed in beta This issue is fixed in the current beta release labels Feb 19, 2022
@Ernst79
Copy link
Collaborator

Ernst79 commented Feb 19, 2022

Fixed in 7.8.1-beta

@ACrazyConcept
Copy link
Author

Fixed in 7.8.1-beta

It works. Thanks!

@Ernst79
Copy link
Collaborator

Ernst79 commented Feb 20, 2022

Fixed in 7.8.2 as final

@Ernst79 Ernst79 closed this as completed Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in beta This issue is fixed in the current beta release
Projects
None yet
Development

No branches or pull requests

2 participants