-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support GET Requests, Update RCSwitch, Separate Configuration File, Up to 10 Outlets, Homebridge-HTTP Support, Status Tracking #5
base: master
Are you sure you want to change the base?
Conversation
marcetcheverry
commented
Oct 15, 2017
•
edited
Loading
edited
- Update RCSwitch
- New sniffer utility
- Remove old files
- Place configuration into its own file for easier editing
- Support for GET requests
- Add a shared mutex lock for codesend which allows proper use with fast simultaneous HTTP requests as HomeBridge would do when you ask Siri to "Turn On All the Lights". This also allows for the removal of the delay when toggling all outlets at once in the web interface.
- Support status tracking for Homebridge-HTTP and other systems
- Support up to 10 outlets
- Better handling of the 'All' toggle case
Remove .DS_Store.
Separate configuration into its own file. Remove delay after each codesend command.
…ltaneously to toggle many lights at once.
…o upon recompilation there aren't two copies
…rever when trying to acquire a lock
Hi @marcetcheverry, |
@blefjell I don't think this is the right place to ask for that kind of support. That sounds like an issue with HAP-Node. My solution is agnostic to whatever system you use and only adds support for calling codesend repeatedly quickly. I chose to use HomeBridge over HTTP. Maybe try that. Please note that HomeKit (or Homebridge) at least, does require status tracking of the outlets on the server side to work 100% properly. I have created a solution for that, and I have updated this pull request to include the sample configuration file. |
…6 to avoid conflicts. Add support for status reporting
@marcetcheverry Thank you for the quick response. I am sorry, for asking in the wrong place. I am totally new to github and was not sure, where I should ask. |
That is correct, the mutex lock serializes access to the hardware which can only send one signal at a time. It allows third parties to execute multiple codesend instances simultaneously (example "Hey Siri, turn off all the lights"). Server side status tracking helps HomeKit know if the lights are on or off. At least Homebridge does polling to know what the status of the light is, as it may be turned of and on by other sources than Homekit (or even another Homekit device). As of now, I have not implemented support for tracking status with a 433 receiving chip, but that is the next step as it allows you to use your remote and HomeKit simultaneously while keeping proper track of status. As it stands right now Homekit does not have support for "toggle" "write only" lights, it keeps track of status. |