Skip to content

avimak/purpleair-telegram-push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purpleair-telegram-push

Push PurpleAir sensor updates to a telegram channel


Expected environment variables:

Key Description
SENSOR_ID PurpleAir sensor ID
API_KEY_READ PurpleAir API READ key
TELEGRAM_BOT_API_KEY Telegram BOT API Key
TELEGRAM_CHANNEL_NAME Channel name (in @channel_name format)

AWS credentials:

Execute using an AWS profile/role with SSM read/write permissions, or modify the following line and add your api access key/secret/token:

# replace
ssm_client = boto3.client('ssm')

# with 
ssm_client = boto3.client('ssm',
                          aws_access_key_id=access_key,
                          aws_secret_access_key=secret_key
                          (or aws_session_token=token))

About

Push PurpleAir sensor updates to a telegram channel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages