Philip Abbey
01f073e67b
Update BackgroundServiceDelegate.mc
...
Only submitting non-null values to HA, not fake zeros for null values.
2024-08-25 13:50:29 +01:00
Philip Abbey
64a9c5f274
Added null checking to activity stats
...
Position.getInfo().* might return null sometimes, so best check and avoid a numerical error.
2024-08-25 13:07:23 +01:00
Philip Abbey
f2fb7f65a0
Merge branch 'main' of https://github.com/house-of-abbey/GarminHomeAssistant
v2.17
2024-08-24 14:30:44 +01:00
Philip Abbey
1e103069bc
Update README.md
...
Feature differences between Application and Widget.
2024-08-24 14:30:23 +01:00
Philip Abbey
520309729d
Bug fix for activity reporting ( #167 )
...
Added 'has' clauses around additional ActivityMonitor.Info fields that
are not present on all devices. I have also checked the other reporting
fields to ensure they are not device dependent.
2024-08-24 14:26:54 +01:00
Philip Abbey
d2aec16811
Update BackgroundServiceDelegate.mc
...
Failed to make commensurate changes to the background service code.
2024-08-24 14:21:02 +01:00
Philip Abbey
a424e35784
Update WebhookManager.mc
...
Returned internationalized string for unavailable to "unknown" as per review comments advice.
2024-08-24 13:58:47 +01:00
Philip Abbey
5558e25bda
Bug fix for activity reporting
...
Added 'has' clauses around additional ActivityMonitor.Info fields that are not present on all devices.
2024-08-24 12:28:54 +01:00
Philip Abbey
769731bff2
Send heartrate, floor, and respiration rate values to Home Assistant ( #162 )
...
This change sends the heartrate, respiration rate, stepcount, and floors
climbed/descended to Home Assistant as mobile app entities. There are a
lot more sensors that could potentially be added.
I have only tested this on a Vivoactive 4s as that is the only device I
own.
Let me know what you think and if there are any changes you would like
to see.
v2.16
2024-08-20 09:01:00 +01:00
Philip Abbey
2c56155593
Merge branch 'main' into more-mobile-app-sensors
...
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-08-19 12:36:33 +01:00
Philip Abbey
c38f91f456
Fixed merge conflict
...
Fixed a merge conflict made by more recent changes to fix a bug (https://github.com/house-of-abbey/GarminHomeAssistant/pull/164 )
2024-08-19 12:33:23 +01:00
Joseph Abbey
94d806c4d3
163 application crashes when started out of bluetooth range ( #164 )
...
Test the phone is connected before attempting WebHook HTTP requests.
2024-08-18 14:15:52 +01:00
Philip Abbey
51081ee2e6
Update HISTORY.md
...
Added v2.16
2024-08-18 13:03:30 +01:00
Philip Abbey
7c7130367f
Update Settings.mc
...
Rearranged 'else' clauses.
2024-08-18 12:26:45 +01:00
Philip Abbey
42d1a7233c
Update Settings.mc
...
Test the phone is connected before attempting WebHook HTTP requests.
2024-08-18 12:04:34 +01:00
Klaas Winter
43378bfe8c
Set icons for sent sensor values
2024-08-05 19:34:26 +02:00
Klaas Winter
700e7ca822
Send heartrate, floor, and respiration rate values to Home Assistant
2024-08-05 18:02:37 +02:00
Joseph Abbey
19642c6679
Update HomeAssistantTemplateMenuItem.mc ( #158 )
...
Template errors now displayed per item.
v2.15
2024-07-26 18:37:27 +00:00
Philip Abbey
a213c6851e
Largely cosmetic
...
Removed debug that escaped.
Belt & braces field to prevent the update chain being started twice.
2024-07-26 18:23:22 +01:00
Philip Abbey
9eed5affdc
Update HomeAssistantApp.mc
...
Guard against dereferencing null. Belt & braces, as this has not been an issue.
2024-07-26 17:16:07 +01:00
Philip Abbey
98c9c42366
Update HomeAssistantApp.mc
...
Fixed debug printing where the method name was wrong. Changes in commented out debug code only.
2024-07-26 16:55:13 +01:00
philipabbey
97030dc1b8
Apply automatic changes
2024-07-26 08:16:05 +00:00
Philip Abbey
6a2a791146
Update strings.xml
...
Removed glance scope
2024-07-26 08:56:52 +01:00
Philip Abbey
1eb2fbed0e
Added internationalisation of new strings
2024-07-26 08:50:10 +01:00
Philip Abbey
a86133fd87
Update HISTORY.md
...
v2.15 added
2024-07-25 23:36:11 +01:00
Philip Abbey
0ae39a029f
Update HomeAssistantTemplateMenuItem.mc
...
Template errors now displayed per item.
2024-07-25 20:38:17 +01:00
Philip Abbey
3cebd106eb
Update HISTORY.md
...
v2.14
v2.14
2024-07-25 08:51:53 +01:00
Joseph Abbey
9471259181
Update BackgroundServiceDelegate.mc ( #156 )
...
Put check for methods with 'has' back in.
2024-07-24 09:19:15 +00:00
Philip Abbey
9030a00d7d
Update BackgroundServiceDelegate.mc
...
Put check for methods with 'has' back in.
v2.13
2024-07-22 22:18:27 +01:00
Joseph Abbey
7bd5e98a1a
More responsive status when using a polling delay ( #153 )
...
When using a polling delay, an action will trigger an immediate round of
updates.
2024-07-21 16:00:21 +00:00
Philip Abbey
a49dd6554f
More responsive status when using a polling delay
...
When using a polling delay, an action will trigger an immediate round of updates.
2024-07-20 19:16:42 +01:00
Joseph Abbey
d2fc64836a
Update HomeAssistantApp.mc ( #152 )
...
When Settings.getPollDelay() > 0, do not wait for this time before the
initial batch of updates, so the app is more responsive on opening.
2024-07-20 17:09:23 +00:00
Philip Abbey
fc1a0eeb6d
Update HomeAssistantApp.mc
...
When Settings.getPollDelay() > 0, do not wait for this time before the initial batch of updates, so the app is more responsive on opening.
2024-07-20 18:07:37 +01:00
Philip Abbey
61f6d69e64
Update HISTORY.md
...
Added a second feature to 2.13 in anticipation.
2024-07-20 17:39:59 +01:00
Joseph Abbey
7f31cecfb5
Added update to telemetry on completion of an activity ( #151 )
...
@Someone0nEarth Note we could also add this to the widget version as the
changes are small and probably have a limited effect on the memory
footprint.
2024-07-20 16:37:29 +00:00
Philip Abbey
98af5578f0
Added update to telemetry on completion of an activity
2024-07-20 17:28:57 +01:00
Philip Abbey
c18736e40d
Update Templates.md
...
Examples now up to date with schema changes.
2024-07-20 17:23:00 +01:00
Joseph Abbey
822c6ccca6
Moved template status updates to webhooks ( #150 )
...
This seems to work for non-privileged users.
2024-07-20 15:49:04 +00:00
Philip Abbey
a139742265
Update HISTORY.md
...
Ver 2.13 text added in anticipation.
2024-07-19 17:05:19 +01:00
Philip Abbey
dfa4cdd9b8
Moved template status updates to webhooks
...
This seems to work for non-privileged users.
2024-07-19 15:15:32 +01:00
Philip Abbey
1c4add693d
Update README.md
...
Amended advice based on a report at https://community.home-assistant.io/t/home-assistant-app-for-garmin/637348/280 .
Signed-off-by: Philip Abbey <philipabbey@users.noreply.github.com>
2024-07-01 08:40:04 +01:00
Joseph Abbey
e6544b5b20
Update monkey.jungle top up 145 ( #147 )
...
Missed the Jungle file.
v2.12
2024-06-15 11:32:35 +01:00
Philip Abbey
83914e8d8d
Update monkey.jungle
...
Missed the Jungle file.
2024-06-15 11:13:10 +01:00
Joseph Abbey
bd4b6d68a8
Devices Edge 540 and Edge 840 re-enabled ( #146 )
...
@Petucky reports the application works well on an Edge 840 by
sideloading the code from an Edge 830 device.
2024-06-15 11:12:46 +01:00
Philip Abbey
f4ca55d741
Devices Edge 540 and Edge 840 re-enabled
...
@Petucky reports the application works well on an Edge 840 by sideloading the code from an Edge 830 device.
2024-06-15 11:00:58 +01:00
Philip Abbey
5d34db7b6a
Update README.md
...
Typo
2024-05-04 14:29:54 +01:00
Philip Abbey
cfaa31d5ee
Update README.md
...
Typo
2024-05-04 14:28:33 +01:00
Philip Abbey
52ee270788
Update README.md
...
Note about HTTP
2024-05-04 10:06:59 +01:00
Philip Abbey
dec38889a5
Update HISTORY.md
...
Added version 2.11
v2.11
2024-04-17 14:06:34 +01:00
Philip Abbey
586d85e706
Update export.cmd
...
Commit directly to main as not application code.
2024-04-17 08:26:52 +01:00