Message from @Vesdii

Discord ID: 605699085634109450


2019-07-30 09:46:51 UTC  

why write that then?

2019-07-30 09:47:14 UTC  

cuz i didnt know how to do it efficiently with python

2019-07-30 09:47:26 UTC  

people keep telling me that but idk how

2019-07-30 09:47:55 UTC  

does the smart plug have an api?

2019-07-30 09:48:01 UTC  

think so

2019-07-30 09:48:13 UTC  

it works with IFTTT and Alexa n shit so i assume so

2019-07-30 09:48:21 UTC  

start there

2019-07-30 09:48:42 UTC  

well i dont have the plug yet so ill redesign it when i get it

2019-07-30 09:49:07 UTC  

have my laptop charger only be receiving power when the laptop needs to be charged

2019-07-30 09:49:34 UTC  

cronjob will check every 5 minutes for if it's 20% or under

2019-07-30 09:49:43 UTC  

cuz it looks like all you are doing is querying the status of the plug and then running a switch statement

2019-07-30 09:50:06 UTC  

yeah like i said it was just a skeleton of the program

2019-07-30 09:50:14 UTC  

does your laptop not auto shut off the power when fully charged?

2019-07-30 09:50:14 UTC  

err script

2019-07-30 09:50:27 UTC  

do laptops do that?

2019-07-30 09:50:41 UTC  

mhmm

2019-07-30 09:50:48 UTC  

<:Thonk:414176518936330241>

2019-07-30 09:51:21 UTC  

well the power brick gets really fucking spicy hot and i just wanna minimize that

2019-07-30 09:51:43 UTC  

lol

2019-07-30 09:51:46 UTC  

because as i said

2019-07-30 09:51:55 UTC  

my laptop serves as my linux server

2019-07-30 09:52:02 UTC  

i dont use it, it's just for SSHing

2019-07-30 09:52:29 UTC  

it's just an old 2012 gaming laptop

2019-07-30 09:52:30 UTC  

if its getting hot then its charging up, so your battery is discharging.

2019-07-30 09:52:47 UTC  

it being a gaming laptop means its power draw would be more than normal laptops.

2019-07-30 09:53:11 UTC  

yeah thats why ive been srsly thinkin bout getting a rasp pi 4

2019-07-30 09:53:20 UTC  

or an odroid

2019-07-30 09:53:23 UTC  

but once it reaches 100% theres an auto cutoff to prevent overcharging

2019-07-30 09:53:37 UTC  

lol you should. i keep telling you 😛

2019-07-30 09:53:44 UTC  

lol

2019-07-30 09:54:11 UTC  

i've got a trip to Fry's Electronics for my 20th birthday in a week planned so yeah ill get somethin

2019-07-30 09:54:42 UTC  

that's how i celebrate

2019-07-30 09:54:49 UTC  

new computer projects

2019-07-30 09:54:53 UTC  

lol at a boy!

2019-07-30 09:55:05 UTC  

fry's is dope

2019-07-30 09:55:30 UTC  

going with my dad, we share code n stuff, p much the only thing we can talk about lol

2019-07-30 09:56:14 UTC  

and i also already have a 64GB microSD <:kneeyumThumb:473687255744118799>

2019-07-30 09:56:20 UTC  

bonding is bonding

2019-07-30 09:56:25 UTC  

donskies

2019-07-30 09:57:05 UTC  

the more i look at this shell script the more i wanna hurl

2019-07-30 09:57:07 UTC  

<:pupper:421818996804026377>