{"id":16991794,"url":"https://github.com/soif/domoticz_scripts","last_synced_at":"2025-03-22T04:11:47.382Z","repository":{"id":147610918,"uuid":"120210836","full_name":"soif/domoticz_scripts","owner":"soif","description":"My dzEvents  and Bash Scripts for Domoticz","archived":false,"fork":false,"pushed_at":"2021-12-31T15:46:16.000Z","size":105,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T04:34:25.132Z","etag":null,"topics":["alexa","asterisk","bash","domoticz","dzvent","dzvents-scripts","hg612","livebox","lua","modem","pfsense","pir","scripts","thermostat"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/soif.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":"2018-02-04T18:22:58.000Z","updated_at":"2023-08-25T13:58:28.000Z","dependencies_parsed_at":"2023-05-31T19:01:09.674Z","dependency_job_id":null,"html_url":"https://github.com/soif/domoticz_scripts","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/soif%2Fdomoticz_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soif%2Fdomoticz_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soif%2Fdomoticz_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soif%2Fdomoticz_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soif","download_url":"https://codeload.github.com/soif/domoticz_scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902927,"owners_count":20529115,"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":["alexa","asterisk","bash","domoticz","dzvent","dzvents-scripts","hg612","livebox","lua","modem","pfsense","pir","scripts","thermostat"],"created_at":"2024-10-14T03:27:21.461Z","updated_at":"2025-03-22T04:11:47.361Z","avatar_url":"https://github.com/soif.png","language":"Lua","readme":"# Scripts For Domoticz\n\nMy personnal scripts collection.\n\n## dzVents Scripts\n  \n  *Various scripts to use inside Domoticz.*\n\n### Featured dzVents scripts\n\n- **soif_absent** : Simulates presence by randomly switch On some devices (ie lights) when the master \"absent\" switch is turned ON.\n- **soif_alexa** : Plays sounds, or say sentences to Alexa devices, when switches change their states.\n- **soif_thermostat** : handles heaters and/or air conditionners  using a temperature sensor, a (mode) selector and a (relay) switch, with differents temperature per room/hours, or when absent.\n- **soif_pirs** : handles PIRs sensors, to trigger one of mutiple devices, with optionnal notifications (using PMD), durations times, debounce time, period, master switches,....\n\n\n### Requirements\n\n- Domoticz\n- phpMyDomo (needed for some scripts only when using pmd actions)\n\n### Installation\n\n- copy the desired scripts into `/domoticz_dir/dzVents/scripts/` \n- for most scripts, also copy the `modules/`  directory into the same location\n- from `/domoticz_dir/dzVents/scripts/modules/`   rename `soif_conf.sample/`  to  `soif_conf/`  \n- Cutomize the `soif_conf/` files according to your own needs\n\n\n---------\n\n## Bash Scripts\n\n  *Generic bash scripts that can be used directly, or called from Domoticz.*\n\n### Featured Bash scripts\n\n- **soif_alexa_XXX** : (alexa-remote-control wrapper). Easily make your Amazon Alexa device to play a sound, or speak a text\n- **soif_hg612_XXX** : (Huawei HG612 Modem) Various scripts to reboot, resync ADSL, or get JSON statistics\n- **soif_livebox_XXX** : (Orange Livebox Modem) Various scripts to reboot, renew Public IP, or get JSON statistics\n- **soif_pfsense_ppoe_reload** : (pfSense Firewall) restart the PPoE conection to renew the public IP\n- **soif_pbx_asterisk_restart** : (Asterisk) remotely restart the asterisk server\n\n\n### Requirements\n\n- bash\n- For Alexa scripts, install *oathtool*, *jq* and *curl*. ie (for debian ): `apt-get install oathtool jq curl`\n\n\n### Installation\n\n- rename `bash/soif_conf.conf.sample/`  to  `bash/soif_conf.conf`  \n- Cutomize the `bash/soif_conf.conf` files according to your own needs\n\n\n---------\n\n## Licence\n\nThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoif%2Fdomoticz_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoif%2Fdomoticz_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoif%2Fdomoticz_scripts/lists"}