Devices from DomoticzEx-Plugins don't activate Scenes

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
fleinze
Posts: 9
Joined: Wednesday 19 April 2017 21:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Devices from DomoticzEx-Plugins don't activate Scenes

Post by fleinze »

Version: 2025.1 beta 16628
Platform: raspberry
Plugin/Hardware: Python DomoticzEx
Description:
Switches from a DomoticzEx-Plugin don't activate Scenes. They can be added as activation devices in scenes, but they don't activate them when pressed.
Workes with the legacy-Domoticz-framework but not with the extended.

The Python-code inside of the plugin for updating a switch device is:

Code: Select all

Devices[device].Units[unit].nValue = power
Devices[device].Units[unit].sValue = "On" if power == 1 else "Off"
Devices[device].Units[unit].Update(Log=True)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest