more G-Labs products

Author Topic: Add Sensor Type?  (Read 1184 times)

February 15, 2015, 06:37:59 PM
Read 1184 times

jcid

  • *
  • Information
  • Newbie
  • Posts: 21
Hi Guys,

I added an additional program for "Arm Stay" which i need to make a new device type for ie "MotionSensor". Can anyone tell me where the list of device types is stored?

(Select type)
Light
Dimmer
Switch
Sensor
Siren
Thermostat
Shutter.....

February 16, 2015, 03:15:36 AM
Reply #1

jcid

  • *
  • Information
  • Newbie
  • Posts: 21
No one?? lol.

February 17, 2015, 05:23:43 AM
Reply #2

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I think those are hard coded, but I'm not sure.  I had the need for a chime and found that one didn't exist.  I simply re-purposed the the siren module.  I believe that you could modify the code to add a motion sensor, but you could also must use the more generic sensor module.