Skip to content

Commit

Permalink
Move assets into separate directory
Browse files Browse the repository at this point in the history
  • Loading branch information
adriankumpf committed Nov 5, 2021
1 parent 5c847f9 commit e8a05a1
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions website/docs/integrations/Node-RED.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The high-level logic "flow" is coded by wiring "nodes" in the user interface. Lo

| **Node-RED UI** |
| :---------------------------------------------------: |
| ![Node-RED Flow example](./Node-RED-example-flow.PNG) |
| ![Node-RED Flow example](./Node-RED/example-flow.png) |

This integration guide assumes that Teslamate is deployed on docker and that Node-RED will not be exposed to the internet. Of course, you can install Node-RED outside of Docker and on another server, it that suits. The integration with Teslamate is entirely via MQTT. Notifications included in the examples are sent using available Node-RED modules for email and Telegram. Other notifications (e.g. Slack) are relatively simple by replacing the final node in the Notifications flow. One could also integrate with public tools such as IFTT. Or get really creative and integrate with Alexa or Google Assistant to control the car by voice. :)

Expand All @@ -28,11 +28,11 @@ Included are Node-RED flows with two examples:

| **Node-RED Dashboard** |
| :-----------------------------------------------------: |
| ![Node-RED Dashboard example](./Node-RED-dashboard.PNG) |
| ![Node-RED Dashboard example](./Node-RED/dashboard.png) |

| **Example Telegram Notifications** |
| :---------------------------------------------------: |
| ![Node-RED Telegram example](./Node-RED-Telegram.PNG) |
| ![Node-RED Telegram example](./Node-RED/Telegram.png) |

# Requirements

Expand Down Expand Up @@ -100,7 +100,7 @@ docker-compose start node-red

## Import Flows

- Download the example JSON file [Node-RED-Teslamate-flows.json](./Node-RED-Teslamate-flows.json.example)
- Download the example JSON file [Node-RED-Teslamate-flows.json](./Node-RED/Teslamate-flows.json.example)
- Go to Node-RED's hamburber menu in the upper right corner and select `Import`
- Use the `select file to import` button on the pop-up to upload the JSON file.

Expand All @@ -118,7 +118,7 @@ To enter your Telegram Bot's parameters:

| **Telegram configuration pop-up** |
| :------------------------------------------------------------------------: |
| ![Node-RED Telegram configuration example](./Node-RED-telegram-wizard.PNG) |
| ![Node-RED Telegram configuration example](./Node-RED/telegram-wizard.png) |

- Click `Update`, then `Done`
- Edit the `Format messages` node in the Notifications flow
Expand Down

0 comments on commit e8a05a1

Please sign in to comment.