Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

5.1.0

Compare
Choose a tag to compare
@yesnault yesnault released this 21 Jan 23:48
· 58 commits to master since this release

Feature:

Execute 'myLights' binary for each new message on topic /YourTopic/YourSubTopic

tatcli msg list /YourTopic/YourSubTopic --stream --exec "./myLights --pulse blue --duration=1000"

Execute 'myLights' binary for each new message on topic /YourTopic/YourSubTopic and
another command if there is an error while requesting tat.

tatcli msg list /YourTopic/YourSubTopic --stream --exec "./myLights --pulse blue --duration=1000" --exec "./myLights --pulse red --duration=2000"

Count messages with label open on topic /Internal/Alerts, then :

  • if there is 0 message, execute blinkstick --morph green
  • if there are between 1 and 5 messages, execute blinkstick --morph yellow
  • if there are more than 5 messages, execute blinkstick --morph red
  • if there is an error while requesting tat, execute blinkstick --pulse red --duration=2000
tatcli msg list /Internal/Alerts --label=open --stream --exec 0:0:'blinkstick --morph green' --exec 1:5:'blinkstick --morph blue' --exec 6::'blinkstick --morph yellow' --execErr "blinkstick --pulse red --duration=2000"