Invoke HE Hub update via localhost URL post?

I suspect it is not possible, but if it is, @gopher.ny would know…

1 Like

The answer to your question is no.

The link @Eric.C.Miller mentioned is indeed related to the diagnostic tool only.

If you expect them to tell you that they’ll definitely grant your feature request ASAP, that would be stellar, but :man_shrugging:.

2 Likes

I'm really surprised this is not an existing capability. Hopefully HE will add this. Thanks everyone.

Fired up a C-4 Hub that I have not been actively using.

On startup this was the version -

The Diagnostic Tool menu showed this -

Going into the Diagnostic Tool, I checked the versions available on the unit -

image

On another system (Ubuntu) I opened a command window and entered -

curl -s -X POST http://[ip of this hub]:8081/api/getLatest

After several seconds I received the following message -

{"getLatest": "success"}

Re-checking the rollback versions I found this -

image

Upon re-boot I found I was running the latest version -

4 Likes

:exploding_head:

You’re right, the url I was thinking of is:
[hub ip]/hub/cloud/updateDiagnosticTool

1 Like

Great work, I will try this out. Thank you!

Since this command has been around as a workaround for earlier diagnostic tool versions... it only starts the download process, and "success" message means it started successfully. Download/install takes a while to complete afterwards.

Since hub mesh does hub discovery, it should be pretty straightforward to add an "upgrade" message to it. Maybe "also upgrade HubName1 and HubName2" checkbox on update page.

3 Likes

Bottom line, if you get a success, the hub will update which is fine for me.

Yeah, it will succeed and get the latest version on the hub unless the network drops or something like that.

1 Like

I tried this on a c7, got a success but no auto update after waiting minutes later. Very disappointing..

Any other ideas?

Did you reboot? The new O/S version doesn't come up until you reboot.

No, I didn't. I thought the update URL post automatically reboots after the update completes? That is how the manual button works.. I will try it..

I tried it, it did not work.

I think I am seeing the same on a C-7,
It has downloaded the new platform version but it has not made it the active version even after rebooting.

Bummer.

1 Like

Bummer indeed.

Any other ideas?

Cross your fingers and wait for them to decide if they want to extend this undocumented feature to the C7?

1 Like

That and what @gopher.ny said earlier in this thread:

You could also go here:

https://remoteaccess.aws.hubitat.com/

And click on the “Update Software” button for each hub…