Skip to main content

Package to run a script when a packet is published to a topic on Alfons

Project description

Alfons Listener

Simple program for listening on a topic and when it's received running a script.



    server: "host:port"
    username: "username"
    password: "iot"
    ssl: True

  - topic: "topic"
    script: "script-to-run"
  - topic: "topic2"
    python: "module:function"
    script: "script-to-run2"

Creating a daemon

$ ./

If you want to install the service under a name other than "alfonslistener" you can change the name variable on the top of the file.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alfonslistener-0.0.2.tar.gz (1.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page