Hubitat app for Garmin watches

Sorry @theisgroup, I should have checked before I replied earlier. Fenix 7 pro solar should already be supported.

Is it not showing up for you?

I’m not seeing it in connectiq

Will you also include the Fenix 8 Solar? I would be interested.

Of course, I'll look into it.

1 Like

For whatever reason a lot of my automations are driven by pushbutton. Maybe because I came from Smartthings and cloned that functionality into Hubitat. Because of this, and your fantastic watch app not yet supporting pushbuttons, I have very limited functionality. I was just wondering if there might be pushbutton support in the works?

I appreciate you and the work you've done.

Gary

This is from Maker API if it helps:

[
{"name":"Virtual Button","label":"Goodbye!","type":"Virtual Button","id":"26","date":"2024-09-22T17:39:53+0000","model":null,"manufacturer":null,"room":"Routine Buttons","capabilities":["HoldableButton","PushableButton","DoubleTapableButton","ReleasableButton"],"attributes":{"numberOfButtons":"1","dataType":"NUMBER","values":null,"held":null,"pushed":"1","doubleTapped":null,"released":null},"commands":[{"command":"doubleTap"},{"command":"hold"},{"command":"push"},{"command":"release"}]},{"name":"Virtual Button","label":"I'm Back!","type":"Virtual Button","id":"27","date":"2024-09-23T00:05:25+0000","model":null,"manufacturer":null,"room":"Routine Buttons","capabilities":["HoldableButton","PushableButton","DoubleTapableButton","ReleasableButton"],"attributes":{"numberOfButtons":"1","dataType":"NUMBER","values":null,"held":null,"pushed":"1","doubleTapped":null,"released":null},"commands":[{"command":"doubleTap"},{"command":"hold"},{"command":"push"},{"command":"release"}]},{"name":"Virtual Button","label":"Disarm and Unlock","type":"Virtual Button","id":"36","date":"2024-09-28T23:57:48+0000","model":null,"manufacturer":null,"room":"Routine Buttons","capabilities":["HoldableButton","PushableButton","DoubleTapableButton","ReleasableButton"],"attributes":{"numberOfButtons":"1","dataType":"NUMBER","values":null,"held":null,"pushed":"1","doubleTapped":null,"released":null},"commands":[{"command":"doubleTap"},{"command":"hold"},{"command":"push"},{"command":"release"}]}
]
1 Like

Hi Gary. No problem, Virtual Buttons will be in the next release, along with a load of other changes (too many really).

2 Likes

New version should be available:

  • Enh: Added new shortcuts feature. Send a specific command without needing to dig through menus (enable shortcuts for specific commands on the device page).
  • Enh: UI improvements (added some icons)
  • Bug Fix: Changed sense of "Open/Close" toggle (so Closed is positive, matching locked).
  • Enh: Added confirmation for open/close and lock/unlock.
  • Enh: Don't display mode menu if there a no available modes.
  • Enh: Don't display lock codes in live status view.
  • Enh: Don't display Favourites menu option if no favourite devices.
  • Enh: Add support for Virtual Buttons.
  • Enh: Added Fenix8.
2 Likes

It's looking great.

Wanted to give you this information about Virtual Buttons.

2024-11-17 06:10:14.777 PM error java.lang.NumberFormatException: For input string: "null" on line 69 (method release)
2024-11-17 06:10:12.723 PM error java.lang.NumberFormatException: For input string: "null" on line 69 (method push)

I only tried push and release.

Thanks,
Gary

Hi Gary
I didn't realise that a Virtual Button device can actually have multiple buttons. The command is expecting a button number, which the app isn't providing, hence the error message.
I'll have a think about how best to update the app to cater for this.
Cheers,
Andy

@user5177 hi, can you please add forerunner 645 music. Thanks

Sure, no problem

Beta 12 should be available shortly with support for FR645 and better implementation of virtual devices that have multiple buttons.

When I go into the Watch App settings I don't see an opportunity to set the push button number and I'm still seeing the same errors from my original post about there being a null in the button number position. I don't think my brain is hitting on all 2 cylinders today. Please feel free to educate me on what I'm missing.

Thanks,
Gary

There was no change to the settings. What the new version does is check for the 'numberOfButtons' attribute for the device. If this is greater than 1 then "Button 1", "Button 2" etc are added to the device's menu in place of push, release etc. Then selecting one of these offers the options for push, release etc.
To confirm you have the latest version, does the first menu option for a device show "Status" rather than "Live status"?

It shows Status, not Live Status.

Hi Gary
It seems virtual button devices with only a single button still require the button number to be provided. Next version (Beta 13) should account for this.

Any chance to support Fenix 7?

OK (not sure why I hadn't already to be honest). Beta 14 should be available now supporting the Fenix 7.

1 Like

Hi, just discovered this and was wondering if there was any change to the likelihood of wifi connection? I initially thought this app would be a great replacement for the APICall app that I use, since as others have noted the setup for that is a pain. But my sole actual use case is for when I don't have a phone but do have access to wifi, so unfortunately it won't work for me as it stands. Appreciate your contribution to the community though and will continue to play around with the beta for fun, thanks!

Hi lennier
Thanks for your message. Unfortunately the only way the app can connect to the internet with the current SDK is via the Bluetooth connection to the phone. I can't use the built-in wifi for that.
I can imagine that might expand in the future, with more watches having a mobile connection independent of a phone. If that happens then hopefully the app can be updated quite easily to allow what you're after.