Reykir9000 with kkg29a-c1 #2023
-
I bought this ac and installed it in my grow room. Than i wrote a little arduino code using IRLib2 to receive the code from the remote and put the code in another arduino mini to send it. It tead it fine 100 bits long, and send the 100 bit fine with the other arduino. The a/c does nothing. My objective is, to have the a/c temperature dependent in heat or cool mode, and set the target tempreture light dependant night to 16degree and daytime to 22 degree. Now i am wondering if i can do this with your mirage library? If so, how do i use it. Your repository is so complex, if makes me dizzy and i do not know where to start and what the variables are called and what to do step by step. I wish there was a guide for amateur that I am, so i could find a way to loose my fear of your code and libraries. I would need some easy entry and invite. I feel a bit overwhelmed. |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 5 replies
-
There is several examples that you can start with. |
Beta Was this translation helpful? Give feedback.
-
Dear Christian, thank you for the infos. Yes I have seen these files, but
somehow I do not get my head around it. There is nowhere written what is a
dump file and what is the exact purpose of the mirage library.
I read sentences like look at this code. I looked at it, nothing happened.
So looking does not do it for me. I do not posess the force.
My first project I recorded the signal from the remote to an uno. Than i
played it with another mini and recorded it again. All works fine. But the
ac does not read the signal through. So i am hoping to takle the problems
with cog codes. But I do not get my head around it.
What I wish for is a dummi instruction.
Step one, start new project on vscode/platformio
2. Install the following libraries . The variables for each library are,
call them how what do they do.
3. Put your code here into this void loop where right now is the on off
script.
4. To increase tempreture you need to send the following:
5. Does it work without recording the bits or does the raw code need to be
recorded ? Even there is a mirage library.
6. If recording raw, here is the record library
Step by step
7. Do exactly this with the recorded bits. ....
8. You call the code with this...
While i follow the instruction like that, i would learn and understand the
dependencies. But right now i am standing in a maze and see nothing. Maybe
its just blockage, anyway the getting started for dummies would help
tremendously.
…On Sat, Jul 29, 2023, 22:26 Christian I. Nilsson ***@***.***> wrote:
There is several examples that you can start with.
Do note that the library is for the ESP.
There is also dump programs you can use to collect data from your remote.
That is a good way to make sure you are using the correct protocol for your
AC unit.
—
Reply to this email directly, view it on GitHub
<#2023 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBTDXYS2S7INJLKYDPRPVV3XSVWVVANCNFSM6AAAAAA24WKYUQ>
.
You are receiving this because you authored the thread.Message ID:
<crankyoldgit/IRremoteESP8266/repo-discussions/2023/comments/6584509@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Dear David, thank you so much for your info.
But I did that, that’s why I could say there is written something like look at this code and look at that class.
But looking doesn’t cut it for me.
Anyway, I will look at the files you mentioned again tonight. Thanks again.
I think learning by doing is more efficient than learning it and than doing it. Most of the people will run away if they had to do it the second way.
If a person buys a car, the person does not want to learn about it at first, the person wants to drive it around the block. If he likes it, he buys it and than wants to learn all about it.
I am such a person. I am getting scared quick. Regards, Lisa
From: David Conran ***@***.***
Sent: Sonntag, 30. Juli 2023 09:57
To: crankyoldgit/IRremoteESP8266
Cc: Tinkermaid; Mention
Subject: Re: [crankyoldgit/IRremoteESP8266] Reykir9000 with kkg29a-c1 (Discussion #2023)
@Tinkermaid <https://github.com/Tinkermaid> I suggest you read some of the documentation in the Wiki <https://github.com/crankyoldgit/IRremoteESP8266/wiki> & FAQ <https://github.com/crankyoldgit/IRremoteESP8266/wiki/Frequently-Asked-Questions> , & Trouble-shooting <https://github.com/crankyoldgit/IRremoteESP8266/wiki/Troubleshooting-Guide> sections, specifically Adding support for a new IR protocol <https://github.com/crankyoldgit/IRremoteESP8266/wiki/Adding-support-for-a-new-IR-protocol> .
If you have a read of those (and linked pages) you'll learn a lot.
When we say "Dump" we are referring to the terminal output of the example programs: IRrecvDumpV2 <https://github.com/crankyoldgit/IRremoteESP8266/tree/master/examples/IRrecvDumpV2> & IRrecvDumpV3 <https://github.com/crankyoldgit/IRremoteESP8266/tree/master/examples/IRrecvDumpV3> . Either will do. They capture pretty much everything there is to know about an incoming IR message, and what the Library thinks it is.
Hope that helps you.
—
Reply to this email directly, view it on GitHub <#2023 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/BBTDXYQJ75L2YQXXMEZ2WQDXSYHV3ANCNFSM6AAAAAA24WKYUQ> .
You are receiving this because you were mentioned.Image removed by sender.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thank you Christian, sure, I agree with you, but I feel in our case it goes a bit deeper. Sure I have to have a license, but I do not need to know how the steering pump is connected to the steering wheel and how to change a cylinder head gasket.
You said it yourself: I should read (ten hours) of text, not everything will be clear but I will get some knowledge.
Christian, that is exactly what I mean. If a person had to study the thick user book of a car before being able to drive it 10 Meters, nobody would buy it. Complicated things like a a car or a digital camera have a thick user book, - and a quick start guide to do exactly that. Everything else comes later.
That step by step quick start guide is what I am missing. : Lets first make your a/c come on and get off by doing: first second third. If you would like to change the delay time via your cellular phone, offline add this server library and add this code and do this and than this and this .
If you would like to change the delay online, do this and this and that,. Step by step. Add this code. Etc.
That’s how I would like to grow into it. Cheers, Lisa
From: Christian I. Nilsson ***@***.***
Sent: Sonntag, 30. Juli 2023 13:07
To: crankyoldgit/IRremoteESP8266
Cc: Tinkermaid; Mention
Subject: Re: [crankyoldgit/IRremoteESP8266] Reykir9000 with kkg29a-c1 (Discussion #2023)
If a person buys a car they are expected to have the needed knowledge to drive it.
If someone is given a car for free, noone expects to also be given a license to drive it for free as well. Sure happy to give pointers, but not a full license.
We are asking you to read the linked pages. Not everything will be clear as once. But at least you get some knowledge.
—
Reply to this email directly, view it on GitHub <#2023 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/BBTDXYXTQ3GMEAMALLFY4WTXSY55ZANCNFSM6AAAAAA24WKYUQ> .
You are receiving this because you were mentioned.Image removed by sender.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thank for all your well meaning advice. I will read it all. By the way, i
am 60.
…On Sun, Jul 30, 2023, 17:42 Christian I. Nilsson ***@***.***> wrote:
Closed #2023
<#2023> as
resolved.
—
Reply to this email directly, view it on GitHub
<#2023>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBTDXYWEXABO264VGBASO6DXSZ6HRANCNFSM6AAAAAA24WKYUQ>
.
You are receiving this because you were mentioned.Message ID:
<crankyoldgit/IRremoteESP8266/repo-discussions/2023/discussion_event/785446
@github.com>
|
Beta Was this translation helpful? Give feedback.
-
Unfortunately, learning to code, and being able to read code, is sort of a requirement or pre-requisit for using this library. You are correct in that the documentation is not aimed at a complete coding novice. The documenation and the library itself assumes a certain level of knowledge. The documentation and instructions are instead aimed at people who already know how to read, write & understand computer code, because that is the appropriate level for someone who is likely to be using this code/project. While the library & its examples can be used by a near-novice, understanding is not the same as being able to simply use it. Almost all programming libraries (including this one) require a skill level to be able to modify an existing example code sample. That's possibly higher than your current skill level.
See the above code examples I'm talking about, they exist in the examples directory. They cover (and document for "programmers") how to do exactly that if you read through them. While we (or even you, because it is Open Source) can write documentation on how to use this library. Yes, technically, we could write a "Learn how to program, specifically using the IRremoteESP8266 library", but it probably won't be very popular. Once that's all under your belt, then you can approach this library, and will say "Gosh, that's easy. It's fairly simple. Heck, they've commented the code and use/require self-documenting code. Great!". e.g. Most libraries out there are not this well documented. Some are far better documented too. In short, I don't think any of the main contributers have the time, effort, or desire to write documentation down to the level you require. (See that FAQ etc), but we won't say no to you submitting documentation after you've worked it out from a much lower level of skill. Sometimes it's hard for us to explain things at or to that level because we just assume too much. |
Beta Was this translation helpful? Give feedback.
-
Dear David,
thanks you for your explanation, I take it as a compliment that you invested your time to answer me so comprehensive.
Thank you. And most of your lines are well spoken, I am a novice, made a arduino programming class and programmed some quite nice gadgets , for example a isolated floating voltage meter to switch a coupling relay of two different batteries when voltage is equal. But that’s the level I am on, like millions and millions of others in this world. And I will never ever get to a level your thousands of programmers are.
I am a marketing exec, and I am wondering, if it can be done for thousands of people , can it be made for millions of people.
You say, that this project is programming-vise exclusive for people with well off programming skills. And I agree, on the other had, you kick all the million others in the butt. That’s at least how I felt when I started reading your github page. Made me mad. All I needed was an invite, “come in hold my hand , start simple and easy here, no programming needed”, and when you are done go there and lets send your newly recorded code to the ac and see if it works.
Further I believe there are different levels of people that understand coding language, its not a yes or No, its spread out, nobody knows all and the less they know the more they are. Yes, you described exactly that when you wrote: Almost anyone can "use" a program's code; Fewer can "read" the code and follow a long roughly because it requires more skill & knowledge. Fewer still have the ablity to modify the code to tweak it to do what they want a bit more. Far fewer have the ablity to write code to make it do exactly what they want, rather than just modifying something. Rarer still are people who have the knoweldge, skills, time, & effort to be able to write/adjust/fix/improve the inner-workings of a library.
The question is obvious, why do it for the fewest elite?
Anyway, tonight I will look at the TurnOnKelvinator, thanks for the info.
One thing for me is clear, I cannot and do not want to modify a library.
Yesterday night I did the IRrecv therefor the blockage is possibly broken. I am brave, maybe tonight I will overcome another obstacle.
Last but not least, exactly that is what I felt, great, they have documented the code in the arduino file. I was so happy. And sure, it made all sense. And thanks a lot for your kind understanding. Regards, Lisa
From: David Conran ***@***.***
Sent: Montag, 31. Juli 2023 07:02
To: crankyoldgit/IRremoteESP8266
Cc: Tinkermaid; Mention
Subject: Re: [crankyoldgit/IRremoteESP8266] Reykir9000 with kkg29a-c1 (Discussion #2023)
I read sentences like look at this code. I looked at it, nothing happened. So looking does not do it for me. I do not posess the force.
Unfortunately, learning to code, and being able to read code, is sort of a requirement or pre-requisit for using this library.
The second question in our FAQ is I want to change the example code to make it do something different, but I don't know how. Please help me. <https://github.com/crankyoldgit/IRremoteESP8266/wiki/Frequently-Asked-Questions#i-want-to-change-the-example-code-to-make-it-do-something-different-but-i-dont-know-how-please-help-me> . It correctly says that his project and forums are not the appropriate place to learn how to read, write, & understand code and certain computer languages.
You are correct in that the documentation is not aimed at a complete coding novice. The documenation and the library itself assumes a certain level of knowledge. The documentation and instructions are instead aimed at people who already know how to read, write & understand computer code, because that is the appropriate level for someone who is likely to be using this code/project.
While the library & its examples can be used by a near-novice, understanding is not the same as being able to simply use it.
e.g. Almost anyone can "use" a program's code; Fewer can "read" the code and follow a long roughly because it requires more skill & knowledge. Fewer still have the ablity to modify the code to tweak it to do what they want a bit more. Far fewer have the ablity to write code to make it do exactly what they want, rather than just modifying something. Rarer still are people who have the knoweldge, skills, time, & effort to be able to write/adjust/fix/improve the inner-workings of a library.
Almost all programming libraries (including this one) require a skill level to be able to modify an existing example code sample. That's possibly higher than your current skill level.
Some of the things you've described wanting to do are in the coding examples. e.g. TurnOnKelvinatorAC.ino <https://github.com/crankyoldgit/IRremoteESP8266/blob/master/examples/TurnOnKelvinatorAC/TurnOnKelvinatorAC.ino>
We have examples for a few brands, but not for every one of them. Thats because of a number of reasons, the main one being there are 64 different A/C Manufacturers supported by this library, let alone different models under those ones. We don't have the time or resources to write or maintain that many examples. Plus they would be extremely similar. If a person/programmer can't work out how to modify one of the existing "Turn on" examples to suit a different brand, then they would have no hope of changing an example even if it was written just for their Brand/Model of A/C, to make it do something complex or fundamentally different.
Hence there is no need for 64+ examples.
That step by step quick start guide is what I am missing. : Lets first make your a/c come on and get off by doing: first second third. If you would like to change the delay time via your cellular phone, offline add this server library and add this code and do this and than this and this .
See the above code examples I'm talking about, they exist in the examples directory <https://github.com/crankyoldgit/IRremoteESP8266/tree/master/examples> . They cover (and document for "programmers") how to do exactly that if you read through them.
There are ones that show you how to turn an A/C on, how to set it's temp etc. There are ones that show you how turn on & off every A/C. So what you're asking does exist. It's just currently at a level that is possibly higher than your skill level.
While we (or even you, because it is Open Source) can write documentation on how to use this library. Yes, technically, we could write a "Learn how to program, specifically using the IRremoteESP8266 library", but it probably won't be very popular.
The more general approach is "Learn how to do very basic programming", then "Learn how to do more advanced programming", "How to program using libraries", then "How to use Arduino & C++", then "How to use the IRremoteESP8266 library".
The first three-to-four of those are available all over the place. e.g. Internet, Google, YouTube, Books, Schools, Universities, etc.
Once that's all under your belt, then you can approach this library, and will say "Gosh, that's easy. It's fairly simple. Heck, they've commented the code and use/require self-documenting code. Great!". e.g. Most libraries out there are not this well documented. Some are far better documented too.
In short, I don't think any of the main contributers have the time, effort, or desire to write documentation down to the level you require. (See that FAQ etc), but we won't say no to you submitting documentation after you've worked it out from a much lower level of skill. Sometimes it's hard for us to explain things at or to that level because we just assume too much.
Note: There are several "How To's" out there and blogs, videos etc on people using this library. You might find a search for those may help you.
—
Reply to this email directly, view it on GitHub <#2023 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/BBTDXYTGIKWLNZ676ZG2NBLXS435FANCNFSM6AAAAAA24WKYUQ> .
You are receiving this because you were mentioned.Image removed by sender.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Last night I red a lot and I wrote a little getting started guide for my personal step1, IRrecv.
I have it attached to this message. Cheers, Lisa
Ps.: What would be step 2?
From: Christian I. Nilsson ***@***.***
Sent: Sonntag, 30. Juli 2023 13:07
To: crankyoldgit/IRremoteESP8266
Cc: Tinkermaid; Mention
Subject: Re: [crankyoldgit/IRremoteESP8266] Reykir9000 with kkg29a-c1 (Discussion #2023)
If a person buys a car they are expected to have the needed knowledge to drive it.
If someone is given a car for free, noone expects to also be given a license to drive it for free as well. Sure happy to give pointers, but not a full license.
We are asking you to read the linked pages. Not everything will be clear as once. But at least you get some knowledge.
—
Reply to this email directly, view it on GitHub <#2023 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/BBTDXYXTQ3GMEAMALLFY4WTXSY55ZANCNFSM6AAAAAA24WKYUQ> .
You are receiving this because you were mentioned.Image removed by sender.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@Tinkermaid I think because you responded via email, anything you attach to the email isn't passed on. |
Beta Was this translation helpful? Give feedback.
-
Of course it can, with enough effort and skill, most things can be done. It's the "effort and skill" part that is missing, and really until now. Most people have been able to figure it out. i.e. The documentation & examples (which are a kind of documentation) have been pitched at the appropriate level for 99% of the audience.
Sorry, I can't control how the documentation makes you feel. Obviously, it isn't intended to make you feed "mad". The "millions" typically use this library via a number of other programs, so they use it indirectly. e.g. Tasmota. ESPEasy, IRMQTTRemote, ESPhome etc etc. They provide a much simpler interface for people because they do most of the heavy lifting and provide a limited interface to this library. There already exist documentation on how to capture a message, and how to replay it. We are not trying to be elitest, why would we? There is no benefit to us. However a different skill set is required to simplify and write good documentation to the level you require. We probably don't have that, nor, until now, have we really seen or had the need to. But hey, it's open-source, and anyone can contribute. If someone writes that documentation, and we verify it is correct, of course will try to incorporate it. Just remember, it's all free & volunteer work involved in this (and a lot of other) libraries. People contribute what they can, where they can, when they can, and at a level they can. Btw. If you Google'd "IRremoteESP8266 tutorial", the first and third results (for me at least) are links to the kind of documentation you seem to want or require. That sort of thing (Googling for help/documentation/instructions etc) is something programmers learn to do often and early. It becomes instinctive, and thus we often forget to suggest it to new people because it is so obvious.
Using IRsend to send your newly captured message, using either |
Beta Was this translation helpful? Give feedback.
-
Hi David, thanks for your replies. I attach the step1 text to this message. Its easy language and therefor hopefully not scary. Cheers, Lisa |
Beta Was this translation helpful? Give feedback.
-
Dear David, Now after those 2 Days I did code the Step2. But did not write a Text for it, jet. Anyway, here is my code. I tried it on my ac and the ac receives, it beeps and changes settings. But the code needs looked at by someone who knows what he is doing. There are probably some misspelled dependencies and explanations and so on, stuff that is above my paygrade. There is a out commented part, because first I tried millis, but I could not get my millis working, dont know why, for a quick fix I used delay My goal is, was, to evaluate every 10 Minutes and send a IR Message. But that would mean it beeps every 10 Minutes and if they are always the same, I dont know if it will work. (toggle settings). My last idea was to halt the loop but keep reading ambient temperature, and when it goes outside a particular range, to start the evaluation process and send a new IR Message. I believe this code snipped must be put in every singe one of the 8 evaluation sections with different temperature range values. But I am not sure. Cheers |
Beta Was this translation helpful? Give feedback.
-
Dear David, those pieces I write and mail to you for your free use. Do with them what you want. In Step three I cleaned up the code as good as I could and added the support for a small OLED showing Temperature and Humidity and added the support for a esp32 Board from Heltec. |
Beta Was this translation helpful? Give feedback.
@Tinkermaid I suggest you read some of the documentation in the Wiki & FAQ, & Trouble-shooting sections, specifically Adding support for a new IR protocol.
If you have a read of those (and linked pages) you'll learn a lot.
When we say "Dump" we are referring to the terminal output of the example programs: IRrecvDumpV2 & IRrecvDumpV3. Either will do. They capture pretty much everything there is to know about an incoming IR message, and what the Library thinks it is.
Hope that helps you.