[ST Edge] Computer Host LAN - Bring Windows and Linux computers into SmartThings (public beta)

Sounds good! Thanks!

I’m currently working on the next beta version with some improvements regarding the states, but they will never really reflect the intermediate states between the running or unreachable states in real-time.

The polling interval is set to 20 seconds and temporarily decreased to 5 seconds after a command was sent.

You know what us pesky users are like, give us something we didn’t know we wanted and all we do is ask for more :nerd_face::face_savoring_food:

Here are all of the states:

Status Meaning
Running The agent is responding normally.
Starting A Wake command was sent; the host has not yet been confirmed running.
Shutting down A shutdown command was accepted; completion is pending.
Shut down The shutdown was inferred from subsequent connectivity failures.
Suspending A suspend command was accepted; completion is pending.
Suspended Suspend was inferred from subsequent connectivity failures.
Restarting A reboot command was accepted; the restart is being monitored.
Unreachable Communication failed without sufficient evidence of a particular power state.
Unknown The available information doesn’t justify a more specific classification.

Switch represents inferred power/availability, Host Status represents the computer’s operational state, and Windows login sessions are deliberately not monitored. It can take up to a minute until the state is synchronized.

I’ve just released Computer Host LAN v0.5.5-beta.1. This update focuses primarily on reliability, security and more accurate state reporting rather than introducing new features.

What’s changed in v0.5.5-beta.1?

Windows installer and configuration

  • Improved upgrade recovery: The installer now backs up the existing application and relevant configuration before an upgrade, allowing it to restore the previous installation if a detectable error occurs.

  • Improved preservation of existing settings, including custom configurations and nonstandard HTTP ports.

  • Improved Windows Firewall configuration and diagnostics for installations using a custom port.

Security and reliability

  • Tightened permissions on existing authentication-key files during upgrades.

  • Reduced exposure of network identifiers in routine diagnostic logs.

  • Improved version consistency and additional automated tests to detect packaging or configuration problems.

SmartThings and state-machine improvements (Driver version: 2026-11-19T21:04)

  • Improved handling of short suspend/resume cycles, preventing the computer from remaining unnecessarily in the Suspending state after it becomes available again.

  • Improved recovery from canceled or incomplete shutdowns, preventing the Shutting down state from persisting indefinitely while the computer is still running.

  • Clearer labels for the Wake, Restart and Sleep buttons in SmartThings.

  • The driver continues to distinguish between a command being accepted and the requested power transition actually taking place.

The underlying communication protocol remains unchanged, and existing SmartThings devices and automations should continue working without requiring any reconfiguration.

Download

Download Computer Host LAN v0.5.5-beta.1 — Windows installer

This links directly to the graphical installer, so there’s no need to navigate through the GitHub release assets. As before, the installer is unsigned and Windows SmartScreen may display a warning.

One more test?

If you have an opportunity, I’d appreciate one more test on your Windows machine.

Simply run the new installer over your existing installation. There’s no need to uninstall anything, remove the SmartThings device or enter a new authentication key.

I’d be particularly interested in whether:

  • The graphical upgrade completes successfully and preserves your existing settings.

  • Your SmartThings device continues working without being added again.

  • All CPU, memory and disk statistics remain populated and accurate.

  • The Windows service starts correctly and SmartThings recovers normally after the service is stopped and restarted.

  • The Wake, Restart and Sleep buttons display correctly and retain their existing functionality.

The Windows agent should now report version 0.2.4-beta.1.

Thank you again for all your support and the thorough testing. We’re getting very close to the first stable release!

I have added the hex so I have it now although not tested as it’s my home assistant box.

Confirmed

Confirmed

Confirmed

Confirmed - Starts correctly with windows, on stopping the service ST switches to Off\Unreachable and on restart correctly reports On\Running. Both after appropriate polling intervals.

Confirmed - Finally checked WoL and that works as expected too…

Confirmed

One minor observation:

image

would it be possible to add a description for the service to provide a documentary link with ST? Very minor but would be useful…

(checked on Win11 Pro and ST v2(2015) hub)

Makes sense! I’ll add a description in the release version. Thanks!

I’ve just released Computer Host LAN v0.5.6-beta.1, which will probably be our last beta before the first stable release.

This update focuses on reliability, security and recovery rather than new features. The SmartThings interface remains unchanged, and existing devices and automations continue to work as before.

Changelog - v0.5.6-beta.1

Windows installer

  • Improved recovery from failed or interrupted upgrades, including detection of unfinished installations.
  • Added health and identity checks before completing an upgrade.
  • Improved handling of SmartThings hub IP addresses, including a way to update Windows Firewall settings without reinstalling.

Windows agent

  • More reliable mDNS discovery and Wake-on-LAN adapter selection, particularly on systems with multiple network interfaces.
  • Improved permissions for authentication keys and persistent configuration.
  • Better handling of Windows power-management permissions without affecting normal monitoring.

Linux agent

  • Safer creation of persistent identity and authentication files.
  • Improved protection against conflicting Wake-on-LAN configurations.
  • Corrected diagnostic reporting.

SmartThings Edge driver (v0.4.4-beta.1 - 2026-11-20T13:58:53)

  • More accurate reporting during delayed shutdowns and suspend/resume transitions.
  • Improved handling of brief network interruptions to avoid misleading device states.

The underlying communication protocol remains unchanged. There is no need to remove or re-add your SmartThings device, recreate automations or enter a new authentication key.

Download

Download Computer Host LAN v0.5.6-beta.1 — Windows installer

As before, the installer is unsigned, so Windows SmartScreen may display a warning.

The complete release, including the Linux agent and documentation, is available on GitHub.

Final beta testing

The previous beta was successfully tested on Windows, including in-place upgrades, CPU/memory/disk monitoring, service recovery, power controls and Wake-on-LAN. I’ve also tested the new version on Gentoo Linux, and everything works as expected.

I’d particularly appreciate one final Windows test of the updated installer. Simply install it over your existing version, then check that your settings, SmartThings device, monitoring and power controls continue working normally.

The Windows agent should now report version 0.2.5-beta.1.

Thank you to everyone who has helped test Computer Host LAN and provided such detailed feedback. We’ve made considerable progress, and barring any unexpected issues, the next release should be v1.0.0!

Looks good to me…

The restart button doesn’t work :slightly_frowning_face:

What about sleep and wake?

Can you please post a screenshot from the settings?

Run this in Powershell:

Invoke-RestMethod http://127.0.0.1:8765/v2/info |
    Select-Object agent_version, power_actions

The expected power_actions should include:

reboot, shutdown, suspend

Just checked this and is OK for me (Win11 Pro). I notice the button label on your screenshot is ‘Restart’, on the latest driver this is ‘Reboot’…

I am running latest driver and windows service.

Not working

You forgot to paste the key. It should look like this:

Download the latest version of the installer, run it again, copy the generated key, paste it in the settings. Sending an email with the key to yourself and opening it on the phone makes it easier to copy and paste.

Working now. I did that and when I saved it remained blank, I assumed it had saved it but was blank.
Thanks
:star_struck:

Computer Host LAN v1.0.0-rc.1 - Release Candidate Available!

I’m happy to announce that Computer Host LAN v1.0.0-rc.1 is now available!

We’ve reached an important milestone: after several beta releases, extensive testing, and valuable feedback, we’re approaching our first stable release.

This release candidate focuses on the final improvements to installation, usability, and upgrade reliability. Rather than adding more features, we’ve concentrated on making the overall experience smoother and ensuring that existing installations can be updated without unnecessary configuration or disruption.

Download: Computer Host LAN v1.0.0-rc.1 - GitHub Release

Changelog - v1.0.0-rc.1 (since v0.5.6-beta.1)

Windows installer and user experience

  • Improved the initial rendering of the installation wizard, particularly the Welcome and SmartThings hub discovery screens. This addresses an issue reported during Windows testing. Thanks, @TheHundredthIdiot !
  • Improved hub discovery retries. If a subsequent search fails to find a previously discovered hub, the installer now preserves its selected IP address instead of forcing the user to start over.
  • Manually entered hub IP addresses are also retained when another discovery attempt is unsuccessful.
  • Improved error messages when an installation or upgrade cannot be completed, including clearer information about recovery.

Installation and upgrade reliability

  • Corrected the post-installation health check to verify the actual packaged Windows agent version instead of expecting a hardcoded beta version.
  • Improved consistency between the installer, agent versions, and release configuration.
  • Expanded automated checks for beta, release-candidate, and stable versions to prevent version mismatches during future updates.
  • Retained the existing upgrade and recovery mechanisms, including preservation of configuration, installation identity, authentication keys, and power-management preferences.

Release packaging and documentation

  • Updated the Windows installation packages with version-specific instructions.
  • Added a streamlined quick-start guide and an acceptance-testing checklist.
  • Improved release verification and package consistency.
  • All four automated testing workflows passed, including the Windows graphical installer, Windows agent, Linux agent, and complete release packaging.

No changes to the communication protocol or existing SmartThings capabilities are required. The integration remains fully local, using protocol v2.

Component versions

Component Version
Computer Host LAN 1.0.0-rc.1
Windows Host Agent 0.2.6-rc.1
Linux Host Agent 0.4.5-rc.1
SmartThings Edge Driver 0.4.5-rc.1

The updated Edge driver has already been packaged and deployed to the existing SmartThings driver channel. Version 2026-11-20T23:22:52

Installation and upgrading

Windows

Download the new windows-x64-unsigned-setup.exe from the GitHub release and run it as Administrator.

For an existing installation, simply run the new installer over the previous version. There is no need to uninstall anything, delete your SmartThings device, or pair it again. Your existing settings, device identity, and authentication key should be preserved.

For a new installation, the wizard guides you through SmartThings hub discovery, optional power management, and connecting the computer to SmartThings.

The installer remains unsigned, so Windows may display a security warning.

The Windows ZIP/PowerShell installation method remains available as an alternative.

Linux

Download the matching source ZIP or update your existing Git checkout. From the computer-host-lan directory, run:

./scripts/preflight.sh
./scripts/install-agent.sh --dry-run
sudo ./scripts/install-agent.sh

The existing installation identity and configuration are preserved.

The new Linux agent and Edge driver are already running successfully together on my Gentoo Linux system, with the existing SmartThings device continuing to operate normally.

Your feedback is especially valuable now!

We’re getting very close to Computer Host LAN v1.0.0, and this is where real-world testing makes the biggest difference.

If you’re already using a beta version, I’d particularly appreciate feedback on upgrading to the release candidate. For Windows users, I’m especially interested in whether the installation wizard displays correctly from the beginning, whether hub discovery works smoothly, and whether the existing SmartThings device continues operating without requiring any reconfiguration.

Of course, feedback on monitoring, service recovery, and optional power controls is welcome too.

There’s no need to run complicated test procedures. Simply installing or upgrading the RC and using it normally already provides valuable information. If something doesn’t behave as expected, please let me know which version you’re using and what happened.

A big thank-you to everyone who has tested the driver, provided logs, reported issues, or shared feedback so far. Your contributions have helped turn this project from an experimental integration into something that’s approaching its first stable release.

Unless we discover any significant problems, v1.0.0-rc.1 will hopefully be our final release candidate before v1.0.0.

Looking forward to your feedback!

Computer Host LAN v1.0.0-rc.2 - Another Step Towards v1.0.0!

I’ve just released Computer Host LAN v1.0.0-rc.2, bringing another round of reliability, security, and stability improvements as we approach the first stable release.

While rc.1 focused primarily on installation and upgrade usability, this update addresses several issues identified during a more thorough review of the Linux and Windows agents, the SmartThings Edge driver, and their communication.

As before, the goal is to improve what we already have rather than introduce additional features at this stage.

Download: Computer Host LAN v1.0.0-rc.2 - GitHub Release

Changelog - v1.0.0-rc.2 (since v1.0.0-rc.1)

Communication and reliability

  • Fixed an issue where SmartThings Edge HTTP requests could take considerably longer to time out than intended, potentially delaying status updates and recovery.

  • Improved protection against slow or incomplete HTTP requests on the Linux agent.

  • Improved device discovery recovery: if SmartThings doesn’t confirm the creation of a new device, the driver can retry after a timeout instead of remaining stuck.

  • Corrected the reported device state when a Wake-on-LAN attempt fails, preserving the last confirmed power state.

Power management

  • Improved Windows shutdown and reboot handling. The agent now distinguishes between accepted requests, operations already in progress, and immediate failures.

  • Improved Linux shutdown and reboot handling to give the agent time to acknowledge commands before systemd begins stopping services.

  • Strengthened the Linux privileged power helper with additional executable validation and error handling.

Windows installation and security

  • Significantly improved protection of the Windows agent’s persistent configuration and authentication keys.

  • Added stricter checks for file ownership and permissions to prevent the agent from accepting potentially untrusted credentials.

  • Improved network diagnostics and installer guidance for Windows networks configured as Public, where the Private-only firewall rules may prevent SmartThings connectivity.

Diagnostics and documentation

  • Improved the Linux diagnostic script, including support for installations using a custom HTTP port.

  • Updated installation instructions, release notes, and troubleshooting information.

  • Expanded automated regression tests. All four GitHub Actions workflows passed, covering Linux, Windows, the graphical installer, and release packaging.

Component versions

Component Version
Computer Host LAN 1.0.0-rc.2
Windows Host Agent 0.2.7-rc.2
Linux Host Agent 0.4.6-rc.2
SmartThings Edge Driver 0.4.6-rc.2

The communication protocol remains unchanged at v2, and no changes to existing SmartThings capabilities or device profiles are necessary.

Installation and upgrading

Windows: Download the new unsigned Setup.exe and run it over your existing installation. There’s no need to uninstall the previous version or remove your SmartThings device. Existing settings, authentication keys, and installation identities are preserved during normal upgrades.

Linux: Download the updated source ZIP or update your Git checkout, then run the usual preflight and installation commands:

./scripts/preflight.sh
./scripts/install-agent.sh --dry-run
sudo ./scripts/install-agent.sh

Existing installations should retain their configuration and SmartThings device identity.

The matching Edge driver is distributed through the existing SmartThings driver channel.

Testing and feedback

I’ve already upgraded my own Gentoo Linux system to rc.2, and everything is working as expected. The integration continues to operate normally with my existing SmartThings device.

The automated Windows tests have also passed, but I’d particularly appreciate feedback from anyone running Windows 11, especially regarding in-place upgrades, hub discovery, service recovery, and the optional power-management functions.

If you’re already running rc.1, upgrading to rc.2 is recommended, particularly because of the additional security improvements in the Windows agent.

We’re now concentrating on real-world validation and longer-term stability testing before the final v1.0.0 release.

Unless further testing reveals significant issues, I’m hopeful that rc.2 will be our last release candidate.

Looks good to me.

Dare I mention a the lack of a service description for Windows again - really minor I know :face_with_peeking_eye:

Fixed in the next release.

Upgraded ok