How to pass SetPoint value in Switch Action

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
Itschi
Posts: 22
Joined: Saturday 16 May 2015 14:58
Target OS: Windows
Domoticz version:
Contact:

How to pass SetPoint value in Switch Action

Post by Itschi »

Hi,

I wonder if/how I can pass a Setpoint devices value as variable in an action of a Switch device.
Screenshot 2025-10-14 124419.jpg
Screenshot 2025-10-14 124419.jpg (81.06 KiB) Viewed 32 times
In that case the URL called on switch "On" should pass the Setpoint value of the corresponding Setpoint device. Currently it's hardcoded as "Temperatur=70". Of course it should be "Temperatur=%SetPoint%". I've seen something similar with Blockly ({{weatherdevice[idx]}} ) that still works, but cant find any documentation about it, nor do I know how the Setpoint device is called (corresponding to "weatherdevice") or weather it can be used in Switch actions as well:
Screenshot 2025-10-14 124844.jpg
Screenshot 2025-10-14 124844.jpg (119.24 KiB) Viewed 32 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest