squawk
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
squawk [2016-12-11 21:18] – rob | squawk [2023-11-25 23:45] (current) – Added playlist command jaso55555 | ||
---|---|---|---|
Line 12: | Line 12: | ||
< | < | ||
mosquitto_pub -h mqtt -t ' | mosquitto_pub -h mqtt -t ' | ||
+ | </ | ||
+ | Play a list of sound files with no gap: | ||
+ | < | ||
+ | mosquitto_pub -h mqtt -t ' | ||
</ | </ | ||
Text-to-speech message (with a subtle notification bong): | Text-to-speech message (with a subtle notification bong): | ||
Line 184: | Line 188: | ||
speak(msg.payload) | speak(msg.payload) | ||
- | if msg.topic == 'display/doorbot/intercom': | + | if msg.topic == 'access/entrance/request': |
- | if msg.payload == ' | + | if status == ' |
play(' | play(' | ||
squawk.1481491107.txt.gz · Last modified: 2016-12-11 21:18 by rob