Comments (3)
I successfully force router to permit join by using raw command service, but I face another problem while adding device. Device was added, but ieee address wasn't know at that time, but few second later, which cause a problem to update old entity in home assistant. The new entity was create and two entities for the same ieee exists :-/
Logs from adding:
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'00e1500100000005004200126c756d692e73656e736f725f6d61676e6574'
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:0, addr:e150, endpoint:1, cluster:0, attribute:5, status:0, data_type:66, size:18, data:lumi.sensor_magnet, lqi:189
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'01e1500100000001002000010a'
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:1, addr:e150, endpoint:1, cluster:0, attribute:1, status:0, data_type:32, size:1, data:10, lqi:189
2020-05-08 16:53:25 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for e150, please pair it again !
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [custom_components.zigate] Add device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (e150) None
2020-05-08 16:53:25 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for e150, please pair it again !
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'02e150010000ff0200420013100021a90b21a80124000000000021c11d2057'
2020-05-08 16:53:25 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for e150, please pair it again !
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:2, addr:e150, endpoint:1, cluster:0, attribute:65282, status:0, data_type:66, size:19, data:100021a90b21a80124000000000021c11d2057, lqi:189
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (e150) None
2020-05-08 16:53:25 ERROR (MainThread) [zigate] IEEE is missing for e150, please pair it again !
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update device Device (e150) None
2020-05-08 16:53:25 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for e150, please pair it again !
2020-05-08 16:53:25 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for e150, please pair it again !
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] discover_device e150
2020-05-08 16:53:25 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for e150, please pair it again !
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Msg to send b'01000010a102e15001010000000000000200040005'
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Received response 0x004d: b'e15000158d000200d57180'
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Encoded Msg to send b'0102110210021010a10212e150021102110210021002100210021002100212021002140210021503'
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x004D - Device announce : addr:e150, ieee:00158d000200d571, mac_capability:10000000, lqi:189
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Device Announce RESPONSE 0x004D - Device announce : addr:e150, ieee:00158d000200d571, mac_capability:10000000, lqi:189
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update device Device (e150) None
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Acquire Lock on device Device (e150) None
2020-05-08 16:53:25 ERROR (ZiGate-Decode data) [zigate] IEEE is missing for e150, please pair it again !
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [zigate] Release Lock on device Device (e150) 00158d000200d571
2020-05-08 16:53:25 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update device Device (e150) 00158d000200d571
After restart Home Assistant the entity new one with addr only disappeared and only old one left, which is desynchronized and mark as unavaliable.
from zigate.
It looks like I restart HA before autosave was trigger, that's the reason of disappearing entity.
from zigate.
Workaround: In case of paring/reparing device with specific router. HA show duplicated entities, but after waiting 5min after paring (to be sure that autosave happened) and restarting HA duplicates entity disappear and everything looks normal.
from zigate.
Related Issues (20)
- Question sur le SmartButton HUE HOT 1
- Erreur lors de l'installation des dépendances HOT 2
- Error when clicking a lot on xiaomi switch button HOT 1
- Unknown response 0x8035 on Aqara Window Door Sensor HOT 4
- Erreur JavaScript HOT 1
- Failed to eval "decode_xiaomi(value)
- Event is not JSON serializable: <Event zigate.attribute_updated[L] ...> HOT 4
- How to join an existing network ? HOT 4
- Adding new devices HOT 1
- Uncaught TypeError: Cannot read property 'id' of undefined
- Probleme switch IKEA E1743
- Support for firmware 3.1d HOT 1
- Supprimer toutes les données pour migration Homeassistante --> ZHA HOT 2
- Zigate2zigpy utilisable ? HOT 2
- installation zigate HOT 5
- No available actions on Sunricher Micro Smart Dimmer HOT 13
- struct.error: unpack requires a buffer of 9 bytes
- Problem with MQTT publishing
- Erreur de dépendance Zigate HOT 5
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 zigate.