• Professional advice
  • Order before 16.30 uur shipped today
  • Almost always available (+31 73 762 0 762)
  • Monday open late

Fibaro:getType command

fibaro:getType()

 

Actin :

Recieves information about the device type.
 

Usage and parametere :

fibaro:getType(deviceID) 

  • deviceID : ID of the device you need to know the type of

 

Returned value :

A string with the device type.

 

Programming example :

-- request the device type of ID28
local 
devicetype = fibaro:getType(128);
-- display a message when the type is blind
if (devicetype == 'blind' ) then
   fibaro:debug(' the device is a blind );
else 
  fibaro:debug(' the device is a  '..devicetype)'
end 

 

See also 

fibaro:getRoomId()
fibaro:getSectionId()

 
Customer Service Phone

+31737620762
mon-fri: 10am-5pm and sat 10am-3pm

 
Adress

Gerstakker 16 5236 VG Empel Netherlands

Google maps