Page 1 of 1

enter data into domoticz fails

Posted: Monday 22 January 2024 14:33
by willem9136
Please help.
Upgraded to PI OS bookworm and to a PI4
after this my python script does not work anymore. I worked before perfect.
I use:

Code: Select all

temp = "10.0"
command = 'curl -s \"http://192.168.2.100:8080/json.htm?type=command&param=udevice&idx=13&nvalue=0&svalue=TEMP\"'
command = command.replace("TEMP",temp)
os.system(command)
Normally I got a response from Domoticz that the the call was accepted.
But now not response nor fault message

Jumped back to BUSTER. Same problem
thanks so far, Willem

Re: enter data into domoticz fails

Posted: Monday 22 January 2024 19:19
by waltervl
Did you also update Domoticz to a new version as there were some security changes..
For example you need to set Allow basic auth for HTTP in menu setup - settings, tab security when using http