Skip to content

izivkov/GShockAPI

Repository files navigation

GShockAPI

This library provides an API to communicate to the Casio G-Shock watches via the Bluetooth interface. It can perform the following tasks:

  • Set watch's time
  • Set Home Time (Home City)
  • Set Alarms
  • Set Reminders
  • Set watch's settings.
  • Get watch's name
  • Get watch's battery level
  • Get Watch's temperature
  • Get/Set watch's Timer

Supported Watches:

G(M)W-5600, G(M)W-5000, GA-B2100, GST-B500, MSG-B100, G-B001, GBD-800 (Partial support), MRG-B5000, GCW-B5000

Documentation

The API documentation can be found here

Dependency

Add the following to your build.gradle file:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
    implementation 'com.github.izivkov:GShockAPI:1.4.27'
}

Who is using it?

The Casio GShock Smart Sync app integrates G-Shock B5000/B5600/B2100 watches with Google services such as Google Calendar events. Google Alarm Clock, etc.

If you like us to list your project which uses this library, contact us and we will include a link.

Related Project

If you rather not use a mobile app, but still like to set the time on your G-Shock to the correct time, we have also developed a Python program which can run as a server on a regular PC or Raspberry PI with Bluetooth interface. The project is still WIP, but you can give it a try.