nfarina / homebridge-dummy

Dummy switches for Homebridge: https://github.com/nfarina/homebridge
267 stars 81 forks source link

Dummy Dimmer? #48

Closed MoTechnicalities closed 2 years ago

MoTechnicalities commented 2 years ago

I'd like a dummy dimmer switch. (dimming values from 0-100)

MoTechnicalities commented 2 years ago

Perfect Use Case:

I will then for example be able to simply say: "Hey Siri, set Scenery 5", and Siri will set the Dummy Dimmer to 5. I could have different values execute different Convert-to-Shortcuts that adjust my accessories to the desired settings then return the value of the Dummy Dimmer back to 0, ready for the next command.

Currently there is no simple Dummy Dimmer to accomplish the above, and I purchasing a real dimmer just for this capability seems unreasonable when we have Homebridge!

MoTechnicalities commented 2 years ago

My alternative solution was found here: homebridge-fake-rgb

justinmm2 commented 1 year ago

Forgive me if this reopens the issue (not used to public GH..); @nfarina do you have any interest in this capability if I were to add it? I ask because I'd love to use it as a sort of data store; i.e, i can store a value for my current bathroom speaker volume level, run a shortcut that jacks up the volume when i hop in the shower, and then when i exit the shower, i could have the shortcut set it to the previous volume. right now i have to settle for a set/fixed volume. seems like an odd hack to use homebridge-dummy as a value store, but it looks like i wasn't the first person to have this thought ;) (alternately, if there's a better way to do that sort of thing..)

nfarina commented 1 year ago

Haha I love it, sure I'd be happy to merge a PR for this!

justinmm2 commented 1 year ago

Cheers! https://github.com/nfarina/homebridge-dummy/pull/71