Blinds configuration

Moderator: leecollings

Post Reply
tweetysat
Posts: 1
Joined: Sunday 24 January 2021 9:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Blinds configuration

Post 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 ?

Image

Thanks.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Blinds configuration

Post 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 =

Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest