{"id":17686504,"url":"https://github.com/psi-4ward/asksinanalyzer-sniffer","last_synced_at":"2025-05-13T00:34:34.066Z","repository":{"id":142192253,"uuid":"270440280","full_name":"psi-4ward/AskSinAnalyzer-Sniffer","owner":"psi-4ward","description":"Sniffer for homematic telegrams","archived":false,"fork":false,"pushed_at":"2022-02-03T16:45:23.000Z","size":24,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-06T16:19:23.641Z","etag":null,"topics":["asksin-analyzer","asksinpp","bidcos","homematic"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psi-4ward.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":"2020-06-07T21:42:15.000Z","updated_at":"2024-03-19T20:25:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f0e2546-742c-4380-b72e-a289cff4d832","html_url":"https://github.com/psi-4ward/AskSinAnalyzer-Sniffer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psi-4ward%2FAskSinAnalyzer-Sniffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psi-4ward%2FAskSinAnalyzer-Sniffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psi-4ward%2FAskSinAnalyzer-Sniffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psi-4ward%2FAskSinAnalyzer-Sniffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psi-4ward","download_url":"https://codeload.github.com/psi-4ward/AskSinAnalyzer-Sniffer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850385,"owners_count":21973661,"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":["asksin-analyzer","asksinpp","bidcos","homematic"],"created_at":"2024-10-24T10:45:04.811Z","updated_at":"2025-05-13T00:34:34.051Z","avatar_url":"https://github.com/psi-4ward.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AskSinSniffer328P\n\nSketch für den Arduino (Pro Mini, Nano), um Telegramme für den\n[AskSin Analyzer](https://github.com/jp112sdl/AskSinAnalyzer) oder\n[AskSin Analyzer XS](https://github.com/psi-4ward/AskSinAnalyzerXS) zu sniffen.\n\nDieser Fork von [AskSinSniffer328P](https://github.com/jp112sdl/AskSinAnalyzer/tree/master/AskSinSniffer328P)\nbietet die Möglichkeit, ein 0.91\" Dipsplay zu verwenden, um darauf den aktuellen Signalpegel\nanzuzeigen. Eine dynamische Pegelanzeige ist ebenfalls implementiert, um Ändereungen zu visualisieren.\n\nZudem wird der Arduino Nano unterstützt.\n\n* **Bei Verwendung des Arduino Nano wird der LED-PIN `8` verwendet** (PCB von TomMajor).\n* Für den Pro-Mini wird die LED auf PIN `4` angenommen. Ggf. ist dies im Sketch anzupassen.\n\n![AskSin-Analyzer Pegel](https://github.com/der-pw/AskSinAnalyzer/blob/master/Images/Sniffer_Display.jpg \"AskSin-Analyzer Pegel\")\n\n## Flashen\n\nEs gibt verschiedene Möglichkeiten, den Sketch zu flashen.\nGrundlagen können auf [asksinpp.de](https://asksinpp.de/Grundlagen/02_software.html) nachgelsesen werden.  \nEine Anpassung der `DeviceInfo` Konfiguration ist **nicht** notwendig, da der Sniffer nicht an einer CCU angelernt wird.\n\n### Arduino IDE\n\nBenötigte Bibliotheken: `AskSinPP`, `Low-Power`, `EnableInterrupt` und bei Verwendung des OLED-Displays `Adafruit GFX Library` und `Adafruit SSD1306`. **Der LED-PIN (default 4) und die Unterstützung des OLED-Display (default aus) muss ggf. im Sketch angepasst werden.**\n\n### avrdude\n\nDirektes Flashen der HEX-Datei über avrdude.  \nDie Firmware kann unter [Releases](https://github.com/psi-4ward/AskSinAnalyzer-Sniffer/releases/latest)\nheruntergeladen werden. Die Parameter wie Port und Datei sind entsprechend anzupassen.\nFür den Pro-Mini ist ENV der LED-PIN `4` gesetzt, für den Nano `8`.\n\n```bash\n# Pro-Mini\navrdude -patmega328p -carduino -P/dev/ttyUSB0 -b57600 -D -Uflash:w:pro-mini.hex:i\n```\n\nUnter Windows könnte der Aufruf wiefolgt aussehen:\n```shell\ncd Downloads\n\"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avrdude\" –C\"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/etc/avrdude.conf\" -v -patmega328p -carduino -PCOM4 -b115200 -D -Uflash:w:nano-oled.hex:i\n```\nDabei muss der `-PCOM4` Port und die Firmware `nano-oled.hex` (Datei und Pfad) entsprechend angepasst werden.\n\n### PlatformIO\n\nDem Projekt liegt eine `platformio.ini` bei. Für den Pro-Mini ist per ENV der LED-PIN `4` gesetzt, für den Nano `8`.\nSollte ein eine andere Belegung gewünscht sein ist der Sketch anzupassen.\n\nUm die Bibliotheken zu laden, den Sketch zu kompilieren und hochzuladen, reicht ein einziger Befehl:\n\n```bash\n# Für Arduino Pro-Mini (328P)\npio run -e pro-mini -t upload\n\n# Für Arduino Pro-Mini mit OLED\npio run -e pro-mini-oled -t upload\n\n# Für Ardino Nano (zB AskSin-Analyzer-XS PCB von TomMajor)\npio run -e nano -t upload\n\n# Für Arduino Nano mit OLED-Display\npio run -e nano-oled -t upload\n```\n\n```bash\n# Serial monitor\npio device monitor\n```\n\n\n## Authors\n\n* [Jérôme Pech](https://github.com/jp112sdl)\n* [Patrick Wulfert](https://github.com/der-pw)\n* [Christoph Wiechert](https://github.com/der-pw)\n\n\n## License\n\nCC BY-NC-SA 3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsi-4ward%2Fasksinanalyzer-sniffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsi-4ward%2Fasksinanalyzer-sniffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsi-4ward%2Fasksinanalyzer-sniffer/lists"}