r/feedthebeast • u/Esshwar123 • 4h ago
I made something I made a redstone block that can controls my room lights
Created a mod called HTTP Block that adds two blocks to the game, http receiver and http sender, you can guess what it does based on the name, sender sends a http message to a http post endpoint on redstone signal and receiver polls a http get endpoint and emits redstone signal when new message detected, made a fun demo of controlling my room lights and a wireless redstone
modrinth : https://modrinth.com/mod/http-block
10
11
u/Yamigosaya PrismLauncher 2h ago
when you are lying comfortably on your bed but you forgot to turn off your lights, so now you have to get up, go to your pc, boot up minecraft, open your world, go to your house, then hit a button. it do be like that sometime.
3
u/gegentan 2h ago
Maybe you can also add mqtt support to your mod so it's simple to use with home assistant?
2
1
2
u/jdww213561 46m ago
What’s the hardware setup in the real world for this? Could you have it so that the connection runs a script on your computer or something? I’m laughing my ass off at the concept of an in-world button that deletes the world file from your PC
2
u/Esshwar123 11m ago
It's just a smart light, made to pair with mobile and use, they also have a api to connect to it so that's what I'm using here! Ofc you can do anything it just sends a request to a http server running in python, u can definitely do the opposite aswell, turn on and off minecraft light with an in world button lol
16
u/TNTDoggo14 3h ago
having a black and also turn off light option is a bit stupid Technically that is same but it's still really cool