mugifly / homeassistant-mornin Goto Github PK
View Code? Open in Web Editor NEWHome Assistant platform for mornin' plus smart curtain (Unofficial)
License: MIT License
Home Assistant platform for mornin' plus smart curtain (Unofficial)
License: MIT License
Hi,
I have mornin’, but I’m not sure how to get the encryption key.
What I did:
Logcat
Reading the source code of mornin+
したいこと
mornin(first gen)の操作
試したこと(gistのスクリプトを使用)
その他
以下のエラーが発生します。
mornin+のみ対応ということは理解しているのですが、この場合の対処方法など思いつきましたらお教えいただけると幸いです。(対応できた際にはPull Requestをお送りさせていただきたく思います)
$ ./morninp.py E4:48:::: 67f2f034d7fe4******************* close
Connecting... E4:48::::
Receiving status... 14010304640700******************
Generating seed...
Generating main token... 5c652cb651d4ef*****************
Generating encrypted main token... 523af387************************
Trying to authenticate...
Traceback (most recent call last):
File "./morninp.py", line 178, in
main()
File "./morninp.py", line 169, in main
auth_device(peripheral, encrypt_key)
File "./morninp.py", line 57, in auth_device
app_service_status_characteristic.write(bytes.fromhex(auth_value), True)
File "/usr/local/lib/python3.5/dist-packages/bluepy/btle.py", line 200, in write
return self.peripheral.writeCharacteristic(self.valHandle, val, withResponse)
File "/usr/local/lib/python3.5/dist-packages/bluepy/btle.py", line 543, in writeCharacteristic
return self._getResp('wr')
File "/usr/local/lib/python3.5/dist-packages/bluepy/btle.py", line 407, in _getResp
resp = self._waitResp(wantType + ['ntfy', 'ind'], timeout)
File "/usr/local/lib/python3.5/dist-packages/bluepy/btle.py", line 368, in _waitResp
raise BTLEGattError("Bluetooth command failed", resp)
bluepy.btle.BTLEGattError: Bluetooth command failed (code: 3, error: Attribute can't be written)
Dear developer,
I would like to use your your program for homebridge
How adapt it to homebridge ?
Thanks in advance,
Dear developer,
How can I set these for my multiple Devices?
Thanks in advance.
@mugifly
Many Thanks, I was not able to find mornin+ somfy integration anywhere except your code.
I am getting error message at the 3rd step as:
"Platform error cover.mornin - Integration 'mornin' not found."
whereas I can see the folder in my custom_components properly installed.
"/config/custom_components/mornin/cover.py"
Do I need to install some integration? If yes then how do I need to install, as I can't find Mornin in integrations.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.