# Alarm can not receive uri

**URL:** <https://forum.webostv.developer.lge.com/t/alarm-can-not-receive-uri/28120>\
**Category:** Web App Development\
**Created:** [March 18, 2026, 4:34am UTC](https://forum.webostv.developer.lge.com/t/alarm-can-not-receive-uri/28120 "2026-03-18T04:34:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![KevinLiLi](https://avatars.discourse-cdn.com/v4/letter/k/f0a364/32.png) [@KevinLiLi](https://forum.webostv.developer.lge.com/u/KevinLiLi)\
**Post date:** [March 18, 2026, 4:34am UTC](https://forum.webostv.developer.lge.com/t/alarm-can-not-receive-uri/28120/1 "2026-03-18T04:34:34Z")

</div>

Hi,

I set an alarm in the app, both in the UI or the service.

On service “alarmCallback” haven’t received the corresponding callback function from the URI.

Can you help checking the code?

function setAlarm() {  
console.log(“setAlarm start:”);  
ServiceContext.getService().call(“luna://com.webos.service.alarm/set”,  
{  
“key”: “my\_app\_unique\_alarm”,  
“uri”: “luna://com.omni.devices.app.service/alarmCallback”,  
“params”: {  
“message”: “time is go”,  
“task”: “showNotification”  
},  
//“at”: “12/25/2024 20:00:00”,  
“in”: “00:00:10”,  
“wakeup”: true,  
“keep\_existing”: true  
}, (response) =\> {  
console.log(“receive:”, response);  
console.log(“error:”, response.isError);  
console.log(“error info:”, response.errorText);  
console.log(“payload:”, response.payload);

});  
console.log(“setAlarm end:”);  
};

ServiceContext.getService().register(“alarmCallback”, function(message) {  
console.log(“alarmCallback:”, message.payload);

message.respond({  
returnValue: true,  
message: “success”  
});  
});

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [March 18, 2026, 4:35am UTC](https://forum.webostv.developer.lge.com/t/alarm-can-not-receive-uri/28120/2 "2026-03-18T04:35:11Z")

</div>

We do not guarantee the compatibility of webOS TV apps with webOS OSE resources. For webOS TV apps, please use webOS TV resources in this website only. Thank you.

---

<div class="post-metadata">

**Author:** ![KevinLiLi](https://avatars.discourse-cdn.com/v4/letter/k/f0a364/32.png) [@KevinLiLi](https://forum.webostv.developer.lge.com/u/KevinLiLi)\
**Post date:** [March 19, 2026, 12:00am UTC](https://forum.webostv.developer.lge.com/t/alarm-can-not-receive-uri/28120/3 "2026-03-19T00:00:14Z")

</div>

My app needs to implement an alarm-like function. What APIs on WebOS TV support this?

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [March 19, 2026, 12:08am UTC](https://forum.webostv.developer.lge.com/t/alarm-can-not-receive-uri/28120/4 "2026-03-19T00:08:28Z")

</div>

We are not sure exactly what function you want to implement, but sending notifications is only available in system apps, not 3rd party apps. For more information, please refer to [Notifications](https://webostv.developer.lge.com/develop/guides/notifications). Thank you.

---

<div class="post-metadata">

**Author:** ![KevinLiLi](https://avatars.discourse-cdn.com/v4/letter/k/f0a364/32.png) [@KevinLiLi](https://forum.webostv.developer.lge.com/u/KevinLiLi)\
**Post date:** [March 19, 2026, 5:28am UTC](https://forum.webostv.developer.lge.com/t/alarm-can-not-receive-uri/28120/5 "2026-03-19T05:28:39Z")

</div>

In fact, it is not necessary to have a notification function, but an alarm clock function. Is there an API to implement the alarm clock function?

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [March 19, 2026, 5:37am UTC](https://forum.webostv.developer.lge.com/t/alarm-can-not-receive-uri/28120/6 "2026-03-19T05:37:44Z")

</div>

Currently, no alarm-related API is provided. (You can find all available webOS TV APIs [here](https://webostv.developer.lge.com/develop/references).) However, webOS TV supports standard web APIs and JavaScript events. So please find more information on Google. Thank you.
