Skip to content

About

Smart lighting control UI sample for HarmonyOS watches with room toggles, brightness and color controls, scenes, schedules and music-sync flows.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Note: To access all shared projects, get information about environment setup, and view other guides, please visit Explore-In-HMOS-Wearable Index.

SmartHome

SmartHome - Control and automate room lights using your watch. Create dynamic scenes, sync lights with music, set schedules, and manage multiple bridges.

Preview

Use Cases

  • Dynamic Light Effects
  • Smart Switch
  • Change Light Color
  • Home Automation

Tech Stack

  • Languages: ArkTS, ArkUI
  • Frameworks: HarmonyOS SDK 5.0.21
  • Tools: DevEco Studio 5.1.0 Beta1
  • Libraries: @kit.ArkUI

Directory Structure

entry/src/main/ets/
├───components
│       AddSheetBuilder.ets
│       HeaderSheetBuilder.ets
│       IconContainer.ets
│       RoomBrightnessComponent.ets
│       RoomColorComponent.ets
│       RoomItemInfo.ets
│       RoomListItemComponent.ets
│       RoomNameComponent.ets
│       RoomToggleComponentBuilder.ets
├───entryability
│       EntryAbility.ets
├───entrybackupability
│       EntryBackupAbility.ets
├───pages
│       Index.ets
│       RoomItemPage.ets
├───store
│       RoomListActions.ets
│       RoomListReducer.ets
│       RoomListStore.ets
├───viewmodels
│       RoomItemModel.ets
│       RoomStoreModel.ets
└───views
        RoomItemView.ets
        RoomListView.ets

Constraints and Restrictions

Supported Device

  • Huawei Watch 5

LICENSE

Smart Home is distributed under the terms of the MIT License. See the license for more information.

About

Smart lighting control UI sample for HarmonyOS watches with room toggles, brightness and color controls, scenes, schedules and music-sync flows.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages