Page 1 of 1
Blinds configuration
Posted: Sunday 24 January 2021 9:43
by tweetysat
Hello,
Can someone tell me where I can find the blinds configuration in the db ?
In the DeviceStatus table I can see Type,SubType and SwitchType.
Type seems to always be 26 (blinds or rfy ?)
SubType always 0.
SwitchType always 3.
Where can I find ID and Unit code ?
Thanks.
Re: Blinds configuration
Posted: Sunday 24 January 2021 10:29
by waaren
tweetysat wrote: ↑Sunday 24 January 2021 9:43
Can someone tell me where I can find the blinds configuration in the db ?
It is in the DeviceStatus table.
Code: Select all
sudo sqlite3 <domoticz dir>/domoticz.db
sqlite> .mode line
sqlite> SELECT * FROM DeviceStatus WHERE Type = 26;
- Spoiler: show
Code: Select all
ID = 292
HardwareID = 3
DeviceID = 00200A
Unit = 1
Name = Zonwering
Used = 1
Type = 26
SubType = 0
SwitchType = 15
Favorite = 0
SignalLevel = 12
BatteryLevel = 255
nValue = 18
sValue =
LastUpdate = 2020-09-21 14:45:42
Order = 311
AddjValue = 0.0
AddjMulti = 1.0
AddjValue2 = 0.0
AddjMulti2 = 1.0
StrParam1 =
StrParam2 =
LastLevel = 0
Protected = 0
CustomImage = 0
Description =
Options = 0
Color =
ID = 294
HardwareID = 3
DeviceID = 00200A
Unit = 2
Name = Slaapkamer rolluik
Used = 1
Type = 26
SubType = 0
SwitchType = 3
Favorite = 0
SignalLevel = 12
BatteryLevel = 255
nValue = 1
sValue =
LastUpdate = 2021-01-24 09:30:09
Order = 313
AddjValue = 0.0
AddjMulti = 1.0
AddjValue2 = 0.0
AddjMulti2 = 1.0
StrParam1 =
StrParam2 =
LastLevel = 0
Protected = 0
CustomImage = 0
Description =
Options = 0
Color =
ID = 296
HardwareID = 3
DeviceID = 00200A
Unit = 3
Name = Kastenkamer rolluik
Used = 1
Type = 26
SubType = 0
SwitchType = 3
Favorite = 1
SignalLevel = 12
BatteryLevel = 255
nValue = 1
sValue =
LastUpdate = 2021-01-24 09:41:01
Order = 315
AddjValue = 0.0
AddjMulti = 1.0
AddjValue2 = 0.0
AddjMulti2 = 1.0
StrParam1 =
StrParam2 =
LastLevel = 0
Protected = 0
CustomImage = 0
Description =
Options = 0
Color =