JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Protocols.ini changes for next release

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Wed Sep 02, 2020 2:13 pm    Post subject: Protocols.ini changes for next release Reply with quote

1. New TCL A/C protocol
Post: http://www.hifi-remote.com/forums/viewtopic.php?p=140565#140565

Code:
[TCL A/C]
PID=01 FF
VariantName=JP1TCL
CmdParms=mode sw:Off|On=1,mode:-|heat|dry|cool|-|-|-|fan|feel=1, \
    temp C:16C|17C|18C|19C|20C|21C|22C|23C|24C|25C|26C|27C|28C|29C|30C|31C=0, \
    temp F:61F|63F|64F|66F|68F|70F|72F|73F|75F|77F|79F|81F|82F|84F|86F|88F=0, \
    swing:Off|On=0,fan:auto|sleep|low|med|-|high=0,time sw:Off|On=0, \
    time:0|10m|20m|30m|40m|50m|1h|1h 10m|1h 20m|1h 30m|1h 40m|1h 50m \
        |2h|2h 10m|2h 20m|2h 30m|2h 40m|2h 50m|3h|3h 10m|3h 20m|3h 30m|3h 40m|3h 50m \
        |4h|4h 10m|4h 20m|4h 30m|4h 40m|4h 50m|5h|5h 10m|5h 20m|5h 30m|5h 40m|5h 50m \
        |6h|6h 10m|6h 20m|6h 30m|6h 40m|6h 50m|7h|7h 10m|7h 20m|7h 30m|7h 40m|7h 50m \
        |8h|8h 10m|8h 20m|8h 30m|8h 40m|8h 50m|9h|9h 10m|9h 20m|9h 30m|9h 40m|9h 50m \
        |10h|10h 10m|10h 20m|10h 30m|10h 40m|10h 50m|11h|11h 10m|11h 20m|11h 30m|11h 40m|11h 50m \
        |12h|12h 10m|12h 20m|12h 30m|12h 40m|12h 50m|13h|13h 10m|13h 20m|13h 30m|13h 40m|13h 50m \
        |14h|14h 10m|14h 20m|14h 30m|14h 40m|14h 50m|15h|15h 10m|15h 20m|15h 30m|15h 40m|15h 50m \
        |16h|16h 10m|16h 20m|16h 30m|16h 40m|16h 50m|17h|17h 10m|17h 20m|17h 30m|17h 40m|17h 50m \
        |18h|18h 10m|18h 20m|18h 30m|18h 40m|18h 50m|19h|19h 10m|19h 20m|19h 30m|19h 40m|19h 50m \
        |20h|20h 10m|20h 20m|20h 30m|20h 40m|20h 50m|21h|21h 10m|21h 20m|21h 30m|21h 40m|21h 50m \
        |22h|22h 10m|22h 20m|22h 30m|22h 40m|22h 50m|23h|23h 10m|23h 20m|23h 30m|23h 40m|23h 50m|24h=0
CmdTranslator=Translator(0,1,16) Translator(1,4,0) Translator(2,4,4,comp) Translator(3,4,4,comp) \
    Translator(4,1,18) Translator(4,1,19) Translator(4,1,20) Translator(5,3,21) Translator(6,1,17) Translator(7,8,8)
DefaultCmd=00 00 00
CmdIndex=0
FixedData=
Notes=This is a protocol for TCL and similar air conditioners.  The mode_sw and time_sw parameters are On/Off switches for mode and time \
that have their values as separate parameters.
Code.S3C80=43 8C 03 8B 17 00 00 CD 00 B9 07 08 03 0C 00 00 00 00 00 00 00 00 08 00 01 26 CB 23 E4 03 20 E4 03 21 F0 21 56 20 0F 56 21 0F C4 04 1E 56 1F 7F 18 05 10 C1 C0 22 10 C1 C0 22 F0 22 1C 16 F6 01 4C 6C 0E 87 36 19 5C 08 1C 12 F6 01 4C 37 30 07 C6 F8 01 9A F6 01 58 E0 C3 5A ED 04 C3 1A 6A E3 1C 12 F6 01 4C AF


2. New Keeprite protocol.
Post: http://www.hifi-remote.com/forums/viewtopic.php?p=140682#140682

Code:
[Keeprite A/C]
PID=01 FF
VariantName=JP1KR
CmdParms=Mode:Auto|Cool|Dry|Fan|Heat=0, \
    Power1:Off|On=1, \
    Fan:Auto|Low|Med|High=0, \
    Unknown:Off|On=0, \
    Sleep:Off|On=0, \
    Temp C:16C|17C|18C|19C|20C|21C|22C|23C|24C|25C|26C|27C|28C|29C|30C=0, \
    Temp F:61F|63F|64F|66F|68F|70F|72F|73F|75F|77F|79F|81F|82F|84F|86F=0, \
    Turbo:Off|On=0, \
    Light:Off|On=0, \
    Power2:Off|On=1, \
    Swing style:Off|Full|Pos1|Pos2|Pos3|Pos4|Pos5|Bottom|-|Middle|-|Top=0, \
    Temp display:Off|Indoor Set|Indoor Ambient|Outdoor Ambient=0, \
    Main Power:On|Off=0
CmdTranslator=Translator(LSB,0,3,0) Translator(LSB,1,1,3) Translator(LSB,2,2,4) Translator(LSB,3,1,6) Translator(LSB,4,1,7) \
    Translator(LSB,5,4,8) Translator(LSB,6,4,8) Translator(LSB,7,1,12) Translator(LSB,8,1,13) Translator(LSB,9,2,14) \
    Translator(LSB,10,4,16) Translator(LSB,12,1,20) Translator(LSB,11,3,21)
DefaultCmd=00 00 00
CmdIndex=0
FixedData=
Notes=
Code.S3C80=43 8C 03 8B 12 8F 44 08 03 01 45 03 31 01 45 01 06 27 10 11 A7 08 B7 C6 10 04 01 18 05 E4 04 05 56 04 F0 56 05 0F C6 06 0A 40 19 08 56 08 F0 F0 C1 10 C1 FB 06 46 04 05 46 05 80 19 09 56 09 C0 46 09 02 5C 0E 1C 04 87 31 02 F6 FF 73 02 54 1A F6 38 C5 F6 FF 73 F0 C4 56 C4 0F 49 0A F6 01 46 B0 13 E6 29 40 E4 08 03 E4 09 04 B0 05 E4 0A 06 8D 01 46 2C 08 10 C3 C0 C4 2A FA AF


3. Bug fix for existing Anthem protocol.
The Unit Code is incorrectly labeled as LSB where it should be MSB like the rest of the fields. I've also added the MAXQ610 code

Code:
[Anthem]
PID=01 23
DevParms=Main Device:8=186,Sub Device:8=34,Unit Code:2=0
DeviceTranslator=Translator(0,8,0) Translator(1,8,8)
FixedData=ba 22
CmdParms=OBC:6
CmdTranslator=Translator(0,6,2) TranslatorFromDev(2,2,0)
DefaultCmd=00
Notes=DecodeIR lists the OBCs as 8 bits.  Some Anthem OBCs can be divided into a Unit number and Function number.  \
The unit number is contained in the 2 most significant bits of the OBC
Code.S3C80=43 8B 21 8B 12 8F 44 08 08 01 2E 03 77 01 2E 01 1A 30 C0 0F A0 07 BC 20 11 08 03 04 04 C0 04 05 C0 60 C0 0E 09 06 18 03 F6 FF 58 39 03 18 04 F6 FF 58 39 04 18 05 F6 FF 58 39 05 18 06 F6 FF 58 39 06 F6 01 46 F6 01 46 F6 01 46 C6 F8 92 7C F6 01 58 F6 01 0A 7B EB AF 2C 08 E0 C1 10 C3 2A FA AF
Code.MAXQ610=32 69 21 10 17 00 45 00 17 00 17 00 BB 03 32 01 99 00 EE 0E 00 80 60 03 D3 D1 D0 03 D3 D3 D2 17 D3 D3 FF 13 D3 D3 01 00 C4 D0 00 59 2C 00 00 00 D0 C5 00 00 C4 D1 00 59 20 00 00 00 D1 C5 00 00 C4 D2 00 59 14 00 00 00 D2 C5 00 00 C4 D3 00 59 08 00 00 00 D3 C5 00 10 C6 00 08 10 C5 00 00 12 C5 C5 01 56 08 C4 80 15 C5 C5 80 11 C4 C4 01 58 F0 C6 00 5D 00 00 00 43 44 24 01 70 71 72 73 42 46 64 70 71 72 73


4. New Anthem Combo protocol entry.
Post: http://www.hifi-remote.com/forums/viewtopic.php?p=140692#140692

Code:
[Anthem Combo]
PID=01 23
DevParms=Main Device:8=186,Sub Device:8=34
DeviceTranslator=Translator(0,8,0) Translator(1,8,8)
FixedData=ba 22
CmdParms=OBC:6,Unit Code:2=0
CmdTranslator=Translator(0,6,2) Translator(1,2,0)
DefaultCmd=00
Notes=
Code.S3C80=43 8B 21 8B 12 8F 44 08 08 01 2E 03 77 01 2E 01 1A 30 C0 0F A0 07 BC 20 11 08 03 04 04 C0 04 05 C0 60 C0 0E 09 06 18 03 F6 FF 58 39 03 18 04 F6 FF 58 39 04 18 05 F6 FF 58 39 05 18 06 F6 FF 58 39 06 F6 01 46 F6 01 46 F6 01 46 C6 F8 92 7C F6 01 58 F6 01 0A 7B EB AF 2C 08 E0 C1 10 C3 2A FA AF
Code.MAXQ610=32 69 21 10 17 00 45 00 17 00 17 00 BB 03 32 01 99 00 EE 0E 00 80 60 03 D3 D1 D0 03 D3 D3 D2 17 D3 D3 FF 13 D3 D3 01 00 C4 D0 00 59 2C 00 00 00 D0 C5 00 00 C4 D1 00 59 20 00 00 00 D1 C5 00 00 C4 D2 00 59 14 00 00 00 D2 C5 00 00 C4 D3 00 59 08 00 00 00 D3 C5 00 10 C6 00 08 10 C5 00 00 12 C5 C5 01 56 08 C4 80 15 C5 C5 80 11 C4 C4 01 58 F0 C6 00 5D 00 00 00 43 44 24 01 70 71 72 73 42 46 64 70 71 72 73


5. New NEC1-f16 variant
Post: http://www.hifi-remote.com/forums/viewtopic.php?p=140627#140627

Code:
[NEC1-f16 2Fixed]
PID=01 FF
DevParms=Dev:8=210, Sub:8=30
CmdParms=OBC1:8=0, OBC2:8=0
DeviceTranslator=Translator(lsb,comp,0,8,0) Translator(lsb,comp,1,8,8)
CmdTranslator=Translator(lsb,comp,0,8,0) Translator(lsb,comp,1,8,8)
DefaultCmd=00 00
FixedData=B4 87
Notes=Useful if the device and subdevice remain constant for the entire upgrade. Use NEC1-f16 Official if more flexibility is needed.
Code.S3C80=43 8B 22 8B 12 CF 4D 08 08 01 21 00 FD 01 21 03 30 D2 DC 11 94 08 B6 8D 01 46
Code.HCS08=20 15 23 46 22 CF 4D 08 08 01 21 01 11 01 21 03 44 D2 DC 11 94 08 CA CC FF 5F

_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!


Last edited by The Robman on Thu Sep 03, 2020 6:33 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4515
Location: Cambridge, UK

                    
PostPosted: Thu Sep 03, 2020 5:42 am    Post subject: Reply with quote

Can the Keeprite A/C protocol have a PID of 01FF, in keeping with all other homemade executors, rather than 01FE, please.

As device upgrades in .rmdu and .rmir files store the numeric values of device parameters, changing the TranslatorFromDev in Anthem from lsb to msb will upset some existing setups or device upgrades that use Anthem, as it will change the signal sent when the unit code is 1 or 2. Does this concern you?
_________________
Graham
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Thu Sep 03, 2020 9:21 am    Post subject: Reply with quote

mathdon wrote:
Can the Keeprite A/C protocol have a PID of 01FF, in keeping with all other homemade executors, rather than 01FE, please.

Sure, I just made it 01FE in anticipation of ylaviolette having issues loading it into an RMDU file which already has the TCL protocol loaded, which is also 01FF.

mathdon wrote:
As device upgrades in .rmdu and .rmir files store the numeric values of device parameters, changing the TranslatorFromDev in Anthem from lsb to msb will upset some existing setups or device upgrades that use Anthem, as it will change the signal sent when the unit code is 1 or 2. Does this concern you?

No concern, all of the current Anthem upgrades that use unit codes are KM files, which doesn't have the bits reversed.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Thu Sep 03, 2020 6:33 pm    Post subject: Reply with quote

Just added #5
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4515
Location: Cambridge, UK

                    
PostPosted: Sat Sep 05, 2020 4:30 am    Post subject: Reply with quote

I was going to ask why you created #5 when 2-byte commands for Yamaha are already available with NEC 4DEV Yamaha Combo, but I have just seen your post saying the same thing. So is #5 redundant? Personally, I see no point in adding it now to protocols.ini but will do so if you still want it.
_________________
Graham
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21210
Location: Chicago, IL

                    
PostPosted: Sat Sep 05, 2020 9:23 am    Post subject: Reply with quote

I've written it and it works, so there's no reason not to add it. The Yamaha versions require OBC2 to be one of 4 pre-determined values whereas this is freeform. We have one with 3 fixed bytes, so why not offer one with 2 fixed bytes.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4515
Location: Cambridge, UK

                    
PostPosted: Sun Sep 06, 2020 6:06 am    Post subject: Reply with quote

OK, I will add it.
_________________
Graham
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control