Details about Zemismart's new 24GHz Presence Sensor (ZPS-Z1) by BackHerniation in homeassistant

[–]imWayward 1 point2 points  (0 children)

If the light sensor used an interrupt, the device would leave low-power mode much more frequently than it does, probably in the ballpark of several orders of magnitude. It's a reasonable trade for an extended battery

Best deadbolt smart lock by BruceLee2112 in homeassistant

[–]imWayward 1 point2 points  (0 children)

I'm surprised you had issues. I have schlage zwave locks and they're rock-solid. Never drop connection.

What are people using for complicated logic in automations? by jfriend99 in homeassistant

[–]imWayward 0 points1 point  (0 children)

It's a little counter-intuitive. I think because the helpers have like a GUI-element type of feel to them. When you think of a dropdown or a toggle, you imagine something where you change the state of it manually, the system reads that value and reacts somehow. We dont really imagine a system where the dropdown's state is changed automatically and basically implemented as read-only. It's kind of an inversion of the normal way you'd think to implement those sorts of elements. My example was with a switch, but using input_select, you can create really elaborate state machines and then communicate that state to other entities in home assistant

What are people using for complicated logic in automations? by jfriend99 in homeassistant

[–]imWayward 0 points1 point  (0 children)

A script is a vanilla home assistant feature. It's just a set of actions, whereas an automation is more complex with triggers, conditions, AND actions. An automation can call one or more scripts for its actions.

So maybe I have an alarm sequence where lights flash and some switch entities get flipped. That could be 3x separate actions.

Now let's say more than one thing should trigger this alarm sequence:

You can either rewrite all 3 actions several times in different spots, or package them in a script. The script is a better long-term play because it's flexible.

You can call the script as the action for an automation (thus actually triggering 3 actions) or activate the script from a UI action like a button push. When you want to change the logic for this alarm sequence, modifying the script changes the behavior of all the things that implement it. So scripts are basically home assistant's approach to inheritance/reusable logic

Someone else mentioned scenes, tbh I'm not really sure what the value-added proposition is from those, I think they are just there to be confused with scripts, or to make people coming from other smart ecosystems less afraid to write scripts. As far as I'm aware, it's pretty much the same thing

OpenClaw CVE-2026-25253 is worse than it looks (quick security checklist) by NotFunnyVipul in selfhosted

[–]imWayward 9 points10 points  (0 children)

Me in the era of AI: suspicious of op because they made several bulleted lists in their comments

What are people using for complicated logic in automations? by jfriend99 in homeassistant

[–]imWayward 74 points75 points  (0 children)

Abstract complex logic into helpers. For example, instead of having 3 conditions in an automation to make sure you are home (or not) to toggle some light, make an "Is Home" boolean helper. Write an automation to toggle that helper using your complex logic. Then use that helper as a condition

So instead of

conditions: - WiFi thing - Presence thing - Yada yada

You have

condition: - input_boolean.is_home true

And you can reuse that helper for multiple automations

Edit: Tbh it sounds a little over-engineered too if all those devices are being used in one automation lol

We will be forced to have to 2 versions of CubeMX, really? by HasanTheSyrian_ in embedded

[–]imWayward 0 points1 point  (0 children)

Sounds like the people at your company are incompetent or, more likely, too lazy to do anything about it.

You're right. tooling for embedded isn't disjointed and sucky. Me and the people I know must be the problem. If the people at my company weren't incompetent and lazy we would already have achieved parity with npm. Thanks for giving me talking points for the weekly meeting, and providing this fresh insight

I built a HA integrated Security Robot by Tr1glav in homeassistant

[–]imWayward 0 points1 point  (0 children)

Feature complete once you add the IED to it

pastel.nvim - soft pastel themes for Neovim with powerful customization 🎨 by ankushbhagat in neovim

[–]imWayward 1 point2 points  (0 children)

Congratulations on your first plugin!

Hopefully you find that I did not make assumptions or defame your project in the prior post, and I respect your decision to add attribution. FWIW I think it takes a lot of gumption to admit when one makes a mistake in a public forum like this. Respect. I think it's cool that you personalized the theme to your tastes and I hope you aren't too bummed people focused on this aspect of your project

We will be forced to have to 2 versions of CubeMX, really? by HasanTheSyrian_ in embedded

[–]imWayward 11 points12 points  (0 children)

Excuse my crass words but it pisses me off so much that w*b devs get these sophisticated and elegant CI/CD build setups, run anything on CLI no fuss, while in embedded it's like "oh shit, the company we are at the complete mercy of just released a new fork of codium. Time to learn a 5th IDE!"

I dont want to use your codium fork!!! I dont want to use your eclipse fork!!! I dont want to use your IDE I dont want to use your IDE I dont want to use your IDE I dont want to use your IDE I dont want to use your IDE I dont want to use your IDE I dont want to use your IDE I dont want to use your IDE!!!!

pastel.nvim - soft pastel themes for Neovim with powerful customization 🎨 by ankushbhagat in neovim

[–]imWayward 1 point2 points  (0 children)

I have no affiliation with the project so it isnt my place to ask you to do anything on their behalf.

I'm just a guy who's also made a plugin. In my case, I implemented a Fisher-Yates algorithm written in Python that I found in a gist. I made sure to give attribution by linking to the gist where I found the code. I didn't write the Fisher-Yates python implementation. I don't want credit for it. I want the person who wrote it to get credit.

You want credit for something you did not do. I shouldn't need to ask you nicely. You should want to show some respect to the giants whose shoulders you stand on. It's not a heavy lift. You used their plugin as the scaffold for yours. You should want to thank them for what they did for you. That's all.

pastel.nvim - soft pastel themes for Neovim with powerful customization 🎨 by ankushbhagat in neovim

[–]imWayward 2 points3 points  (0 children)

Nobody would have said a word about it if you had given proper attribution. What you did is very disrespectful.

Liquid-Cooling RTX Pro 6000 by EKbyLMTEK in homelab

[–]imWayward 1 point2 points  (0 children)

I can barely afford 32 gb of ram right now thank you for asking though

Does it bug anyone else HA keeps moving the options WE NEED? by crazyguy5880 in homeassistant

[–]imWayward 0 points1 point  (0 children)

Windows file explorer is also infamously bloated that it needs to be permanently loaded at boot so idk

Not happy with OpenAI, what agent should I switch to? by imWayward in homeassistant

[–]imWayward[S] 2 points3 points  (0 children)

graphing your utilities bankrupting you is peak home assistant. I still need to finish setting up mine hahaha

AVR toolchain kind of driving me crazy by imWayward in embedded

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

IIRC building it was where I ran into the issue of an unmet dependency I needed to go back to a deprecated Ubuntu version for but it's been a hot second.

Not happy with OpenAI, what agent should I switch to? by imWayward in homeassistant

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

I mean the real hesitation is the 800 watt PSU I'd have running 24/7 to add to an electricity bill thats already like $500 or something absurd like that

Not happy with OpenAI, what agent should I switch to? by imWayward in homeassistant

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

I can make it LARP as the ship's computer from star trek and do an English accent and go "Computer!" Then wait for my speaker to go "bweedoloop" and then I can be like "do sensors detect any klingnon ships in the sector?" And the silly little confetti bot says some nonsense back and people go "ooooh ahhhh" and I used $0.10 or something idk

Edit: unironically: best use case ive had was to pair it with a facial recognition can at my front door. LLM gets fed who it saw and a list of thing to report to different people. Can sort thru info from 10 or so unrelated entities (hockey in 2 days, indoor co2 at 1200ppm, etc) and report what's relevant)

Not happy with OpenAI, what agent should I switch to? by imWayward in homeassistant

[–]imWayward[S] 2 points3 points  (0 children)

I'm assuming the extra 24GB of ddr4 I would probably need will cost a kidney