json + domoticz sous docker

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Moulins44119
Posts: 4
Joined: Friday 23 October 2026 10:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

json + domoticz sous docker

Post by Moulins44119 »

Hello,
I installed Domoticz 2026.4 using Docker on my Raspberry Pi 3. It works.

I want to install a device to determine the position of a shutter (this worked on the previous installation), but it's impossible. I get a message saying the JSON request failed.

Code: Select all

osUrl = "/json.htm?type=command&param=switchlight&idx=";
What is the command for Domoticz running in Docker? Does anyone happen to have it?
Thanks in advance.
Last edited by Moulins44119 on Sunday 08 November 2026 11:37, edited 4 times in total.
User avatar
gizmocuz
Posts: 3065
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: json + domoticz sous docker

Post by gizmocuz »

Moulins44119 wrote: Sunday 08 November 2026 9:53 Bonjour,
This is a English forum, your question might also help others, so please edit your post and translate it to English.
I suppose you already asked this question in ChatGPT/Gemini/Claude before posting here?
Quality outlives Quantity!
User avatar
RonkA
Posts: 146
Joined: Tuesday 14 June 2022 12:57
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Harlingen
Contact:

Re: json + domoticz sous docker

Post by RonkA »

Maybe this is useful? viewtopic.php?t=44389
SolarEdge ModbusTCP - Kaku - Synology NAS - Watermeter - ESPEasy - DS18b20
Work in progress = Life in general..
Post Reply