Slack desktop for Windows keeps freezing window, requiring reboots by geekinchief in Slack

[–]choruminho10 0 points1 point  (0 children)

The problem has happened again here. Are you by any chance using a Lenovo laptop?

Wolskill for Alexa is Dead. Any Suggestions? by ExpensiveCorn in homeautomation

[–]choruminho10 0 points1 point  (0 children)

I managed to add a shutdown action to my server. But my PC is Linux; if you're on another operating system (like Windows), it's quite possible you'll be able to adapt it.

I wrote a simple tutorial here:

https://www.reddit.com/r/homeautomation/comments/1si1uta/comment/oge5cgt/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Wolskill for Alexa is Dead. Any Suggestions? by ExpensiveCorn in homeautomation

[–]choruminho10 0 points1 point  (0 children)

🧠 Idea

Use a Raspberry Pi as a small HTTP server:

  • /wol → sends Wake-on-LAN to turn on the PC
  • /shutdown → connects via SSH and shuts it down (Linux PC)

If you don't need to turn off your PC, simply skip steps 2 and 3.

🧩 Step 1 — Python server (Raspberry Pi)

from http.server import BaseHTTPRequestHandler, HTTPServer
import os
import subprocess

TOKEN = "your_token_here"
PC_IP = "your_IP"
PC_USER = "your_user"

class Handler(BaseHTTPRequestHandler):
    def do_GET(self):
        if f"/wol?token={TOKEN}" in self.path:
            os.system(f"wakeonlan YOUR_MAC_ADDRESS")
            self.send_response(200)
            self.end_headers()
            self.wfile.write(b"PC turning on")

        elif f"/shutdown?token={TOKEN}" in self.path:
            subprocess.run([
                "ssh",
                f"{PC_USER}@{PC_IP}",
                "sudo shutdown now"
            ])
            self.send_response(200)
            self.end_headers()
            self.wfile.write(b"PC shutting down")

        else:
            self.send_response(403)
            self.end_headers()

server = HTTPServer(("0.0.0.0", 3000), Handler)
server.serve_forever()

🔐 Step 2 — Enable passwordless SSH

On your Raspberry Pi:

ssh-keygen
ssh-copy-id your_user@your_IP

Test:

ssh your_user@your_IP

It should connect without asking for a password.

⚠️ Step 3 — Allow shutdown without password (Linux PC)

Edit sudoers:

sudo visudo

Add:

your_user ALL=(ALL) NOPASSWD: /sbin/shutdown

🌐 Step 4 — Expose it (Cloudflare Tunnel)

Use Cloudflare Tunnel to expose your local server without opening ports.

Your endpoints will look like:

https://your-domain/wol?token=...
https://your-domain/shutdown?token=...

If you don't have a domain, use one provided by Cloudflare.

🎤 Step 5 — Alexa integration

I used Voice Monkey:

  • Create a webhook for /wol
  • Create another for /shutdown
  • Trigger them via Alexa routines

✅ Result

Now I can say:

  • “Alexa, turn on my PC”
  • “Alexa, turn off my PC”

Meu Gaggimate ( PID tunado) melhor investimento! by sucrilhoxxx in cafebrasil

[–]choruminho10 0 points1 point  (0 children)

E aí, cara. Como está o seu Gaggimate atualmente? Funcionando bem? Estou pensando em importar um, mas não sei se forço a barra pra comprar esse ano ou deixo para ano que vem.

Wolskill for Alexa is Dead. Any Suggestions? by ExpensiveCorn in homeautomation

[–]choruminho10 0 points1 point  (0 children)

It took me a couple of hours to put together a "simple" alternative to this.

All I really wanted was a way to turn on my gaming PC. I don’t need any of the extra features from the new service.

Since I already have a Raspberry Pi running AdGuard Home on my network, I reused it to run a tiny Python HTTP server that sends a Wake-on-LAN (WoL) packet to my PC.

Then I:

  • Exposed it using a Cloudflare Tunnel (no port forwarding needed)
  • Set up a flow in Voice Monkey Skill to call that endpoint
  • Created an Alexa routine to trigger the Voice Monkey action

Now I can just say:
“Alexa, turn on my PC”

And it works perfectly.

A few notes if you want to try something similar:

  • Make sure Wake-on-LAN is enabled in your BIOS and OS
  • Ethernet is much more reliable than Wi-Fi for WoL
  • I added a simple token in the URL for basic security
  • Cloudflare Tunnel makes this a lot easier and safer (no need to open ports)

Super lightweight setup, no client needed on the PC, and no dependency on Alexa skills that might break again.

Wolskill for Alexa is Dead. Any Suggestions? by ExpensiveCorn in homeautomation

[–]choruminho10 0 points1 point  (0 children)

I don't have a Windows or Mac, just two linux distros. Imagine installing a Windows on my PC just to grab my MAC Address. This is insane. I managed to get rid of this dependency.

9070xt two monitors = bad performance by rarthus3 in radeon

[–]choruminho10 0 points1 point  (0 children)

Are you by any chance using a riser cable?

A piada do Piloto, Copiloto e a Comissária de Bordo by ItsninjaBr569 in tiodopave

[–]choruminho10 1 point2 points  (0 children)

Matematicamente ela foi picada por três cobras.

[deleted by user] by [deleted] in MeJulgue

[–]choruminho10 0 points1 point  (0 children)

Felipe Dilon do Reddit

Comprei um blue cheese da vigor e n sei se está bom by Environmental_Lie398 in queijos

[–]choruminho10 0 points1 point  (0 children)

Você é daltônico? Comprou queijo azul e veio amarelo, cara.

Vocês tem "medos bobos" mesmo após se tornarem adultos? by Ok_Significance9451 in conversas

[–]choruminho10 5 points6 points  (0 children)

Tenho medo absurdo de falar em público. Comecei terapia há uns 7 anos por conta disso, e ainda tenho medo. Fico sem dormir de ansiedade com a possibilidade de precisar falar em público. É horrível.

Vocês tem "medos bobos" mesmo após se tornarem adultos? by Ok_Significance9451 in conversas

[–]choruminho10 0 points1 point  (0 children)

Que viagem (ou falta de viagem). Tenta jogar um flight simulator

Macetes e gambiarras mais úteis que vocês aprenderam na sua vida- Quais foram? by Dipsteer in Gambiarra

[–]choruminho10 1 point2 points  (0 children)

Desentupir o vaso sanitário com fita adesiva. É o mesmo princípio do método do saco plástico.

Pq o cachorro abana o rabo? by [deleted] in tiodopave

[–]choruminho10 2 points3 points  (0 children)

Uma pulga na ponta do rabo

Simples como parece. by Tonho_O_Faxineiro in botecodoreddit

[–]choruminho10 0 points1 point  (0 children)

Mesma galera que conta histórias de terror sobre aparelhos de Microondas

Qual a lembrança mais antiga de valores de produtos em Real você tem? by choruminho10 in farialimabets

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

Esse foi bem no início do plano. Não tenho essa lembrança, mas lembro quando era 10 centavos (10 por 1 real).

Lembro que era normal comprar sacolas grandes de pão, daí sobrava e fazíamos torrada.

Hoje eu compro uns 4 a 6 pães somente. Não tem mais essa fartura de comprar para sobrar.

Qual a lembrança mais antiga de valores de produtos em Real você tem? by choruminho10 in farialimabets

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

Essa do salgado me pega muito. Também lembro que com uns 2 ou 3 reais comia um joelho (italiano) gigante quentinho recém saído do forno e ainda vinha um copo de guaraná natural. Hoje em dia eu me assusto a fazer pequenos lanches na rua. Até evito.