enter data into domoticz fails

Python and python framework

Moderator: leecollings

Post Reply
willem9136
Posts: 53
Joined: Friday 11 December 2020 15:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands Paesens
Contact:

enter data into domoticz fails

Post 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
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: enter data into domoticz fails

Post 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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest