Controlling stuff at home with WDMyCloud? (lights or any other stuff)

Hello,

I have bought an  USB relay controller in ebay and it works nice in windows PC.

It seems someone have put it working in raspberry PI and generic linux, so I was wondering if it could also be done for WDMyCloud since it is already possible to build packages for it. :smiley:

Any idea if this could work in WDMyCloud?

Cheers,
Jabss

Probably, many people have installed other programs on it.

A few possiable issues

any change like this may void the warrentee

the mycloud has really limited memory and CPU.

V4 FW has a non-standard pagesize so you probable need another Linux system to build it

the mycloud seems to have limited USB functionality but I suspect this is no at the hardware level

you may not be able to use an external disk with it

Hello,> Thanks for your reply. My first though is that it may seem dificult to have it working, however, I’m sure it will be impossible if we don’t even try!

Trying to address your possible issues:


any change like this may void the warrentee

    • *> Maybe, but if you have any problem you need waranty you could just delete the used files or simply re-install the latest Firmware version (most likelly you’d have to do it anyway), and you’ll have the system like coming from factory. It’s not like opening the box or anything…> * * *

the mycloud has really limited memory and CPU.

    • *> Yes, of course it has. But if people are using this dual-core system to run stuff like torrent transmission and miniDLNA servers, I seriously doubt that a ~12k executable running now and then would impact its performance…> > * * *

V4 FW has a non-standard pagesize so you probable need another Linux system to build it

    • *Yes, that is true, and that’s why I pointed towards the post where it is explained how to easily build packages for the new 64k page size.> > * * *

the mycloud seems to have limited USB functionality but I suspect this is no at the hardware level

you may not be able to use an external disk with it

    • *Maybe you are right, however, what I see is that I can connect different devices to it (through an USB3.0 HUB) and the Operating System recognises it. > Here you have an example of a USB-to-serial adapter and a kingstom USB stick being connected and recognized by WDMycloud:> [18802.253121] usb 1-1.3: new full-speed USB device number 4 using xhci-hcd
      [18802.273271] usb 1-1.3: default language 0x0409
      [18802.278794] usb 1-1.3: udev 4, busnum 1, minor = 3
      [18802.284250] usb 1-1.3: New USB device found, idVendor=067b, idProduct=2303
      [18802.291170] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
      [18802.298556] usb 1-1.3: Product: USB-Serial Controller
      [18802.303782] usb 1-1.3: Manufacturer: Prolific Technology Inc.
      [18802.311115] usb 1-1.3: usb_probe_device
      [18802.315033] usb 1-1.3: configuration #1 chosen from 1 choice
      [18802.334336] usb 1-1.3: Successful Endpoint Configure command
      [18802.340177] usb 1-1.3: adding 1-1.3:1.0 (config #1, interface 0)
      [18802.347615] /workspace/jenkins/workspace/sequoia-mspd_c2k-kernel/PAGE_SIZE/64k/linux/drivers/usb/core/inode.c: creating file ‘004’
      [18820.923005] usb 1-1.4: new high-speed USB device number 5 using xhci-hcd
      [18820.943336] usb 1-1.4: default language 0x0409
      [18820.953448] usb 1-1.4: udev 5, busnum 1, minor = 4
      [18820.958277] usb 1-1.4: New USB device found, idVendor=13fe, idProduct=3600
      [18820.965231] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
      [18820.972582] usb 1-1.4: Product: USB DISK 2.0
      [18820.976911] usb 1-1.4: Manufacturer:
      [18820.981297] usb 1-1.4: SerialNumber: 07022377DE7B5183
      [18820.986920] usb 1-1.4: usb_probe_device
      [18820.990793] usb 1-1.4: configuration #1 chosen from 1 choice
      [18820.996560] usb 1-1.4: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
      [18821.005699] usb 1-1.4: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
      [18821.015762] usb 1-1.4: Successful Endpoint Configure command
      [18821.021573] usb 1-1.4: adding 1-1.4:1.0 (config #1, interface 0)
      [18821.027919] usb-storage 1-1.4:1.0: usb_probe_interface
      [18821.033149] usb-storage 1-1.4:1.0: usb_probe_interface - got id
      [18821.039651] usb-storage 1-1.4:1.0: Quirks match for vid 13fe pid 3600: 4000
      [18821.047031] scsi3 : usb-storage 1-1.4:1.0
      [18821.051710] /workspace/jenkins/workspace/sequoia-mspd_c2k-kernel/PAGE_SIZE/64k/linux/drivers/usb/core/inode.c: creating file ‘005’

 

So I guess with some fine tunning, someone confortable with cross-compiling could do it easily. I mean, the Operating System is already recognizing different types of USB devices (not limited to USB storage), so its just a matter to build the correct driver to do it.

 

Anyone with cross-compiling knowledge that could be willing to help out?

 

In the end of the day, wouldn’t be cool to remotely control home devices via a web-page in WDMycloud? :wink:

 

Cheers,

Jabss