{"id":13481006,"url":"https://github.com/carlosgub/Cuarto-Inteligente-Repo","last_synced_at":"2025-03-27T11:31:26.069Z","repository":{"id":96345107,"uuid":"143586589","full_name":"carlosgub/Cuarto-Inteligente-Repo","owner":"carlosgub","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-26T21:30:13.000Z","size":6297,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-30T14:42:58.267Z","etag":null,"topics":["android-example","android-things","android-things-starter-kit","firebase","kotlin","kotlin-android"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carlosgub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-05T05:39:14.000Z","updated_at":"2020-12-08T02:53:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"38d21baf-f848-4b8b-9636-7594acc26819","html_url":"https://github.com/carlosgub/Cuarto-Inteligente-Repo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosgub%2FCuarto-Inteligente-Repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosgub%2FCuarto-Inteligente-Repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosgub%2FCuarto-Inteligente-Repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carlosgub%2FCuarto-Inteligente-Repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carlosgub","download_url":"https://codeload.github.com/carlosgub/Cuarto-Inteligente-Repo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245836125,"owners_count":20680328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-example","android-things","android-things-starter-kit","firebase","kotlin","kotlin-android"],"created_at":"2024-07-31T17:00:47.544Z","updated_at":"2025-03-27T11:31:25.448Z","avatar_url":"https://github.com/carlosgub.png","language":"Kotlin","funding_links":[],"categories":["Useful links"],"sub_categories":["Sample apps and libraries"],"readme":"# Cuarto Inteligente Repo \u003ca href=\"https://codeclimate.com/github/carlosgub/Cuarto-Inteligente-Repo\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability\" /\u003e\u003c/a\u003e\n\nIF YOU WANT THE ENGLISH README VERSION GO TO THE BRANCH MASTER-ENGLISH/THINGS-ENGLISH\n\nEste es un ejemplo del uso del Developer Kit de Android Things, presentado en Google I/O Extended 18 Lima.\n\nEste ejemplo es para apagar y prender un foco mediante el uso de un Relay y Firebase.\n\nSe usó Firebase para guardar el estado del foco\n\nSe usó el Relay para que funcione como un interruptor de la electicidad.\n\n![](prueba_app.gif)\n\n# Pasos para poder compilar la repo\n* Agregar el projecto en su projecto de Firebase.\n* Descargue el archivo google-services.json.\n* Agregar el archivo al proyecto.\n* Compilar.\n\n# Branch\n\n* El branch master solo tiene una aplicación base para el celular usando el patron MVP.\n* El branch master-english es el branch master pero con comentarios en inglés.\n* El branch things es la misma aplicación móvil, ya que el kit viene con una pantalla y se puede mostrar la aplicación en esta pantalla, pero además tiene la lógica para que el relay se prenda y se apague.\n* El branch things-english es el branch things pero con comentarios en inglés.\n\n# Arquitectura del Proyecto\n ![alt text](https://i.imgur.com/BNJRf13.png)\n \n# Cableado\n ![alt text](https://i.imgur.com/5R73nSx.png)\n\n## Kotlin\n---\n * Kotlin [1.2.51] - http://kotlinlang.org\n \n ## Libraries\n---\n * Dagger2 [2.15] - http://google.github.io/dagger\n * RxFirebase [11.0.4.0] - https://github.com/kunny/RxFirebase\n * RxAndroid [2.0.1] - https://github.com/ReactiveX/RxJava\n * RxKotlin [2.0.3] - https://github.com/ReactiveX/RxJava\n * AndroidThings [1.0] - https://developer.android.com/things/versions/releases (Solo en el branch Things)\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosgub%2FCuarto-Inteligente-Repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarlosgub%2FCuarto-Inteligente-Repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarlosgub%2FCuarto-Inteligente-Repo/lists"}