-
Notifications
You must be signed in to change notification settings - Fork 16
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
Eve Aqua - Decoded schedules :-) #90
Comments
Nice work! Actually, it is beyond fakegato-history to implement also the schedule, but it would be nice if you can update the wiki describing the decoded protocol. |
So how is triggering the schedule? Is this the device itself? |
Yep, that is my assumption. The schedules are setup in the Eve app and transferred to the device. There must be another command which syncs the sunset/sunrise times to the device. I’m assuming this as not sure how the device would know that otherwise. Plus, a couple of commands I haven’t decoded yet which I think contains time information. |
Yep, see what I can document in the wiki once finished full decoding and testing to send own developed schedules back to the Eve app |
Yep! Accurate timekeeping in embedded systems is a very common thing. The Eve app sends the current time sometimes so the device can maintain the internal "clock" very well 😄 I'm also using a similar method for timestamps: on boot i get the NTP time and the ESP8266 than maintains the time automatically. Sometimes the clock gets off by 1-2 seconds, so when @n0rt0nthec4t Can you send me some examples what a proper data looks like (for Eve config get/set characteristics)? |
@HomeKidd sorry, haven't been coding much recently. Trying to workout a few more of the aqua commands, specifically for setting a schedule, but haven't gotten that working correctly. One funny thing when using fakehistory, if I put this against an irrigation system with multiple valves (zones), teh eve app shows the configuredname characteristic as blanks, however, without connect to fake history, it shows things correctly. So thinking its either a eve app bug OR eve stores the aqua name outside of the normal HomeKit configuredname characteristic And you don't publish your sourcecode on your GitHub, so yeah. Be great if you can share all your code |
So, after some playing around, I've managed to decode the schedules from Eve Aqua. My WIP code is below. hoping someone finds this useful to create a PR for fakegato. As I don't use homebridge, thats not on my radar. Also, decoded more of the "supercharacteristic" for getting info
Still have more of the commands to decode, but the hard part about the schedules is done
This is set with firmware ID of 1208 (the wiki example, is for firmware 1051)
The text was updated successfully, but these errors were encountered: