Pull data for your Smobot Controller
Project description
smobot_api
Python package to interface with the Smobot device. You will need to have previously registered and set up your smobot on the smobot website.
Installation
pip install smobot_api
Description
import asyncio
from smobot_api import smobot_api
async def main():
smobot = smobot_api('<username>', '<password>')
print(await smobot.login())
for serial in await smobot.serials:
print(serial)
print(await smobot.status(serial))
print(await smobot.setpoint(serial, 276))
await smobot.close()
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smobot_api-0.0.4.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smobot_api-0.0.4.tar.gz.
File metadata
- Download URL: smobot_api-0.0.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4638779eb1cc43d26fc11c5616b4be6da2a9c48dc3fa4cfd923a8ee58a669ac
|
|
| MD5 |
0c5edfafce17c4085ff47917d3f2f7e1
|
|
| BLAKE2b-256 |
09a1ae4c0837d400e201e2bd8fdf7d074a5666aa04a48bfd17d6bd42ac8d044a
|
File details
Details for the file smobot_api-0.0.4-py3-none-any.whl.
File metadata
- Download URL: smobot_api-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ef4b8f0e2310dbb2fb060cf616b15044013621c0a51379b2184ca60b9247112
|
|
| MD5 |
313738b22c623e8c22fa3bc5ca5a5d00
|
|
| BLAKE2b-256 |
e763dd213a8ab382819bcd85ccd48432673877ccc11d3f3dbd733c889f89f261
|