git-fire icon indicating copy to clipboard operation
git-fire copied to clipboard

An idea to make this actually (maybe) useful in case of a fire

Open ThatCodingGuy86 opened this issue 2 years ago • 4 comments

Record the CPU temp and if it goes above a certain threshold for longer than a few seconds (to make sure small glitches don't cause random pushes), automatically execute the command. I'm not sure if the way CPU's measure temperature would be able to measure high enough temperature to know it's a fire, but in theory this would work.

ThatCodingGuy86 avatar Feb 11 '22 11:02 ThatCodingGuy86

What if cpu it's working very hard? like compiling large project which takes multiple hours and full load on cpu? it might mistrigger it. also if there is a fire and it's close enough to increase cpu temp, I doubt that push would be successful.

thenist avatar Feb 11 '22 14:02 thenist

That's one of the many reasons I said "in theory this would work". A better idea I just had would be to have an external sensor that's hooked into a fire alarm system. But that's external hardware that is a bad idea in this context.

ThatCodingGuy86 avatar Feb 11 '22 14:02 ThatCodingGuy86

Before the CPU temp go high, your cabel may get burned earier.

zgldh avatar Sep 16 '22 09:09 zgldh

If your CPU is pushing 200 degrees while its working on full load you have bigger issues than git-fire mistriggering lol

TheRealArchie avatar Mar 10 '23 08:03 TheRealArchie