GithubHelp home page GithubHelp logo

Comments (8)

rswilem avatar rswilem commented on June 27, 2024 1

Alright! I have just committed a new version (e5d1267) which is on npm, too.

This version supports status changing through Homekit. No need to input your passcode anywhere. Somehow the "Security Key" is saved in Domoticz's settings. I can just take that value and use it in my security calls. Simply works. Try it out! ✌🏼

from homebridge-edomoticz.

ergofreiberg avatar ergofreiberg commented on June 27, 2024 1

from homebridge-edomoticz.

rswilem avatar rswilem commented on June 27, 2024

I have implemented this just now. See commit 77b4c8f. The only thing left to do here is to build the sending of arm and disarm commands.

I have not built this for now since I'm not sure on how to save the passcode. We'd need a passcode for arming and disarming, and saving the passcode in .homebridge/config is not a good idea..
We'd want something like a control panel popping up on the HomeKit(/ Eve) app where the user can input their passcode everytime a state is being changed.

Not sure how to do this for now. Anyhow, Security panel status can be accessed through HomeKit now, and you'll receive a push notification everytime the alarm status changes. (immediately too, MQTT!)

from homebridge-edomoticz.

PatchworkBoy avatar PatchworkBoy commented on June 27, 2024

Have you looked at the configurationhandler within homebridge dynamic platform sample? https://github.com/nfarina/homebridge/blob/master/example-plugins/homebridge-samplePlatform/index.js

Wonder if similar is triggerable just for specific type/subtype to capture & cache when bridge is first added to home if sec type exists...?

from homebridge-edomoticz.

rswilem avatar rswilem commented on June 27, 2024

Oh wow. Nice! Didn't know such a thing existed. Downside is that the "password" is still saved in ’config.json’. If anyone has access to that file, that person could basically unlock your security system. I'd rather have the user input it everytime, just as you would do when using the physical device.

from homebridge-edomoticz.

ergofreiberg avatar ergofreiberg commented on June 27, 2024

Reading of security status works really well - big thanks for that. But the more You give, the more they want ... So my question is that can You instruct me what to change in accessory file to get sending status also working. I understand the risks of storing security code in file and can live with that for now.

from homebridge-edomoticz.

rswilem avatar rswilem commented on June 27, 2024

Alright, I'll have to take a look and try and reverse engineer the sending part. That's something I haven't done yet. All of this is undocumented in the API so I'll have to take a look at the Domoticz code. Will let you know!

from homebridge-edomoticz.

ergofreiberg avatar ergofreiberg commented on June 27, 2024

from homebridge-edomoticz.

Related Issues (20)

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.