NodOn Smart Plug¶
Product Name: NodOn Smart Plug
Product Description: Wireless actuator switch
Product Information page: Link
Product EEP: D2-01-0B
Product ID: 004600010005
Device Commissioning and Configuration¶
The device is commissioned using the POST /devices
API as described here. For the NodOn Smart Plug below specific information must be used in API.
{
...
"deviceType": "bidirectional",
"eep": "D2-01-0B",
"productId": "004600010005",
}
Once the device is commissioned, IoTC will need to configure the device for bidirectional communication. To enable device configuration, follow below setps:
- Make sure device is factory reset
- Press the button for 2 seconds. Device will go in pairing mode, led will flash red.
- IoTC will configure the device automatically
- Device is configured
Controlling Device¶
To turn ON the device use json below in device/{device_id}/rpc/command
topic.
{
"request_id": 1,
"eep": "f6-02-01",
"payload": {
"R1": 0,
"EB": 1,
"R2": 0,
"SA": 0
}
}
To turn OFF the device use json below in
device/{device_id}/rpc/command
topic.
{
"request_id": 1,
"eep": "f6-02-01",
"payload": {
"R1": 0,
"EB": 0,
"R2": 0,
"SA": 0
}
}