Recommended Posts

image.png.df6b5ae63dbf4339dab11b96af01b3cf.png

image.png.7621dba08e1c56eb61d8124775bc3813.png

 

Video Demonstration
Damn, I really do have to get an extension code for that damn monitor power cable, it's an eye sore.

 

Version 1.5 Latest
Aug 28th, 2024

You may have to reselect your combination button colors when loading this new version.

Fix: When you edit a computer, the delete buttons now work next to the task.
New: You can now edit a combined button and delete previously added tasks

New: If you add Android Remote functionality to the home assistant and add your remote to this app, you can then turn your TV on or off by clicking "On" or "Off." You can also add this functionality to your existing combo buttons. 
New: The device and combo edit boxes are now long and easier to read.
New: When adding a new combo button, it starts off with only 1 task, in case you want to create a stationary button for only 1 task.

Version 1.3

I created this app with ChatGPT to create buttons for running SSH commands, schedule tasks and buttons for smart switches in Home Assistant.

This program also allows you to create a combination button that runs the tasks you choose with a click of a button.

When I click the button I created labeled "Leaving for Sara's" it does the following.

  • Sends a shutdown command over SSH to turn off the computer, which runs the security cam monitor above my TV
  • Turns off my living room light
  • Turns off my projector in the theater (In case it was on)
  • Turns off my sound system in the theater (just in case it was on)
  • Turns off my basement light
  • Turns off my security cam feed on my security cam computer downstairs by running a scheduled task, which runs an autohotkey mouse script.
  • Turns off my callerID monitor next to my TV

Download

Source code and exe available

After adding your first home assistant device to the app, close and reopen the app.

https://www.dropbox.com/scl/fo/g38nhg8hlmrp4o0itje6i/AP9t3ZkLaxUS9FcCTPQbYYo?rlkey=mjqcu5wvz8yaw0qpusspd8ydx&st=mql8ggot&dl=0

  • Like 3

Interesting app.

I could see that potentially working well as a mobile app. If you forget to turn things off before going out, you could VPN to your router, then turn everything off from your phone.

Or potentially even turn a few things on to make it look like your home on an evening if away for a few days.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • All I want is a way to turn off the Copilot AI suggestion crap in OneDrive that doesn't break OneNote, etc. -- as the current Account setting change option does...
    • Here is the new Surface Laptop Ultra wallpaper in high resolution by Taras Buria Earlier this week, Microsoft announced the Surface Laptop Ultra, its brand-new high-end laptop powered by NVIDIA's brand-new RTX Spark processor. As usual, Microsoft gives each new device a unique wallpaper, and the Surface Laptop Ultra is no exception. While the device is not publicly available yet, somebody has already extracted its wallpaper, giving everyone a chance to get a piece of the upcoming laptop in its full-resolution glory. The Surface Laptop Ultra has a very dark, abstract wallpaper that resembles the stock wallpapers in Windows Server, albeit with much less color. Having this dark, grim wallpaper highlights the laptop's mini-LED display and its ability to cut off parts of the screen's backlight to achieve OLED-like black levels. However, if you also like light wallpapers, we made a white version by simply inverting its colors. You can download both wallpapers below (click the image, right-click it, and select "Save as"): The Surface Laptop Ultra is expected to launch later this year. Microsoft is not revealing full details yet, including the price. However, Microsoft confirmed up to 1 petaflop of AI performance and RTX 5070-level of GPU performance. The heart of the laptop has up to 20 CPU cores and 6,144 GPU cores. Additionally, Microsoft and NVIDIA boast high CPU efficiency for all-day battery life. As for the display, it is a 15-inch mini-LED display with a pixel density of 262 ppi and a maximum brightness of 2,000 nits. Of course, not everyone needs this amount of power, and certainly not everyone can afford it. For those who need a more affordable device, Microsoft is also preparing the next-generation Surface Pro powered by the Snapdragon X2 Elite processor. Weeks ahead of the announcement, details about this computer were leaked by a retailer. Do you like the Surface Laptop Ultra's stock wallpaper? Share your thoughts in the comments. Image provided by @nextgenos2026 on X
    • From all that I've read on the subject--not that much, really--it looks to me like companies and parents are trying to protect themselves from children using their parents accounts to run up giant bills, sometimes in the thousands of dollars, and the first the parents know about it is when they get sued... Internet companies have been sued for tailoring their ads to children, which is kind of old news. My belief is that policing starts at home with the parents, and the reason that so many laws that can't be enforced are being passed is because parents are eschewing their responsibilities, claiming not enough time, not enough knowledge, etc. Giving kids cell phones sans Internet connectivity is a good place to start--confine Internet activity to PCs in the home that the parents regulate. My kids are all grown and gone, I'm happy to say... They have their own kids to worry about.
    • ChartNet’s 1.7 million synthetic samples let compact open-source models outperform GPT-4o on every chart task   A team from MIT and the MIT-IBM Computing Research Lab has built a training dataset that solves one of the most persistent gaps in enterprise AI: the inability of even the best commercial models to reliably read a chart...... https://www.techtimes.com/articles/317752/20260604/ai-chart-understanding-breakthrough-mit-ibm-dataset-lets-small-models-beat-gpt-4o.htm  
  • Recent Achievements

    • One Month Later
      nothanks earned a badge
      One Month Later
    • One Month Later
      B2Proxy earned a badge
      One Month Later
    • One Year In
      MadMung0 earned a badge
      One Year In
    • Week One Done
      jefred earned a badge
      Week One Done
    • Apprentice
      JoeyNeo went up a rank
      Apprentice
  • Popular Contributors

    1. 1
      +primortal
      475
    2. 2
      PsYcHoKiLLa
      233
    3. 3
      Skyfrog
      79
    4. 4
      FloatingFatMan
      68
    5. 5
      Michael Scrip
      58
  • Tell a friend

    Love Neowin? Tell a friend!