{"id":42372046,"url":"https://github.com/operasoftware/opera-smart-home","last_synced_at":"2026-01-27T19:41:38.885Z","repository":{"id":326395071,"uuid":"1008928761","full_name":"operasoftware/opera-smart-home","owner":"operasoftware","description":"Official Opera smart home extension based on new MQTT extension API ","archived":false,"fork":false,"pushed_at":"2025-11-27T14:10:18.000Z","size":23572,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-30T07:06:00.083Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/operasoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-26T10:02:29.000Z","updated_at":"2025-11-27T14:10:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/operasoftware/opera-smart-home","commit_stats":null,"previous_names":["operasoftware/opera-smart-home"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/operasoftware/opera-smart-home","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operasoftware%2Fopera-smart-home","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operasoftware%2Fopera-smart-home/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operasoftware%2Fopera-smart-home/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operasoftware%2Fopera-smart-home/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/operasoftware","download_url":"https://codeload.github.com/operasoftware/opera-smart-home/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/operasoftware%2Fopera-smart-home/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28819604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T18:44:20.126Z","status":"ssl_error","status_checked_at":"2026-01-27T18:44:09.161Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-27T19:41:35.850Z","updated_at":"2026-01-27T19:41:38.880Z","avatar_url":"https://github.com/operasoftware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Icon](./opera_gx_smart_home_extension/src/images/icon128.png \"Icon\")\n# Opera GX in Smart Home\n\n## Table of contents\n1. [Introduction](#introduction)\n2. [Use case examples](#use-case-examples)\n3. [How to set it up](#how-to-set-it-up)\n4. [How does it work](#how-does-it-work)\n5. [Security concerns](#security-concerns)\n6. [How to set up new Smart Home](#how-to-set-up-new-smart-home)\n7. [License](#license)\n\n## Introduction\n**Opera GX** can join any **Smart Home** built on platforms like [Home Assistant](https://www.home-assistant.io), [Homebridge](https://homebridge.io), [Node Red](https://nodered.org) or any other supporting the **MQTT** protocol. \n\nThe integration allows **Opera GX** to join the existing **Smart Home** network as a **device** so user can automate actions within the browser based on the state or actions of other smart devices at home. Or and vice versa: automate other smart home devices based on the state or actions reported by the browser. Or both, let's see the examples.\n\n## Use case examples\n### Syncing the colors of *smart bulbs* and smart led strips with the theme color of **Opera GX**\n![Sync lights](./images/sync_lights.png \"Sync Lights\")\n\n### Getting your room ready for watching movies\n![Prepare for movie](./images/prepare_for_movie.png \"Prepare for movie\")\n\n### Keeping your private browsing really private\n![Close private windows](./images/close_private_windows.png \"Close private windows\")\n\n### Smart charging of laptop battery\n![Smart battery charging](./images/smart_battery_charging.png \"Smart battery charging\")\n\nAnd many many more.\n\nSince the solution is based on **extensions**, it's highly expandable. You can use the official [Opera GX Smart Home Extension](./opera_gx_smart_home_extension/README.md) or use other extensions from by third parties or write your own extension which is a really easy task with the new [MQTT API](./api/README.md). \n\nYou can have installed as many extensions as you want, they won't interfere each other. You can also have many computers with **Opera GX** in the Smart Home network, they'll be still recognizable as separate devices even if having the same extensions installed.\n\n## How to set it up\n\n### MQTT broker\nSetting up the integration requires a running **MQTT broker** in your smart home network. If you're familiar with Smart Home there big changes you already have a running MQTT broker in your setup. If you happen to be a user of the [Home Assistant](https://www.home-assistant.io) you can easily install the the MQTT broker by installing the [MQTT Integration](https://www.home-assistant.io/integrations/mqtt/). If not, one of the options is to install a standalone [Eclipse Mosquitto MQTT Broker](https://mosquitto.org) or the [Home Assistant](https://www.home-assistant.io). \n\nIf you don't have any Smart Home set up yet, jump to [How to set up new Smart Home](#how-to-set-up-new-smart-home) for guidance.\n\n\n\n### Steps to setup the MQTT connection in Opera GX:\n1. Navigate to the **Smart Home** settings on the Settings page\n2. Turn on the **MQTT Support** toggle\n3. Enter the MQTT broker address, port and credentials (if needed) and click the **Apply** button.\n4. If the address and credentials were correct you should see the state changed to 'Connected' as below:\n\n![Mqtt Settings](./images/mqtt_settings.png \"Mqtt Settings\")\n\n4. Click the **Install** button to get the **Opera GX Smart Home Extension** installed.\n\nAgain, if you're a **Home Assistant** user, the **Opera** device will pop up automatically in your Home Assistant and look like below:\n![Opera GX in HA](./images/opera_ha_device.png \"Opera GX in HA\")\n\n## How does it work\nThe solution is based on extensions utilizing a new [MQTT API](./api/README.md) which allows for making topic subscriptions and publishing messages to the MQTT Broker. Based on that the extensions can declare *sensors*, *switches*, *commands*, *triggers*, etc. (see [example](./example_extension/README.md)). The default [Opera GX Smart Home Extension](./opera_gx_smart_home_extension/README.md) is also utilizing the [Home Assistant MQTT Discovery](https://www.home-assistant.io/integrations/mqtt/#mqtt-discovery) protocol to announce the presense of those entities grouped into one device called Opera GX.\n\n## Security concerns\nThe browser supports both: MQTT and MQTTS (MQTT over TLS) connections. In order to connect via MQTTS, the server's certificate needs to be trusted (i.e. signed by a certificate trusted by Opera's build-in Root Store or by the OS). \n\nIn case of using the non-secure MQTT connection, please note that it's better to disable the MQTT support on untrusted networks like public Wi-Fi. Doing so will help prevent potential attacks such as MQTT broker spoofing. This is especially important when using public internet access points.\n\n## How to set up new Smart Home\nRead more if want to install any of [MQTT supporting smart home platforms](./smart_home_setup.md).\n\n# License\nThis project is licensed under the Apache License 2.0 - see the [LICENSE.txt](./LICENSE.txt) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperasoftware%2Fopera-smart-home","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foperasoftware%2Fopera-smart-home","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperasoftware%2Fopera-smart-home/lists"}