2020-01-09 08:41:34 +08:00
|
|
|
Matrix bot nodes for Node-RED
|
|
|
|
====
|
|
|
|
|
2021-01-25 05:38:13 +08:00
|
|
|
This package contains nodes to send and receive messages and files as a Matrix node.
|
2020-01-09 08:41:34 +08:00
|
|
|
|
|
|
|
## Quick usage guide
|
|
|
|
|
|
|
|
This package adds 3 node types to Node-RED palette (Matrix section, at the bottom):
|
|
|
|
* *Matrix sender*: sends messages from your Node-RED flow to the chatroom
|
|
|
|
* *Matrix receiver*: listens to messages in a chatroom and sends them to your Node-RED flow
|
|
|
|
* *Matrix command*: listens only to messages starting with a specific command and sends them to your Node-RED flow
|
|
|
|
|
|
|
|
All of these nodes require a Matrix Configuration with the following settings:
|
|
|
|
* *User ID*: the user ID in the matrix server, for instance @mybot:matrix.org
|
|
|
|
* *Access token*: the access token of the user in the matrix server
|
|
|
|
* *Server URL*: URL of the Matrix homeserver, e.g. https://matrix.org
|
|
|
|
* *Room ID*: ID of the chatroom to join when starting. If no room is specified, it will automatically join any room where it is invited
|