Irremoteesp8266: LEGO PF

Created on 16 Mar 2019  路  9Comments  路  Source: crankyoldgit/IRremoteESP8266

@markszabo
Hi,
No issue at all, a question only.

  • Why is the Lego Power Function not added in your repository?
  • In z3t0's (march 2018) and crankyoldgit's (april 2017) repo i find them back.

Ok yours is the most accurate and actual version of the IR control for the ESP.
Is there any issue with the Lego PF Function, or has no user asked about it?

  • An issue: you have any information? Possible i can fix it.
  • No user asked: i will do the job.

Thanks for any information and/or advise.

enhancement question

Most helpful comment

@crankyoldgit
my server was faster to find the specs for it then i with searching, haha.
Here it is. Look at page 6 there it starts.
I hope it helps...

BTW: LEGO is a Registrated Trademark of the Lego Group. ;-)

Doc: LEGO_Power_Functions_RC_v120.pdf

All 9 comments

I can't remember why I didn't move it over. I'll take another look at it and see what can be done.

Looking at the code again, I can see why I didn't move it over into v2.0+. It doesn't have a decoder and the code was difficult to read, so it got put in the "I'll get around to it eventually" basket.

You're the first person to notice.

Do you have any raw data or specifications for the protocol at all? If I have those, I can write a clean(er) implementation of it.

@crankyoldgit
Thanks for your effort.
I will take a look in what i have to help out.

@crankyoldgit
my server was faster to find the specs for it then i with searching, haha.
Here it is. Look at page 6 there it starts.
I hope it helps...

BTW: LEGO is a Registrated Trademark of the Lego Group. ;-)

Doc: LEGO_Power_Functions_RC_v120.pdf

After quickly skimming the protocol spec, I can now see why the author of the previous implementation didn't write a decoder for it. I'm not sure this library could easily decode it AND still auto detect all the other different protocols it supports.

For the time being, I'll look at just converting the existing code over "as is".

Do you have a capture of the real remote from IRrecvDumpV2 that you can supply?

@crankyoldgit
Thanks for the information.
No i have no capture because my ir shield for the wemos d1 mini v3.1.0 i have not received. I think it will be next weekend. Then i can do a test with it.
Thanks for the advise.

@mike2nl I've added lego support in the following branch: https://github.com/markszabo/IRremoteESP8266/tree/lego

Please try it out and let me know how you go.

@crankyoldgit
wow, yes will test it on friday evening or saturday, because the ir shield for the Wemos D1 mini arrives on friday afternoon.
Cool work!

FYI, this has been included in the newly released v2.6.0 of the library.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wizkidorg picture wizkidorg  路  7Comments

andreimos picture andreimos  路  3Comments

leobel96 picture leobel96  路  6Comments

MehranMazhar picture MehranMazhar  路  5Comments

direk picture direk  路  6Comments