Skip to content

Custom component to get movie information in your city available at ingresso.com for the home assistant

License

Notifications You must be signed in to change notification settings

hudsonbrendon/sensor.ingresso.com

Repository files navigation

hacs_badge BuyMeCoffee

ingresso.com Sensor Component

logo.jpg

Custom component to get movie information in your city available at ingresso.com for the home assistant

Install

Installation via HACS

Have HACS installed, this will allow you to update easily.

Adding Ingresso to HACS can be using this button:

image

If the button above doesn't work, add https://github.com/hudsonbrendon/sensor.ingresso.com as a custom repository of type Integration in HACS.

  • Click Install on the Ingresso integration.
  • Restart the Home Assistant.

Manual installation

  • Copy ingresso folder from latest release to your <config dir>/custom_components/ directory.
  • Restart the Home Assistant.

Configuration

Adding Ingresso to your Home Assistant instance can be done via the UI using this button:

image

Manual Configuration

If the button above doesn't work, you can also perform the following steps manually:

  • Navigate to your Home Assistant instance.
  • In the sidebar, click Settings.
  • From the Setup menu, select: Devices & Services.
  • In the lower right corner, click the Add integration button.
  • In the list, search and select Ingresso.
  • Follow the on-screen instructions to complete the setup.

Get your city id

Access the url below with your UF see your city_id in the list of cities in your state.

https://api-content.ingresso.com/v0/states/YOUR-UF

UFs table:

UF Estate
AC Acre
AL Alagoas
AP Amapá
AM Amazonas
BA Bahia
CE Ceará
DF Distrito Federal
ES Espírito Santo
GO Goiás
MT Mato Grosso
MA Maranhão
MS Mato Grosso do Sul
MG Minas Gerais
PA Pará
PB Paraíba
PR Paraná
PE Pernambuco
PI Piauí
RJ Rio de Janeiro
RN Rio Grande do Norte
RS Rio Grande do Sul
RO Rondônia
RR Roraima
SC Santa Catarina
SP São Paulo
SE Sergipe
TO Tocantins

Example:

https://api-content.ingresso.com/v0/states/SP

Upcoming media card support

To view the movies from the configured cinema, we use the upcoming-media-card, install via hacs and add the configuration below (Remembering to replace sensor.cinepolis with your configured sensor) in a manual card:

type: custom:upcoming-media-card
entity: sensor.cinepolis
title: Cinépolis

Debugging

logger:
  default: info
  logs:
    custom_components.ingresso: debug

About

Custom component to get movie information in your city available at ingresso.com for the home assistant

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published