Where do you set the device type for Vera
-
This may be a silly question...but I'm wondering where in the Arduino code you specify whether you want Vera to show the device as blinds, motions sensor, light sensor etc...
Is it just this line "gw.sendSketchInfo("Blinds", "2.0");"
If so, what other things can be used? Is there a way to figure out what commands can be sent with different sensors in Vera?
Thanks!
-
in the older API
gw.sendSensorPresentation(i, S_LIGHT);
-
@BulldogLowell said:
Awesome! Thanks
-
One follow-up question, how do I know what commands vera will send to the sensor or what commands the sensor will send back for a given SENSOR_TYPE. e.g. will it send V_DIMMER or V_DOWN etc. It seems the S_COVER SENSOR_TYPE uses V_DIMMER but I'm not sure how that was figured out.