Skip to main content

Ticketmaster smart home integration, free and open source

Ticketmaster integration for Gladys Assistant

Concerts, shows and matches: calendars, ticket sale alerts, reminders and widgets.

Overview​

This integration brings concerts, shows, matches and festivals listed by Ticketmaster into Gladys. Choose what to follow: the events around the house (a radius and categories), artists and teams, and venues. Up to three calendars appear for every user who enables the integration, scenes can react to a new date, a reminder, the opening of a ticket sale or a canceled event, and three dashboard widgets show what is coming.

The events come from the official Discovery API of Ticketmaster, read with your own free key.

Requirements​

  • Gladys Assistant 5.3.0 or later (calendar integrations).
  • Internet access.
  • A free Ticketmaster API key: register on developer-acct.ticketmaster.com; the "Consumer Key" of the default app ("My Apps") is the key. It allows 5,000 requests a day; the integration uses a few hundred at most.
  • For "Around the house": the position of the house in Gladys (Settings → Houses).

Configuration​

  1. Paste the Ticketmaster API key and save.
  2. Choose what to follow, the three add up:
    • Around the house: a radius (5 to 100 km, or off), the categories (music, sport, arts and theatre, film, other) and how far ahead (30 days to a year).
    • Artists and teams: the Follow an artist or a team button. Type the name as Ticketmaster writes it ("Muse", "Paris Saint-Germain"). When several answers share the name, the message lists them with their identifier: to follow another one, stop following this one and paste its identifier.
    • Venues: the Follow a venue button ("Accor Arena", "Zénith"), searched in the country chosen below; namesakes are listed with their city and identifier.
  3. Save, then, in My calendars on the same page, press Enable for me.
FieldDescription
Ticketmaster API keyThe "Consumer Key" of your app. Only sent to Ticketmaster.
HouseThe house of "Around the house". Empty: the first house with a position.
RadiusOff, 5, 10, 25 (default), 50 or 100 km.
CategoriesMusic and arts by default; sport, film, other.
How far ahead30 days, 3 months (default), 6 months or a year.
Country of the dates of the followed artists and teamsWhere the dates of the followed artists and teams are kept (France by default, or every country).
Reading of TicketmasterEvery 6, 12 (default) or 24 hours.
Hour of the remindersFrom 0 to 23, local time (9 by default).
Language of the scene textsLanguage of the ready-made sentences and of the messages of the buttons. Automatic: the language of the dashboard.

List what is followed shows the radius, the artists, teams and venues with their identifiers; Read again now reads Ticketmaster at once. The followed artists and venues are kept in the configuration of Gladys (they follow its backups) and are the same for every user.

Usage​

Calendars​

Each user gets up to three calendars, one per kind of source in use: My artists and teams, My venues and Events around the house. An event lives in one of them only, the most personal one: a concert of a followed artist in a followed venue near the house is in "My artists and teams". An event whose time is known is a timed event, otherwise an all-day one; its description gives the category, the public sale and the prices, its location the venue, its link the Ticketmaster page. An event whose date is not announced yet is not in the calendars (the widgets do not list it either).

A canceled or postponed event stays, its name says so ("Canceled · …"). The calendars keep a week of history and two years ahead. A new calendar is private: in My calendars, turn Share with the household on to use it in the scenes (and with the native trigger "Calendar event is coming").

Dashboard widgets​

The three widgets: the upcoming events with their pictures, the countdown to the next event, and the ticket sales to open (generated illustration, not a screenshot; made-up pictures)

  • Upcoming events: the next 3, 5 or 8 events, with the day, time, venue, category and picture. Tap one for its details and its Ticketmaster page.
  • Next event: the countdown, the day, the time, the venue and a large picture, with a button to the tickets.
  • Ticket sales to open: the next public sales, to be ready on time.

Each can be limited to some sources (followed artists and teams, followed venues, around the house) and some categories.

Scenes​

Triggers (filters: source, categories, and the name of an artist or team exactly as Ticketmaster writes it):

  • Ticketmaster: new date: a new event appeared. Following something new announces nothing: only what appears afterwards does.
  • Ticketmaster: reminder: an event takes place today, tomorrow or in a week ("When"), at the hour of the configuration.
  • Ticketmaster: ticket sale opens: the public sale opens now, in an hour or tomorrow ("When").
  • Ticketmaster: canceled or moved: canceled, postponed, new date, or another day or time ("Change"); previous_date holds the old date.

The variables: name, date, time (local time of the venue), date_text, days, place, city, attraction, segment (music, sports, arts, film, misc), source (artist, venue, nearby), status, url, image_url, onsale, onsale_text, text (a ready-made sentence), event_id.

Action: Ticketmaster: next event gives the next event (with the same filters): name, date, time, venue, sale and a ready-made sentence text; found is false and days -1 when nothing matches.

Examples:

  • When the ticket sale opens in an hour → send {{triggerEvent.data.text}} and {{triggerEvent.data.url}} on Telegram.
  • When a followed artist announces a new date → send {{triggerEvent.data.text}}.
  • Reminder the day of the event at 5 pm → have Gladys say {{triggerEvent.data.text}} and turn on the hall light.

Transport​

Cloud only. Ticketmaster receives your key, the identifiers of the followed artists, teams and venues, and, for "Around the house", the position of the house rounded to about 150 m (a geohash), never the address. The pictures are downloaded from Ticketmaster's servers when a dashboard shows them. Nothing else leaves your network.

Troubleshooting​

  • "Ticketmaster refuses the API key": paste the "Consumer Key" (not the "Consumer Secret") of your app on developer.ticketmaster.com.
  • "Daily quota of the key spent": the 5,000 requests of the day are used (by this integration or another app with the same key). The reading resumes when Ticketmaster resets the quota.
  • "Around the house" is off: the house has no position (Settings → Houses), or the radius is off.
  • Nothing around the house: Ticketmaster does not list every event of every country; try a larger radius or other categories. In a big city, more than 1,000 events only keep the nearest dates: choose a smaller radius or fewer days ("List what is followed" tells it).
  • The wrong artist or venue was followed: stop following it, then paste the identifier listed by the answer of the button.
  • A world tour fills the calendar: choose the country of the dates of the followed artists.
  • The calendar stays empty: check Enable for me in My calendars, the key, and that something is followed.

For a bug report, give the Gladys and integration versions, what is followed (no key), and the lines of the Logs tab of the integration; in developer mode, DEBUG=gladys-integration-sdk adds the SDK logs.

Configuration settings​

These are the settings Ticketmaster asks for in its configuration screen in Gladys.

SettingTypeRequiredDescription
How it workssectionNo1. Create a free Ticketmaster key (link below: register, then the “Consumer Key” of your default app) and paste it here. 2. Choose what to follow: the events around the house (radius and categories below), and/or artists, teams and venues with the buttons further down. 3. Enable the integration in “My calendars” below: you get one calendar per kind of source. 4. Add the widgets to a dashboard and use the scene triggers (new date, reminder, ticket sale opening, canceled or moved). Only a rough position of the house (about 150 m), the followed names and your key are sent to Ticketmaster.
Ticketmaster API keysecretYesThe “Consumer Key” of your app on developer.ticketmaster.com: free, 5,000 requests a day (the integration uses a few hundred at most). Only sent to Ticketmaster.
Around the housesectionNoEvery event Ticketmaster lists within the radius, in the categories chosen. The position of the house comes from Gladys (Settings → Houses).
HouseselectNoEmpty: the first house with a position.
RadiusselectNo
Categoriesmulti_selectYes
How far aheadselectNoTicketmaster answers 1,000 events at most: in a big city, a smaller radius or period keeps every date.
Followed artists, teams and venuessectionNoUse the buttons below (“Follow an artist or a team”, “Follow a venue”): a name is enough. Their dates are looked for two years ahead.
Country of the dates of the followed artists and teamsselectNoA world tour has dates everywhere: only the ones of this country are kept. Also narrows the search of a venue.
Reading and scenessectionNo
Reading of TicketmasterselectNo
Hour of the remindersnumberNoFrom 0 to 23, local time: the “reminder” scenes run at that hour on the day (or the day before, or a week before).
Language of the scene textsselectNoFor the ready-made sentences of the scenes and the messages of the buttons. Automatic: the language of the dashboard.

How to install Ticketmaster in Gladys​

  1. In Gladys, open Integrations: Ticketmaster appears in the catalog, next to the native integrations, with a community badge.
  2. Click Install. Gladys pulls the Docker image (ghcr.io/william-de71/gladys-ticketmaster:0.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. You can also install it directly from its repository URL: https://github.com/William-De71/gladys-ticketmaster.

Ticketmaster requires Gladys >=5.3.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.

Not running Gladys yet? It is free and open source: follow the installation guide to get started.

About external integrations​

Ticketmaster is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by William-De71, not by the Gladys core team.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂