Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

[EzShare SDcard wifi] Script to autodownload
RE: [EzShare SDcard wifi] Script to autodownload
which explains the format error but also makes no sense at all.

edit: why did you edit line 176 to r.name and not r.url?
also change line 21 to 

Code:
if ($debug -eq $true) {

which should output the fetchUrl from inside the function.
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
(06-29-2024, 04:47 AM)Narcil Wrote: which explains the format error but also makes no sense at all.

edit: why did you edit line 176 to r.name and not r.url?
also change line 21 to 

Code:
if ($debug -eq $true) {

which should output the fetchUrl from inside the function.

From memory I was playing around debugging.  I ended up running the bash script via WSL with a task schedule and it worked first go.

It would be interesting to one day figure out why the powershell script is doing what its doing (purely for curiositys sake) but for now it seems to be rock solid with the bash script.
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
(06-30-2024, 05:06 PM)ChickenLittle Wrote: From memory I was playing around debugging.  I ended up running the bash script via WSL with a task schedule and it worked first go.

It would be interesting to one day figure out why the powershell script is doing what its doing (purely for curiositys sake) but for now it seems to be rock solid with the bash script.

good you got one script working at least. when i replace this machine and get wifi mobo i'll probably try Smile
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
(06-28-2024, 07:27 PM)ChickenLittle Wrote: -debug didn't provide anything different.
Code:
$outputDir = "c:\cpaptest"
I had these same error messages but then used a subdirectory in the folder where the ps1 script is run and then it worked:  $outputDir = "data"

(06-13-2024, 08:24 PM)mslunecka Wrote: msluneckaSo I've got an issue of my own with this script.  I can get it to run, but I get "missing datalog folder on ez share card". I can browse the contents of the card and see that there is definitely a datalog folder there.  It looks like maybe the listDir function isn't picking things up correctly.

I had this message and I'm wondering if it is because I only had 1 data folder inside DATALOG? Commenting this part on line 140 made it work:
Code:
if (-not $list.DATALOG) {# -or -not $list.DATALOG.GetType().IsArray) {
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Information EzShareApp - CPAP Data Downloader from EzShare SD card for macOS adrianfeeger 24 951 11-07-2024, 11:18 PM
Last Post: walshy1009
  WiFi SD Card for AirSense and OSCAR Stillglade 3 1,751 09-03-2024, 05:15 PM
Last Post: dwd1249
  Wifi to Oscar KimLB 1 525 07-01-2024, 06:30 PM
Last Post: Crimson Nape
  Created a program to support Wifi SD card for Resmed and all other devices narual 15 4,343 05-03-2024, 11:09 PM
Last Post: narual
  [split] FYSETC SD Wifi - Possible FlashAir Replacement Psikic 131 26,473 01-12-2024, 11:59 AM
Last Post: scowell
  Request Copy of Resmed Airsense 10 SDCard core files gedm 6 961 12-14-2023, 07:04 PM
Last Post: gedm
  FlashPAP - FlashAir WiFi SD card utility TiredToo 296 103,845 10-05-2023, 06:54 AM
Last Post: olddog27


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.