A software developer and Linux nerd, living in Germany. I’m usually a chill dude but my online persona doesn’t always reflect my true personality. Take what I say with a grain of salt, I usually try to be nice and give good advice, though.

I’m into Free Software, selfhosting, microcontrollers and electronics, freedom, privacy and the usual stuff. And a few select other random things as well.

  • 1 Post
  • 33 Comments
Joined 5 years ago
cake
Cake day: August 21st, 2021

help-circle







  • HA isn’t the only option. I think there’s two other open source smarthome solutions out there(?) And you could probably do with just an MQTT broker and a Python script, or something like that…

    But HA isn’t a bad choice. They’re doing a phenomenal job. And related projects like ESPHome make it really easy to integrate microcontrollers. And if you want to do more smarthome stuff, it has a plethora of features, integrations, an app…

    Extra hardware isn’t absolutely necessary. I have one server at home which does NAS, and I use 4GB of it’s RAM to run a virtual machine with Home Assistant. That’s enough for it, including a bunch of Addons.


  • hendrik@palaver.p3x.detoSelfhosted@lemmy.worldCertificates...ugh
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    23 days ago

    You could try to debug the permission issue… Like take a note of the current permissions, chmod the certificates to 666 and the parent directories to 777 and see if that works. Then progressively cut them down again and see when it fails. And/or give caddy all the group permissions ssl, acme, certwarden… and then check which one makes it fail or work.


  • Kind of the reason why I quit Netflix. For once it got more expensive each year. And at some point there was less and less of my favorite shows on there, so I’d need to subscribe to a second service for Star Trek… then a third one for all the good stuff that’s Disney… And I don’t even watch that much TV. So instead, I just quit. Maybe one day I’m gonna read a book on a Friday evening 😆 Or the stuff the government forces me to pay for.



  • Sure. I’m not entirely sure how PCIE works these days. But in it good old days we had methods to read pretty much arbitrary memory regions via PCIE or early Thunderbolt(?).

    I just figured it’d be massively complicated to wait for the user to pull something on the screen, do computationally expensive OCR, some AI image detection to puzzle documents back together, and then you’d only get a fraction of what’s really stored on the computer and you’d still need a way to send that information home… When you could just pick a plethora of easy options like read all the files from the harddisk and send just them somewhere. I think it’s far more likely they do some easy and straightforward solution. And it’d be more effective as well.






  • Also got a nice Dell 7390 for a similar price a year ago. Though you really can’t compare a laptop bought in 2019 with a laptop bought 6 years in the future. You’d need to compare it to a refurbished one available for a similar price in 2019 and then factor in how that turned out for you a few years later. I mean technology always progresses and you’ll always get more a few years later. But yes, I’ve always been a fan of refurbished enterprise-grade laptops instead of the super-cheap consumer ones which include as much cost-cuttings as possible and a legacy CPU which is upmarketed because it’s cheap. I think my old desktop Celeron N4500(?) was like 40€ when it was new, because it was leftovers in production. At that point you can always buy a used processor for the same price with double the processor cores.


  • Nice, thanks for the link! I wasn’t aware of that. Sadly as with all shiny new things it doesn’t fit all my requirements… I’d really like to speak to my house in my native language. But I figure English will do. I’m gonna try that.

    Not sure if an ESP32-S3 is fast enough for more advanced DSP plus the rest of an voice assistant. At least I found some ESP32 libraries with noise reduction, echo cancellation… There is the ESP-ADF and a project called ESP32-SpeexDSP. But I didn’t try that yet. The Rockckip / Luckfox development board looks nice as well. A Cortex-A7 and a few hundred megabytes of memory might come in handy. And whatever the NPU does. But I don’t have a clue what kind of software and libraries we got for embedded Linux or custom processing units.

    Anyway. I think the production-grade stuff mostly uses multiple microphones and a combination of beamforming and echo cancellation. I got 4 inmp441 microphones here. But I lack the software/libraries to tinker with that kind of signal processing.


  • Uh, noise cancellation is hard. First of all, the audio pipeline currently isn’t able to resample the microphones, so mic and output need to be connected to separate i2s buses, or it won’t work simultaneously in the first place.

    And then I had some luck with the microwakeword component. It often triggers correctly even with noise in the background. And I have an automation that mutes all media players and the TV when the wake word is triggered. That’s my “noise cancelling”.

    I think more elaborate noise cancelling is going to require some dedicated hardware (or maybe some proprietary ESP-ADF functions) and a microphone array. But that’s probably as expensive as an Voice PE?!

    I’m not in a good place with the voice assistant anyway. Don’t own a graphics card. So it’s slow. And Whisper never gets all the words right for me. So it’s down to the speech-to-phrase addon. And that seems to be broken as of now. At least I get more connection errors than commands through. I think I’m going to do the Sendspin media player first. And then maybe add a microphone and voice assistant later.


  • I’m currently doing it the other way around. Assemble multiple satellites and spread them through the house. With upcoming Sendspin and Music Assistant this might do whole house audio soon. But I don’t own a Voice PE. I just bought some microcontrollers plus MAX98357A codec/amplifiers and connect them to random old speakers I have in my e-waste / upcycling bin. The one thing with an 3.5" audio jack might just go into the preexisting soundbar or stereo in the livingroom.