{"id":21744617,"url":"https://github.com/indeemasoftware/qpredix","last_synced_at":"2025-03-21T01:42:07.543Z","repository":{"id":120451532,"uuid":"106688045","full_name":"IndeemaSoftware/QPredix","owner":"IndeemaSoftware","description":"This is Qt/C++ SDK for Predix Ge services API (https://www.predix.io/) developed by Indeema Software Inc.","archived":false,"fork":false,"pushed_at":"2018-09-11T18:16:46.000Z","size":172,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-25T22:22:52.336Z","etag":null,"topics":["cpp","industrial","ingest-data","predix","predix-cloud","predix-uaa","qpm","timeseries-service"],"latest_commit_sha":null,"homepage":"https://indeema.com","language":"C++","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/IndeemaSoftware.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-12T12:11:18.000Z","updated_at":"2020-11-11T09:04:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f12d3ae-cf2c-490f-8a66-fb93846edb8a","html_url":"https://github.com/IndeemaSoftware/QPredix","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/IndeemaSoftware%2FQPredix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndeemaSoftware%2FQPredix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndeemaSoftware%2FQPredix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndeemaSoftware%2FQPredix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IndeemaSoftware","download_url":"https://codeload.github.com/IndeemaSoftware/QPredix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244722655,"owners_count":20499153,"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":["cpp","industrial","ingest-data","predix","predix-cloud","predix-uaa","qpm","timeseries-service"],"created_at":"2024-11-26T07:12:07.234Z","updated_at":"2025-03-21T01:42:07.516Z","avatar_url":"https://github.com/IndeemaSoftware.png","language":"C++","readme":"\u003ch1 align=\"center\"\u003e\u003cimg src=\"https://github.com/IndeemaSoftware/QPredix/blob/Assets/sdk_3_transparent.png\"  width=444 height=200/\u003e\u003cbr\u003e QPredix\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/kamranahmedse/driver.js/blob/master/license\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eQt/C++ SDK for Predix Ge services API (https://www.predix.io/) developed by https://indeema.com/. \u003c/b\u003e\u003c/br\u003e\n  \u003csub\u003eIt works for MacOS, Linux and Windows operation systems. \u003csub\u003e\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n## Documentation\n## Minimum requirements\nQt 5.8\n\n### Installing with qpm\nJust use qpm (https://www.qpm.io/) to install QPredix in your project.\nRun qpm install com.indeema.QPredix . in *.pro file include(vendor/Vendor.pri)\n\n### How to start\nA simple example you can find in [QPredixSamples folder](https://github.com/IndeemaSoftware/QPredixSample). \n\nOr copy QPredix folder to your project and add \n\n  include(...QPredix.pri) \n\nto your project *.pro file. Then we need to initialize it with QUaaInfo:\n```cpp\nQUaaInfo lInfo;\nlInfo.setUaaUrl(\"your UaaUrl taken from Predix Uaa service\");\nlInfo.setClientCredential(\"Client id\", \"secret\");\n```\n\nThen setup user with QUaaUserInfo:\n```cpp\nQUaaUserInfo lUser;\nlUser.setLogin(\"user credentials\");\nlUser.setPassword(\"user password\");\n```\n    \nnow you can start using Uaa service:\n```cpp\nQUaa *mUaa = new QUaa(lInfo);\nconnect(mUaa, SIGNAL(loginSucced(QUaa*)), this, SLOT(loginSucceed()));\nmUaa-\u003eloginWithCredentials(lUser);\n```\ndon't forget to initialize loginSucceed() slot;\n\nAfter login is succeed you are able to start using TimeSeries service provided by Prexid:\n\n    QTimeSeries *mTimeSeries = new QTimeSeries(mUaa);\n    mTimeSeries-\u003esetZoneID(\"Your zone ID\");\n    \nNow ingest data to timeseries service:\n```cpp    \nQMap\u003cQString, QString\u003e lAtt;\nlAtt.insert(\"vector\", \"x\");\nmTimeSeries-\u003esendData(\"TEST1\", 2, 3, lAtt);\n```\n\nFirst parameter is tag name, the second is value, the third is quality and the third is custom attributes.\nThere is more simple way to ingest data with only tag and value with default quality 3 and without attributes:\n\n```cpp\nmTimeSeries-\u003esendData(\"TEST1\", \"0\");\n```\n\n**If device doesn't have connection to internet, all data is stored locally until connection will apear. After connection is available all local data is synced with server**\n\n## Communication and Support\nIf you encounter an issue or you have any comments or propositions with using the QPredix library then you can reach us in several different ways:\n- Having difficulties with using QPredix you can write at [Stackoverflow](https://stackoverflow.com/) or at [Predix forum](https://forum.predix.io/index.html). Don't forget about specifing the **QPredix** tag. You will be helped by the community of this resource or our specialists will help you with an answer.\n\n- If you find a bug and want to tell us about it - specify it in the section [Issues](https://github.com/IndeemaSoftware/QPredix/issues).\nIn this section, we only consider bugs and ignore any questions relating to the support.\n\n- For additional assistance with your project - please contact us at **support@indeema.com** and specify **QPredix** in the subject line.\n\n- You can also follow our news at [@IndeemaSoftware](https://twitter.com/IndeemaSoftware) or on our [blog](https://indeema.com/blog).\n\n- For further questions on cooperation, simply email us at **support@indeema.com**.\n\n## License\n**QPredix** works under the MIT license. For more information see [here](https://github.com/IndeemaSoftware/QPredix/blob/master/LICENSE).\n\n## Terms\n**QPredix** is released for testing purposes only. We make no guarantees with respect to its function. By using this software you agree that Indeema is not liable for any damage to your system and data.\n\nTo know more about us and our [IoT expertise](https://indeema.com/services/iot), visit our website https://indeema.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findeemasoftware%2Fqpredix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findeemasoftware%2Fqpredix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findeemasoftware%2Fqpredix/lists"}