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!
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.
Hello,
I am the latest newcomer, from France. I have been using domoticz since 2016 on a pi 3B, and I would like to take this opportunity to congratulate all the actors who contribute to the development of the program, thank you to you.
There is a small downside for me with the latest version "2024 2" since this morning, all the "Thermostat Setpoint" devices are no longer updated by my scripts.
Example that no longer works:
I had the same issue I think.
I could set them manually from the dashbord but any updates from the internal automation (blockly in my case) just seized to function after the update.
No errors were given.
I simply sorted that out by moving the automation tasks (like controlling thermostate based on windows sensor) to Node-Red.
Took me about an hour and now everything is under control.
Hello,
I don't use Node-red, and especially I can't afford that updates disrupt the proper functioning of my scripts in Lua or Blocky.
I have an automatic system for controlling the temperature of a fireplace with a boiler.
If not, is it possible to revert to an earlier version, and how do you do it?
Kind regards.
Hello.
My system has been working for 2 years, and was working yesterday until 11:15 am, then I accepted the update 2024 2 to domoticz,
and in the afternoon I realized that there was a problem.
My machine works very well, if I manually change the thermostat setpoint, it reacts.
I have some scripts in lua and another in blocky that worked before the update.
Now the setpoint of devices are no longer updated.
what's happen?
The previous thermostat setpoint device have been converted to general setpoint devices with more options. You now can configure resolution/step size, min/max values, unit of measure , check the dialog in device edit button.
Lua should be able to set this new setpoint so if it fails perhaps you have changed the min/max value so 0 is not accepted.
What is the error in the logging if you run the script?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
I can reproduce your issue on stable and latest beta of today.
With Lua a setpoint device is not updated.
I created a similar dzvents script and that works without issues.
As I never programmed in Lua this is the timer triggered script I used. I created a dummy setpoint device named: test setpoint
When activated I see the print statement but the setpoint device is not updated.
commandArray = {}
-- loop through all the devices
for deviceName,deviceValue in pairs(otherdevices) do
if (deviceName=='test setpoint') then
commandArray['SetSetPoint:183'] = "25"
print("set Setpoint")
end
end
return commandArray
So if the SetPoint works under Dzvents, which just got a fix not too long ago, it seems to me, it's because the Setpoint device has been modified in domoticz.sh but not the Blocky and Lua languages or interpreters, no???
commandArray = {}
-- loop through all changed devices
if (devicechanged['DummySwitch']) then
commandArray['SetSetPoint:158'] = "23.4"
print("set Setpoint")
end
return commandArray
Hello,
Great so Gizmocuz.
I'm going to check if my script Lua works with beta version 15864.
I'll keep you posted.
But what about Blocky?
Kind regards.
commandArray = {}
-- loop through all changed devices
if (devicechanged['DummySwitch']) then
commandArray['SetSetPoint:158'] = "23.4"
print("set Setpoint")
end
return commandArray
As I am a little bit scared of installing a beta on my production system: Is it planned to release a stable Version 2024.3 in the near future?