Create a Custom Protocol for Ducasa AC
Create a Custom Protocol for Ducasa AC
Hi! I've been using the software for a few days and it seems amazing!
I have already been able to reverse engineer several devices with recognized protocols.
Now I am trying to read the codes of some remotes for air conditioners of the Ducasa brand but they appear to me as RAW.
I have read in the manual that it is possible to create custom protocols in the software .ini file. I have tried with values that I have seen in the signal but it does not recognize it.
I do not know what I'm doing wrong. Can anybody help me?
I have already been able to reverse engineer several devices with recognized protocols.
Now I am trying to read the codes of some remotes for air conditioners of the Ducasa brand but they appear to me as RAW.
I have read in the manual that it is possible to create custom protocols in the software .ini file. I have tried with values that I have seen in the signal but it does not recognize it.
I do not know what I'm doing wrong. Can anybody help me?
Re: Create a Custom Protocol for Ducasa AC
Hi
yes we usually add in additional protocols for users by updating the ini file. (within reason)
So just follow the instructions here: https://wiki.analysir.com/index.php?tit ... r_AC_units
We will issue a new ini file once we get them, but it may take a few days.
yes we usually add in additional protocols for users by updating the ini file. (within reason)
So just follow the instructions here: https://wiki.analysir.com/index.php?tit ... r_AC_units
We will issue a new ini file once we get them, but it may take a few days.
Re: Create a Custom Protocol for Ducasa AC
Thank you so much for the quick anwser!
For now it's time to learn.![Smile :)](./images/smilies/icon_e_smile.gif)
I will read all the information in the link.AnalysIR wrote: ↑Sun Sep 19, 2021 1:52 pm So just follow the instructions here: https://wiki.analysir.com/index.php?tit ... r_AC_units
I would like to learn how to create new protocols myself instead of asking for help.
For now it's time to learn.
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: Create a Custom Protocol for Ducasa AC
Sadly we don't publish the syntax as it would generate too much followup & gets complex very quickly.I would like to learn how to create new protocols myself instead of asking for help.
![Sad :(](./images/smilies/icon_e_sad.gif)
That is why we offer to add support in for users, with the bonus that everyone gets access to all the new protocols.
PS: Some users have managed to figure out the simple part of the syntax which should be obvious.
Re: Create a Custom Protocol for Ducasa AC
I have already sent the session with the IR codes!
I think it would save them work. Many more protocols could be generated and loaded by the community itself in a common repository for all users of the program.
I created a new custom protocol with the fields Marks, Spaces, Header, HeaderSpace, Mark0, Mark1, Space0, Space1 but for now I don't know what the other fields mean.
I also don't know how the software works since those µs marks are almost never exact. There are always variations up or down...
Sorry if i'm meddling in your work![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
What a pity
![Sad :(](./images/smilies/icon_e_sad.gif)
Looking at the TOSHIBA_80_96_144_160AC protocol in the AnalysIR.ini file and comparing it with the signals, I think I know what many of the parameters mean.
Code: Select all
[CUSTOM14]
altName=TOSHIBA_80_96_144_160AC
Generic=True
Syntax=HB096THB096T,HB080THB080T,HB072THB072T,HB072THB062T,HB056THB056T
Marks=543,543,4400,543,0,0,0,0
Spaces=1623,543,4400,0,0,0,0,0
Header=4400
HeaderSpace=4400
Mark0=543
Mark1=543
Space0=543
Space1=1623
Delta=200
Bits=0
Carrier=38000
![Laughing :lol:](./images/smilies/icon_lol.gif)
Code: Select all
[CUSTOM69]
altName=DUCASA
Generic=True
Syntax=HB096THB096T,HB080THB080T,HB072THB072T,HB072THB062T,HB056THB056T
Marks=470,470,8400,470,0,0,0,0
Spaces=1630,580,4200,0,0,0,0,0
Header=8400
HeaderSpace=4200
Mark0=470
Mark1=470
Space0=580
Space1=1630
Delta=200
Bits=0
Carrier=38000
Sorry if i'm meddling in your work
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Re: Create a Custom Protocol for Ducasa AC
I just saw in the user manual a very interesting section on the description of the fields of the configuration file.
I have copied them in a gist to be able to make a quick translation to any language in case someone is interested:
Appendix B – Configuration File, ANALYSIR.ini
I have copied them in a gist to be able to make a quick translation to any language in case someone is interested:
Appendix B – Configuration File, ANALYSIR.ini
Re: Create a Custom Protocol for Ducasa AC
OK I got your file and sent you a new ini file with instructions. It does indeed look like a new protocol to add to the list.
The timings of IR signals always vary due to the distortion created by IR receivers. can be +/- 200uS.
However, Our LearnIR module usually captures to within a few uSecs.
re GIST: Please add the version# of the manual & a link back to our website contact page or this forum topic to avoid any possible confusion in the years to come.
In the session history you sent, there we several bad signals. I have added a note to the wiki to keep the remote about 1->2m away from the receiver and point directly at it, when recording signals.
Your A.IR Shield Nano was shipped today & when you get it please submit a new set of Signals to check/validate the timing accuracy etc.
The timings of IR signals always vary due to the distortion created by IR receivers. can be +/- 200uS.
However, Our LearnIR module usually captures to within a few uSecs.
re GIST: Please add the version# of the manual & a link back to our website contact page or this forum topic to avoid any possible confusion in the years to come.
In the session history you sent, there we several bad signals. I have added a note to the wiki to keep the remote about 1->2m away from the receiver and point directly at it, when recording signals.
Your A.IR Shield Nano was shipped today & when you get it please submit a new set of Signals to check/validate the timing accuracy etc.
Re: Create a Custom Protocol for Ducasa AC
I have not received any email.
![Sad :(](./images/smilies/icon_e_sad.gif)
That makes me very happy!
![Smile :)](./images/smilies/icon_e_smile.gif)
Added!
![Smile :)](./images/smilies/icon_e_smile.gif)
Do you need me to recapture the signals in Arduino with that distance?
Of course, as soon as it gets to me I will! Thank you!
![Wink ;)](./images/smilies/icon_e_wink.gif)
Re: Create a Custom Protocol for Ducasa AC
Having to add the new AnalysIR.ini file and see the AnalysIR updating config file link I have felt very stupid
![Shocked :shock:](./images/smilies/icon_eek.gif)
When testing the new protocol, I suspect that it is inverting the bits, seeing many 0xFF
![Laughing :lol:](./images/smilies/icon_lol.gif)
Code: Select all
cold-26c
C7 FB D5 FF FF FF FB 7F 27
![Sad :(](./images/smilies/icon_e_sad.gif)
I have tweaked the protocol settings a bit to invert the bits.
Code: Select all
[CUSTOM83]
altName=DUCASA72AC
Generic=True
Syntax=HB072T
Marks=470,470,8400,470,0,0,0,0
Spaces=1630,580,4200,0,0,0,0,0
Header=8400
HeaderSpace=4200
Mark=470
Space0=580
Space1=1630
Delta=160
Bits=72
Carrier=36000 # TBC
Code: Select all
cold-26c
38 04 2A 00 00 00 04 80 D8
![Smile :)](./images/smilies/icon_e_smile.gif)
Code: Select all
cold-26c
1C 20 54 00 00 00 20 01 1B
SUM (nibble): 1B
![Smile :)](./images/smilies/icon_e_smile.gif)
You do not have the required permissions to view the files attached to this post.
Re: Create a Custom Protocol for Ducasa AC
Looks good...
I also came to the same conclusion on Checksum.
However I made changes to the ini file as follows:
If temperature is in Celsius it looks like the LSB bit of nibble5 and the top 3 bits of nibble6 with the result added to 15 to get the actual Celsius value.
It doesn't all match, but that could be due to operator error when capturing the signals.![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
I also came to the same conclusion on Checksum.
However I made changes to the ini file as follows:
Code: Select all
[CUSTOM83]
altName=DUCASA72AC
Generic=True
Syntax=HB072T
Marks=530,530,8480,530,0,0,0,0
Spaces=1590,530,4240,0,0,0,0,0
Header=9000
HeaderSpace=4500
Mark=530
Space0=1590
Space1=530
Delta=160
Bits=72
Carrier=38000 # TBC
If temperature is in Celsius it looks like the LSB bit of nibble5 and the top 3 bits of nibble6 with the result added to 15 to get the actual Celsius value.
It doesn't all match, but that could be due to operator error when capturing the signals.
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)