# Lighting Biorhythm

> The interface depends on cloud capabilities and requires authorization configuration in the [Mini Program Developer Platform](https://iot.tuya.com/miniapp/)'s `Development Settings` - `Cloud Capability`.

## Interface Capabilities

We provide the following interface capabilities for geographic biorhythm lighting, which developers can directly call using the `API` to implement related business development.

**Note that the following APIs need to be used with `@ray-js/ray^1.4.14`.**

| Interface Name            | Description                |
| ------------------------- | -------------------------- |
| createLightRhythmsRefreshTimer | Creates a scheduled task to refresh the light-rhythms time |
| getLightRhythmsCityInfo | Retrieves city information |
| getLightRhythmsTimeInfo | Retrieves sunrise and sunset times |