Shared Device
Shared Device
Thanks for the plugin. I am trying it out at the moment for mounting a shared NAS device. Is there a particular way I need to set it up to mount? I have set it up as a Disk Volume but no luck.
Re: Shared Device
was this issue resolved? I'm trying to figure out the same. Have a NAS and would like the volume to mount and dismount with this plugin.
regards
Asconasny
regards
Asconasny
Re: Shared Device
Nope and haven't seen the developer active here for a while either.
- Different Computers
- Posts: 2730
- Joined: Sat Jan 02, 2016 10:07 am
- Location: East Coast
- Contact:
Re: Shared Device
There's a pretty simple applescript that would do this, and then you could use Indigo to fire off the Applescript.
Code: Select all
set diskName to "YourDiskNameHere"
tell application "Finder"
if disk diskName exists then
eject disk diskName
else
tell current application
set deviceLine to (do shell script "diskutil list | grep \"" & diskName & "\" | awk '{ print $NF }' }'")
if deviceLine = "" then
display dialog "The disk \"" & diskName & "\" cannot be found." buttons {"OK"} default button 1 with title "Error" with icon caution
end if
set foundDisks to paragraphs of deviceLine
repeat with i from 1 to number of items in foundDisks
set this_item to item i of foundDisks
if this_item contains "disk" then
do shell script "diskutil mountDisk /dev/" & this_item
end if
end repeat
end tell
end if
end tellSonoma on a Mac Mini M1 running Airfoil Pro, Bond Home, Camect, Roku Network Remote, Hue Lights, DomoPad, Adapters, Home Assistant Agent, HomeKitLinkSiri, EPS Smart Dimmer, Fantastic Weather, Nanoleaf, LED Simple Effects, Grafana, Yamaha RX Receiver.
Re: Shared Device
Thanks for that! Haven't been active on here either lol....life as usual 
Re: Shared Device
I have forked bip.phillipe's plugin to work with local network shares. There is a new device type to accomplish this.
Tested on my system with afp and smb shares, but should theoretically also work for nfs, ftp, and webdav.
This is a bit of a butcher's job and there are large swaths of this plugin I do not understand. Right now it works for me, but if it breaks you should probably revert to the official version.
Download here: https://github.com/kmarkley/Indigo-Domo ... ses/latest
Tested on my system with afp and smb shares, but should theoretically also work for nfs, ftp, and webdav.
This is a bit of a butcher's job and there are large swaths of this plugin I do not understand. Right now it works for me, but if it breaks you should probably revert to the official version.
Download here: https://github.com/kmarkley/Indigo-Domo ... ses/latest
Re: Shared Device
Great! thank you for thiskmarkley wrote:I have forked bip.phillipe's plugin to work with local network shares. There is a new device type to accomplish this.
work good on my system with smb shares
Asconasny