Apnea Board Forum - CPAP | Sleep Apnea
Monitoring data wirelessly - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: Monitoring data wirelessly (/Thread-Monitoring-data-wirelessly)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36


RE: Monitoring data wirelessly - Bobaloo - 01-17-2021

(01-17-2021, 02:48 PM)Crimson Nape Wrote: Currently, this problem is only on Mac computers and seems to be related to their new OS version.

I have not had this problem with my 2020 MacBook Pro, Big Sur and latest software updates. Still working great.


RE: Monitoring data wirelessly - Crimson Nape - 01-17-2021

If you are using the script as outlined in the preceding posts without problems, then you may have some info that might help.


RE: Monitoring data wirelessly - Bobaloo - 01-17-2021

(01-17-2021, 05:32 PM)Crimson Nape Wrote: If you are using the script as outlined in the preceding posts without problems, then you may have some info that might help.

I’m using Jeff’s script without any modifications.


RE: Monitoring data wirelessly - Crimson Nape - 01-17-2021

That's good. Other than the variable assignments, does your code look any different from the one listed in http://www.apneaboard.com/forums/Thread-Monitoring-data-wirelessly?pid=380441#pid380441? This could narrow it down to either the app or the OS.


RE: Monitoring data wirelessly - RayBee - 01-17-2021

On the new M1 based MacBook Pro you have to hold the power button down while booting up to access the safe mode. There are some other new/quirky key combinations exclusive to the M1 too during boot up.

Whatever you do, don't use Disk Utility on an M1 to erase the boot drive or it will become a brick. I did this with the intension of reinstalling Bug Sur after a time machine transfer to a new machine gave me some nasty results.

I talked to a Senior Tech at Apple for about 2 hours to erase the boot drive with Terminal, go through other gyrations and then reinstall Big Sur.

Disk Utility erase will still work on the Intel based machines. I hope they address this on the M1 machines soon. But, my (wife's) new MBP was successfully resurrected from the dead and is a screaming fast machine.


RE: Monitoring data wirelessly - Bobaloo - 01-17-2021

(01-17-2021, 06:41 PM)Crimson Nape Wrote: That's good.  Other than the variable assignments, does your code look any different from the one listed in http://www.apneaboard.com/forums/Thread-Monitoring-data-wirelessly?pid=380441#pid380441?    This could narrow it down to either the app or the OS.

This is my Script with my User name x'd out

##1 Enter you FlashAir card name or IP address below (between the quotes " ")
set diskName to "192.168.0.150"
#
##2 Enter the location you want your xPAP data transferred to (between the quotes " "). The folder (directory) must already exist
set copyLocation to "/Users/rxxxxxxx/Documents/FlashPap/"
#
##3 Enter the location of OSCAR.app, by default it's /Applications
set oscarLocation to "/Applications"
#
#Do not change anything below here
#Mount the FlashAir card and make sure it shows up in /Volumes
try
mount volume "http://" & diskName
repeat until diskName is in (do shell script "ls /Volumes")
delay 0.2
end repeat
on error e
display dialog "An error occured: " & e
end try
#
#Open Terminal and use rsync to copy FlashAir to computer or NAS
tell application "Terminal"
activate
do script "rsync -avz /Volumes/" & diskName & "/" & " " & copyLocation in window 1
end tell
#Pause the app until rsync is finished
set isBusy to true
repeat until isBusy is false
tell application "Terminal"
tell window 1
set isBusy to busy as boolean --> Test if busy
end tell
end tell
delay 1 --> Check every second
end repeat
delay 1
#Unmount FlashAir so we don't accidently change anything on the card
do shell script "diskutil unmount /Volumes/" & diskName
delay 1
do shell script "open" & " " & oscarLocation & "/OSCAR.app"
quit application "Terminal"


RE: Monitoring data wirelessly - A KLERK - 01-18-2021

The trouble is not in the script, it is in the disability to connect to the card in Finder... I can see the card in Safari, however!
I have disabled my ESET Endpoint Security, without relief. I will try next to uninstall it.

UPDATE: A complete uninstall of ESET did not make any difference.


RE: Monitoring data wirelessly - Bobaloo - 01-18-2021

(01-18-2021, 03:44 AM)A KLERK Wrote: The trouble is not in the script, it is in the disability to connect to the card in Finder... I can see the card in Safari, however!
I have disabled my ESET Endpoint Security, without relief. I will try next to uninstall it.

UPDATE: A complete uninstall of ESET did not make any difference.

After opening CopyCPAP the first time did you get a pop-up message asking for permission to access FlashAir card files with an unsecured connection? Speculating that this may still be a permissions problem.


RE: Monitoring data wirelessly - A KLERK - 01-18-2021

(01-18-2021, 01:04 PM)Bobaloo Wrote:
(01-18-2021, 03:44 AM)A KLERK Wrote: The trouble is not in the script, it is in the disability to connect to the card in Finder... I can see the card in Safari, however!
I have disabled my ESET Endpoint Security, without relief. I will try next to uninstall it.

UPDATE: A complete uninstall of ESET did not make any difference.

After opening CopyCPAP the first time did you get a pop-up message asking for permission to access FlashAir card files with an unsecure connection? Speculating that this could still be a permissions problem.

A realistic question indeed, but I do not believe I ever have seen that question. Furthermore, my Keychain did not show any of the IP addresses I ever used for the card, nor its name.
I have searched the internet extensively for the last three days but did not find anything helpful. Nor -as I would expect- any new threads about Big Sur acting strange with a server...

This morning I started copying my local copy of My Card (2.2 GB) from my Win PC to the NAS. As the PC still happily works with FlashPap, the Mac should be able to use the data on the NAS. 
But it looks like the gods are against me: After 8 hours copying still goes on, with 35-50 kB/second... Really!

UPDATE: Restarting the NAS did a wonder! It acts normally now...


RE: Monitoring data wirelessly - A KLERK - 01-18-2021

... and it looks like a nice workaround!
[attachment=29206]