Re: Impossible de partager un dummy device (DHT22)
Publié : 06 déc. 2016, 17:59
haha euh... tu me rassures pas vraiment... :'(
Reprenez le contrôle de votre domotique
https://easydomoticz.com/forum/
on dit qu'il faut username/password MEME si tu ne les utilises pas dans ton local networkSlave1 and Slave2
Specify the shared port (6144 by default) where the slaves will connect to.
Specify the admin username/password in the settings too (even if you do not use this (local networks)).
Now, add a User to Domoticz (Settings | More Options | Users).
Here you can specify the devices you want this slave to share (no selected devices for this User means all).
Do this on both slaves.
Code : Tout sélectionner
http://192.168.70.115:8080/json.htm?type=devices&rid=22Code : Tout sélectionner
{
"ActTime" : 1481236882,
"ServerTime" : "2016-12-08 23:41:22",
"Sunrise" : "08:19",
"Sunset" : "16:53",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "15.0 C, 31 %",
"Description" : "",
"DewPoint" : "-2.01",
"Favorite" : 1,
"HardwareID" : 5,
"HardwareName" : "DarkRooM ",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveTimeout" : false,
"Humidity" : 31,
"HumidityStatus" : "Dry",
"ID" : "14066",
"LastUpdate" : "2016-12-08 23:40:07",
"Name" : "DarkRooM Temp+Hydro",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "THGN122/123, THGN132, THGR122/228/238/268",
"Temp" : 15.0,
"Timers" : "false",
"Type" : "Temp + Humidity",
"TypeImg" : "temperature",
"Unit" : 1,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "22"
}
],
"status" : "OK",
"title" : "Devices"
}
Code : Tout sélectionner
"Data" : "15.0 C, 31 %",