Skip to content

Commit c2ed590

Browse files
authored
Add files via upload
1 parent cca5391 commit c2ed590

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

README.md

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@ npm install # this can take a while
2424

2525
To use this module, add it to the modules array in the `config/config.js` file:
2626
````javascript
27-
{
28-
module: "MMM-Navigate",
29-
header: "Navigation",
30-
position: "top_left",
31-
config: {
32-
Alias: [ 'Seite vorwärts','Seite zurück', 'News - mehr Details' , 'News - weniger Details','Herunterfahren'],
33-
Action: [{notification:'PAGE_INCREMENT',payload:''},{notification:'PAGE_DECREMENT',payload:''},{notification:'ARTICLE_MORE_DETAILS',payload:''},{notification:'ARTICLE_LESS_DETAILS',payload:''},{notification: "REMOTE_ACTION", payload: {action: "SHUTDOWN"}}],
34-
GPIOPins: [26,20,19]//rotary cw, rotary ccw, rotary press (BCM Numbering)
35-
},
36-
},
3727
{
3828
module: "MMM-Navigate",
3929
header: "Navigation",
@@ -91,24 +81,24 @@ The following properties can be configured:
9181
<td>Array for Definition of GPIO-Pins (BMC) to connect the rotary encoder for the following actions: Clockwise, Counterclockwise and Press</td>
9282
</tr>
9383
</table>
94-
Further information: In version 1.1 of the module, i added a 'second click confirmation notification' for the following <code>REMOTE_ACTIONs</code>.
95-
- SHUTDOWN
96-
- RESTART
97-
- REBOOT
84+
Further information:<br>In version 1.1 of the module, i added a 'second click confirmation notification' for the following <code>REMOTE_ACTIONs</code>.<br>
85+
- SHUTDOWN<br>
86+
- RESTART<br>
87+
- REBOOT<br>
9888
This means, if you select one of these entries and press the rotary, you get a notification to do a second press to execute the selected entry.
9989

10090
## Further options
10191
You can communication with this module also by sending notifications.
10292
Examples:
103-
<code>yourmmip:8080/remote?action=NOTIFICATION&notification=CCW"</code> emulates turning rotary counterclockwise
104-
<code>yourmmip:8080/remote?action=NOTIFICATION&notification=CCW"</code> emulates turning rotary counterclockwise
105-
<code>yourmmip:8080/remote?action=NOTIFICATION&notification=PRESSED"</code> emulates pressing rotary encoder
93+
<code>yourmmip:8080/remote?action=NOTIFICATION&notification=CCW</code> emulates turning rotary counterclockwise
94+
<code>yourmmip:8080/remote?action=NOTIFICATION&notification=CW</code> emulates turning rotary clockwise
95+
<code>yourmmip:8080/remote?action=NOTIFICATION&notification=PRESSED</code> emulates pressing rotary encoder
10696

10797
## Version
10898
1.1
10999
Changelog:
110100
- added ability to send notifications to MMM-Navigate by other modules
111-
- added locked mode, so you can put two actions in 1 navigation link which belong together (like PAGE_INCREMENT and PAGE_DECREMENT). More details see Configuration options (Action).
101+
- added locked mode, so you can put two(2) actions in one(1) navigation link which belong together (like PAGE_INCREMENT and PAGE_DECREMENT). More details see Configuration options (Action).
112102
- modified css, so locked mode is visual (red frame when locked) in MM
113103
- added second click confirmation notification' for the following REMOTE_ACTIONs (SHUTDOWN, RESTART, REBOOT)
114104

0 commit comments

Comments
 (0)