-
Notifications
You must be signed in to change notification settings - Fork 31
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
Request to set date & time of RainBird #57
Comments
I managed to find the commands for setting the date and time. Here's the details - note that the format is in hexadecimal.
To set date:
If anyone is interested in how I found the commands I used Charles to set up a HTTP proxy and configured my iPhone to use that proxy (in WiFi settings). I then used the RainBird app to change the date and time. Charles captured the requests & response which I then decrypted to find the above commands. The algorithm to decrypt can be found here |
@mantorok1 thanks for sharing your method. Based on what you said, i've added a mitmproxy plugin that can decode the requests using the python code: #59 Are you up to send a PR to add the date/time command? |
No worries. I can give it a crack. I'm not that familiar with the pyrainbird source code. Is it just matter of adding the new commands to the |
I can do it if you tell me the command format. An example discussion is here #40 Also the maintainer of this library does not want to maintain it anymore so i've moved to doing development for the official library in https://github.com/allenporter/pyrainbird |
I think these are command formats:
Where
Where The month and year are a bit tricky as the month and year are "mashed" together in the last 2 bytes. It's the same date format that is used in the They both return an |
Unify how requests and responses are encoded/decoded so the same libraries can be used on both. This is helpful to support mitm proxy plugins, but also to add variable length input fields like set date/time. Many commands still need to be moved to the new yaml format for encoding. Issue #57
I've added this to the library, and here is an example using the command line tool:
|
Hi, is it possible to set the date/time of the RainBird via this package? I can see the requests for getting them but not setting in the list of sip commands.
The RainBird app on my iPhone allows me to set it so I'm wondering if the command request(s) may not have been discovered yet? If not is there a way to reverse engineer it?
The text was updated successfully, but these errors were encountered: