I was trying to build an android app to act like air conditioner remote control that can turn on and off my Daikin AC. Does anyone know where I can find the IR pattern code? I've done my research on internet for a whole day but I can't find any useful database with my AC model
My remote control model is ARC480A23
public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
Context context = requireContext().getApplicationContext();
ip_textview = view.findViewById(R.id.textview_first);
Toast myToast = Toast.makeText(getActivity(), "Signal received", Toast.LENGTH_SHORT);
Vibrator v = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
ConsumerIrManager ir_service = (ConsumerIrManager) context.getSystemService(Context.CONSUMER_IR_SERVICE);
int[] pattern = {/*this will be filled with IR pattern code*/};
binding.buttonFirst.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
v.vibrate(500);
ir_service.transmit(38000, pattern);
}
});
}
I've decoded the remote with Arduino using IR receiver. The pattern was so long that it couldn't decoded with <IRRemote.h> library. I have to decode the remote without any arduino libraries.
Here are the patterns: