AeotecSS6 Class
- ID: ss6
- Name: Aeotec Smart Switch 6
- Connection: uart
- Category: wifi
- Manufacturer: aeon
- Link: http://aeotec.com/z-wave-plug-in-switch
This module allows for controlling and monitoring certain elements of an Aeotec Smart Switch 6.
Item Index
Methods
AeotecSS6
-
nodeID
AeotecSS6 constructor
Parameters:
-
nodeID
NumberThe ZWave node number of the device we are interested in. Use the ozwdump example to see what nodes you have available.
Returns:
on
()
Turn the switch on.
off
()
Turn the switch off.
isOn
()
Boolean
Check to see if the switch is on or off.
Returns:
true if the switch is on, false otherwise.
update
()
Query the device and update internal state. Strictly speaking, this is not really neccessary b a device may send this data on it's own at periodic intervals. This method causes OZW to specifically query the device for it's current Energy, Watts, Volts, Current, and Switch status. The device may take some time to respond.
getEnergy
()
Number
Return the device's accumulated energy usage in kilo-watt-hours (kWh).
Returns:
The energy usage in kWh.
getWatts
()
Number
Return the device's current power consumption in Watts.
Returns:
The current power consumption in Watts.
getVolts
()
Number
Return the device's current voltage measurement in Volts.
Returns:
The volts measurement.
getCurrent
()
Number
Return the device's current consumption in Amps.
Returns:
The current consumption measurement in Amps.