November 26, 20223 yr I wrote a little bash script to interface with a MicroPython program on a Pi Pico with a 1602 LCD to display information, such as: Unraid Version, Hostname/IP, UPS Status, Disk Space. Video if interested (a link to my code is in the video description): I was wondering if there was a way to check for updates to Unraid via the CLI, so that I could incorporate a daily check into my script.
November 27, 20223 yr 17 hours ago, zefie said: I was wondering if there was a way to check for updates to Unraid via the CLI, so that I could incorporate a daily check into my script. There you go: wget -qO- https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/stable/releases.json | jq -r '.[0].name' | cut -d ' ' -f2 Of course make sure that you've go jq installed. 17 hours ago, zefie said: I wrote a little bash script I would also recommend that you link the bash script here, or even better post it here as a document. I don't know if everyone trusts links form a not know source.
November 27, 20223 yr Author 1 hour ago, ich777 said: There you go: wget -qO- https://unraid-dl.sfo2.cdn.digitaloceanspaces.com/stable/releases.json | jq -r '.[0].name' | cut -d ' ' -f2 Of course make sure that you've go jq installed. Thanks! 1 hour ago, ich777 said: I would also recommend that you link the bash script here, or even better post it here as a document. I don't know if everyone trusts links form a not know source. The bash script on its own is useless without the customized Pico MicroPython code (included in the rar). The bash script just sends data over the USB Serial port exposed by the Pico, with custom formatting I made up to handle stuff like moving the cursor on the LCD, clearing the LCD, etc. Plus, I could do better at documenting what each part of the script does, but I kinda threw the release (and video) together in 30 min just to post this thread😅
November 27, 20223 yr 2 hours ago, zefie said: The bash script on its own is useless without the customized Pico MicroPython code (included in the rar). Then upload it here. There for sure people over here that would appreciate it.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.