From 1e4d215a7ddae0f545d3084403a220af7d2ab7df Mon Sep 17 00:00:00 2001 From: Marc Boehm Date: Wed, 27 Jul 2022 17:24:44 +0200 Subject: [PATCH] CAPAUT-253 Fix labels, extend readme, add pipeline --- README.md | 11 +++++++++-- bitbucket-pipelines.yml | 30 ++++++++++++++++++++++++++++++ systacomfort2/systacomfort2.html | 2 +- 3 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 bitbucket-pipelines.yml diff --git a/README.md b/README.md index 8ed156e..0413dba 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,14 @@ This Node-RED node is capturing the packets from a SysteComfort II device and pr |Device|Software-Version|Hardware-Version|Basis-System|Compatible?| |--|--|--|--|--| -|Systa Comfort 2|V1.16|V1.21|V1.13|yes - except flow return value is not available| +|SystaComfort II|V1.16|V1.21|V1.13|yes - except SYSTEM_TEMPERATURE_FLOW_RETURN is not available| + +## Node Parameters +|Parameter|Description| +|--|--| +|Name|Name of node on flow| +|Topic Prefix|Prefix will be added to topic property on output message payload| +|Listen Port|Port of UDP Server to listen on. Useful on multiple devices| ## Connectivity -To capture the published data you have to redirect the traffic which sent by the SysteComfort II device to the official remote portal. If you have an local DNS Forwarder you can just create a static host override. The domain `pradigma.remoteportal.de` needs to be resolved to your internal Node-RED ip address. +To capture the published data from your SysteComfort II device you have to redirect the traffic on your local network. If you have an local DNS Forwarder you can just create a static host override. The domain `pradigma.remoteportal.de` needs to be resolved to your internal Node-RED ip address. diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..ec8d213 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,30 @@ +image: node:16 + +definitions: + steps: + # Build nodes + - step: &step-build-nodes + name: Build + caches: + - node + script: + - npm install + - npm test + + # Publish node + - step: &step-publish-nodes + name: Publish Nodes + script: + - pipe: atlassian/npm-publish:0.3.2 + variables: + NPM_TOKEN: $CAPTICA_NPM_TOKEN + FOLDER: './' + EXTRA_ARGS: '--access public' +pipelines: + default: + - step: *step-build-nodes + + tags: + v*: + - step: *step-build-nodes + - step: *step-publish-nodes \ No newline at end of file diff --git a/systacomfort2/systacomfort2.html b/systacomfort2/systacomfort2.html index aa785b1..275c040 100644 --- a/systacomfort2/systacomfort2.html +++ b/systacomfort2/systacomfort2.html @@ -27,7 +27,7 @@
- +