A platform to control robots and electronic device over Internet
Project description
IOT Client - Python
IOT is taking over world, many electronics device connect together on a network and communicate to each other. I have build app that helps you to connect those microcontroller together. Below are the client details.
Before going further this project is strongly meant for controlling robots over internet, you can check out more on Project Website
Currently it has been tested on: Arduino, Lego Mindstroms EV3 Brick and on a Raspberry PI 3 other tests are being done.
This is git repository for the python client:
Installation
Run the following command
pip install --upgrade ior-research
Usage
token = "paste your subscription key here"
code = int("current device code here")
to = int("Destiation device code here")
time_delay = 90 # Time delay for the heart beat (in seconds) default is 90 seconds
Create Instance of IOT Client
from ior_research.IOTClient import IOTClient
iot = IOTClient(from = code,to=to,token=token) #Creating object for IOT Client
Setting up Receive Function to do some Operation when a response is received.
iot.set_on_receive(lambda x: print(x))
Last but not the least start the IOTClient
iot.start()
iot.join() #Since IOTClient inherites Thread Class you can also use .join() function depending on your use case
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
ior_research-0.3.7.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for ior_research-0.3.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0404a648157d6db397b0a2df11c2a00b4d05b0d92d0841e6c97ee747b2178a0a |
|
MD5 | 24a94cd42bed6fa1e65ecc309a401aba |
|
BLAKE2b-256 | 8a9f675c0fd6111a2489bf035f96fba3d990a91805e0b6c10ef83366d80a9951 |