Skip to content

SHINING-TECH/flutter_rk_control_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 

Repository files navigation

๏ผ๏ผ๏ผCurrently under development. Stay tuned for updates๏ผ๏ผ๏ผ

๐Ÿ”Œ RK Hardware Control Plugin for Flutter

A Flutter plugin for controlling hardware-level features on Rockchip RK series boards (e.g. RK3288, RK3399, RK3568). This plugin enables system-level control directly from Flutter apps, perfect for embedded devices and digital signage solutions.


๐Ÿ“‹ Features

  • โœ… Power Control: Turn the device on or off
  • โฐ Scheduled Power On/Off: Automatically power the device on or off at a specified time
  • ๐Ÿ’ก Screen Control: Manage screen state (on/off)
  • ๐Ÿ•’ System Time Configuration: Set or synchronize system time

๐Ÿงฉ Supported Devices

  • โœ… RK3288
  • โœ… RK3399
  • โœ… RK3568
  • โœ… Other Rockchip RK series boards

Requires Android OS (tested on Android 7.1+)


๐Ÿ“ฆ Installation

Add the dependency in your pubspec.yaml:

dependencies:
  rk_hardware_control: ^1.0.0

Replace with the actual plugin name and version.


๐Ÿš€ Getting Started

Import the plugin:

import 'package:rk_hardware_control/rk_hardware_control.dart';

๐Ÿ”Œ Power Control

await RkHardwareControl.shutdown(); // Shutdown device

โฐ Scheduled Power On/Off

await RkHardwareControl.schedulePowerOn("08:00");
await RkHardwareControl.schedulePowerOff("22:00");

๐Ÿ’ก Screen Control

await RkHardwareControl.turnScreenOff();
await RkHardwareControl.turnScreenOn();

๐Ÿ•’ System Time

await RkHardwareControl.setSystemTime("2025-06-29 15:30:00");

๐Ÿ› ๏ธ Permissions

Ensure your app has system-level permissions and is signed with the platform key, as most of these controls require elevated access.


๐Ÿ“„ License

This project is licensed under the Apache License 2.0.


๐Ÿ™‹ Support

For issues, feature requests, or contributions, please open an Issue or submit a Pull Request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published