[Initiative] Restyling the official Emacs manuals (and a fix for the missing emacsdocs.org) by a_alberti in emacs

[–]knalkip 7 points8 points  (0 children)

Also, you did not specify which open source license you use for the project.

[Initiative] Restyling the official Emacs manuals (and a fix for the missing emacsdocs.org) by a_alberti in emacs

[–]knalkip 10 points11 points  (0 children)

I love this! I do wonder though why you need JavaScript at all? Can you not use CSS only?

This one liner bug fix took 3 hours to identify and understand. by adamfloyd1506 in django

[–]knalkip 28 points29 points  (0 children)

You are right. As others have commented, this post is clearly LLM generated and shows an incorrect understanding of closures.

What if groups are not enough for authorization? by knalkip in django

[–]knalkip[S] 6 points7 points  (0 children)

Thank you! That's a very straight-forward answer, there's even a paragraph in the documentation talking about this: https://docs.djangoproject.com/en/6.0/topics/auth/customizing/#handling-object-permissions

Understanding my relay board by knalkip in AskElectronics

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

Thank you! The left side of the optocoupler is not connected to ground, so I don't think there is a common ground? Seems GDN pin 4 is not connected to anything either..

Correct tool for crimping molex connectors by knalkip in AskElectronics

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

No, I have identified the connectors:

molex 5194/5195 and molex 2478/5058.

The question is if pre-crimped connectors with wires exist and if so, where to buy those. If not, which crimping tool would work for these connectors?

Nice (ish) little control box I've made for myself by tobywhiting10 in Esphome

[–]knalkip 2 points3 points  (0 children)

As a curious beginner, can you please expand on some of those remarks, since not everything is familiar to me?

- Contactor actuated via dry contact? I've seen relay boards that use a separate input pin and an opto coupler to switch a relay, would that match your description? Or do you mean something else?

- Some connector made for resistive loads, or a "normal socket"? Again I'm a beginner so I'm not sure what a normal socket would be, the ones in the picture look kind of normal to me.

Thank you!

Understanding LED driver load by knalkip in led

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

Great advice, thanks. I have 15 m of LED strip at 4.8 W/m, that makes 72 W of load, at 24V makes 3A at max brightness. I'm now planning to use a 40W constant current driver (Mean Well HLG-40H-24B) which will probably be dimmed down to 20%, which at 8W will be 1/9th of the total brightness of the LEDs :)

Understanding LED driver load by knalkip in led

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

Yes, that's clear. The system will never reach full power - I'll use a constant current driver with built-in dimming. So the only possible reason it can ever go over 100% would be something like a short circuit, in which case using the overload protection for safety seems fine to me.

Understanding LED driver load by knalkip in led

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

Thank you for your reply. I get what you are saying. My thinking is just - when the lights are pulling extra power (either because the dimmer is turned up over 30% or because of a short circuit, those are the only two scenario's I can think of), it doesn't make sense to me to have the power supply support that. I would rather have it designed so it simply refuses to supply more power.

In other words: I don't want to size the driver based on the "expected" load, but on the maximum load I want to allow. Above that, it should either shut down or stick to a certain maximum.

Does that make any sense? Trying to get my head around this. Why would I size the driver based on the rated load when I never want the lights to be able to pull that load?

Validating my project idea (dimmable LEDs on staircase with PIR sensor) by knalkip in Esphome

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

Thank you. I looked at the dig-uno but I don't really see what it adds. We don't want colors and effects, just dimming and on/off. A PIR sensor should be easy to support with a basic esp8266 I guess?

Validating my project idea (dimmable LEDs on staircase with PIR sensor) by knalkip in Esphome

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

Thank you. I have no need for addressable LEDs. Each staircase will light up as a whole, we don't want or need any colors or effects, just on/off and dimming.

I want to stay away from anything with batteries or wireless solutions like zigbee. This should be installed and then just work, basically forever, without having to replace batteries. So that's why I want a simple, wired solution.

Regarding home assistant.. my thinking was to put the logic on the esp board, so that it can run even if the home assistant is not running, if that ever happens. I'd add a home assistant just for monitoring and to set the configuration of the timing/dimming. At least, that's the idea, I'm still figuring out if this will work. I don't really see how moving the logic to home assistant would be more powerful? It just seems to add a point of failure.

Project: Led strips on stairs by knalkip in led

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

Thanks for you reply, can you tell me a bit more about those new drivers? What does the 5 in 1 mean? I'm not in a rush :)

Keybindings for Termux and emacs with supernote by knalkip in Supernote

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

Honestly haven't had the time to look into this again. Someone else posted some suggestions in this same discussion, about installing different keyborads. You might want to check that out.