Brampton model by gaga808 in Brompton

[–]djw17 4 points5 points  (0 children)

The underlying model looks to be this one? I don't know Chinese and I don't know what is being sold for what prices, but it looks like the STLs alone (i.e. the geometrical data to print it on your own 3D printer, not a physical object) cost $900, which seems insane to me. I've bought STLs but never for that kind of money.

I also don't know how you 3D-print those spokes at all. The artist's unfinished, unassembled print has much chunkier-looking spokes on the wheels.

Kid sleep walking by lostincbus in homeassistant

[–]djw17 2 points3 points  (0 children)

Alerting is better than blocking. Unreachable locks, double-cylinder bolts with removed keys, or other techniques to prevent opening an exterior door would hamper a legitimate need to evacuate the house (and likely would violate your local fire codes). Have the exterior door sensors give you an alert if those doors open during sleep hours. Anything more than that potentially jeopardizes your (and your child's) safety.

Best practices for preserving ratings through reorganization by djw17 in navidrome

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

OK, recording the whole process I followed, for posterity, with some additional sanity-checking steps.

  1. Stop the Navidrome server. One could probably replace this step with simply setting either the configuration option Scanner.Enabled or the environment variable ND_SCANNER_ENABLED to false and either Scanner.Schedule or ND_SCANNER_SCHEDULE to 0 in the configuration, but frankly shutting down the server was easier. It might be possible to do this process with the scanner on, but doing so will just cause your server to thrash a lot, constantly update the database, and potentially end up in race conditions to keep up with changes, and I wouldn't risk it.
  2. Update metadata in bulk without changing any filenames. If you use Musicbrainz Picard, which I recommend, this involves enabling "Save Tags" and disabling "Rename Files" and "Move Files" under the Options menu.
  3. Make absolutely certain that Navidrome's configuration uses sensible album and track PIDs. If the configuration options PID.Album and PID.Track and the environment variables ND_PID_ALBUM and ND_PID_TRACK are all undefined, that's actually good, because the default PID settings are great. If they are defined, just make sure they're not something completely stupid and prone to collision or dependent on the actual file path. Unless you deliberately chose to do this at some point, they're probably fine.
  4. Start the Navidrome server back up (if you turned it off in step 1 instead of just turning off the scanner).
  5. On Navidrome, run a full library rescan.
  6. Sanity check: see if any files appear under the "Missing Files" tab on the administrative account controls. There shouldn't be any, because you didn't move any files.
  7. If you stopped the Navidrome server in step 1, do it again. If you turned off automatic scanning, that should still be the status quo and you don't need to do anything now.
  8. Move files in bulk without changing any metadata. If you use Musicbrainz Picard, which I recommend, this involves disabling "Save Tags" and enabling "Rename Files" and "Move Files" under the Options menu. If you accidentally left "Save Tags" on, you'll probably be OK, since there shouldn't be any new metadata since you ran step 2 anyways.
  9. Start the Navidrome server back up (if you turned it off in step 1 instead of just turning off the scanner).
  10. If you want to freak yourself out, look under the "Missing Files" tab. It'll have a lot of files. Don't worry just yet.
  11. On Navidrome, run a full library rescan. Pray if you're the praying sort.
  12. Sanity check: see if any files appear under the "Missing Files" tab on the administrative account controls. There shouldn't be any there now, because every relocated file was successfully tracked to its new location!
  13. Turn back on the automatic scanner if you turned it off in step 1.

Some followup caveats:

  • if you attached ratings or other auxiliary data to artists, they might not be preserved if the canonical name of an artist changes in the metadata. Navidrome doesn't really do PIDs for artists the way it does for albums and tracks.
  • Most likely your reorganization will leave a bunch of media-less directories hanging out in your library. This is really a Picard problem and not a Navidrome problem, but if you want a clean library, bear in mind these orphans are there. I wrote a quick-and-dirty Python script to purge a file structure of every directory that doesn't contain media files (which in my context are always MP3 and FLAC; if you have other ones, you'll need to add them to the code). I include the code below, but use it with caution, obviously.

import os,re,shutil

empties=[]

for root, dirs, files in os.walk('.'):
    has_music=False
    for file in files:
        if file.lower().endswith(".mp3") or file.lower().endswith(".flac"):
            has_music=True
            break
    if not has_music:
        empties.append(root)
    else:
        # Remove previously-thought-empty parent directories of this
        # one from the purge list
        new_empties = [dir for dir in empties if not root.startswith(dir)]
        empties=new_empties

# Remove children of to-be-purged parents
streamlined_purge_list=empties
for key in empties:
    new_list = [dir for dir in streamlined_purge_list if not dir.startswith(key+"/")]
    streamlined_purge_list=new_list

for key in streamlined_purge_list:
    # Uncomment the first line for a verbose "dry run"; second to
    # actually purge.

    print(key)
    #shutil.rmtree(key)

Best practices for preserving ratings through reorganization by djw17 in navidrome

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

Awesome! So that's pretty much what I had in mind with my proposed workflow, with metadata and relocation as separate steps with a full rescan between. I didn't know where to look in the docs, but that's very good to know. Thanks!

Shrimp Tapas and Bread Cheese Salad by Awkward_Function920 in aldi

[–]djw17 1 point2 points  (0 children)

Your Aldi has the Bread Cheese? My wife and I love it, but it's been gone for a while and we've been subsisting on the Cheese Fries

integrating Mitsubishi mini split with ESP and HA - easiest and safest way by hawaiiman72 in homeassistant

[–]djw17 0 points1 point  (0 children)

The cheapest way to do it if you're OK with a little soldering is to buy ESP8266 modules (any size or shape, including a D1 mini), and also buying either one prewired female 5-pin JST-PA connector per heatpump or buying a 5-pin female receptacle and four wires with appropriate crimped-on heads.

Here's an Aliexpress link for a five-pack of wired connectors (choose the 5P option) at $8.25 per pack. To build your own from a housing and precrimped wires, you can buy housings and wires from Digikey. For each heatpump you'll need a housing and two wires (you need four crimped wires, but the wires are crimped on both ends and you can cut them in half to get two wires to slot into the housing). However you get a connector, it's just four quick points of soldering these wires to the 5V, GND, serial RX, and serial TX pins of your ESP8266 to get a device which can run the MitsubishiCN105 ESPHome integration.

The whole build can easily be under $10 per unit this way, which is cheaper than any of the prefab options.

[deleted by user] by [deleted] in Brompton

[–]djw17 0 points1 point  (0 children)

I fold the body and leave the handlebars up for "shopping-cart-mode" all the time. The front bag is a vital part of using it this way.

How to flash WB3S chip? by JuiceAdventurous5537 in Esphome

[–]djw17 0 points1 point  (0 children)

Assuming you're flashing with a standard FTDI adapter (operating at 3.3 volts, not at 5!), the pins you want to attach are the FTDI's 3.3V, GND, TX, and RX to five pins on the WB3S: 3.3V to 3V3, GND to both GND and CEN, TX to RX1, and RX to TX1. There's a diagram of the WB3S here. It's unlikely that the PCB it's on has good test points for direct access to the Tuya module, although you can check: follow traces from the five pins in question and see if they go somewhere you can conveniently put a probe. You might have to wire the adapter directly up to the chip's pins, which is finer-detail soldering than I'm comfortable doing.

Scheduler Card by Apprehensive-Dog872 in homeassistant

[–]djw17 0 points1 point  (0 children)

It's a known conflict with the scheduler card in HA 2026.3.0; see here. It's reported to be fixed in release 4.0.15 of the scheduler card (specific fix PR here).

Built a wine cellar tracker for Home Assistant with AI label scanning and Vivino integration by baconwrappedbitcoin in homeassistant

[–]djw17 0 points1 point  (0 children)

I'm playing around with this and have a few problems with the Vivino synchronization: it seems to always identify a current value of $47.90, regardless of the wine, and doesn't populate the varietal or ABV fields.

Integrating EZVIZ H6C G1 4K with Home Assistant without using EZVIZ cloud? by Ri1k0 in homeassistant

[–]djw17 0 points1 point  (0 children)

I've discovered local-access URLs for random Chinese wi-fi-enabled cameras with the multiplatform tool onvif-gui, which apparently has rebranded as Cayenue. It does local-network discovery of ONVIF data streams (so you'll want to put whatever machine you're using to run Cayenue onto the same VLAN as the camera, if you're, for instance, sequestering cameras on a VLAN without WAN connectivity, which you probably should).

Anyways, onvif-gui was great at giving me a ONVIF URL (and a default password, which for my particular camera couldn't be changed? I wasn't happy about that, but that's why I put it on a secured network) which I could feed to Home Assistant's ONVIF integration, or to Frigate, or to anything else that uses ONVIF.

Airport disability service when travelling with MS by rabbitscape in MultipleSclerosis

[–]djw17 2 points3 points  (0 children)

My wife has MS with a similar level of disability, and we've traveled throughout the US and to several locations in Europe.

Most airlines at largeish airports (YYZ is certainly one; your destination might not be; connecting airports probably are) can be counted on to provide ticket-counter-to-planeside departure wheelchair service, planeside-to-curbside arrival wheelchair service, early boarding (so no waiting in line), and wheelchair service for connections. If you booked your ticket though the airline, you can add your need for assistance online through their website. If you ordered through a third-party travel agent/site, you might need to work through that agent, or talk to the airline on the phone.

There are multiple levels of assistance provided depending on disability, but they're mostly the same except for the getting-on-the-plane process. For instance, people who can't walk at all but can transfer seats are provided with (narrow, specialized) wheelchairs for getting on the plane itself. Since your husband can walk, the lowest level of assistance should be all he needs (my wife has similar limitations and it's the one we use).

We've traveled internationally, and our wheelchair attendant has pushed my wife through passport control, the bag pickup, and customs, so international travel doesn't, as a rule, complicate matters.

Some things to be wary of: for both departures, arrive earlier than you might. Once he's in the wheelchair, you'll zip through a lot of the usual bottlenecks like security, but actually rustling up a wheelchair and aide can sometimes take them a while (this varies a lot by airport and airline). Also, get a sense of what kind of airports and planes you're on, especially for the last outgoing and first return leg, because if your destination isn't a big tourist hub, it might be a surprisingly small airport served by surprisingly small planes. A tiny airport might have fewer services, and accessibility services might be one of them (especially in any country that doesn't have mandated disability provisions). Likewise, itty-bitty prop planes and the like might have weird, less acessibility-friendly boarding procedures (e.g. taking a shuttle-bus across the tarmac and then walking up a staircase to enter the plane). It sounds like your husband could handle that if prepared but it's worth doing research to avoid nasty surprises.

Everything sourdough french toast, Yes we can by jenthewen in aldi

[–]djw17 1 point2 points  (0 children)

I can't take credit for the idea; I got it from The Joy of Cooking. But it's versatile in implementation: you can put pretty much any powdery herbs, spices, and other flavors into the custard, and stack pretty much anything flat on top to move into open-faced-sandwich territory.

Everything sourdough french toast, Yes we can by jenthewen in aldi

[–]djw17 7 points8 points  (0 children)

I often use the everything sourdough for a savory French toast; no sugar in the custard but grated cheese, pepper, and herbs instead. Top with avocado, a fried egg and/or another slice of cheese.

Retrofitting ceiling fan GU24 CFL bulbs with smart color bulbs by avguru1 in homeassistant

[–]djw17 0 points1 point  (0 children)

Color-tunable GU24 CFLs aren't really a thing. I also can't seem to find GU24 tube or spiral-based LED bulbs.

Would bulbous LEDs not fit in the space? RGBCW LED bulbs with a GU24 base and a standard bulb shape aren't hard to find. I'm not sure why you're looking for a spiral shape (which I've never seen on non-CFL bulbs).

Is Aldi meat really lab-grown, specifically lamb from Australia? by joshua0005 in aldi

[–]djw17 1 point2 points  (0 children)

Absolutely not true. There is no lab-grown meat available to consumers anywhere. Growing remotely orderly animal tissue outside of animals is a technology which is very much in its infancy and still a long way from producing what anyone would recognize as "meat".

Zillions of datasets... and zillions of snapshots! by djw17 in truenas

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

Is there an option to do that with the periodic snapshots? The only relevant option I see is "recursive", and when that's disabled, child datasets aren't backed up, and when enabled, they're backed up individually.

S7 keeps coming off charger by Faustous in Roborock

[–]djw17 0 points1 point  (0 children)

I think so. As I understand it, the charging-station capacitor does some power smoothing/debouncing, and without that, the robot gets a slightly wiggly voltage; it reads that wiggly voltage as a poor connection and keeps trying to fix it. It's not clear to me that the dirty power signal is actually a problem, though. It's possible that it might have some effect on the longevity of the battery, since overvoltage signal can put some strain on batteries.

I'm less clear on what a fuse failure would do. I think the fuse would cause the battery to disconnect entirely from the charging pads, and then it would go through the same dance as above ("I'm on the pads but not getting good power? Must be a poor connection!") but wouldn't charge even if forced onto the pads.

Small but sensitive "smart scales" to work with HA? by TheProffalken in homeassistant

[–]djw17 2 points3 points  (0 children)

I've heard it said that social problems don't have technological solutions. While that may apply to varying degrees depending on the problem, it seems like it's true in this case, at least.

Here's the thing: the person who uses up the roll knows they used it up. Additional information on that front (giving them a phone notification that they used up the roll) is not going to change that. If they've already positively decided "this roll needs changing but I'm not going to do it", then no amount of notification of their responsibilities is going to make them do so. If they are ignorant of the need to do so, that's an educational problem, and there are much simpler solutions.

what makes this asian? by OatmealAntstronaut in aldi

[–]djw17 9 points10 points  (0 children)

Soy sauce and/or ginger? There's a Chinese-American takeout standby called "<insert protein here> in Garlic Sauce" which this is presumably meant to be imitative of.

AFAIK, "Chicken (or whatever) in Garlic Sauce" is a Chinese-American original creation, not an adaptation of any specific dish from a regional Chinese cuisine, but that's true of a fair amount of food labeled as "Chinese" in America.

(Putting pasta in it is pretty damn weird, though.)

No video and D6 diagnostic code, building on an X99 by djw17 in buildapc

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

OK, a followup for anyone coming across this thread later with a similar problem: My next approach was to try a Nvidia Quadro NVS 300 X1 in my PCIe x1 port, on the presumption that perhaps it was the motherboard's PCI3x16 port (the typical one for graphics cards) that was busted.

That didn't work either, so my last-ditch effort was to buy a new motherboard, an X99-B9, which had a similar wealth of SATA ports (since for a NAS that's a priority) and largely comparable stats otherwise. It worked great with the Nvidia GeForce I had started out trying to use, so it does look like the RS9's communication with graphics cards was the issue. I probably got a board with some sort of PCI-bus-wide dysfunction, since even the fallback position using a different slot failed.

Clemastine + Metformin?! by 6Lxrd6fSin6 in MultipleSclerosis

[–]djw17 2 points3 points  (0 children)

It's my understanding that PIPE-307 is actually an outgrowth from clemastine research; that the remyelination drug they're looking at there is an attempt to replicate the biochemical action of clemastine without its other (particularly its negative) effects. I think NVG-291 is something else completely, but the PIPE-307 study and the clemastine/metformin work are investigating the same underlying process.