Code Monkey home page Code Monkey logo

Comments (4)

samsonrosen avatar samsonrosen commented on July 19, 2024

Thanks so much for this plugin! It does work really well. My switchbot came this morning and the plugin worked straight away.

If there is an optional way it can ping a device to detect in Homebridge whether the device is off or not that would be amazing. It would help if someone turns off the device manually.

I tried to setup something with an occupancy sensor to detect if the printer is on or off and then set the state of the switch. But if the sensor detects the printer has been turned off, when the switch-bot is on, the automation then just make the switch bot press the button again, which then turns the printer on.

from homebridge-switchbot-for-mac.

zizi4n5 avatar zizi4n5 commented on July 19, 2024

It seems to be possible to achieve this by referring to homebridge-broadlink-rm, which I was told about in a recent tweet.

https://github.com/lprhodes/homebridge-broadlink-rm/blob/815b94734a1468f3960b922a6f4778f8eed37576/accessories/switch.js#L73-L109

from homebridge-switchbot-for-mac.

samsonrosen avatar samsonrosen commented on July 19, 2024

Hey @zizi4n5,

Does the above pull request mean you made progress? I couldn’t see anything in the readme.

Thanks,

Sam

from homebridge-switchbot-for-mac.

zizi4n5 avatar zizi4n5 commented on July 19, 2024

Hey @samsonrosen ,

Version 0.1.0 has been released, including this feature.
Please check it out.
https://github.com/zizi4n5/homebridge-switchbot-for-mac#ping

from homebridge-switchbot-for-mac.

Related Issues (17)

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.