I have released a first version of the plugin for node-red! You can install it via “Manage Palette” as part of node-red. Just select the “install” tab and type “pimatic” in the “search modules” field.
Available nodes types are:
Device Action
calls a pimatic device action. Optionally, a parameter name and
value can be provided to be passed along with the invocation.Get Variable
gets the value of the specified pimatic variable and sends it to the
output channel when the value has changed or when some input has been received.Set Variable
sets the receivedmsg.payload
or a given value as the new value for
the configured pimatic variable.Controller
is a supporting node type not shown in the palette. It manages the web socket
connection to a pimatic server. As part of the configuration for instances of the
aforementioned node types it is possible to select or create an controller. Thus, it is possible to interact
with multiple pimatic servers within a flow.