Commit Graph

1685 Commits

Author SHA1 Message Date
Dave Conway-Jones a55be34bc0
major change to snmp node to not stringify octet string type. 2023-03-15 10:22:34 +00:00
Dave Conway-Jones bd15c5d6dd
fix pi gpio to catch close timing error 2023-03-15 10:21:31 +00:00
Dave Conway-Jones 553ae44ccb
B ump pusher to v1 due to large underlying library changes 2023-02-02 10:59:31 +00:00
Chad Gregory 0a0917b67a
Update pusher dependencies & code (#974)
* update pusher dependencies & code

* Update package.json

* update pusher icon

* Reverting some package.json changes

* add contributors

* Add padding to icon

* resize icon

* Updated available clusters

* update broken link to cluster option

* Update clusters for out node
2023-02-02 10:57:05 +00:00
Dave Conway-Jones a8edd0cb56
Add Serialport css to try to highlight blank inputs 2023-01-31 12:24:33 +00:00
Dave Conway-Jones 559ce050da
fix serialport to append chars to buffer correctly 2023-01-31 11:27:31 +00:00
Dave Conway-Jones f7f313c197
Fix timeswitch status to show time in timezone set in the properties
and bump library
2023-01-19 09:34:28 +00:00
Dave Conway-Jones 8553dc30f2
remove dubious use of rtl direction
to close #970
2023-01-13 11:42:06 +00:00
Dave Conway-Jones 9bae313b72
revert mailparser to fix node12 (for now) 2022-12-24 14:03:49 +00:00
Dave Conway-Jones b046740e7f
Update package.json 2022-12-22 11:45:00 +00:00
Dave Conway-Jones bb0a6fd272
bump email packages 2022-12-22 11:39:36 +00:00
Dave Conway-Jones b9053cf962
email - better cleanup of deleted messages ? 2022-12-22 11:38:00 +00:00
Dave Conway-Jones 2b50bf38ec
Fix tail to update status
and retry if file goes away and comes back
2022-12-14 11:45:33 +00:00
Dave Conway-Jones 2da42c9495
Let sensehat ignore colour sensor warning
to close #958
2022-11-28 11:50:08 +00:00
Dave Conway-Jones 074ca44b5f
Add specific daemons node stdin error handler
to address issue #960
2022-11-16 12:02:30 +00:00
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