Comments (6)
Standart instruction set:
{
"result": {
"category": "jtmspro",
"functions": [
{
"code": "unlock_method_create",
"desc": "unlock method create",
"name": "unlock method create",
"type": "Raw",
"values": "{}"
},
{
"code": "unlock_method_delete",
"desc": "unlock method delete",
"name": "unlock method delete",
"type": "Raw",
"values": "{}"
},
{
"code": "unlock_method_modify",
"desc": "unlock method modify",
"name": "unlock method modify",
"type": "Raw",
"values": "{}"
},
{
"code": "lock_record",
"desc": "lock record",
"name": "lock record",
"type": "Raw",
"values": "{}"
},
{
"code": "beep_volume",
"desc": "beep volume",
"name": "beep volume",
"type": "Enum",
"values": "{"range":["mute","normal"]}"
},
{
"code": "automatic_lock",
"desc": "automatic lock",
"name": "automatic lock",
"type": "Boolean",
"values": "{}"
},
{
"code": "auto_lock_time",
"desc": "auto lock time",
"name": "auto lock time",
"type": "Integer",
"values": "{"unit":"","min":1,"max":1800,"scale":0,"step":1}"
},
{
"code": "rtc_lock",
"desc": "rtc lock",
"name": "rtc lock",
"type": "Boolean",
"values": "{}"
},
{
"code": "manual_lock",
"desc": "manual lock",
"name": "manual lock",
"type": "Boolean",
"values": "{}"
},
{
"code": "synch_method",
"desc": "synch method",
"name": "synch method",
"type": "Raw",
"values": "{}"
},
{
"code": "guide_page_act",
"desc": "guide page act",
"name": "guide page act",
"type": "Raw",
"values": "{}"
},
{
"code": "remote_no_dp_key",
"desc": "remote no dp key",
"name": "remote no dp key",
"type": "Raw",
"values": "{}"
},
{
"code": "record",
"desc": "record",
"name": "record",
"type": "Raw",
"values": "{}"
},
{
"code": "check_code_set",
"desc": "check code set",
"name": "check code set",
"type": "Raw",
"values": "{}"
},
{
"code": "ble_unlock_check",
"desc": "ble unlock check",
"name": "ble unlock check",
"type": "Raw",
"values": "{}"
},
{
"code": "remote_pd_setkey_check",
"desc": "remote pd setkey check",
"name": "remote pd setkey check",
"type": "Raw",
"values": "{}"
},
{
"code": "special_control",
"desc": "special control",
"name": "special control",
"type": "Boolean",
"values": "{}"
},
{
"code": "unlock_ble_ibeacon",
"desc": "unlock ble ibeacon",
"name": "unlock ble ibeacon",
"type": "Integer",
"values": "{"min":0,"max":999,"scale":0,"step":1}"
},
{
"code": "ibeacon_scan_mode",
"desc": "ibeacon scan mode",
"name": "ibeacon scan mode",
"type": "Enum",
"values": "{"range":["always","5min","10min","20min","40min","60min","90min","120min"]}"
},
{
"code": "rssi_sensitivity_level",
"desc": "rssi sensitivity level",
"name": "rssi sensitivity level",
"type": "Enum",
"values": "{"range":["inactive","90db","80db","70db","60db","50db","40db","30db","20db"]}"
},
{
"code": "autolock_delay_level",
"desc": "autolock delay level",
"name": "autolock delay level",
"type": "Enum",
"values": "{"range":["inactive","4s","6s","8s","10s","12s"]}"
},
{
"code": "ibeacon_switch",
"desc": "ibeacon switch",
"name": "ibeacon switch",
"type": "Boolean",
"values": "{}"
}
]
},
from ha_tuya_ble.
https://github.com/alexxx113/ha_tuya_ble/tree/main
It seems to work...
from ha_tuya_ble.
@alexxx113
Hi Alex, Thank you for your job.
I try to setup my lock with your file
I can add the lock, with 24 entities
I use esp32 bluetooth proxy. Set it near the lock (1m).
But all of this entities is unavailable.
Logger: custom_components.tuya_ble.tuya_ble.tuya_ble
Source: custom_components/tuya_ble/tuya_ble/tuya_ble.py:503
Integration: Tuya BLE
First occurred: 12:58:14 PM (7 occurrences)
Last logged: 1:04:28 PM
DC:23:4D:8E:7B:2C: Device unexpectedly disconnected; RSSI: -73
DC:23:4D:8E:7B:2C: Device unexpectedly disconnected; RSSI: -74
DC:23:4D:8E:7B:2C: Device unexpectedly disconnected; RSSI: -72
Logger: custom_components.tuya_ble.tuya_ble.tuya_ble
Source: custom_components/tuya_ble/tuya_ble/tuya_ble.py:294
Integration: Tuya BLE
First occurred: 12:58:45 PM (12 occurrences)
Last logged: 1:03:56 PM
DC:23:4D:8E:7B:2C: timeout receiving response, RSSI: -74
DC:23:4D:8E:7B:2C: Sending device info request failed
DC:23:4D:8E:7B:2C: timeout receiving response, RSSI: -73
DC:23:4D:8E:7B:2C: timeout receiving response, RSSI: -72
Logger: homeassistant.components.number
Source: helpers/entity_platform.py:613
Integration: Number (documentation, issues)
First occurred: 12:57:40 PM (1 occurrences)
Last logged: 12:57:40 PM
Platform tuya_ble does not generate unique IDs. ID bfab57vjl86zi3jm-unlock_phone_remote is already used by number.bfab57vjl86zi3jm_unlock_phone_remote - ignoring sensor.bfab57vjl86zi3jm_unlock_phone_remote
from ha_tuya_ble.
2023-08-26 12:21:01.201 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Device unexpectedly disconnected; RSSI: -74
2023-08-26 12:21:31.245 ERROR (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: timeout receiving response, RSSI: -73
2023-08-26 12:21:31.246 ERROR (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Sending device info request failed
2023-08-26 12:21:31.247 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Connecting; RSSI: -73
2023-08-26 12:21:41.283 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Connected; RSSI: -73
2023-08-26 12:21:41.341 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Sending device info request
2023-08-26 12:21:41.341 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Sending packet: #24 FUN_SENDER_DEVICE_INFO
2023-08-26 12:22:11.233 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Device unexpectedly disconnected; RSSI: -73
2023-08-26 12:22:41.343 ERROR (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: timeout receiving response, RSSI: -71
2023-08-26 12:22:41.344 ERROR (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Sending device info request failed
2023-08-26 12:22:41.345 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Connecting; RSSI: -71
2023-08-26 12:22:42.474 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Connected; RSSI: -71
2023-08-26 12:22:42.512 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Sending device info request
2023-08-26 12:22:42.512 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4D:8E:7B:2C: Sending packet: #25 FUN_SENDER_DEVICE_INFO
from ha_tuya_ble.
Connect lock app android or ios, not gateway!
Remove lock geteway!
Or delete device app and gateway
Disconect power gateway!
And new connect in app
Turn off bluetooth in device
Add in home assistant.
Reconect battery
esp32 bluetooth proxy no test....
from ha_tuya_ble.
@alexxx113 , Thank you. Everything is working!
from ha_tuya_ble.
Related Issues (20)
- Ceiling lights RGB +CCT smart bluetooth lights HOT 1
- Enable Smart grow light (zwd)
- Support for BLE Temperature and Humidity Sensor PT216 & PT19DB-2
- Error after updating to Home Assistant 2024.2.0 update HOT 40
- Is there anybody who can merge the Pull requests?? HOT 5
- Will This work with a ESPHome Bluetooth Proxy, or does it need to connect to the Bluetooth radio on my device running home assistant? HOT 1
- How to setup this integration? HOT 3
- installation issue HOT 1
- Possible error in _handle_command_or_response()
- Device is not registered in Tuya cloud HOT 9
- Not working after update to 2024.4.0 HOT 6
- Not working: "requirements": ["tuya-iot-py-sdk==0.6.6", "pycountry>23.0.0"], HOT 11
- Error Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble HOT 11
- Question: Determine if a Fingerbot action actually completed HOT 2
- Update to tuya_sharing SDK HOT 1
- Can you please add the smart curtain robots HOT 3
- Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble HOT 2
- Error integration HOT 1
- Setup Account and Password HOT 1
- Tuya Protocol 3.4 for TH05 Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha_tuya_ble.