entmike / homebridge-cmdaccessory

Command plugin for HomeBridge to appear as different accessories (Switch, Lock, Window Blinds, Lights, etc)
15 stars 5 forks source link

Switch not updating state #3

Closed phenotypic closed 5 years ago

phenotypic commented 6 years ago

Hey, I’ve tried setting up cmdaccessory to control a number of accessories around my house, however, I’m having a few issues. Previously, I had my garage which is controlled by RF set up with the cmdswitch2 plugin which worked great with the omission that I was unable to change the switch type to Garage Door Opener and I was hoping that this plugin would provide that solution. I set it all up and it appeared in my home app as a garage which was great. However, the problem came that I was unable to change the state of the garage inside that app as it would appear to be loading . I believe this is because I do not have a “state_cmd" in the config.json as I am not quite sure what to put in here. I was wondering if there would be a way to omit the status check inside the config.json so it assumes the garage has changed state and not wait for confirmation. I may be completely wrong in my assumption and have come here in hopes that someone could offer me some advice/a solution. Thank you very much in advance, Tom