I own a netgear readynas NAS, and I would like to make a device to power it off, since power on is supported thought WOL.
the curl code is pretty simple:
curl -u admin:password -k “h**ps://nas_ip_address_or_name/get_handler?PAGE=System&OUTER_TAB=tab_shutdown&INNER_TAB=NONE&shutdown_option1=1&command=poweroff&OPERATION=set”
Can you tell me a working device with open code, so I could use it as template to start with?
Thank you in advance.
P.S. it is http, but since I don’t have enough posts, Nofollow was done by the forum.