Get all schedules(timers) for one Device

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
pesa1234
Posts: 18
Joined: Wednesday 05 December 2018 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Italy
Contact:

Get all schedules(timers) for one Device

Post by pesa1234 »

Hello and thanks for reading this.

Code: Select all

Version: 2024.7
Platform Raspberry
Build Hash: b317cfab1
Compile Date: 2024-07-13 16:59:31
dzVents Version: 3.1.8
Python Version: 3.7.3 (default, Mar 23 2024, 16:12:05) [GCC 8.3.0]
I'm trying to send this command to my domoticz

Code: Select all

/json.htm?type=command&param=gettimers&idx=timerID
to get all schedules(timers) for one Device.

The answer is only this:

Code: Select all

{
        "status" : "OK",
        "title" : "gettimers"
}
The answer shuould return

Code: Select all

{
	"result" : 
	[
		{
			"Active" : "true",
			"Cmd" : 0,
			"Color" : "",
			"Date" : "",
			"Days" : 128,
			"Level" : 100,
			"MDay" : 0,
			"Month" : 0,
			"Occurence" : 0,
			"Randomness" : "false",
			"Time" : "08:30",
			"Type" : 23,
			"idx" : "45"
		}
	],
	"status" : "OK",
	"title" : "Timers"
}
Where I'm wrong? I've double checked the timerID and it is correct

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests