--Configuration --
rpi : Raspberry Pi 2 Model B Rev 1.1
Os Name : bullseye Release: 11
--Software Domoticz bash--
Version: 2023.1 (build 15369)
Compile Date: 2023-06-22 07:56:08
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
--Software Mosquitto sh --
mosquitto version 2.0.15
mosquitto is an MQTT v5.0/v3.1.1/v3.1 broker.
--Software zwave-js-ui sh --
npm version : 9.5.0
Node version : v18.14.2
And full docker
i have only the lua script
Code: Select all
sudo grep --include=*.lua -rn -e "/json.htm?type"
local url = dw.settings['http://127.0.0.1:8080'] .. '/json.htm?type=command¶m=setused&used=true&name=' .. dz.utils.urlEncode(item.name) ..
URLString = URLString .. "://127.0.0.1:"..cdd_port.."/json.htm?type=command¶m=getdevices&used=true"
URLString = URLString .. "://127.0.0.1:"..cdd_port.."/json.htm?type=command¶m=getdevices&used=true&username="..cdd_username.."&password="..cdd_password
local custom_action = "http://"..serv_ip..":"..serv_port.."/json.htm?type=command¶m=customevent&event="
dz.openURL("http://127.0.0.1:8080/json.htm?type=command¶m=setactivetimerplan&ActiveTimerPlan=1")
dz.openURL("http://127.0.0.1:8080/json.htm?type=command¶m=setactivetimerplan&ActiveTimerPlan=2")
dz.openURL("http://127.0.0.1:8080/json.htm?type=command¶m=setactivetimerplan&ActiveTimerPlan=4")
dz.openURL("http://127.0.0.1:8080/json.htm?type=command¶m=setactivetimerplan&ActiveTimerPlan=3")
local URLGetPlanning = 'http://127.0.0.1:8080/json.htm?type=command¶m=getschedules&filter=device'
local URLPlanningOn = 'http://127.0.0.1:8080/json.htm?type=command¶m=enabletimer&idx='
local URLPlanningOff = 'http://127.0.0.1:8080/json.htm?type=command¶m=disabletimer&idx='
local URLGetPlanning = 'http://127.0.0.1:8080/json.htm?type=command¶m=getschedules&filter=device'
local URLPlanningOn = 'http://127.0.0.1:8080/json.htm?type=command¶m=enabletimer&idx='
local URLPlanningOff = 'http://127.0.0.1:8080/json.htm?type=command¶m=disabletimer&idx='
local url ='http://127.0.1:8080/json.htm?type=command¶m=udevice&idx='..id..'&nvalue='..nValue..'&svalue='..sValue
and sh script
Code: Select all
sudo grep --include=*.sh -rn -e "/json.htm?type"
res=`curl -s "http://$home_ip:8080/json.htm?type=command¶m=getdevices&rid=$internet_device"`
res=$(curl -s "http://$home_ip:8080/json.htm?type=command¶m=getdevices&rid=$internet_device" | jq -r '.result[0].Status')
rpi : Raspberry Pi 2 Model B Rev 1.1 / Modele : Cortex-A7 armv7l GNU/Linux / Os Name : bullseye
Docker/Domoticz/zwave-ui/homebridge/mosquitto/wireguard