Giter VIP home page Giter VIP logo

infocal's Introduction

Infocal

Infocal, a watchface for Garmin devices

Link to Garmin Connect IQ store

Contribution

My work will stay free, if you want to donate for my work, it will help me a lot:

Donate

Code contribution

  1. Fork the project
  2. Develop your feature
  3. Make a pull request to this project
  4. I will review the code and test it, and then I'll consider merging your code.

Description

Infocal is a digital and analogue watchface, carefully made with high quality rendering. It's both customizable and functional. With up to 8 complications on the screen, each complication can show a variety of data:

  • Date
  • Digital time/2nd timezone
  • Battery
  • Total/Active calories
  • Live heart rate
  • Moved distance (day/weekly)
  • Move bar
  • Daily steps
  • Active minutes
  • Notification/Alarm/Connection status
  • Altitude
  • Temperature (on-device sensor)
  • Temperature (outside)
  • Temperature (high/low)
  • Sunrise/Sunset time
  • Floor climbed
  • Barometer data
  • Countdown to event day
  • Weather condition

Please configure your watch face via Garmin Connect Mobile or Garmin Express. Here is how to do it:

https://forums.garmin.com/developer/connect-iq/w/wiki/14/changing-your-app-settings-in-garmin-express-gcm-ciq-mobile-store

FAQs

  • Why Infocal need user profile permission?

Infocal needs your profile to calculate active calories, distance goal (based on your steps and stride length), moving distance for a whole week. Infocal is using your profile for that purposes and will not save it anywhere.

  • Why Infocal need internet/background communication permission?

Infocal uses OpenWeatherMap API to fetch weather information, and only for that.

  • Battery format in days isn't working?

The battery consumption estimate will need time to make an estimate, it will need at least 1 hour to complete. The estimate updates once every hour. If you restart your watch or switch from different watchface, it will need to calibrate again.

  • Too much data on the screen?

You can set it to "Empty" complication, it won't draw anything.

  • This watchface consumes too much energy?

Hey, there's a built-in power saving mode in the settings which will reduce the screen refresh rate to once per minute.

  • How to see if the watch is connected to the phone?

By using the group notification complication, if a phone is connected it will show "C" (connected), otherwise is "D" (disconnected).

  • If I update the watchface via Garmin connect, all the settings reset to default?

This is a bug of Garmin Connect iOS app, please update Garmin Connect to the latest version.

  • Can't get sunrise/sunset to work?

Sunrise/sunset only works if the watch has a GPS signal, try to start any activity and wait for GPS signal, then return to watch face and then everything is good.

  • Complication data just show "--" value?

Not all complications are supported for any device, it depends on your device whether it is supported or not.

  • A square appeared instead of a character?

Currently, this watch face only supports English (or Latin characters), more language support will come in the next release.

  • Why weather/outside temperature is not shown/update?

Weather/outside temperature needs internet and GPS information to work. Please set your GPS up (as instructed in the FAQs), and make sure your watch is connected to your phone (via Carmin Connect) with internet connected.

  • What is the source of weather information?

This watchface get weather info from OpenWeatherMap API.

  • Why weather does not update properly or showing the wrong number?

Infocal uses OpenWeatherMap API free tier, which is only allowed for 60 API calls per second or 1000 request per day. With many people using Infocal, it exceeds the limit. To make weather work better for you, please read API document from OpenWeatherMap here to get your own API key: https://openweathermap.org/guide#how (Your API key will need several hours to be activated by OpenWeatherMap)

  • What is OpenWeatherMap API key?

It''s a key to allow you to get weather information from OpenWeatherMap, as describe in "Why weather does not update properly or showing the wrong number?".

Currently this watch face only support English (or Latin characters), more language support will come in the next release.

Credits

  • Special thanks to warmsound for awesome Crystal Watchface. Without Crystal, I'm not able to add some features (suntime, sensor history, weather...) to this watchface.
  • Special thanks to sunpazed for his awesome GitHub projects. I learned a lot from him for anti-aliasing and get inspired to create curved text, which makes Infocal today.

infocal's People

Contributors

drg-developer avatar pavdjian avatar ryandam avatar tomfogg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

infocal's Issues

Keeps crashing on Fenix 6 pro

and also other watches. "error iq" after a while after the installation.


---
Error: Out Of Memory Error
Details: 'Failed invoking <symbol>'
Time: 2022-02-28T11:18:20Z
Part-Number: 006-B3290-00
Firmware-Version: '20.50'
Language-Code: eng
ConnectIQ-Version: 3.2.1
Store-Id: c97c4e34-55e4-4601-b5c2-45763bc481a2
Store-Version: 98
Filename: C2RK1423
Appname: Huwaii
Stack: 
  - pc: 0x10007f64
---
Error: Out Of Memory Error
Details: 'Failed invoking <symbol>'
Time: 2022-02-28T11:18:22Z
Part-Number: 006-B3290-00
Firmware-Version: '20.50'
Language-Code: eng
ConnectIQ-Version: 3.2.1
Store-Id: c97c4e34-55e4-4601-b5c2-45763bc481a2
Store-Version: 98
Filename: C2RK1423
Appname: Huwaii
Stack: 
  - pc: 0x10007f64

https://apps.garmin.com/pl-PL/apps/c97c4e34-55e4-4601-b5c2-45763bc481a2

Coundown date is reset upon hitting save.

Steps to reproduce:

  1. Set the countdown date and save -> everything works ok.
  2. Change any setting and save -> countdown date reset to Jan 19, 1970.

Watch: Vivoactive 4s
Watch os version: 5.10
Phone: Pixel 3xl
Connect IQ app version:

"FOG" is misrendered

Previous weather was "MIST", I assume it's trying to render "FOG" now, see screenshot:

va4_infocal

IQ! Error

I've been using this for a few weeks. Tonight, instead of the watchface I started just getting an "IQ!" warning screen. Resetting nor hard resetting the watch works. Switching to another watchface works. Similar watchfaces like Neki or Fusion still work.

About the only unusual thing I can imagine here is that the internet connection is very unreliable. Did the watchface save some corrupted/incomplete data and doesn't properly check it thus crashing on restore?

Any idea how to debug this?

August date display crashes

If the date display includes the month name, it will crash in August. Observed myself and dozens of reports on the Connect IQ store.

The watch face does not work if the weather is displayed

If the weather is displayed in one of the fields on the watch face, an error occurs.
Model: VA4
Firmvare Version: 5.10
Here are the logs:

Error: Unexpected Type Error
Details: 'Failed invoking <symbol>'
Time: 2020-10-03T12:17:52Z
Part-Number: 006-B3225-00
Firmware-Version: '5.10'
Language-Code: eng
ConnectIQ-Version: 3.2.1
Store-Id: c97c4e34-55e4-4601-b5c2-45763bc481a2
Store-Version: 91
Filename: A7864634
Appname: Huwaii
Stack:
  - pc: 0x10001ae4
  - pc: 0x10009cf6
  - pc: 0x10005f58
  - pc: 0x10009eb4
  - pc: 0x100087d6
  - pc: 0x10008573

Out Of Memory Error on FR245M after firmware update 9.00

Does not reproduce with a fresh install. But happens if anything got modified in the watchface settings

My favorite watchface! @RyanDam thanks for the work you've done!

Error: Out Of Memory Error
Details: 'Failed invoking <symbol>'
Time: 2022-03-17T10:27:56Z
Part-Number: 006-B3077-00
Firmware-Version: '9.00'
Language-Code: eng
ConnectIQ-Version: 3.2.1
Store-Id: c97c4e34-55e4-4601-b5c2-45763bc481a2
Store-Version: 98
Filename: C3GK2657
Appname: Huwaii
Stack: 
  - pc: 0x10007f64

Does not compile

Hi,

such code will fail compilation because of redefinition of variable value.

class SunField extends BaseDataField {
...
	function cur_label(value) {
		if (gLocationLat != null) {
			var value = "";

Which version of the SDK are you using? I failed with 4.2.4 as well as with 6.4.2.

Feature /help with setup

Hi,
I'm a big fan of what you've done with this, really great work (also a paid supporter!). Ive been using this watchface since I bought my FR245 and haven't saw a watchface that came close to this :). This is a little random, but one feature would be useful for me. Is there a possibility to add a day/week counter since a particular day? So basically a reverse date countdown as you have now. This would help me (and may others I think) where people use the 'don't break the chain' method. Where you start to do something from a day, and count the days its passed since you started (and didn't break the chain).

If not, could you tell me if I can setup you project in VSCode to maybe try to program it myself? Im an UX/UI designer, and a semi front-end developer, but Garmin's IDE is a little over my head to setup, but I've read there is a possibility to compile Garmin apps on VSCode (https://github.com/ghisguth/vscode-monkey-c)

Thanks!

Dev assistance please

Thank you for open sourcing, I am learning a lot from this.
Please email me [email protected]
I would like to ask you some guidance please on the antialiased hands and formulae.
Thanks

More IQ! Errors

This is a probably a different problem than the previous report.

  1. It happens much more frequently after the latest VA4 firmware update. (https://forums.garmin.com/sports-fitness/healthandwellness/f/vivoactive-4-series/238197/phased-rollout-20---vivoactive-4-all-versions-sw-5-10)

  2. Swiping to another widget and back immediately restores the view. For the other bug, it was typically necessary to switch to another watchface.

More reports:
https://www.reddit.com/r/Garmin/comments/itphsp/strange_face_since_recent_upgrade_vivoactive_4s/

Bit hard to say whether the firmware is just bad or whether it's exposing existing bugs in Infocal...

I guess this part of the update may be relevant: Fixed gesture handling for CIQ watch faces

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.