Skip to main content

Device Controller Telegram Bot

A Telegram Bot to control Board Pins for Device Controller Arduino Library

Usage

  • Install Device Controller Arduino Library in Arduino IDE.
  • Use Arduino Uno Controller Example Sketch to test the bot.
  • Upload Sketch on the board
  • Create new Telegram Bot using BotFather
  • Copy API KEY to clipboard
  • Install DeviceControllerTelegramBot Using pip
    pip3 install DeviceControllerTelegramBot
    
  • Use ArduinoUnoController.py from examples to create a Telegram bot
  • Assign copied Key to api_key variable
  • Update Serial Communication configuration
    serial_comms_conf = {
      'PORT': "COM[PORT_NUMBER]",
      'baud_rate': 9600,
      'timeout': 0.0,
      'encoding': 'utf-8'
    }
    

    Update PORT in dictionary

  • Start Bot using
    python3 ArduinoUnoController.py
    
  • Start chat with bot on telegram, it will reply with your telegram chat id, copy chat id and update admin_chat_ids_list
    admin_chat_ids_list = [
      your_chat_id,
      another_chat_ids_if_any,
    ]
    
  • Restart Bot
  • Use /devices command to control connected devices

TODO

  • Add demonstration image/video
  • Add options to control Analog pins

Metadata

Release files for DeviceControllerTelegramBot 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DeviceControllerTelegramBot 1.0.0
File Size Uploaded Provenance
DeviceControllerTelegramBot-1.0.0.tar.gz 5.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for DeviceControllerTelegramBot 1.0.0
File Interpreter ABI Platform
DeviceControllerTelegramBot-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / DeviceControllerTelegramBot-1.0.0.tar.gz

Download URL DeviceControllerTelegramBot-1.0.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c789f89211a38618104371bc694f52c25168687e8202560fa78ad1dfe0e8150c
BLAKE2b-256 checksum
How to use checksums
904af59c81040dd074fec981c36e66d9a8117d606b21d5a0bed0c2df9169d60c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Release files / DeviceControllerTelegramBot-1.0.0-py3-none-any.whl

Download URL DeviceControllerTelegramBot-1.0.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18f2d304553d653e1658b8c284d4121d852e26efe6ed1605c29d559145d0f7f9
BLAKE2b-256 checksum
How to use checksums
56ca7c8eb1b839f2562915bb2e791c0a8aa230c1661e8fa01fe246799ddce517
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

Security for DeviceControllerTelegramBot 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page