{"id":21851581,"url":"https://github.com/nicciniamh/iot","last_synced_at":"2025-03-21T18:21:06.761Z","repository":{"id":188774100,"uuid":"82102448","full_name":"nicciniamh/IoT","owner":"nicciniamh","description":"IoT Strategy and Sample Code","archived":false,"fork":false,"pushed_at":"2017-09-02T20:13:48.000Z","size":234,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T13:13:53.196Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicciniamh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-02-15T20:17:42.000Z","updated_at":"2017-09-01T17:26:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"983afb41-4b03-46bc-b937-a5fe0bd31763","html_url":"https://github.com/nicciniamh/IoT","commit_stats":null,"previous_names":["nicciniamh/iot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicciniamh%2FIoT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicciniamh%2FIoT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicciniamh%2FIoT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicciniamh%2FIoT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicciniamh","download_url":"https://codeload.github.com/nicciniamh/IoT/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244844536,"owners_count":20519793,"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":[],"created_at":"2024-11-28T01:08:50.656Z","updated_at":"2025-03-21T18:21:06.731Z","avatar_url":"https://github.com/nicciniamh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Internet of Things (IoT) Stuff - Updated Version\n\nI have done a major revamp of the sensor class modules. Instead of being specific to sensor hardware they have classes of temperature, humidity, relay, etc. This is more in line the the IoT strategy of \n\"abstraction\" over the network. Unless there is a specific reason to use a specific sensor type it is better to use generic models. For example, I have two type of sensor devices but their internet servers \nserve the data in the same format, thus, there is no reson to differentiate between the two. \n\n----\n\nThese files contain descriptions and exampls of my IoT Strategies.\n\n\n## IoT\nThe IoT base class (iotSensor) does nothing and throws an exception when instantiated. \nThe class is used simply as base for other IoT devices and allows for heterogenous \ndevice classes to be defined yet tested against the base class. \n\n\nEach IoT device at a minimum must provide a getData method to read the data or state of the \ndevice. \n\nThe methods defined by the IoT base class are:\n```\n    sendData(data):  send data to IoT device, returns self\n    getData() Retrieve data from IoT device, returns self\n    setHigh() Set high limit for data, returns self\n    setLow()  Set low limit for data, returns self\n    isHigh()  Return boolean if data is equal or greater to high\n    isLow()  Return boolean if data is equal or less to low\n```\n\nSee [lib](lib/) for the specifics on the sensors.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicciniamh%2Fiot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicciniamh%2Fiot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicciniamh%2Fiot/lists"}