Skip to main content

Firebase Responder

PyPI version Build Test
Used to perform predetermined function calls on IoT devices when a given value in Firebase RTDB is detected. Actions are performed asynchronously and delays/args can be used to customize responses.

Usage

Initialize group of responses and pass handler() as callback function for Firebase listener.

responder = ResponderGroup(1, 3, "ok")
firebase_admin.db.reference('path/to/value').listen(responder.handler)

Add device along with sequence of functions to be called, delays, args etc.

# led1 init goes here
responder.add(ResponderCustom(3, 2, [led1.turn_on, led1.set_colour, led1.set_colour], [500, 500, 500],
                             [None, [255, 0, 0], [0, 0, 30]]))
responder.add(ResponderStatic("test", led2.turn_on, led2.turn_off, 1500)

Release files for firebase-responder 1.0.6

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

Source distribution (sdist)

Source distribution for firebase-responder 1.0.6
File Size Uploaded
firebase_responder-1.0.6.tar.gz 642.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for firebase-responder 1.0.6
File Interpreter ABI Platform
firebase_responder-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 648.0 kB

Release files / firebase_responder-1.0.6.tar.gz

Download URL firebase_responder-1.0.6.tar.gz
Size 642.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4e66a01c582614c23bb2c9e1ee313a072fb4c08d6758b345d1de527d4f402825
BLAKE2b-256 checksum
How to use checksums
0e5d0186f67035ceda979dd80dd17592db7a24bafffefef4b946126ce129beda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / firebase_responder-1.0.6-py3-none-any.whl

Download URL firebase_responder-1.0.6-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4dd348409abd793ac766919daa9e91c7e16047b255cbc61a4d3b8f33892ff7f
BLAKE2b-256 checksum
How to use checksums
e057a93f58955e7d027244c995abcef712e926e3819ae2a361b89fab350f23c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

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