Comments (12)
For me this works properly with v0.2.3, some things with timestamps was fixed in there.
from home-assistant-garmin_connect.
I have updated to 0.2.5 and unfortunately Next alarm is still "Unknown". I see that values were updated 1 hour ago, which is asfter I have set the alarm.
from home-assistant-garmin_connect.
I will add some debug log code later so we can see what is wrong, on which device did you program it and what kind of alarm? Daily weekly etc?
from home-assistant-garmin_connect.
Hello the device is Tactix Delta, basically same software as Fenix 6. I have set up normal one-time alarm.
from home-assistant-garmin_connect.
@jbrepogmailcom Can you update to version 0.2.6 and copy only the alarm part from the log file after enable debug and restarting:
logger:
default: info
logs:
custom_components.garmin_connect: debug
Or just add last line if you already have logger config
Then just paste this part from log (or last json part you see in log, can be empty, first part is generic garmin data, then weight/body related data and then the alarm data)
2023-01-06 12:54:31.434 DEBUG (MainThread) [custom_components.garmin_connect] [{'alarmMode': 'OFF', 'alarmTime': 540, 'alarmDays': ['M', 'Tu', 'W', 'Th', 'F', 'Sa', 'Su'], 'alarmSound': 'TONE', 'alarmId': 1629810191, 'changeState': 'UNCHANGED', 'backlight': None, 'enabled': None, 'alarmMessage': None, 'alarmImageId': None, 'alarmIcon': None, 'alarmType': None}, {'alarmMode': 'OFF', 'alarmTime': 1080, 'alarmDays': ['M', 'Tu', 'W', 'Th', 'F', 'Sa', 'Su'], 'alarmSound': 'TONE', 'alarmId': 1629810192, 'changeState': 'UNCHANGED', 'backlight': None, 'enabled': None, 'alarmMessage': None, 'alarmImageId': None, 'alarmIcon': None, 'alarmType': None}, {'alarmMode': 'ON', 'alarmTime': 420, 'alarmDays': ['F'], 'alarmSound': 'TONE', 'alarmId': 1650616072, 'changeState': 'UNCHANGED', 'backlight': None, 'enabled': None, 'alarmMessage': None, 'alarmImageId': None, 'alarmIcon': None, 'alarmType': None}]
from home-assistant-garmin_connect.
Hello, updated and got this after restart. The alarm does not seem to be there at all, I have one activated on watch. The interesting point is "Attempting install of garminconnect==0.1.50" - I have checked in HACS and it reports version 0.2.6
2023-01-06 15:48:45.040 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of garminconnect==0.1.50
2023-01-06 15:49:16.436 INFO (MainThread) [homeassistant.setup] Setting up garmin_connect
2023-01-06 15:49:16.437 INFO (MainThread) [homeassistant.setup] Setup of domain garmin_connect took 0.0 seconds
...
2023-01-06 15:49:22.585 DEBUG (MainThread) [custom_components.garmin_connect] []
2023-01-06 15:49:22.586 DEBUG (MainThread) [custom_components.garmin_connect] Finished fetching garmin_connect data in 1.078 seconds (success: True)
2023-01-06 15:49:22.610 DEBUG (MainThread) [custom_components.garmin_connect.sensor] Registering entity: nextAlarm, Next Alarm Time, None, mdi:alarm, timestamp, True
from home-assistant-garmin_connect.
Thanks, so yeah no alarm data at all, I removed the rest of the data for privacy. The garminconnect==0.1.50 is the python package library used by the home assistant integration which I also code and maintain, that update was also included, it needs a one time installation.
But I have no idea why you don't have alarm data on Garmin Connect server, did you ever choose to not sync it, if that is even possible?
from home-assistant-garmin_connect.
I have no idea. I am a "developer" myself, but not familiar with Garmin API. If you point me how I can fetch data from API myself manually, I can do some debugging myself and try to find why alarm data is not included. Thanks for removing personal data
from home-assistant-garmin_connect.
Here you can find the source code and example code for the garminconnect module.
https://github.com/cyberjunky/python-garminconnect
The APi is closed source, so all information is gathered by reverse engineering (mostly via the html and javascript of the garminconnect.com site using browser dev tools)
The alarm API call can be found here:
https://github.com/cyberjunky/python-garminconnect/blob/6b2131fed2596889c51649235d0c87bf7f387438/garminconnect/__init__.py#L628
First thing you can try is use the example.py program to get device information, this is where the alarms data come from.
from home-assistant-garmin_connect.
So the problem may be a bug on Garmin side. Alarms that I set on watch do not sync to Garmin server and vice versa. So I had no alarm set on the server and after I had set one, it got populated to Home Assistant correctly. Unfortunately it was not synced to watch, so I will continue with Garmin. Thanks for help
from home-assistant-garmin_connect.
I see some people have same issue with other watches and models
https://medium.com/@HighFlyinRunner/garmin-fenix-5-settings-alarm-disappearing-bug-4b321301dea4
https://forums.garmin.com/outdoor-recreation/outdoor-recreation/f/fenix-5-series/128034/alarm-setting-not-synced
from home-assistant-garmin_connect.
Yes. Not a bug on your side, closing.
from home-assistant-garmin_connect.
Related Issues (20)
- Unknown error occurred during Garmin Connect login request
- Won't load after update to 2024.2.0 HOT 29
- Two Users
- Badge points HOT 1
- Is it possible to get a sensor for when your Garmin Watch tells you to move? HOT 2
- Feature Request: Upload activity as HA service
- Feature Request: Sensors for hydration data
- 4 sensors only available intermittenly HOT 1
- add_body_composition service ignores entity_id parameter HOT 4
- "unerwarteter Fehler!" HOT 1
- Garmin connect component does not work - Unknown error occurred HOT 2
- unable to display HOT 2
- Enhancement:Last Synced on local timezone
- Thanks! and version release?
- Incorrect Sleep Data
- Next Alarm Time in the wrong timezone
- 2FA not supported.. HOT 2
- Error on logging in HOT 1
- 2FA HOT 1
- Getting reliable ("historic") steps information
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-garmin_connect.