{"id":37364809,"url":"https://github.com/decole/quasar-iot","last_synced_at":"2026-01-16T04:49:58.834Z","repository":{"id":39112111,"uuid":"489739818","full_name":"decole/quasar-iot","owner":"decole","description":"Bundler for yandex quasar for Yandex Alice remote TTS","archived":false,"fork":false,"pushed_at":"2022-05-08T21:53:58.000Z","size":251,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-31T19:59:52.917Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/decole.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-07T17:29:38.000Z","updated_at":"2025-08-11T19:12:09.000Z","dependencies_parsed_at":"2022-08-25T07:24:49.170Z","dependency_job_id":null,"html_url":"https://github.com/decole/quasar-iot","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/decole/quasar-iot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decole%2Fquasar-iot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decole%2Fquasar-iot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decole%2Fquasar-iot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decole%2Fquasar-iot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/decole","download_url":"https://codeload.github.com/decole/quasar-iot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/decole%2Fquasar-iot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477210,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T03:13:13.607Z","status":"ssl_error","status_checked_at":"2026-01-16T03:11:47.863Z","response_time":107,"last_error":"SSL_read: 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-16T04:49:58.176Z","updated_at":"2026-01-16T04:49:58.825Z","avatar_url":"https://github.com/decole.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quasar PHP bundle for Alice devices \n\nInstall by composer\n\n``` bash\ncomposer require decole/quasar-iot\n```\n\nRequirements:\n\n```\n\"php\": \"^7.4||^8.0\",\n```\n\n### Client for https://yandex.ru/quasar/iot/\n\nIt is bundle for Laravel and just for simple php projects, which will help send text messages to an \naudio smart devices via external api https://yandex.ru/quasar/iot/. Audio device with voice assistant Alice \nwill be able to say what you sent without your manual voice activation.\n\n## 100 characters limit per message !\n\nI did it myself for voicing notifications and important notifications.\n\nOptionally, if you use **Laravel**, you can publish the config file of this package with this command:\n\n``` bash\n$ php artisan vendor:publish --provider=\"Decole\\Quasar\\Adapters\\Laravel\\QuasarServiceProvider\" --tag=config\n```\n\n## How to find cookies\n\nLog in to https://yandex.ru/quasar/iot/\n\nPress F11 in your browser to open \"Developer Tools\"\n\nIn the tab \"Network\" open any Fetch/XHR request and in the Request Headers copy the line from `Cookie:`. \nThis **Cookie** string is needed for this library to work.\n\n![Example coockie saving](docs/info.png)\n\n```php\n$cookies = 'yandexuid=0000000000000000000; L=Ykkkkkkkkkk+awwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww==.1111111111.11111.111111.88888888888888888888888888888888; yandex_login=oooooooooo; yuidss=9999999999999999999; ymex=1111111111.yrts.1111111111; is_gdpr=0; is_gdpr_b=CCCCCCCCCCCC; my=YwA=; gdpr=0; _ym_uid=1111111111111111111; mda=0; amcuid=9999999999999999999; computer=1; XcfPaDInQpzKj=1; i=G4jBbeJV022E4y/HME9eMh/JJJJJJJJ+JJJJJJJ/JJJJJJJJ/ggggggggggggg+RRRRRRRRRRRRRRRRRRR+/H8dmxaI=; yp=1111111111.udn.cDDDDDDDDDDDDDDDDDDDDDDDDDD.org_id.333333333333333333.ygu.1#1111111111.spcs.l#1111111111.szm.1:111111111:1111111111111111111.los.1#1111111111.losc.0#1111111111.mcv.0#1111111111.mcl.1111111; device_id=11111111111111111111111111111111111111111; _ym_d=1111111111; skid=1111111111111111111; Cookie_check=1; instruction=1; Session_id=3:11111111111111111111111111111111111:24.1.2:1|111111111.0.2|3:111111.111111.11111111111111_111111111111; sessionid2=3:1111111111.5.0.1111111111111:111111:24.1.2:1|111111111.0.2|3:111111.111111.111111111111111111111111111; ys=udn.cccccccccccccccc#c_chck.1111111111; active-browser-timestamp=1111111111111; _ym_isad=2; _yasc=1111111111111111111111111111111111111111111111111111111111111111111www==';\n$service = new QuasarClient($cookies);\n$t = $service-\u003egetDevices();\ndd($t); // view array data in browser\n\n/* ------- */\n\n// find needle deviceId to upper command and create scenario\n$cookies = '...';\n$deviceId = '55555555-eeee-4545-6767-dddddddddddd';\n$service = new QuasarClient($cookies, 'Голос', $deviceId);\n$t = $service-\u003ecreateScenario();\ndd($t); // view string - it is $scenarioId\n\n/* ------- */\n\n// scenario was created, change message text by speech smart audio device\n$cookies = '...';\n$deviceId = '55555555-eeee-4545-6767-dddddddddddd';\n$scenarioId = '44444444-ffff-4444-bebe-e8e8e8e8e8e8';\n$service = new QuasarClient($cookies, 'Голос', $deviceId, $scenarioId);\n$service-\u003echangeTextSpeechByScenario('Всем привет');\n// and execute speech device\n$service-\u003eexecuteSpeechByScenario();\n\n// if need remove scenario\n$service-\u003edeleteScenario();\n```\n\n### An example of the steps to use this library:\n\n0. You need to add your smart speaker to the devices of your Yandex account.\n   So that your device can be seen in https://yandex.ru/quasar/iot/.\n1. Pull out **Cookie** of your account and save. This line is needed for the entire service to work. See picture above. \n2. Find the column id. the `$service-\u003egetDevices()` method will give you all your devices (in all houses and rooms)\n3. You need to create a custom script if it doesn't already exist. For example, it could be a scenario named \"Голос\" \n   `$service-\u003ecreateScenario()`\n4. Change the spoken text `$service-\u003echangeTextSpeechByScenario('Всем привет');` - 100 characters limit\n5. Executing a voice message command `$service-\u003eexecuteSpeechByScenario();`\n6. Deleting a scenario `$service-\u003edeleteScenario();`\n\n\n## QuasarClient methods\n------\n```php\n$service = new QuasarClient($cookies, 'Голос', $deviceId, $scenarioId);\n// or\n$service = new QuasarClient($cookies);\n$service-\u003esetDeviceId($deviceId);\n$service-\u003esetScenarioId($scenarioId);\n\n// see all your devices\n$service-\u003egetDevices();\n\n// see all your devices filtered by \u003ctype\u003e or \u003citem_type\u003e\n$service-\u003egetDevices('device');\n\n// create scenario\n$service-\u003ecreateScenario();\n\n// change voice message text\n$service-\u003echangeTextSpeechByScenario('Всем привет');\n\n// executing a voice message command\n$service-\u003eexecuteSpeechByScenario();\n\n// delete current scenario\n$service-\u003edeleteScenario();\n```\n\n------\n# Для Россиян и понимающих русский язык:\n\n\nУстановка через composer\n\n``` bash\ncomposer require decole/quasar-iot\n```\n\nТребования:\n\n```\n\"php\": \"^7.4||^8.0\",\n```\n\n### Клиент (api обертка) для https://yandex.ru/quasar/iot/\n\nОбертка для Laravel, так и просто для проектов на php, которая поможет отправлять текстовые сообщения на аудиоколонку\nчерез внешнее api https://yandex.ru/quasar/iot/. Колонка с голосовым помощником Алиса сможет\nговорить то, что вы отправили без вашей голосовой активации.\n\n## Ограничение на 100 символов в сообщении !\n\nДелал себе для озвучивания нотификаций и важных сообщений.\n\nПри желании, если вы используете **Laravel**, вы можете опубликовать файл конфигурации этого пакета с помощью этой команды:\n\n``` bash\n$ php artisan vendor:publish --provider=\"Decole\\Quasar\\Adapters\\Laravel\\QuasarServiceProvider\" --tag=config\n```\n\n## Как найти cookies\n\nЗайти и авторизоваться на https://yandex.ru/quasar/iot/\n\nНажать на F11 в вашем браузере, чтобы открыть \"Инструменты разработчика\"\n\nDо вкладке \"Network\" открыть любой Fetch/XHR запрос и в Request Headers скопировать строку из\n`Cookie:` параметра. Данная строка понадобиться, чтобы работы этой библиотеки. \n\n![Пример](docs/info.png)\n\n```php\n$cookies = 'yandexuid=0000000000000000000; L=Ykkkkkkkkkk+awwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww==.1111111111.11111.111111.88888888888888888888888888888888; yandex_login=oooooooooo; yuidss=9999999999999999999; ymex=1111111111.yrts.1111111111; is_gdpr=0; is_gdpr_b=CCCCCCCCCCCC; my=YwA=; gdpr=0; _ym_uid=1111111111111111111; mda=0; amcuid=9999999999999999999; computer=1; XcfPaDInQpzKj=1; i=G4jBbeJV022E4y/HME9eMh/JJJJJJJJ+JJJJJJJ/JJJJJJJJ/ggggggggggggg+RRRRRRRRRRRRRRRRRRR+/H8dmxaI=; yp=1111111111.udn.cDDDDDDDDDDDDDDDDDDDDDDDDDD.org_id.333333333333333333.ygu.1#1111111111.spcs.l#1111111111.szm.1:111111111:1111111111111111111.los.1#1111111111.losc.0#1111111111.mcv.0#1111111111.mcl.1111111; device_id=11111111111111111111111111111111111111111; _ym_d=1111111111; skid=1111111111111111111; Cookie_check=1; instruction=1; Session_id=3:11111111111111111111111111111111111:24.1.2:1|111111111.0.2|3:111111.111111.11111111111111_111111111111; sessionid2=3:1111111111.5.0.1111111111111:111111:24.1.2:1|111111111.0.2|3:111111.111111.111111111111111111111111111; ys=udn.cccccccccccccccc#c_chck.1111111111; active-browser-timestamp=1111111111111; _ym_isad=2; _yasc=1111111111111111111111111111111111111111111111111111111111111111111www==';\n$service = new QuasarClient($cookies);\n$t = $service-\u003egetDevices();\ndd($t); // выводим список устройств\n\n/* ------- */\n\n// находим нужный ID устройства, его поместим в переменную $deviceId. Мы ищем устройство - колонку. Интуитивно понятно.\n$cookies = '...';\n$deviceId = '55555555-eeee-4545-6767-dddddddddddd';\n$service = new QuasarClient($cookies, 'Голос', $deviceId);\n$t = $service-\u003ecreateScenario();\ndd($t); // то что выведется, это id созданного сценария, помещаем в переменную $scenarioId\n\n/* ------- */\n\n// сценарий создан, теперь меняем текст внутри сценария, который при активации аудио колонка сама произнесет.\n$cookies = '...';\n$deviceId = '55555555-eeee-4545-6767-dddddddddddd';\n$scenarioId = '44444444-ffff-4444-bebe-e8e8e8e8e8e8';\n$service = new QuasarClient($cookies, 'Голос', $deviceId, $scenarioId);\n$service-\u003echangeTextSpeechByScenario('Всем привет');\n// выполняем активацию чтения нашего текста\n$service-\u003eexecuteSpeechByScenario();\n\n// если нужно удалить сценарий, воспользуйтесь командой ниже\n$service-\u003edeleteScenario();\n```\n\n### Пример этапов применения данной библиотеки:\n\n0. Нужно добавить вашу умную колонку в устройства вашей учетной записи Яндекса.\n   Чтобы в https://yandex.ru/quasar/iot/ ваше устройство было видно.\n1. Вытащить **Cookie** вашей учетной записи и сохранить. Данная строка нужна для работы всего сервиса. Смотри рисунок выше.\n2. Найдите id колонки. метод `$service-\u003egetDevices()` выведет вам все ваши устройства (во всех домах и комнатах)\n3. Нужно создать специальный сценарий, если его еще нет. Например, это может быть сценарий с именем \"Голос\"\n   `$service-\u003ecreateScenario()`\n4. Изменение озвучиваемого текста `$service-\u003echangeTextSpeechByScenario('Всем привет');` - ограничение в 100 символов\n5. Выполнение команды озвучки сообщения `$service-\u003eexecuteSpeechByScenario();`\n6. Удаление сценария `$service-\u003edeleteScenario();`\n\n## QuasarClient методы\n------\n```php\n$service = new QuasarClient($cookies, 'Голос', $deviceId, $scenarioId);\n// или\n$service = new QuasarClient($cookies);\n$service-\u003esetDeviceId($deviceId);\n$service-\u003esetScenarioId($scenarioId);\n\n// посмотреть все ваши устройства\n$service-\u003egetDevices();\n\n// Посмотреть все устройства отфильтрованные по \u003ctype\u003e или \u003citem_type\u003e. Смотри вывод предыдущей команды\n$service-\u003egetDevices('device');\n\n// создание сценария, с которым будет работать данная библиотека\n$service-\u003ecreateScenario();\n\n// изменение сообщения внутри сценария. Ограничение в 100 символов.\n$service-\u003echangeTextSpeechByScenario('Всем привет');\n\n// запустить сценарий чтения устройством данного сценария\n$service-\u003eexecuteSpeechByScenario();\n\n// удалить используемый сценарий\n$service-\u003edeleteScenario();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecole%2Fquasar-iot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdecole%2Fquasar-iot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdecole%2Fquasar-iot/lists"}