Skip Navigation
Do you feel that you are operating in a different reality than most of humanity?
  • Even when I'm by myself, I often get the feeling like I'm in a "bubble," and everything I'm looking at outside of myself is some other reality different from my own. It's not a positive or a negative feeling, just kind of weird.

    So to answer your question: Yes.

  • homelab @lemmy.ml corroded @lemmy.world
    Optimizing a WiFi Network

    This isn't strictly "homelab" related, but I'm not sure if there's a better community to post it.

    I'm curious what kind of real-world speeds everyone is getting over their wireless network. I was testing tonight, and I'm getting a max of 250Mbit down/up on my laptop. I have 4 Unifi APs, each set to 802.11ac/80Mhz, and my laptop supports 2x2 MIMO. Testing on my phone (Galaxy S23) gives basically the exact same result.

    The radio spectrum around me is ideal for WiFi; on 5Ghz, there is no AP in close enough range for me to detect. With an 80Mhz channel width, I can space all 4 of my APs so that there's no interference (using a non-DFS channel for testing, btw).

    Am I wasting my time trying to chase higher speeds with my current setup? What kind of speeds are you getting on your WiFi network?

    10
    [Silly Thought Exercise] What over-the-top absurd person would you choose to replace Biden who you think could actually body Trump, and why?
  • I was actually thinking about something similar today. We've already had an actor as president, then with Trump, we had a reality-TV star. Social media is the new "TV" for the younger generation, so it's only a matter of time before we have an influencer or a YouTube creator as a candidate, right? Let's see MrBeast go toe-to-toe with Trump.

  • Undecided voters say they now support Joe Biden after debate
  • I don't consider myself a Republican or a Democrat, although unless things change drastically in American politics, I can't see myself ever voting Republican by the time I'm dead and gone. With that said, I mentioned to someone yesterday that if I didn't have the experience of living through Trump's time in office, this debate would make me seriously consider voting for him.

    I really don't believe that this debate is going to sway many undecided voters toward Biden. If you compare their performance at face value, Trump was unusually well-spoken, and Biden seemed like he belonged in a nursing home. Half of what Trump said was complete bullshit, but how many undecided voters are actually reading articles that show how full of it he really is?

    What you have is a person who stated lies as fact and did a decent job of being convincing and a person who was generally truthful but seemed like he "wasn't all there." Undecided voters who "don't follow politics" are going to see this and say "You know, I think I understand why people support Trump." That's a very scary prospect.

    I don't dislike Biden, but my personal opinion is that the best thing he could do for the country is step aside and let a different Democrat take the nomination. Geriatrics like Trump and Biden need to retire, do whatever they feel like in their golden years, and let someone else take the reins. A competent politician in his 50s or 60s would absolutely destroy Trump, and that's exactly what we need right now.

  • The modern "bulb" in a 150-year-old lighthouse.
  • The specs say it replaces a traditional 500w-1500w light source with a 200w LED fixture. I'm honestly surprised at how low that is overall. I would expect that a lighthouse would be using at least 10kw of power or more, especially in areas prone to fog. I can only assume that there are lenses to focus it down to a tight beam.

    For comparison, I recently installed LED lights in a moderately-sized industrial area. Total power consumption is a little over 2kw, or 10 lighthouses.

  • Is there a simple way to severly impede webscraping and LLM data collection of my website?
  • I probably should have specified I'm using libcurl, but I did try the equivalent of what you suggested. I even tried setting a list of user agents and having it cycle through. None of them work. A lot of anti-scraping methods use much more complex schemes than just validating the user agent. In some cases, even a headless browser will be blocked.

  • Is there a simple way to severly impede webscraping and LLM data collection of my website?
  • Speaking from experience, be careful you don't become over-zealous in your anti-scraping efforts.

    I often buy parts and equipment from a particular online supplier. I also use custom inventory software to catalog my parts. In the past, I could use cURL to pull from their website, and my software would parse the website and save part specifications to my local database.

    They have since enacted intense anti-scraping measures, to the point that cURL no longer works. I've had to resort to having the software launch Firefox to load the web page, then the software extracts the HTML from Firefox.

    I doubt that their goal was to block customers from accessing data for items they purchased, but that's exactly what they did in my case. I've bought thousands of dollars of product from them in the past, but this was enough of a pain in the ass to make me consider switching to a supplier with a decent API or at least a less restrictive website.

    Simple rate limiting may have been a better choice.

  • How do you connect with people and make friends without social media?
  • What is human connection, though? It's your brain releasing dopamine because you spent time with another person. It matters to you because it makes you feel good. Other things can make you feel good, too. The difference is that hobbies and activities won't let you down. They won't stop being your hobby because they'd rather spend time with someone else. People are unreliable and ultimately selfish at heart.

    Say you make a friend. 60 years from now, you and your friend are both dead, and what's left behind? Nothing. I'm not old, but I'm certainly not young either. It took me a while to realize that other people just don't matter. In the end, nothing matters at all; everything you and I do is ultimately going to fade into irrelevance when we're dead. Might as well make the most of the time we have alive, then; do something that makes you happy. Don't rely on another selfish human being for your happiness.

  • How do you connect with people and make friends without social media?
  • You don't. People need fulfillment, not human interaction. Find something you are passionate about and pour your time and effort into it. Buy a classic car and restore it. Learn how to make your own furniture. Start learning photography. Write a book. Develop a program or app. Start a fitness routine. Brew your own beer. Learn a foreign language. The list is endless.

    What matters is doing something that brings you satisfaction. A hobby that involves creating something or improving yourself is so much better than wasting time with other people. Spend a day hanging out with friends, and what do you have at the end of the day? Nothing. Spend a day planting a garden, and what do you have at the end of the day? You have a nice garden.

  • Development in Windows vs Linux

    I have been programming in C++ for a very long time, and like a lot of us, I have an established workflow that hasn't really changed much over time. With the exception of bare-metal programming for embedded systems, though, I have been developing for Windows that entire time. With the recent "enshittification" of Windows 11, I'm starting to realize that it's going to be time to make the switch to Linux in the very near future. I've become very accustomed to (spoiled by?) Visual Studio, though, and I'm wondering about the Linux equivalent of features I probably take for granted.

    • Debugging: In VS, I can set breakpoints, step through my code line-by-line, pause and inspect the contents of variable on-the-fly, switch between threads, etc. My understanding of Linux programming is that it's mostly done in a code editor, then compiled on the command line. How exactly do you debug code when your build process is separate from your code editor? Having to compile my code, run it until I find a bug, then open it up in a debugger and start it all over sounds extremely inefficient.
    • Build System: I'm aware that cmake exists, and I've used it a bit, but I don't like it. VS lets me just drop a .h and .cpp file into the solution explorer and I'm good-to-go. Is there really no graphical alternative for Linux?

    It seems like Linux development is very modular; each piece of the development process exists in its own application, many of which are command-line only. Part of what I like about VS is that it ties this all together into a nice package and allows interoperability between the functions. I can create a new header or source file, add some code, build it, run it, and debug it, all within the same IDE.

    This might come across as a rant against Linux programming, but I don't intend it to. I guess what I'm really looking for is suggestions on how to make the transition from a Visual Studio user to a Linux programmer. How can I transition to Linux and still maintain an efficient workflow?

    As a note, I am not new to Linux; I have used it extensively. However, the only programming I've done on Linux is bash scripting.

    8
    Is Microsoft trying to commit suicide?
  • Microsoft knows that the addition of adds to Windows, Recall, data mining, etc are not suicide. As far as tech news goes, Lemmy really exists in an echo chamber. The vast majority of us at least have some interest in technology. For the majority of the population, though, this isn't true. The typical person sees a computer as a tool to be used for other things. They're not reading articles about the latest release of Windows, new CPU technology, the latest GPU, etc. They're using their computer, and when it's time for an upgrade, they buy whatever suits their needs.

    If I was to ask any of my family, or most of my coworkers, about any of the latest "controversies" surrounding Microsoft, they would have no idea what I was talking about. Microsoft obviously thinks that the added profits gained by monetizing their customers will offset the loss of 1% of their users that switch to Linux. They're probably right, too.

    I like Windows, personally (well, Windows 10 at least). My unofficial rule has always been if it needs a GUI, then it runs Windows, otherwise, it runs Linux as a headless machine. Once Windows 10 is no longer a viable option, my unofficial rule will be "it runs Linux." Most people will not make this switch.

  • She Made an Offer on a Condo. Then the Seller Learned She Was Black.
  • Outside of obvious ethnic names, which isn't an issue here, how does the seller even know what a potential buyer looks like?

    I never spoke to the previous owner of my home, and I have no idea what they look like. The opposite is also true. I have a name on various forms, but that's it. Our only correspondence was through various documents sent between our agents. I didn't even see the seller at closing; we signed the closing documents at different times.

    It sounds like her real estate agent is on her side, so unless the agent was trying to sabotage the sale, how does this happen?

  • What are you average file sizes for movies and series?
  • Yes, a lot of my movies are 50GB or so. Not everything has a 4k repack available, though. I'd say the vast majority are around 20GB.

    1080p would just not be acceptable for me. There's a clear difference between 1080p and 4k on a 4k screen, especially if the screen is large.

    If I'm in a situation where I don't have connectivity to stream from my server, then I can always just start a Handbrake queue the night before and transcode a few videos to smaller size, or just dump a few onto an external drive. I have never been in a situation where I had to do this, though.

  • What are you average file sizes for movies and series?
  • Any sort of media, including videos, I always go for the highest possible quality I can. I do have a number of 4k displays, so it makes sense to a certain extent, but a lot if it has to do with future-proofing.

    Here's a good example: When personal video cameras were first starting to support 1080, I purchased a 1080i video camera. At the time, it looked great on my 1920x1080 (maybe 1024x768, not sure) monitor. Fast forward over 15 years later, and it the video I recorded back then looks like absolute garbage on my 4k TV.

    I remember watching a TV show when 1080p video first became available, and I was blown away at the quality of what was probably a less-than-1GB file. Now watching the same file even on my phone has a noticeable drop is quality. I'm not surprised you saw little difference between a 670MB and a 570MB file, especially if it was animation, which contains large chunks of solid colors and is thus more easily compressed. The difference between two resolutions, though, can be staggering. At this point, I don't think you can easily find a 1080p TV; everything is 4k. 8k is still not widespread, but it will be one day. If you ever in your life think you'll buy a new TV, computer monitor, or mobile device, eventually you'll want higher quality video.

    My recommendation would be to fill your media library with the highest-quality video you can possibly find. If you're going to re-encode the media to a lower resolution or bitrate, keep a backup of the original. You may find, though, that if you're re-encoding enough video, it makes more sense to save the time and storage space, and spend a bit of money on a dedicated video card for on-the-fly transcoding.

    My solution was to install an RTX A1000 in my server and set it up with my Jellyfin instance. If I'm watching HDR content on a non-HDR screen, it will transcode and tone-map the video. If I'm taking a break at work and I want to watch a video from home, it will transcode it to a lower bitrate that I can stream over (slow) my home internet. Years from now, when I'm trying to stream 8k video over a 10Gb fiber link, I'll still be able to use most of the media I saved back in 2024 rather than try to find a copy that meets modern standards, if a copy even exists.

    Edit: I wanted to point out that I realize not everyone has the time or financial resources to set up huge NAS with enterprise-grade drives. An old motherboard and a stack of cheap consumer-grade drives can still give you a fair amount of backup storage and will be fairly robust as long as the drive array is set up with a sufficient level of redundancy.

  • Zelenskiy calls on world leaders to attend Ukraine ‘peace summit’ after deadly Kharkiv strike
  • I think one thing that's very important for the worldwide audience to consider is what the involved countries count as "peace." Peace for Ukraine is "give us our land back and stop attacking us." Peace for Russia is "We'll stop attacking you if you let us have a significant portion of you country as our own." Obviously, the Russian "solution" is not an acceptable one. Sadly, I feel like China and other Russian-aligned countries probably support the distorted Russian version of "peace."

  • Proxmox - Slow network speed
  • What do you mean specifically? If I'm already testing between two VMs, doesn't that already isolate any issues to Proxmox? Is there another performance metric you think I should be looking at?

  • Proxmox - Slow network speed
  • When I use OpenSpeedTest to to test to another VM, it doesn't read or write from the HDD, and it doesn't leave the Proxmox NIC. It's all direct from one VM to another. The only limitations are CPU are perhaps RAM. Network cables wouldn't have any effect on this.

    I'm using VirtIO (paravirtualized) for the NICs on all my VMs. Are there other paravirtualization options I need to be looking into?

  • You wake up from a coma that started back in 2004. What music artist/band/group are you most surprised (good or bad,) by the direction they took musically over the last twenty years?
  • I still enjoy the second-wave stuff from time to time, but you're absolutely spot-on with what's been coming out in recent years. I'm really into groups that have kept the original BM music style but embraced modern production. A few that come to mind are Faidra, Spectral Wound, Asarhaddon, and Funeral Winds; fantastic bands that play "true" BM but have good recording quality.

    Like you mentioned, the big change is just how many "crossover" bands there are, and I'm all for it. You didn't ask for suggestions, but I'm going to offer some of my favorites anyway:

    • Harakiri for the Sky - One of the best post-black bands.
    • Anomalie (shares members with Harakiri for the Sky) - BM plus what I can only call "tribal" elements.
    • Psyclon 9 (at least their older albums) - BM plus industrial/aggrotech.
    • Dawn of Ashes - See above.
    • Anaal Nathrakh - BM + grind + industrial + ?
    • Darkthrone (yes, THAT Darkthrone) - Blackened hard rock? I don't know what to call their new stuff, but it's not bad.
    • Gaerea - Radio-friendly BM
    • Kanonenfieber - Blackened melodic death metal? Maybe?
    • Afsky - Folk-inspired BM. Seems like this is a really popular combination.
    • None - DSBM, but with the exception of their filler tracks, more on the BM, less on the DS.
    • Ernte - Fairly traditional BM, but with female vocals.
  • homelab @lemmy.ml corroded @lemmy.world
    Proxmox - Slow network speed

    I've noticed recently that my network speed isn't what I would expect from a 10Gb network. For reference, I have a Proxmox server and a TrueNAS server, both connected to my primary switch with DAC. I've tested the speed by transferring files from the NAS with SMB and by using OpenSpeedTest running on a VM in Proxmox.

    So far, this is what my testing has shown:

    • Using a Windows PC connected directly to my primary switch with CAT6: OpenSpeedTest shows around 2.5-3Gb to Proxmox, which is much slower than I'd expect. Transferring a file from my NAS hits a max of around 700-800MB (bytes, not bits), which is about what I'd expect given hard drive speed and overhead.
    • Using a Windows VM on Proxmox: OpenSpeedTest shows around 1.5-2Gb, which is much slower than I would expect. I'm using VirtIO network drivers, so I should realistically only be limited by CPU; it's all running internally in Proxmox. Transferring a file from my NAS hits a max of around 200-300MB, which is still unacceptably slow, even given the HDD bottleneck and SMB overhead.

    The summary I get from this is:

    • The slowest transfer rate is between two VMs on my Proxmox server. This should be the fastest transfer rate.
    • Transferring from a VM to a bare-metal PC is significantly slower than expected, but better than between VMs.
    • Transferring from my NAS to a VM is faster than between two VMs, but still slower than it should be.
    • Transferring from my NAS to a bare-metal PC gives me the speeds I would expect.

    Ultimately, this shows that the bottleneck is Proxmox. The more VMs involved in the transfer, the slower it gets. I'm not really sure where to look next, though. Is there a setting in Proxmox I should be looking at? My server is old (two Xeon 2650v2); is it just too slow to pass the data across the Linux network bridge at an acceptable rate? CPU usage on the VMs themselves doesn't get past 60% or so, but maybe Proxmox itself is CPU-bound?

    The bulk of my network traffic is coming in-and-out of the VMs on Proxmox, so it's important that I figure this out. Any suggestions for testing or for a fix are very much appreciated.

    11
    What is a valid use case for std::any?

    In c++17, std::any was added to t he standard library. Boost had their own version of "any" for quite some time before that.

    I've been trying to think of a case where std::any is the best solution, and I honestly can't think of one. std::any can hold a variable of any type at runtime, which seems incredibly useful until you consider that at some point, you will need to actually use the data in std::any. This is accomplished by calling std::any_cast with a template argument that corresponds to the correct type held in the std::any object.

    That means that although std::any can hold a type of any object, the list of valid objects must be known at the point that the variable is any_cast out of the std::any object. While the list of types that can be assigned to the object is unlimited, the list of types that can be extracted from the object is still finite.

    That being said, why not just use a std::variant that can hold all the possible types that could be any_cast out of the object? Set a type alias for the std::variant, and there is no more boilerplate code than you would have otherwise. As an added benefit, you ensure type safety.

    4
    Looking for a portable AC with local control

    I'm looking for a portable air conditioner (the kind with 1 or 2 hoses that go to outside air). The problem I'm running into is that every single one I find has some kind of "smart" controller built in. The ones with no WiFi connectivity still have buttons to start/stop the AC, meaning that a simple Zigbee outlet switch won't work. I could switch the AC off, but it would require a button-press to switch it back on. The ones with WiFi connectivity all require "cloud" access; my IoT devices all connect to a VLAN with no internet access, and I plan to keep it that way.

    I suppose I could hack a relay in place of the "start" button, but I'd really rather just have something I can plug in and use.

    I can't use a window AC; the room has no windows. I'll need to route intake/exhaust through the wall. So far, I can't find any "portable" AC that will work for me.

    What I'm looking for is a portable AC that either:

    • Connects to WiFi and integrates with HA locally.
    • Has no connectivity but uses "dumb" controls so I can switch it with a Zigbee outlet switch.

    Any ideas?

    9
    Brian Dorsey Deserved to Die

    Yesterday, Brian Dorsey was executed for a crime he committed in 2006. By all accounts, during his time in prison, he became remorseful for his actions and was a "model prisoner," to the point that multiple corrections officers backed his petition for clemency.

    https://www.cnn.com/2024/04/09/us/brian-dorsey-missouri-execution-tuesday/index.html

    In general, the media is painting him as the victim of a justice system that fails to recognize rehabilitation. I find this idea disgusting. Brian Dorsey, in a drug-induced stupor, murdered the people who gave him shelter. He brutally ended the life of a woman and her husband, and (allegedly) sexually assaulted her corpse. There is an argument that he had ineffective legal representation, but that doesn't negate the fact that he is guilty.

    While I do believe that he could have been released or had his sentence converted to life in prison, and he could have potentially been a model citizen, this would have been a perversion of justice. Actions that someone takes after committing a barbaric act do not undo the damage that was done. Those two individuals are still dead, and he needed to face the ramifications for his actions.

    Rehabilitation should not be an option for someone who committed crimes as depraved as he did. Quite frankly, a lethal injection was far less than what he deserved, given the horror he inflicted on others. If the punishment should fit the crime, then he was given far more leniency than was warranted.

    36
    Invidious - Can't Subscribe

    I just set up a local instance of Invidious. I created an account, exported my YouTube subscriptions, and imported them into Invidious. The first time I tried, it imported 5 subscriptions out of 50 or so. The second time I tried, it imported 9.

    Thinking there might be a problem with the import function, I decided to manually add each subscription. Every time I click "Subscribe," the button will switch to "Unsubscribe," then immediately switch back to "Subscribe." If I look at my subscriptions, it was never added.

    My first thought was a problem with the PostgreSQL database, but that wouldn't explain why some subscriptions work when I import them.

    I tried rebooting the container, and it made no difference. I'm running Invidious in a Ubuntu 22.04 LXC container in Proxmox. I installed it manually (not with Docker). It has 100GB of HDD space, 4 CPU cores, and 8GB of memory.

    What the hell is going on?

    10
    Parents Should Pay Higher Taxes

    As is stands, parents are able to claim their children as dependents on their tax returns, which lowers their overall tax liability and in effect means that the parents either pay less in taxes or receive a higher return at the end of each year.

    Until they reach the age at which they can work, children are a drain on society. They receive public schooling and receive the same benefit from public services that adults do, yet they contribute nothing in return. At the point that they reach maturity and are gainfully employed and paying taxes, they become a functioning member of society.

    If a parent decides to have a child, they are making a conscious decision to produce another human being. They could choose to get a sterilization surgery, use birth control, or abort the pregnancy (assuming they don't live in a backwards state that's banned it). Yet even if they decide to have 15 children, the rest of society has to foot the bill for their poor decisions until the child reaches adulthood.

    By increasing taxes on parents instead of reducing them, you not only incentivize safe sex and abortion, but you shift the burden of raising a child solely to the individuals who are responsible for the fact that that child exists.

    I am a strong advocate for social programs: Single-payer healthcare, welfare programs, low-income housing, etc, but for adults who in turn contribute what they can. A child should only be supported by the individuals who created it.

    82
    homelab @lemmy.ml corroded @lemmy.world
    When is a storage VLAN or SAN necessary?

    The majority of my homelab consists of two servers: A Proxmox hypervisor and a TrueNAS file server. The bulk of my LAN traffic is between these two servers. At the moment, both servers are on my "main" VLAN. I have separate VLANs for guests and IoT devices, but everything else lives on VLAN2.

    I have been considering the idea of creating another VLAN for storage, but I'm debating if there is any benefit to this. My NAS still needs to be accessible to non-VLAN-aware devices (my desktop PC, for instance), so from a security standpoint, there's not much benefit; it wouldn't be isolated. Both servers have a 10Gb DAC back to the switch, so bandwidth isn't really a factor; even if it was, my switch is still only going to switch packets between the two servers; it's not like it's flooding the rest of my network.

    Having a VLAN for storage seems like it's the "best practice," but since both servers still need to be accessible outside the VLAN, the only benefit I can see is limiting broadcast traffic, and as far as I know (correct me if I'm wrong), SMB/NFS/iSCSI are all unicast.

    6
    Share your favorite automations

    I've been running HA for a while, and it's been working well; I haven't had to change much in a few months. That being said, it's fun to tinker with it, and I'm curious to hear what kind of automations the rest of the community is using. What automations are you most proud of? What are your favorite? What kind of interesting automations have you written?

    My personal favorite is an automation that displays the current "apparent" temperature on a Hue bulb. It takes an average of the temperature, humidity, and luminance around my property and uses the average to compute an "apparent" (feels like) temperature. Then it applies a cosine function to the apparent temperature (to approximate how people feel temperature change), uses the resulting value to calculate a level between blue and red in CIELAB (a perceptually uniform color space), converts the results to RGB, and sets the color value of the hue bulb. The result is a bulb that changes color so that the change in color (as perceived by the eye) mirrors how the temperature "feels" outside. Ultimately what that means is that we can look at a small lamp with the hue bulb and say "It feels cold outside; we should put on a coat." It's probably overkill, but it was a fun programming exercise. We've started saying things like "It's really blue today, I don't feel like going out."

    I'd really enjoy reading what kind of interesting automations everyone else has written.

    53
    Hosting private UHD video

    I have a decent amount of video footage that I'd like to share with friends and family. My first thought was Youtube, but this is all home videos that I really don't want to share publicly.

    A large portion of my video footage is 4k/60, so I'm ideally looking for a solution where I can send somebody a link, and it gives a "similar to Youtube" experience when they click on the link. And by "similar to Youtube," I mean that the player automatically adjusts the video bitrate and resolution based on their internet speed. Trying to explain to extended family how to lower the bitrate if the video starts buffering isn't really an option. It needs to "just work" as soon as the link is clicked; some of the individuals I'd like to share video with are very much not technically inclined.

    I'd like to host it on my homelab, but my internet connection only has a 4Mbit upload, which is orders of magnitude lower than my video bitrate, so I'm assuming I would need to either use a 3rd-party video hosting service or set up a VPS with my hosting software of choice.

    Any suggestions? I prefer open-source self-hosted software, but I'm willing to pay for convenience.

    35
    DJI O3 - CE vs FCC vs Ham firmware hacks

    I've recently purchased a DJI Avata, and I've been reading about the different "hacks" to enable higher power modes and additional channels for the O3 system.

    I understand that CE mode is specifically for European countries with more restrictive power limitations. I'm in the USA, so I apparently my drone is in "FCC mode" by default. I'm specifically curious about "Ham mode," though. I am a licensed ham radio operator, which means that legally, I can use frequencies and power levels that are outside the range of normal Part 15 devices. In general, the regulations state that my transmissions must be unencrypted, I must transmit my callsign every 10 minutes, and I'm limited to 1.5kW (which is obviously far less than any drone would use). Is there a firmware hack that allows this?

    I'm not trying to break the line-of-sight rules, but if I can enable a mode that would allow me to get better signal fidelity within the FCC and FAA regulations, I'd like to try it. Even a little bit of extra power can make a significant difference in certain cases.

    6
    Zigbee Cluster 0xEF00

    I've been going through my system logs and working on resolving the miscellaneous errors; mostly it's just due to poorly-written automations where the automation would be called while it was still running. Easy fix.

    What I can't seem to fix is a constant stream of "Unknown cluster command" errors on cluster 0xef00 coming from ZHA. I've discovered that the 0xef00 cluster is a manufacturer-specific cluster. All of my errors come from Tuya mmWave sensors; apparently Tuya uses this cluster for inter-device communication.

    All of my devices work, but this error is polluting the logs to a large degree; right now it's showing over 100k instances of this error. Is there a way to have HA just ignore this cluster completely? It's not causing any issues with functionality, but I would rather the logs just show actual errors so I can more easily identify problems and fix them.

    I've read that Z2MQTT doesn't have this issue, but swapping from ZHA to Z2MQTT is not an option for me, especially for what amounts to a logging issue. It would require re-pairing almost 100 Zigbee devices and modifying nearly every single automation.

    9
    Understanding the purpose of Android Auto

    I upgraded the head unit in my car recently. The head unit itself runs Android, and it supports Android Auto. So far, I've been using Android Auto via bluetooth, and it works great. I have no complaints.

    I started using Android Auto just because it seemed logical, but I'm not understanding exactly what the benefits are. Since the head unit runs Android, couldn't I just install the apps I need on the head unit itself and just tether my phone for internet access? It also supports a 5G connection, so if I installed a SIM card, I don't think I'd need my phone at all. To be honest, I'm leading toward that; it just seems easier and a lot more straightforward.

    I have no complaints about Android Auto, I just don't really see what it brings to the table other than a layer of abstraction over the head unit's native interface. It might be worth mentioning that the only thing I do in my car is streaming music and navigation.

    What features am I missing? Surely there is a compelling reason for Android Auto to exist.

    12
    Presence Detection - Multiple People / Sleeping People

    I'm using a variety of PIR motion sensors and mmWave presence sensors; most work fairly well, with a few exceptions. At this point, I have all the lights in my house automated, but with one exception: the master bedroom. I'd like to automate my bedroom lights so that they turn on when someone enters the bedroom unless someone else is already in bed sleeping. So far, none of the sensors I've used are precise or reliable enough to do this. I've thought about using the status of our phones (charging/not charging), but my girlfriend doesn't always plug in her phone when she's asleep. Scheduling won't work, since we both sleep at random times when we're off work, sometimes during the day. Maybe a pressure sensor under the mattress?

    Aquara makes a device that's advertised as being able to detect multiple people as well as sleeping people. This would be perfect if it worked, but Aquara devices seem to be the ones that always cause me the most problems.

    Any suggestions?

    9
    How Does the Default (not logged in) Youtube Algorithm Work?

    I've found that when I'm logged into Youtube, the algorithm works fairly well to suggest videos that are at least somewhat related to my interests. I'm specifically curious about how the "default" algorithm works when not logged in.

    If I open a private window and look at the front page, it almost feels like the algorithm is doing its best to show me the opposite of what I want to see. Obviously this isn't true, but I just don't get how it chooses the videos it shows. As an example, I almost always get:

    • Right-wing news clips (I'm not a Republican)
    • Sports (I don't watch or play sports)
    • Gaming streams (I've not once watched a gaming stream)
    • Christian content (I am not a Christian)
    • Gen-Z and Gen-Y entertainment (I'm almost 40)

    I feel like some of this is geographic. My router load-balances between two internet connections, and I can sometimes tell if it's using my "local" connection or my satellite connection (with an endpoint in another state) based on what videos it shows. Regardless, though, the content I see isn't really appropriate for the demographic in either location. Out of curiosity, I tried it with a VPN using an endpoint in Canada (I'm in the USA); the front page was mostly really crappy reality TV content (think stuff on TLC).

    If I was programming the algorithm, I'd want to have it show content that applies to a broad audience, but that really doesn't seem to be the case. While I don't intend on ever using Youtube without being logged in (and having a ton of browser plugins active to improve the experience), from a technical standpoint, I'm very curious how it chooses what to put on the front page.

    2
    Reading the Value or a Potentiometer

    I have a rainwater collection system that feeds into several water tanks. I'd like to be able to monitor the tank levels for a variety of reasons, first and foremost because of the fact that we get almost no rain in the summer, and I have run the tanks to empty before.

    In the past, I have used Milone eTape connected to an Atmel microcontroller to monitor water levels for a few different applications. I'd like to use this again if possible.

    The eTape essentially acts as a potentiometer in a circuit. I've done some research on various ways to feed this into HomeAssistant, but I'm not really sure what's best. My water tanks are just behind the wall from my HA server, so I could connect directly with USB, serial, or ethernet. WiFi or Zigbee or also options; nearly every other device I have connected to HA is Zigbee.

    What I'm ideally looking for is a device that can take a voltage level between 0-5VDC, or a 5k potentiometer, and feed the result into HA. Building something isn't out of the question (as long as I can program it in C or C++), but an off-the-shelf solution that integrates with HA would be ideal.

    12
    Resetting Hue Bulbs

    I recently found a box in storage that contains about 10 Philips Hue bulbs; I had completely forgotten that I used them in the past. At the time, I had them paired to a Hue bridge. The newest is probably at least 6 years old, maybe a bit more.

    I now have a Zigbee network with HA, and so I figure I might as well use the bulbs; they all still work. I can't figure out how to reset them so I can pair them to my Zigbee controller, though. Every article I read assumes that they're already connected to a bridge, to Amazon Alexa, I have a Hue dimmer controller, or something of the sort.

    Is my only option to sign up for a Hue account, set up my old bridge, and reset them through the Hue app? Surely there must be some other way. I found a thread on [that other site that isn't Lemmy] that gives a routine of switching power on/off to cause a factory reset, but it doesn't work after several tries.

    UPDATE: I was never able to find a method that worked without using my old Hue bridge. I ended up connecting the bridge and manually deleting each bulb. I few I had to add and delete again, but after about an hour of work, I was able to pair them all with HA.

    13
    Sonoff Motion Sensors - These are Really Bad

    I installed 6 Sonoff SN-ZB03 motion sensors this morning, and I'm getting so many false positives that they're essentially useless. I could understand having one that's bad, but 6?

    Three of them seem to randomly trigger for no reason at all. One triggers any time the heater comes on, regardless of where I place it. The last two usually work but still give random false positives.

    From what I'm reading, there are a lot of complaints about these. I probably should have done some research before I bought them. I can't shake the feeling that I'm doing something wrong. Is ITEAD really selling a motion sensor that just doesn't work properly?

    I don't see any commands listed under "Manage Zigbee Device" that allow for a sensitivity change, and I can't find a datasheet or a manual for these other than the basic "quick start" guide. As far as I can tell, there's no firmware update available, either.

    Am I stuck replacing all of these? If so, any suggestions on better ones? I've read good reviews of the Hue motion sensors, but they're not cheap.

    EDIT: I've had some time to experiment with these a bit more. They can be made to work, but only in very specific circumstances. The ones I had outside would trigger constantly, as would the one I had in a room with a heater. They also seem to interfere with each other if they're too close to each other. I placed one in an attic area, and one in the stairs leading up; these are working flawlessly. So if you need a motion sensor for an indoor area that isn't climate controlled, doesn't have another sensor nearby, and doesn't have frequent lighting changes, these might work. Maybe for a closet? I won't be throwing these away, but there won't be a lot of cases where I use them.

    20
    DIY Pellet Stove Control

    Based on a number of excellent suggestions I got in previous thread, I have decided to convert all my smart home devices over to ZigBee. I have about 50 switches and sensors on-order at the moment.

    One thing I can't seem to find is a controller for my pellet stove. My stove is installed in my workshop, and during the winter, I usually have to run out to the shop in the morning, turn the stove on, then wait for a hour or two for it to warm up.

    I'm thinking that I'll most likely need to build a controller for the stove. I had some issues with the mainboard in the stove last year, so I'm fairly familiar with how it works. There area few sensors and relays.

    • An on/off sensor for the lid.
    • A safety sensor for the hopper (makes sure flames aren't feeding back into the hopper).
    • A pressure sensor to detect if the door is open.
    • An external temperature probe.
    • An internal temperature probe.
    • A relay for the igniter.
    • A relay for the motor that rotates the hopper.
    • A relay for the induction fan.
    • A relay for the fan that blows warm air out from the stove.
    • A potentiometer that switches the stove on and controls the temperature set point.

    I have built a number of custom PCBs in the past, and I'm confident that I could build a replacement for the mainboard that includes a ZigBee radio. This requires a significant amount of design work for the PCB, programming for the microcontroller, etc. I'm also just now learning about how the ZigBee protocol works, so there would be a fair amount of research involved.

    My other idea was to build a PCB that essentially acts as a programmable potentiometer, replace the pellet stove's pot with this PCB, and leave the mainboard as-is.

    Has anyone here tried integrating a pellet stove into your home automation? How did you do it?

    UPDATE: This was actually very easy. The potentiometer that controls my stove acts as a voltage divider. At 5V, it signals the stove to shut off, and at 0V, it's fully on. I just leave the potentiometer in the "off" position, and I added a zigbee relay in normally-closed mode in series with the wire feeding from the center. When the relay is "off," the stove sees 5V and does its normal shutdown routine. With the relay "on," the stove starts up. HA switches it based on temperature from a temperature sensor in the room. Depending on your stove, you might need a pull-down resistor (if it expects GND instead of an open), but it works perfectly for me.

    10
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CO
    corroded @lemmy.world
    Posts 35
    Comments 261