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

    • Apple reluctantly forces strict new age checks on Texas users starting today by Paul Hill Apple will begin enforcing the Texas Age Assurance Law (SB 2420) following a recent court ruling that lifted an injunction on SB 2420. Starting June 4 (today), Apple will enforce strict age-verification and parental-consent rules for new Apple accounts created in Texas. This move will affect children under 18 who go to download apps or attempt to make in-app purchases. Apple previously expressed privacy concerns related to this law, but compliance is now mandatory for the company, nevertheless. Apple will use several APIs to follow the law. Principally, the Declared Age Range API will fetch the specific user age bracket (Under 13, 13-15, 16-17, or 18+) and a verification method. The Significant Change API (PermissionKit) will trigger a system dialog for parental consent if an app gets a major update or an age-rating shift. There is also a new property type in StoreKit that allows developers to automatically check when their app’s age rating has changed on a user’s device and then use the Significant Change API to request parental consent. Finally, App Store Server Notifications can be configured to tell developers when a parent revokes consent, blocking app launches. To ensure they are ready for these changes, developers must immediately use Apple’s sandbox testing environment to validate these APIs in their apps. For any developers out there finding this to be inconvenient, get used to it. Other regions, such as Utah, Louisiana, and Brazil, are looking at, or have implemented, similar rules.
    • They should show the onedrive recycle bin in a searchable manner and on app not just on the website
    • You looking at a phone or something? On my 4K HDR monitor it is frikking spectacular.
  • 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
      484
    2. 2
      PsYcHoKiLLa
      230
    3. 3
      Skyfrog
      72
    4. 4
      FloatingFatMan
      61
    5. 5
      neufuse
      54
  • Tell a friend

    Love Neowin? Tell a friend!