{"id":22278616,"url":"https://github.com/orestispanago/combilog-pi","last_synced_at":"2025-03-25T18:22:30.818Z","repository":{"id":64459842,"uuid":"536608451","full_name":"orestispanago/Combilog-pi","owner":"orestispanago","description":"Get data from Combilog datalogger","archived":false,"fork":false,"pushed_at":"2023-03-30T11:05:30.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T15:49:59.206Z","etag":null,"topics":["beaglebone","combilog","cron","datalogger","friedrichs","ftp","raspberry","sftp"],"latest_commit_sha":null,"homepage":"","language":"Python","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/orestispanago.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}},"created_at":"2022-09-14T14:08:25.000Z","updated_at":"2022-09-21T21:45:03.000Z","dependencies_parsed_at":"2022-12-18T19:37:58.342Z","dependency_job_id":null,"html_url":"https://github.com/orestispanago/Combilog-pi","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/orestispanago%2FCombilog-pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orestispanago%2FCombilog-pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orestispanago%2FCombilog-pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orestispanago%2FCombilog-pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orestispanago","download_url":"https://codeload.github.com/orestispanago/Combilog-pi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245517128,"owners_count":20628292,"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":["beaglebone","combilog","cron","datalogger","friedrichs","ftp","raspberry","sftp"],"created_at":"2024-12-03T15:15:08.573Z","updated_at":"2025-03-25T18:22:30.786Z","avatar_url":"https://github.com/orestispanago.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Combilog-pi\n\nRead data from Friedrichs Combilog 1022 datalogger and upload to FTP + SFTP.\n\nUsing [combilog](https://github.com/theendlessriver13/combilog) library. \n\n* Records since last readout are retrieved from the datalogger.\n\n* Records are grouped by date and saved as daily ```.csv``` files.\n\n* The ```.csv``` files are uploaded to FTP and SFTP servers.\n\n\n## Instructions\n\nEdit the FTP and SFTP parameters in ```main.py```\n\nAdd your ```known_hosts``` file for the SFTP server connection.\n\nTo avoid overlapping cron job execution, use ```flock``` in crontab:\n\n```\n*/5 * * * * /usr/bin/flock -w 0 ~/combilog_pi.lock python3 ~/Combilog-pi/main.py\n```\n\nTo check if your cron job is running:\n\n```\ngrep CRON /var/log/syslog\n```\n\nTo make sure that ```flock``` works:\n\n```\nflock -n -x ~/flock_file.lock true || echo \"LOCKED\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forestispanago%2Fcombilog-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forestispanago%2Fcombilog-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forestispanago%2Fcombilog-pi/lists"}