{"id":29051350,"url":"https://github.com/beyaznet/python-taliabeez-module","last_synced_at":"2025-10-18T03:39:46.051Z","repository":{"id":57473265,"uuid":"106825574","full_name":"beyaznet/python-taliabeez-module","owner":"beyaznet","description":"Python TaliaBeeZ module","archived":false,"fork":false,"pushed_at":"2018-03-08T08:35:38.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T09:19:52.725Z","etag":null,"topics":["medioex","python","raspberry","taliabee","xbee","zigbee"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/beyaznet.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}},"created_at":"2017-10-13T13:08:35.000Z","updated_at":"2017-10-13T13:36:00.000Z","dependencies_parsed_at":"2022-09-26T17:40:46.400Z","dependency_job_id":null,"html_url":"https://github.com/beyaznet/python-taliabeez-module","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/beyaznet/python-taliabeez-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyaznet%2Fpython-taliabeez-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyaznet%2Fpython-taliabeez-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyaznet%2Fpython-taliabeez-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyaznet%2Fpython-taliabeez-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beyaznet","download_url":"https://codeload.github.com/beyaznet/python-taliabeez-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beyaznet%2Fpython-taliabeez-module/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260484428,"owners_count":23016119,"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":["medioex","python","raspberry","taliabee","xbee","zigbee"],"created_at":"2025-06-26T22:10:28.535Z","updated_at":"2025-10-18T03:39:41.030Z","avatar_url":"https://github.com/beyaznet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"About\n=====\nTaliaBeeZ is the ZigBee interface to [TaliaBee](https://github.com/beyaznet/TaliaBee) API. TaliaBeeZ can be used to monitor and to control the I/O pins of the [TaliaBee](https://github.com/beyaznet/TaliaBee) box through ZigBee.\n\nTable of contents\n=================\n- [About](#about)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [How to use](#how-to-use)\n    - [ID format](#id-format)\n    - [TYPE format](#type-format)\n    - [DATA format](#data-format)\n    - [Response](#response)\n    - [Examples](#examples)\n\nRequirements\n============\n- Python 3.x\n- Python Xbee module\n- Python PySerial module\n- Python TaliaBeeIO module\n\nInstallation\n============\n```bash\npip3 install taliabeez\n```\n\nHow to use\n==========\nIn order to use ZigBee interface, you need to set your ZigBees to `API` mode.\nAnd preferably, set your ZigBee Routers' `DL` and `DH` adresses to the broadcast adress of the network.\n\nYou will send a string and receive a string with the same format. The string should be in the format below:\n\n`ID|TYPE|DATA`\n\nEach field has a format, too.\n\n#### ID Format\n`ID` is an integer value between `0` and `9999`. This value is used to create request/response pairs.\n\n#### TYPE Format\n`TYPE` field specifies the data is a command or a reply for a command. `C` for command, `R` for reply.\nThere is no use of `R` while sending a command. You should probably use `C` value.\n\n#### DATA Format\n`DATA` is comma separated commands. The command types are below\n\n- `DXXY`: Write `Y` to the `X`th digital output. `XX` is a right-aligned integer with two digits, `Y` is char `[0-1]`\n\n- `RXXY`: Write `Y` to the `X`th relay output. `XX` is a right-aligned integer with two digits, `Y` is char `[0-1]`\n\n- `AXXYYYY`: Write `YYYY` to the `XX`th analog output. `XX` is a right-aligned integer with two digits `[0-4]`, `YYYY` is a right-aligned integer with 4 digits `[0-4095]`\n\n### Response\nFor every sent command list (even if it's empty), the values of the all I/O will be sent as response. There is a format for that, too.\n\nFormat : `ID|R|dddddddddddddddd,DDDDDDDDDDDDRRRR,aaaa,AAAA,T`\n\n- `d`: Digital Input. You'll see the status of a digital input here.\n\n- `D`: Digital Output. You'll see the status of a digital output here.\n\n- `R`: Relay Output. You'll see the status of a relay here.\n\n- `a`: Analog Input. You'll see the status of a analog input here.\n\n- `A`: Analog Output. You'll see the status of a analog output here.\n\n- `T`: Temperature. You'll see a floating number here. (contains 5-6 characters)\n\nHere you can see the the status of every single component.\n\n### Examples\nHere are the examples for this format:\n\n\u003e `9|C|R010001`\n\n  This is the package with ID `9`\n\n  This package contains commands.\n\n  The command is `R011` means \"Write 1 to relay output #01\". (Set it)\n\n\n\u003e `9|R|0000000100000000,1000000000001000,1263345619821746,1000200030004000,-2.75`\n\n  This is the response for the package with ID `9`\n\n  This data contains a reply for your command list that you've sent before.\n\n  All digital inputs are in `0000000100000000`.\n\n  All digital outputs and relays are in `1000000000001000`.\n\n  All analog inputs are in `1263345619821746`.\n\n  First Analog Input is `1263`.\n\n  Second Analog Input is `3456`.\n\n  Third Analog Input is `1982`.\n\n  Fourth Analog Input is `1746`.\n\n  All analog outputs are in `1000200030004000`.\n\n  Temperature is -2.75\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyaznet%2Fpython-taliabeez-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyaznet%2Fpython-taliabeez-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyaznet%2Fpython-taliabeez-module/lists"}