{"id":21002531,"url":"https://github.com/pimatic/pimatic-ping","last_synced_at":"2025-05-15T00:31:21.996Z","repository":{"id":12953309,"uuid":"15631494","full_name":"pimatic/pimatic-ping","owner":"pimatic","description":"Pimatic Presence Sensor for Networked Devices","archived":false,"fork":false,"pushed_at":"2019-03-29T00:18:50.000Z","size":118,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T18:07:12.635Z","etag":null,"topics":["pimatic","pimatic-plugin","ping"],"latest_commit_sha":null,"homepage":"https://pimatic.org/","language":"CoffeeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pimatic.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":"2014-01-04T12:12:49.000Z","updated_at":"2024-04-14T18:07:12.636Z","dependencies_parsed_at":"2022-09-01T12:22:43.722Z","dependency_job_id":null,"html_url":"https://github.com/pimatic/pimatic-ping","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/pimatic%2Fpimatic-ping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-ping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-ping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pimatic%2Fpimatic-ping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pimatic","download_url":"https://codeload.github.com/pimatic/pimatic-ping/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225316795,"owners_count":17455319,"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":["pimatic","pimatic-plugin","ping"],"created_at":"2024-11-19T08:19:01.517Z","updated_at":"2024-11-19T08:19:02.207Z","avatar_url":"https://github.com/pimatic.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"pimatic ping plugin\n===================\n\nProvides presence sensors for your wifi device, so actions can be triggered\nif a wifi device is (or is not) present.\n\nConfiguration\n-------------\nAdd the plugin to the plugin section:\n\n    { \n      \"plugin\": \"ping\"\n    }\n\nThen add a presence sensor for your device to the devices section:\n\n    {\n      \"id\": \"my-phone\",\n      \"name\": \"my smartphone\",\n      \"class\": \"PingPresence\",\n      \"host\": \"192.168.1.26\",\n      \"interval\": 5000\n    }\n    \nThe host property can also be set to a hostname which will be resolved using DNS. By default, DNS will be queried\nfor IPv4 addresses. If multiple IP addresses found the device will be flagged present if at least one IP address \ncan be successfully pinged. By setting the property `dnsRecordFamily` to one of the following numbers the \nDNS address resolution mode can be selected:\n\n * ` 4`: query IPv4 addresses (default)\n * ` 6`: query IPv6 addresses\n * `10`: hybrid mode, query IPv4 and IPv6 addresses\n * ` 0`: any mode, query IPv4 and IPv6 addresses, but use whatever query result is returned first\n\nProvided predicates\n-------------------\nYou can use the predicates:\n\n * `\"my smartphone is present\"` or `\"my-phone is present\"`\n * `\"my smartphone is not present\"` or `\"my-phone is not present\"`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fpimatic-ping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpimatic%2Fpimatic-ping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpimatic%2Fpimatic-ping/lists"}