I've put the same question to WD & they say there are no discretes, so I went to forum.wdlxtv.com & asked the question, which there is a way of doing it but it seems quite involved, & is to complicated for me to follow.
Here is the reply to my post on:-I managed to implement Discrete Codes for Power On and Power Off using EIRI, an old unused remote control and a Logitech Harmony remote control.
The advantage of this is a very reliable setup for universal remote controls oriented on activities (users of such remote controls knows what it's all about).
I hope anyone interested in this can easily follow these steps:
1. put the following 2 scripts on your USB stick:
if [ `cat /proc/led` = "OFF" ]; then
if [ `cat /proc/led` = "ON" ]; then
2. take an old (unused) remote control and pick 2 buttons to be used for Power On and Power Off
3. follow the procedure from [Link: wiki.wdlxtv.com] to enable EIRI and find the codes of the 2 buttons from step 2
4. add the following lines to /conf/eiri.conf (or create the file from scratch if it does not exist):
5. (optional) if you use a Logitech Harmony you can trick it and add the 2 buttons from step 2 on WD TV device using Learn IR (I add them as button "1" and button "2" - they don't exist on original WD remote, so no conflicts with original remote). next select Settings under WD TV device and Adjust Power Settings. in here you can select that your device has a discrete button for ON and another one for OFF (the 2 buttons newly learned).
Hopefully you or someone elsd has better luck following the above tutorial,
or go to their site & do a search for "discrete".