{"id":14956740,"url":"https://github.com/riclolsen/opc2mongodb","last_synced_at":"2025-10-24T10:30:56.051Z","repository":{"id":109582173,"uuid":"186190625","full_name":"riclolsen/OPC2MongoDB","owner":"riclolsen","description":"Free tool to read data from OPC sources and save to a MongoDB database.","archived":false,"fork":false,"pushed_at":"2023-03-04T01:05:56.000Z","size":19,"stargazers_count":11,"open_issues_count":3,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T09:51:13.969Z","etag":null,"topics":["communication-protocol","database","mongodb","mongodb-database","nosql","opc","opc-da","scada","upc-ua"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/riclolsen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-05-11T23:22:57.000Z","updated_at":"2024-09-17T16:28:48.000Z","dependencies_parsed_at":"2023-05-02T07:11:41.806Z","dependency_job_id":null,"html_url":"https://github.com/riclolsen/OPC2MongoDB","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riclolsen%2FOPC2MongoDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riclolsen%2FOPC2MongoDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riclolsen%2FOPC2MongoDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riclolsen%2FOPC2MongoDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riclolsen","download_url":"https://codeload.github.com/riclolsen/OPC2MongoDB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237950824,"owners_count":19392666,"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":["communication-protocol","database","mongodb","mongodb-database","nosql","opc","opc-da","scada","upc-ua"],"created_at":"2024-09-24T13:13:25.583Z","updated_at":"2025-10-24T10:30:55.740Z","avatar_url":"https://github.com/riclolsen.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OPC2MongoDB\n\nThis tool allows to connect to OPC UA and DA servers, poll for data and subscribe to events and write data in real time to a MongoDB database.\n\nIt is simple to configure, the opc2mongodb.conf file is self explained, it must be put in the same folder as the exe file.\n\nThe code is written in C# and it uses a forked h-OPC and the oficial MongoDB libraries for C#.\n\nRequires https://github.com/riclolsen/h-opc.\n\nRequires the .NET fremework 4.6 or later.\n\nExecutable binaries are available for download in the Releases section.\n\nNeed any help? Create an issue here or contact me.\nHere is my LinkedIn contact: https://www.linkedin.com/in/ricardo-olsen/.\n\nExample of config file:\n\n\t#mongoURL user      passwd ip        port  database\n\tmongodb://mongouser:secret@127.0.0.1:27017/opc2mongodb\n\t# use as below for unauthenticated local database server\n\t# mongodb://127.0.0.1:27017/opc2mongodb\n\t\n\t# OPC SERVERS\n\n\t#  OPC_UA_URL,                   READ_INTERVAL_IN_SECONDS,  SERVER_ID=MONGO_COLLECTION_NAME, CERTIFICATE_FILE_PATH, CERTIFICATE_PASSWORD\n\t\topc.tcp://opcuaserver.com:48484, 10,                        Server1,                     cert.pfx              ,secret123\n\n\t# OPC TAGS TO READ FROM THE SERVER\n\n\t# OPC_TAG_PATH                        ,TYPE      ,SUBSCRIBE ,MONGO_TAG\n\tns=1;s=Countries.US.Queens.Latitude   ,Double    ,Y         ,US.Queens.Latitude                \n\tns=1;s=Countries.US.Queens.Longitude  ,Double    ,N         ,US.Queens.Longitude    \n\t# ... repeat for more servers\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friclolsen%2Fopc2mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friclolsen%2Fopc2mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friclolsen%2Fopc2mongodb/lists"}