{"id":22196695,"url":"https://github.com/parmaster/logserver","last_synced_at":"2025-03-24T22:40:32.099Z","repository":{"id":68960452,"uuid":"448149495","full_name":"parMaster/logserver","owner":"parMaster","description":"Collecting telemetry data posted by IoT devices into MQTT, filtering, processing and visualizing results","archived":false,"fork":false,"pushed_at":"2023-11-13T21:43:33.000Z","size":4552,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T02:14:15.228Z","etag":null,"topics":["data-visualization","golang-template","iot-application","mqtt","mqtt-client","template"],"latest_commit_sha":null,"homepage":"","language":"Go","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/parMaster.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}},"created_at":"2022-01-15T01:04:41.000Z","updated_at":"2023-10-27T18:58:47.000Z","dependencies_parsed_at":"2023-09-26T17:09:40.284Z","dependency_job_id":"897644ac-5de7-4e1d-ab92-dd6f8029e2e0","html_url":"https://github.com/parMaster/logserver","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/parMaster%2Flogserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parMaster%2Flogserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parMaster%2Flogserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parMaster%2Flogserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parMaster","download_url":"https://codeload.github.com/parMaster/logserver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245366207,"owners_count":20603438,"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":["data-visualization","golang-template","iot-application","mqtt","mqtt-client","template"],"created_at":"2024-12-02T14:16:08.641Z","updated_at":"2025-03-24T22:40:32.077Z","avatar_url":"https://github.com/parMaster.png","language":"Go","readme":"# Logserver \n\nThis service can be connected to MQTT broker, subscribed to the topics where telemetry data is reported, store the data in a database and visualize data with charts.\n\nNo additional documentation will be provided, code is self-explanatory and trivial.\n\nThis was ment to be an educational project to learn Golang, so a couple words about what I learned here:\n\n  - working with MQTT broker and subscribing to topics (using Paho MQTT library). Getting used to the idea of asynchronous programming\n\t\n  - using standart structure for Golang projects - which is overkill for this project, but I wanted to learn it\n\t\n  - using different data stores via interfaces\n\t\n  - using SQLite as a database. In the first version I used PostgreSQL, but it was an overkill for this project (I was surprised finding out that you need a stored procedure to get the last inserted row ID or trigger to implemented autoincrement in PostgreSQL.. crazy stuff..), although it was a good learning experience, specially using it with Docker.\n\nCurrently it's working on a local Raspberry Pi 4, connected to a hosted MQTT broker and used mainly to monitor the climate in the crocodile enclosure. Climate control in the enclosure is done by a custom made ESP32-based device, which is also connected to the MQTT broker and reports the data - source is [available in my other repository](https://github.com/parMaster/ESP32Base).\n\nFrontend contains graphs to display the data and in my case it looks like this:\n\n![Logserver_Front](https://user-images.githubusercontent.com/1956191/234888928-e4ea6679-256f-49f0-ba45-8df32f15e90e.jpg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmaster%2Flogserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparmaster%2Flogserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparmaster%2Flogserver/lists"}