Skip to content
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

Reverse engineering code from Zigbee2MQTT #40

Open
rkpatel33 opened this issue Jul 15, 2024 · 0 comments
Open

Reverse engineering code from Zigbee2MQTT #40

rkpatel33 opened this issue Jul 15, 2024 · 0 comments

Comments

@rkpatel33
Copy link

I was hoping to get some help getting pointed in the right direction on a personal project. I have some Mitsubishi wall units in my apartment that i think use the the protocol discussed here.

https://www.analysir.com/blog/2015/01/06/reverse-engineering-mitsubishi-ac-infrared-protocol/

I am planning to use Zigbee2MQTT connected to a Zigbee IR universal remote to control each unit. I tried to use your Broadlink code long ago and it seems to work, and today I tried to strip it down to generate the IR code that Zigbee2MQTT expects so I could then transmit it using my MQTT broker.

This is an example of the code, which seems to be a base 64 encoded string.

BwMNlwakAQUFgAPgAwEDBQWkAcABAQUFgANAAQMFBaQBwAEBBQWAA0ABAQUFgAPAAQMFBaQBwAEDBQWkAeBHAQMFBaQB4AsBAQUFgAPgBwEBBQWAA0ABAwUFpAHgBwEBBQWAA+AXAQEFBYADQAEDBQWkAeAjAQTrAWMBpOAmAQLrAaTgeAEDBQWkAeALAQEFBYADAY8s4hlHQMcBBQWAA0ABAwUFpAHAAQEFBYADQAEBBQWAA8ABAwUFpAHAAQMFBaQB4BsBQGvgBwHgARMBYwGAC0AHBWMBBQVjAUAHAKRgAeABBwEFBUADBaQBpAFjAUAfQANACwEFBUADA6QBpAFABwFjAUAXQANAD0AHAQUFgANAC+ADA8AfwBMBBQWAA0APAwUFYwFAB+APA+AHO0An4AsTQBfgBQMApCAB4AET4AMLAesB4BED4B8n4AND4Asz4AcTAwUFYwHgAzPACwcFBWMBBQVjAQ==

I tried to convert this back all the way to binary to compare to your protocol diagram as a reality check, but I get what appears to be garbage. I think this is bc I am misinterpreting what this string is.

Do you know if this actually just base64 encoded binary string, and if so the proper way to get back to the protocol frames in your blog post?

Any help appreciated, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant