node-red-contrib-awtrix-epl-live 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -77,14 +77,16 @@ Double-click the node and set:
77
77
 
78
78
 
79
79
  - **Minimum brightness**
80
- Your Awtrix device brightness setting has a direct effect on how easy certain
81
- text colours are to read.
82
- The ``__minimum brightness__`` is the perceived brightness used to determine if a
83
- team colour can be used as-is. Colours that evaluate below this value fall
84
- back to the team's alternate colour, and finally to white if both primary and
85
- alternate team colours fail the test.
86
- The default for this setting is `30`, if you still find text colours difficult
87
- to read at this setting then increase it.
80
+ Your Awtrix device brightness has a direct effect on how visible certain text
81
+ colours are to read and darker palette colours can also be difficult to
82
+ view on the display.
83
+ The `minimum brightness` dialogue setting is a 'perceived colour' brightness
84
+ value used to determine if a team colour will be readable on your Awtrix display.
85
+ All teamname colours are evaluated against this setting, primary and alternate
86
+ colours are tested in order, if they fall below this threshold and fail the test
87
+ the team name colour falls back to '#FFFFFF'
88
+ The default value for this setting is `30`, if you find text colours difficult
89
+ to read or too many teams names displayed in white then increase this number.
88
90
 
89
91
  ## Outputs
90
92
 
@@ -101,15 +103,15 @@ Wire a `switch` node off this output to route each event type to your
101
103
  own desired trigger.
102
104
 
103
105
  Here is an **Alexa Ready** audio clip you can use for **"GOAL"** events to get you started
104
- > `"<audio src='https://nr-alexa-sounds.s3.eu-west-2.amazonaws.com/goal.mp3'/>"`
106
+ ```
107
+ "<audio src='https://nr-alexa-sounds.s3.eu-west-2.amazonaws.com/goal.mp3'/>"
108
+ ```
105
109
 
106
110
  **Output pin #2 - AWTRIX 3 payload**
107
111
 
108
- `msg.payload` is a ready-to-send AWTRIX 3 notification object. This output
109
- fires twice per event - once with a short interrupt event notification,
110
- followed by a continuation card carrying the fuller detail (score, player,
111
- or team names). Wire this pin straight to one or more `mqtt out` nodes
112
- pointed at your AWTRIX 3 device(s).
112
+ `msg.payload` is a ready-to-send AWTRIX 3 notification object. this output is the continuation
113
+ card from **pin #1** and carries the event detail (incl. score, player, team names).
114
+ Wire this pin straight to one or more `mqtt out` nodes pointed at your AWTRIX 3 device(s).
113
115
 
114
116
  **Output pin #3 - AWTRIX NG payload**
115
117
 
@@ -147,9 +149,6 @@ pointed at your AWTRIX 3 device(s).
147
149
 
148
150
  ## Known limitations
149
151
 
150
- Tracked team names are resolved against the Premier League's own team
151
- list. A club that plays exclusively outside the Premier League (e.g. a
152
- Champions League opponent that isn't also an English club) can't
153
- currently be added to Tracked Teams by name - matches involving your
154
- Premier League clubs in the additional competitions above are tracked
155
- correctly regardless of who they're playing.
152
+ **Currently** team names are *ONLY* resolved against the Premier League.
153
+ Non EPL teams cannot currently be added to Tracked Teams by name.
154
+
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-awtrix-epl-live",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "awtrix live football",
5
5
  "author": "evans.l",
6
6
  "license": "MIT",