-
Notifications
You must be signed in to change notification settings - Fork 10
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
I-Feel support #8
Comments
Thanks for the feedback! I always love to hear from people who use the library. It's even better to hear that people added features to it.
|
Hi,
p.s. I will do post the i-feel changes here just for reference and will submit them properly after rebasing.
Then need to propagate the 2 new parameters through SendElectra and add a default =0 in the h file to both of them so the library can stay backwards compatible for users who don't care about i-feel.. Thanks, |
Yeah I had a problem with |
BTW - pay attention to the |
I'm pretty sure it's 4 bits. The remote gives me a range between [16, 31] Celsius which is 4 bits. |
The 5th bit is indeed always 0 when not using i-feel, but it doesn't mean it's a reserved bit or not part of the temperature field :) |
Sorry I didn't give attention to the implementation. |
You are right - there are actually two separate types of commands sent to the AC, but both are using the same format/structure:
In # 1 - the remote may set the "i-feel" bit. |
What's status if the |
In # 1 - the remote may set only the "i-feel" bit out of the two. In your library I don't think there is a reason to have two separate functions. The only difference is the -15 or -5 in temperature and anyway you don't check input validity in that function (e.g. protect from fan=112 or temp=-47). You just truncate the relevant bits - so the validity enforcement is on the user of your library - which is fare enough. In my OH implementation of course I have separate code to react to user actions (power on/off toggle, changing temp, fan, mode, i-feel on/off, ...) and then if i-feel was enabled I have a separate code to send the temperature to the AC, triggered every two minutes (actually I do it every 1 minute currently). You can see it here (if you're familiar with OH): |
The arduinoSTL library now has my changes. If you can, please take the |
Hi!
First, I'm using this library for some time and it works great. So thanks a lot..
I found it ~3 years ago just as I finished parsing the sniffed commands and was about to start implementing it myself - so you saved me that part :)
Just FYI, I'm using it on Arduino Nano combined with RPI3/OH2 and based on master from ~3 years ago.
One feature that I was missing in the library is I-Feel. At the time, when we still used the original remote, we always enabled i-feel which made the temperature sensing on the remote itself (which is located in the room) and not internally in the AC unit itself. This made the temperature in the room more stable without long ups and downs and variance in the temperature.
So recently I added the i-feel functionality to this library on top of the revision that I am using. The added support is very simple - it includes the option to set one additional bit in the configuration code that is sent to the AC, but also requires sending every two minutes a room temperature measurement notification (that is using nearly the same IR code structure - but with yet another bit set).
I will be happy to share my changes if you'd like to review and consider including them - it's already functional and tested for some time (and it's backward compatible).
Thanks again for this great library!
Guy
The text was updated successfully, but these errors were encountered: