Node-Red + FileMaker Starthilfe und Link-Sammlung
v1.2 Stand 14.02.2021 Marcel Moré
Hintergrund: Was ist Node Red?
- LowCode Plattform
- Vergleichbar mit Claris Connect
- OpenSource (ursprünglich von IBM)
- basiert auf NodeJS . Message-Broker, verarbeitet JSON Nachrichten
- für alle Plattformen/Betriebssysteme verfügbar
- Internet of Things (IoT)
- Home-Automatisierung
- zahlreiche Plugins
Node-RED: Ein Baukasten für das Internet der Dinge
https://jaxenter.de/baukasten-fuer-das-internet-dinge-13532
About
https://nodered.org/about/
Node Red
Homepage
https://nodered.org
Dokumentation
https://nodered.org/docs/
Forum
https://discourse.nodered.org
Plugin Library
https://flows.nodered.org/search?type=node
github Repo
https://github.com/node-red
Installation
Running Node-RED locally
https://nodered.org/docs/getting-started/local
Installation auf Linux
https://github.com/node-red/linux-installers
Installation auf Raspberry Pi
https://nodered.org/docs/getting-started/raspberrypi
Installation auf Mac
https://diyprojects.io/installing-using-node-red-macos-windows/
Installation auf Windows
https://nodered.org/docs/getting-started/windows
Basics
Creating your first flow
https://nodered.org/docs/tutorials/first-flow
Node-RED: Lecture 4 – A tour of the core nodes
http://noderedguide.com/node-red-lecture-4-a-tour-of-the-core-nodes/
Node Red in 5 minutes
https://www.youtube.com/watch?v=f5o4tIz2Zzc
Steve’s Node-Red Guide
https://stevesnoderedguide.com
Dashboard
node-red-dashboard
https://flows.nodered.org/node/node-red-dashboard
https://github.com/node-red/node-red-dashboard
HowTo: NodeRed – Mit Dashboard-Nodes eine Benutzeroberfläche erstellen
https://nerdiy.de/nodered-mit-dashboard-nodes-eine-benutzeroberflaeche-erstellen/
Remote RED - iOS Dashboard Client
https://apps.apple.com/lk/app/remote-red/id1529777665
Access Node-RED Dashboard from Anywhere using Digital Ocean
https://randomnerdtutorials.com/access-node-red-dashboard-anywhere-digital-ocean/
Tutorials
NodeRED Programming Guide
http://noderedguide.com
Was ist Node-RED
https://smarthome-training.com/de/was-ist-node-red/
NodeRed-Tutorials bei haus-automatisierung.com
https://haus-automatisierung.com/nodered/2017/11/10/node-red-tutorial-reihe-part-1-installation.html
https://www.youtube.com/watch?v=ktGprvHi5jU
Intro to Node-RED: Part 1 Fundamentals
https://www.youtube.com/watch?v=3AR432bguOY
NodeRED for beginners: 1. Why do you need a NodeRED server?
https://www.youtube.com/watch?v=AGMNEEQWEhQ
NodeRed-Tutorial Part 2: Basics und Dashboard mit Wetterdaten | haus-automatisierung.com
https://www.youtube.com/watch?v=_jMyAnPjkLQ
NodeRed-Tutorial Part 3: Sonoff über MQTT schalten | haus-automatisierung.com
https://www.youtube.com/watch?v=vg436GGmvfM
Einstieg in RedMatic - Node Red für die HomeMatic CCU | verdrahtet.info
https://www.youtube.com/watch?v=lMIrLS6JM-o
Awesome List of Useful Node-RED Nodes
https://github.com/TotallyInformation/awesome-to-me/blob/master/node-red-useful-nodes.md
Raspberry Pi
https://www.raspberrypi.org/blog/raspberry-pi-400-the-70-desktop-pc/
https://www.rasppishop.de/Raspberry-Pi-400-PC-UNIT-ONLY-DE
Installation auf Raspberry Pi
https://nodered.org/docs/getting-started/raspberrypi
Node-RED auf Raspberry Pi installieren
https://smarthome-training.com/de/node-red-auf-raspberry-pi-installation/
Getting started with Node-RED
https://projects.raspberrypi.org/en/projects/getting-started-with-node-red
FileMaker und Node Red
Achtung: Voraussetzungen für die Nutzung der Data API mit Node Red:
1. Ein gültiges SSL-Zertifikat muss aus dem FileMaker-Server installiert sein! Das mitgelieferte Default-Zertifikat von Claris reicht nicht aus!
Günstige SSL-Zertifikate gibt es z.B: bei namecheap
https://www.namecheap.com/security/ssl-certificates/comodo/positivessl/
Die Authentifizierung des Zertifikats ist per eMail möglich. (Es muss keine Eintragung in einem öffentlichen DNS-Server erfolgen.)
Tipp: FileMaker Server Adresse als Subdomain definieren (fms.meinedomain.de). Auch dafür muss kein vollständiger DNS-Server existieren, sondern die Subdomain kann auch einfach in der Host-Datei eingetragen werden:
https://setapp.com/how-to/edit-mac-hosts-file
2. Das FileMaker Data API Plugin muss installiert sein
Node Red Plugin: FileMaker Data API
https://flows.nodered.org/node/node-red-contrib-filemaker
https://github.com/Luidog/fms-api-client
Tipp: Ein guter Startpunkt zum experimentieren: Node-Red in einer Linux VM zusammen mit dem FileMaker-Server v19 installieren
Installation FM Server Linux
https://the.fmsoup.org/t/installation-of-filemaker-server-in-pictures/1410
Wenn man von FileMaker Client aus auf Node-Red zugreifen möchte, ist dies am einfachsten mit einem REST API Endpoint realisierbar
Create an HTTP Endpoint
https://cookbook.nodered.org/http/create-an-http-endpoint
Der API Endpoint liefert ein JSON Objekt, welches mit dem FileMaker Script-Befehl “aus URL einfügen” übernommen wird:
https://fmhelp.filemaker.com/help/18/fmp/de/index.html#page/FMP_Help/insert-from-url.html
Mit den JSONGetElement Funktionen lassen sich die gewünschten Werte aus dem Ergebnis holen:
https://fmhelp.filemaker.com/help/18/fmp/de/index.html#page/FMP_Help/jsongetelement.html
Weitere Infos u.a. hier:
FileMaker Magazine: Using Node-RED & the FileMaker Data API
https://www.filemakermagazine.com/videos/using-node-red-filemaker-data-api
Vortrag: FileMaker of Things APIs and IoT Using Node Red (Lui de la Parra, Seedcode)
https://support.claris.com/servlet/fileField?entityId=ka10H000000g7sr&field=Public_File_1__Body__s
https://www.youtube.com/watch?v=NAxhuWRsZWw
Cloud Hosting
How to Securely Host Node-RED in Cloud (For Free), and Safely Expose it to the Internet over HTTPS
https://hackernoon.com/how-to-securely-host-node-red-in-cloud-for-free-and-safely-expose-it-to-the-internet-over-https-hw5d3220
Access Node-RED Dashboard from Anywhere using Digital Ocean
https://randomnerdtutorials.com/access-node-red-dashboard-anywhere-digital-ocean/
FRED
https://fred.sensetecnic.com
Stackhero for Node-RED
https://www.stackhero.io/en/services/Node-RED
Running on IBM Cloud
https://nodered.org/docs/getting-started/ibmcloud
Projekte
Website und Webserver mit Node-Red überwachen
https://nachbelichtet.com/website-und-webserver-mit-node-red-ueberwachen/
Monitor Linux Servers with SSH/command line tools and Node-Red
https://funprojects.blog/2020/04/11/monitor-old-linux-servers/
Sqlite and Node-Red
https://funprojects.blog/2019/12/26/sqlite-and-node-red/
NodeRed mit Telegram verbinden, einfach und nachvollziehbar
https://www.youtube.com/watch?v=kXvYEzLHzJQ
Alexa mit NodeRed steuern
https://www.youtube.com/watch?v=nTfbNan4jCg
Raspberry Pi Instagram Followers Counter
https://www.hackster.io/giobauermeister/raspberry-pi-instagram-followers-counter-2651ad
c’t-Smart-Home - A ready-to-use Node-RED setup for home automation
https://awesomeopensource.com/project/ct-Open-Source/ct-Smart-Home
Fritzbox mit Node-RED kontrollieren
https://www.heise.de/news/Fritzbox-mit-Node-RED-kontrollieren-4849253.html