Toggle notification via lua/http

Post Reply
hamster
Posts: 17
Joined: Friday 28 April 2017 19:11
Target OS: Raspberry Pi
Domoticz version:
Contact:

Toggle notification via lua/http

Post by hamster » Tuesday 16 January 2018 2:37

Hey. Seems like something simple that I should have been able to find, but haven't had luck via google or search here.

What I'm looking for is the commands to use to toggle notifications on a particular device/switch. I'm not trying to send a custom notification, I've seen how to do that. I want to disable/enable the notification button that each switch has. In both Lua and via http if possible.

In addition, would also be nice to know how to toggle the notification system settings via json/lua as well.

Thanks!
Last edited by hamster on Monday 22 January 2018 2:00, edited 2 times in total.

welby
Posts: 28
Joined: Monday 20 November 2017 4:24
Target OS: Raspberry Pi
Domoticz version:
Location: Australia
Contact:

Re: Disable notification via lua/http

Post by welby » Tuesday 16 January 2018 7:23

If you go to setup/settings then along the top choose the notification section you can turn each one off.

hamster
Posts: 17
Joined: Friday 28 April 2017 19:11
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Disable notification via lua/http

Post by hamster » Friday 19 January 2018 6:01

I thought I was clear... via http (json) or lua. Not the WebUI.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests