Is it Possible to automate Fire TV with Appium

I’m trying to automate Fire TV with Appiu. I was able to Launch the Activity, But i not able to go further since navigation is based on remote controls.

I used the KeyCode for remote navigation, but it dint work for me. below is my code, please help me

	driver = new AndroidDriver(new URL("http://127.0.0.1:4726/wd/hub"),capabilities);
	driver.manage().timeouts().implicitlyWait(90, TimeUnit.SECONDS);
            driver.findElement(By.className("//android.widget.TextView[@text='Home']")).click();
	driver.pressKeyCode(AndroidKeyCode.KEYCODE_DPAD_CENTER);
	driver.pressKeyCode(AndroidKeyCode.KEYCODE_DPAD_LEFT);
	driver.pressKeyCode(AndroidKeyCode.KEYCODE_DPAD_LEFT);
	driver.pressKeyCode(AndroidKeyCode.KEYCODE_DPAD_LEFT);
	driver.pressKeyCode(AndroidKeyCode.KEYCODE_DPAD_LEFT)