{
"conditions": [
{
"cron": [
"0 * * * * ? *"
],
"brightness": 0.0,
"enable": true
},
{
"cron": [
"30 * * * * ? *"
],
"brightness": 255.0,
"enable": true
}
]
}
curl --location --request POST 'https://192.168.0.28:16674/terminal/core/v1/brightness/timing-policy' \
--header 'Authorization: 1753947960788OlrCLkjmmug8UXFARk5SkA==' \
--header 'Content-Type: application/json' \
--data-raw '{
"conditions": [
{
"cron": [
"0 * * * * ? *"
],
"brightness": 0.0,
"enable": true
},
{
"cron": [
"30 * * * * ? *"
],
"brightness": 255.0,
"enable": true
}
]
}'
{
"code": 0,
"message": "tip msg",
"data": {}
}