1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
Commit Graph

1670 Commits

Author SHA1 Message Date
Dave Conway-Jones
c3a5716fe7
Let email node be able to send blank topic
and let msg.description be " also
to close #959
2022-11-08 13:52:37 +00:00
Dave Conway-Jones
4c0ecc70bc
add smtp keywords 2022-10-29 16:51:14 +01:00
Dave Conway-Jones
93614e09ee
bump daemon for PR to add msg.args 2022-10-26 15:23:57 +01:00
kaffetorsk
4c9afda6dd
node-red-daemon append arguments (#939)
* Allow msg.start to append arguments

* Update description

* Update README.md
2022-10-26 15:22:48 +01:00
Dave Conway-Jones
c15fa79e95
Bump for PR 2022-10-26 15:19:57 +01:00
Chao Zeng
3ca4456c2b
Refact: Separate LED selection and state control (#957)
Separation of class LED selection and state control.
The label of the LED corresponds to the silk screen of the iot2050.

Before we use one list to enumerate all the led and its state.
like: User1 Led Red User1 Led Green User1 Led Orange
      User2 Led Red User2 Led Green User2 Led Orange
if we need to add or delete the LED, we should change this list
After Separation of class LED selection and state control
one is Led selection: USER1 USER2
the other is status selection: Green Red Orange

For this structure, if the led or status changes, We don't need
to enumerate all the states.

Also there is a problem with the old version:
When we use one node to control led show green, then we use another node to control
led show red. The result we expect is led red, but the actually result is led orange.
This is caused the previous green do not turn off. State change is wrong.
This refact would also fix it.

Signed-off-by: chao zeng <chao.zeng@siemens.com>

Signed-off-by: chao zeng <chao.zeng@siemens.com>
2022-10-26 15:17:28 +01:00
Dave Conway-Jones
06c9bd65a7
Let email node better report catchable connection errors
to close #956
2022-10-16 17:50:39 +01:00
Dave Conway-Jones
4a1f3dd749
Bump nodemailer lib to latest 2022-10-14 13:36:58 +01:00
Dave Conway-Jones
584590b9a6
Fix random node to handle to or from being 0
and add tests
to close #955
2022-10-12 09:20:09 +01:00
Dave Conway-Jones
5aa99eca73
ping - clone msg in order to fix handling arrays of multiple requests. 2022-10-02 10:33:25 +01:00
Dave Conway-Jones
c8975019ad
Fix ping node to pass through properties. 2022-09-30 10:05:59 +01:00
Dave Conway-Jones
3dcf739c0d
snmp clean up fix 2022-09-14 15:21:14 +01:00
Dave Conway-Jones
75a4361435
snmp - ensure response defined. 2022-09-14 15:05:29 +01:00
Dave Conway-Jones
9164fc234c
fix scope of results for lists
to close #949 - thanks @echobops
2022-09-10 13:20:07 +01:00
Dave Conway-Jones
e4dc3a2bcf
bump for 2050 update PR 2022-09-08 22:08:56 +01:00
Ivan Mikhaylov
721ccd2c15
mraa-gpio: sync iot2050 id with mraa library (#948)
Based on eclipse/mraa@a9f0ff22 iot2050 platform add.

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
2022-09-08 22:07:14 +01:00
Dave Conway-Jones
95e5e7341e
Bump intel mraa package for PR release 2022-09-06 13:26:57 +01:00
Ivan Mikhaylov
25d7d668ef
Add IOT2050 board into mraa Intel nodes (#940)
* mraa-gpio-led: add led

This patch introduces LED node in GPIO category.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-ain: add iot2050 board

Add IOT2050 board in list of possible boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-dout: add iot2050 board

Add IOT2050 board into list of possible boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-pwm: add iot2050 board

Add IOT2050 board into list of possible boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio: clean up on close for ain, pwm, dout

Required as nodejs will only lazily delete the node objects, and we may
race with the next user requesting the resources.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: add USER button

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
Co-authored-by: Jan Kiszka <jan.kiszka@siemens.com>
2022-09-06 13:19:28 +01:00
Dave Conway-Jones
da094fa70f
Slight tidy of readme 2022-08-23 14:43:34 +01:00
Dave Conway-Jones
bb53ef7137
bump for fixes from PR #945
to close #944
2022-08-23 14:34:24 +01:00
Dave Conway-Jones
543afd119a
bump to email libs and doc to remove old insecure access ref. 2022-08-23 14:32:34 +01:00
J.D. Mallen
29e0bed000
Address incorrect timestamps bug in node-red-node-timeswitch; increase readability (#945)
* Initial fixes before testing and reformatting

* Put sun event offset back in; reformat

* Tabs to spaces

* Fix "Start+X" OFF time; add more comments

* Undo some formatting changes

* Add contributors to package.json
2022-08-23 14:31:18 +01:00
Dave Conway-Jones
ecb2849675
timeswitch, fix display status to local timezone.
to close #944
2022-08-22 10:27:49 +01:00
Dave Conway-Jones
d913171f40
Pushbullet - Fix sms missing notifications issue
to close #936
2022-08-20 18:56:34 +01:00
Dave Conway-Jones
e5e8a33d80
bump notify and timeswitch deps 2022-08-19 11:40:53 +01:00
Dave Conway-Jones
5bb8b4d968
add version/engine support metadata 2022-07-27 14:08:02 +01:00
Dave Conway-Jones
a7b9380f25
fix mysql node error scope 2022-07-22 10:18:37 +01:00
Dave Conway-Jones
7a5c39ce7b
fix snmp node linting 2022-07-22 10:18:18 +01:00
Dave Conway-Jones
67611f6bb6
Add cbor object packing node
and test
2022-07-22 10:18:02 +01:00
Dave Conway-Jones
6830ce4fba
email node - add done capability to retrieving mail node. 2022-07-19 12:59:41 +01:00
Dave Conway-Jones
2b6fbcc5b0
bump sensehat version for python3 check fix 2022-07-15 14:13:51 +01:00
Sam Machin
e7c0459a32
Update sensehat.js (#933)
check for sensehat python lib in 2.7 and 3 folders
2022-07-15 14:12:46 +01:00
Dave Conway-Jones
c9f57afe22
gpio retry failing pin connection 2022-07-14 19:00:58 +01:00
Dave Conway-Jones
c32823a85a
pi gpio close pins timeout 2022-07-14 11:28:20 +01:00
Dave Conway-Jones
e133d01e53
bump mraa node for iot2050 PR 2022-07-12 10:14:21 +01:00
Ivan Mikhaylov
983dafff13
mraa gpio din features (#929)
* mraa-gpio-din: add iot2050 board

This patch adds iot2050 board in possible list of boards.

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: add cleanup on close

Required as nodejs will only lazily delete the node objects, and we may
race with the next user requesting the resources. ISR thread release.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: extend GPIO lines

Signed-off-by: zengchao <chao.zeng@siemens.com>
Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: add configurable GPIO mode for DIN

GPIO mode wasn't set correctly, it was set from Pinmuxes modes instead
of GPIO. Add way to control GPIO modes on DINs from Node-RED with
possible values from mraa : Strong, Hiz, Pull-down, Pull-up.

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>

* mraa-gpio-din: add support for initial message from digital input

This allows to send out an initial message with the current digital pin
state on startup, simplifying initializations of certain flows.

Based on siemens/meta-iot2000@5fc2bbe patch 0003.

Signed-off-by: Ivan Mikhaylov <ivan.mikhaylov@siemens.com>
2022-07-12 10:10:49 +01:00
Dave Conway-Jones
0b3b918528
mysql faster/tidier closing of pool if never connected. 2022-07-11 14:39:16 +01:00
Dave Conway-Jones
3ffd3f9fad
remove superfluous logging 2022-06-29 10:07:56 +01:00
Dave Conway-Jones
4cfbc6a32a
Add resource and separate out domain in XMPP node
to address #881
2022-06-29 10:06:24 +01:00
Dave Conway-Jones
8431e624f7
Bump email node dependencies 2022-06-29 10:01:16 +01:00
David D'Hauwe
13b839cfda
Smtp server security note and hide unrelevant fields (#924)
* Email Mta Node added security and authentication

* Documentation updated

* Original formatting restored

* email-mta added note for port security
hide fields when not relevant
2022-06-14 22:13:16 +01:00
David D'Hauwe
0fa0816506
Smtp server (#923)
* Email Mta Node added security and authentication

* Documentation updated

* Original formatting restored
2022-06-10 10:14:38 +01:00
Snyk bot
dcfd055860
fix: upgrade node-ssdp from 3.2.5 to 3.3.0 (#922)
Snyk has created this PR to upgrade node-ssdp from 3.2.5 to 3.3.0.

See this package in npm:
https://www.npmjs.com/package/node-ssdp

See this project in Snyk:
https://app.snyk.io/org/dceejay/project/34c4615a-e656-449f-b5c4-62c59a9902ce?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-06-04 22:07:04 +01:00
Dave Conway-Jones
3c18463024
fix: upgrade q from 1.4.1 to 1.5.1 (#921)
Snyk has created this PR to upgrade q from 1.4.1 to 1.5.1.

See this package in npm:
https://www.npmjs.com/package/q

See this project in Snyk:
https://app.snyk.io/org/dceejay/project/34c4615a-e656-449f-b5c4-62c59a9902ce?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2022-06-03 10:20:30 +01:00
Dave Conway-Jones
bb7b9445bb
Merge branch 'master' of https://github.com/node-red/node-red-nodes 2022-06-02 17:35:12 +01:00
Dave Conway-Jones
63012a7ae3
Let feedparser ignore initial "old" stories 2022-06-02 17:35:09 +01:00
Dave Conway-Jones
a113751317
fix: upgrade ip from 1.0.2 to 1.1.5 (#919)
Snyk has created this PR to upgrade ip from 1.0.2 to 1.1.5.

See this package in npm:
https://www.npmjs.com/package/ip

See this project in Snyk:
https://app.snyk.io/org/dceejay/project/34c4615a-e656-449f-b5c4-62c59a9902ce?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2022-05-29 16:10:10 +01:00
Snyk bot
58bb788f45
fix: upgrade util from 0.10.4 to 0.12.4 (#918)
Snyk has created this PR to upgrade util from 0.10.4 to 0.12.4.

See this package in npm:
https://www.npmjs.com/package/util

See this project in Snyk:
https://app.snyk.io/org/dceejay/project/34c4615a-e656-449f-b5c4-62c59a9902ce?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-05-25 10:17:54 +01:00
Dave Conway-Jones
5cea0c2043
fix: upgrade request from 2.74.0 to 2.88.2 (#917)
Snyk has created this PR to upgrade request from 2.74.0 to 2.88.2.

See this package in npm:
https://www.npmjs.com/package/request

See this project in Snyk:
https://app.snyk.io/org/dceejay/project/34c4615a-e656-449f-b5c4-62c59a9902ce?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2022-05-23 09:18:17 +01:00
Snyk bot
7db260dcc3
fix: upgrade body-parser from 1.14.2 to 1.20.0 (#916)
Snyk has created this PR to upgrade body-parser from 1.14.2 to 1.20.0.

See this package in npm:
https://www.npmjs.com/package/body-parser

See this project in Snyk:
https://app.snyk.io/org/dceejay/project/34c4615a-e656-449f-b5c4-62c59a9902ce?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-05-19 10:10:20 +01:00