rxseger / homebridge-gpio-cmd Goto Github PK
View Code? Open in Web Editor NEWRaspberry Pi GPIO plugin for Homebridge, using /usr/bin/gpio
Raspberry Pi GPIO plugin for Homebridge, using /usr/bin/gpio
Add node >= 4 requirement and convert to use ES6-isms, mainly: arrow functions, class declarations, const/let variables (see my other homebridge plugins for reference)
Hi,
I’ve been trying to use this plugin to expose a switch that works as an ’on/off’ device to control the backlight of a display. I’m currently using wiringpi with the commands ‘gpio -g pwm 19 0’ to turn it off and ‘gpio -g pwm 19 60’ for full brightness.
Is there a way to achieve this using this plugin?
Thanks for homebridge-gpio-wpi-cmd.
I have a request for use raspberry pi and relay for use ceiling fan remote. I have remote with 3 speed and off and light buttons, and other is 6 speed, off and light buttons.
Please if possible to make new homebridge for fan I be super happy!
Thanks again!!!!
Toshi
Hi
I have 4 relay's all sync up with homebridge. Everything is great. I can see it all in Apple's HomeKit on my iPhone.
However - The relays are turned on when I turn them off in HomeKit and they go off when I turn them on in home kit.
Somewhere I need to swop something. Please can somebody help - its driving me nuts!!!
Thanks for the homebridge-gpio-cmd solution. I'm using it to manage my Energy Recovery Ventilation . I had to use your "invert" branch to get the logic I needed. I also found I had to do a gpio -1 write pin 1 before setting it to "out" other wise the unit would turn on as soon as homebridge started.
I noted however that although duration works perfectly, once the unit turns off at the end of the duration period the status under homebridge does not change. In other words it still shows it as on. The only way I can currently get it to refresh is to exit the Home app and restart it. Not sure if this is a homebridge issue under IOS 11.4 or a codeing probem in index.js.
I'll take a closer look at the code tonight and if I can find a simple solution code or otherwise I'll let you know.
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.