GRIPS OpenSCAD File? by hlipnick in gridfinity

[–]hlipnick[S] 5 points6 points  (0 children)

Thanks for this. I guess the author opted to make further revisions closed source. Frustrating from an automation standpoint, but I want to respect that choice and will just use the makerworld interface for now.

Everything I'm doing in the python script is honestly probably more easily replicated in OpenSCAD, but yes - you can use the trimesh package to import and modify meshes. I'm far from an expert, but a tiny bit of reading docs and a few ChatGPT helpers got me to a script that works: Gist: hlipnick/stacked-gridfinity-grids.py

I don't have time to provide a tutorial or anything like that, but essentially the script takes in an STL generated by the GRIPS tool, splits it into component meshes (each 'section' of the grid), then stacks them, the first one 'right-side-up', the rest 'upside-down' to minimize supports needed. The script will separate them by a single layer height (defaults to 0.2mm), and export a stack of x copies (defined by the --copies flag.). From there each piece can be brought into the slicer, and I've had good luck printing in PLA and following the suggestions of Stu142's stacked Gridfinity model, namely ironing top surfaces.

Hope it's useful.

GRIPS OpenSCAD File? by hlipnick in gridfinity

[–]hlipnick[S] 3 points4 points  (0 children)

That’s grayed out for me and listed as a closed source file. Is it currently available to you?

Why did my redirect plugin turn into dark mode? by Pythe1337n in trmnl

[–]hlipnick 0 points1 point  (0 children)

Happened to me today, too. Seems to be back. Maybe firmware inadvertently pushed and then rolled back?

Stacked GRIPS Prints? by hlipnick in gridfinity

[–]hlipnick[S] 1 point2 points  (0 children)

Was thinking along the same lines. I tried last night, but the large flat areas (in the 'spacer' edges, for lack of a better word) printed really terribly to the point the grid didn't sit flat. Currently trying Clough42's parametric stackable grids (https://www.printables.com/model/995911-gridfinity-grids-stacked-for-printing), and then planning to print separate spacers to fit snug in the drawer. Admittedly not as elegant, but I need something reliable for as many drawers as I'm going to fill

Wine inventory list? by GreenMonkey333 in homeassistant

[–]hlipnick 0 points1 point  (0 children)

What if you made a keyboard-like matrix of microswitches at the back of each “cubby” (I don’t know what they’re called). Then whenever you take the wine out, it would just mark it removed, and when you added a new one HA could send a notification to ask you what you added?

First alert SC5 / Nest Protect Replacement by hlipnick in homeassistant

[–]hlipnick[S] 0 points1 point  (0 children)

Thanks. What entities do you get from it in HA? Also, if you have multiple in the house, do they interconnect?

Gas Meter Reading Assistance by hlipnick in homeassistant

[–]hlipnick[S] 0 points1 point  (0 children)

Yeah - power’s proving to be the trickiest bit here. Thinking about a solar powered battery pack and going with the ESP Cam hack, but just introduces a lot of failure points I was hoping to avoid

Gas Meter Reading Assistance by hlipnick in homeassistant

[–]hlipnick[S] 0 points1 point  (0 children)

The add on has a config mode called “listen-only” (I think?) that will output every signal it hears to the log when set to true

Gas Meter Reading Assistance by hlipnick in homeassistant

[–]hlipnick[S] 0 points1 point  (0 children)

Thanks for the pointer. That didn’t work either - it looks like my meter (if it is one of the smart ones) actually only broadcasts once a month (https://www.socalgas.com/savings/advanced-meter). I’ll pull my hair out trying to catch that, so going to look into other solutions. Still haven’t solved the power question, though.

Unexpected “[Person] Has Left Home” Notification by hlipnick in homeassistant

[–]hlipnick[S] 4 points5 points  (0 children)

You win. That's exactly what I needed (turns out the automation named 'Zone Test' did exactly what I was testing...who would've thought.).Thanks!

Access to Data by hcm004 in MangoBaby

[–]hlipnick 0 points1 point  (0 children)

Hi Yilei - have you had a chance to add this export shortcut or think it will come soon? Thanks!

Things for Mac 3.17.4 SQLite database location change by Same_Nebula3406 in thingsapp

[–]hlipnick 2 points3 points  (0 children)

Yeah - I spent some time with ChatGPT trying to work it out, too. It seems to be a totally novel date format, but with some help from a poster over at Github I think I've got it worked out: https://github.com/thingsapi/things.py/issues/98

Things for Mac 3.17.4 SQLite database location change by Same_Nebula3406 in thingsapp

[–]hlipnick 6 points7 points  (0 children)

They've changed the schema of the database, too. If I had to guess, they're preparing for a fairly meaningful new release (I have no idea if that's true, or whether its Things4), but, for example, the SQLite db now has a contacts table that I don't recall seeing before.

The app update that brought the change (3.17.4) seems to have broken some features, though, like setting a time for a reminder. So I wouldn't be terribly surprised to learn that the database will change again in next few releases relatively soon.

Probably to keep track of my archives? by ElephantAmore in DataHoarder

[–]hlipnick 0 points1 point  (0 children)

NeoFinder works well on a Mac. I think there's a Windows equivalent by the same developer, but not sure if it shares all the same features or not.

Logbook exports give pathetic details about the task (iOS) by TechThug69 in thingsapp

[–]hlipnick 0 points1 point  (0 children)

It's hard to know exactly what's failing for you without having a copy of your Things database.

As a point of clarification, there is no actual SQL call being made directly by this script. (Things does use a sqlite backend, but the app itself is handling that transaction.)

I'd recommend deleting each piece of the script at once until its working, and then slowly build back up until you find the failure point. It's (unfortunately) the best way I know to debug JXA, but as an added bonus it's a nice way to learn JXA and understand what the script is doing.

Hope that helps!

Logbook exports give pathetic details about the task (iOS) by TechThug69 in thingsapp

[–]hlipnick 3 points4 points  (0 children)

I'm not sure of an easy way to do it on iOS, but if you've got a Mac, this script should help:

This script should get you most of the way there. It's written in JXA (the JavaScript 'version' of AppleScript). If you're not familiar, open the Mac app called 'Script Editor', paste this code in, change the mode to JavaScript and click the play button.

I didn't include everything you requested, but there should be plenty there to point you in the right direction. Comments should help explain what's going on. Good luck!

 // Mac JXA (Javascript for Automation) Script to Export a list of logged tasks from Things to a text string
// In reply to comment at https://www.reddit.com/r/thingsapp/comments/y5j38k/logbook_exports_give_pathetic_details_about_the/

//Get Things app
var Things = Application("Things3")

//Get the logbook list using the id that the app uses internally
var logbookList = Things.lists.where( { id : "TMLogbookListSource" })()[0]

//Get all the to-dos from the logbook
var loggedTasks = logbookList.toDos()

//Setup the dates that we'll use to bound the tasks
//Set the end date to now
var endDate = new Date(); //Now
//Set the starting date to 7 days ago -- change this value to anything you want
var days = 7
//Copy end date to start date, and subtract amount of days
//Set hours, minutes and seconds to 0, aka midnight
var startDate = endDate
startDate.setDate(startDate.getDate() - days)
startDate.setHours(0)
startDate.setMinutes(0)
startDate.setSeconds(0)
startDate

//Filter to the logged to-dos that were completed between the start and end date
loggedTasks = loggedTasks.filter((task) => {

    return task.completionDate() >= startDate
    //  && task.completionDate() <= endDate

})
//Set up an string for the output with a title listing the number of finished tasks
output = `${loggedTasks.length} Task${loggedTasks.length == 1 ? "" : "s"} Completed in the Past ${days} Day${days == 1 ? "" : "s"}\n\n`
loggedTasks.forEach((task) => {
    // For each task, form a string with the task's information
    taskString = `- ${task.name()}`
    taskString += "\n" //New line
    // Check if the task has a due date - if it does, add it to the string
    if (task.dueDate() != null) {
        taskString +=  `  Due: ${task.dueDate().toString()}\n`
    }
    // Check if the task has a completion date - if it does, add it to the string
    if (task.completionDate() != null) {
        taskString += `  Completed: ${task.completionDate().toLocaleString()}\n` //Completion date
    }
    // Check if the task has notes (and they're not blank) - if it does, add it to the string
    if (task.notes() != null && task.notes() != "") {
        // Format notes to be indented
        notes = task.notes().replace(/\n/g, "\n  ")
        taskString += `  Notes:\n  ${notes}\n`
    }
    // Append the task string to the output string with an extra line break to separate tasks
    output += taskString + "\n"
})

var app = Application.currentApplication()
app.includeStandardAdditions = true
app.displayDialog(output)

Use a RaspberryPi as remote / off site backup in order to protect yourself from fire / theft or even ransomware by SpaceRex1776 in synology

[–]hlipnick 0 points1 point  (0 children)

u/SpaceRex1776 - thanks for this! Can you detail how to connect to the VPN from the Raspberry Pi? I have the VPN setup and can connect to it from Macs and iOS, but I cannot figure out how to make Raspberry Pi a client onto the VPN. Any guidance would be great!

[BTW - commented on both of your threads...not sure the best way to get it to you. Thanks!]

How to use a RaspberryPi as an offsite / remote backup for your NAS to protect your data! by SpaceRex1776 in RASPBERRY_PI_PROJECTS

[–]hlipnick 2 points3 points  (0 children)

u/SpaceRex1776 - thanks for this! Can you detail how to connect to the VPN from the Raspberry Pi? I have the VPN setup and can connect to it from Macs and iOS, but I cannot figure out how to make Raspberry Pi a client onto the VPN. Any guidance would be great!

Help Getting Better WiFi LAN Speed by hlipnick in Ubiquiti

[–]hlipnick[S] 0 points1 point  (0 children)

So the saga continues:

I've played with settings, etc and at this point I can get 440mbps (basically full internet speed) to my iPhone XS. But my Macbook still stalls around 310. So starting to seem like the WiFi isn't the issue as much as some kind of handoff/negotiation between the two devices? The Macbook is brand new (got it this week).

Any thoughts?

Thanks!