GithubHelp home page GithubHelp logo

mugifly / homeassistant-mornin Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 1.0 6 KB

Home Assistant platform for mornin' plus smart curtain (Unofficial)

License: MIT License

Python 100.00%
curtain curtains homeassistant homeassistant-components iot unofficial

homeassistant-mornin's People

Contributors

mugifly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

laurentkol

homeassistant-mornin's Issues

How can I obtain encryption key?

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)への対応について

したいこと
mornin(first gen)の操作

試したこと(gistのスクリプトを使用)

  1. Encryption Keyの取得→成功
  2. 各種UUIDの書き換え等

その他
以下のエラーが発生します。
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)

for homebridge ?

Dear developer,

I would like to use your your program for homebridge

How adapt it to homebridge ?

Thanks in advance,

MultipleDevices

Dear developer,

How can I set these for my multiple Devices?

Thanks in advance.

Error Message

@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.

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.