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

473 Commits

Author SHA1 Message Date
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
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
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
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
Dave Conway-Jones
aabba8fe89
bump unicorn package 2022-05-18 16:25:16 +01:00
Dave Conway-Jones
5a5856fced
fix: upgrade pngjs from 2.2.0 to 2.3.1 (#911)
Snyk has created this PR to upgrade pngjs from 2.2.0 to 2.3.1.

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

See this project in Snyk:
https://app.snyk.io/org/dceejay/project/d423d0d8-60aa-4eae-823a-1cbe4be8a581?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2022-05-18 13:27:35 +01:00
Ben Hardill
c833709368
Fix typo in WeMo node (#903)
* Attempt to catch errors from wemo-lookup

This is to catch errors when device is offline

* Put request back

Will look at making it all http.request later

* Fix some messages

* Bump wemo version

* Fix typo
2022-04-18 18:24:06 +01:00
Ben Hardill
2f1f08b070
Bump Wemo version (#901)
* Attempt to catch errors from wemo-lookup

This is to catch errors when device is offline

* Put request back

Will look at making it all http.request later

* Fix some messages

* Bump wemo version
2022-04-18 13:28:48 +01:00
Ben Sykes
145983bc20
Include Content-Length header when POSTing to sockets (#900)
Newer sockets close the connection when starting to write data without this header.
2022-04-18 13:25:21 +01:00
Dave Conway-Jones
996ddd06a7
bump for styling PR 2022-04-05 15:38:35 +01:00
Mauricio Bonani
add039b163
Set text color on the RPi pinTable (#898) 2022-04-04 21:36:06 +01:00
Mike Harsch
f6eae7b905
fix python2 fallback check (#892) 2022-03-11 17:49:55 +00:00
Dave Conway-Jones
bc73218905
add python3.9 check to neopixel install 2022-02-24 17:15:43 +00:00
Dave Conway-Jones
5c333db0dd
run snyk checks and lint packages, bump notify. 2022-01-22 22:23:41 +00:00
Dave Conway-Jones
fa69af298a
Bump to pickup PR and fix python 3 2021-12-12 17:06:24 +00:00
mw75
70ac42463c
fixed check for python2 module while using python3 (#866)
Excellent - thank for that.
2021-12-12 17:05:13 +00:00
Dave Conway-Jones
68ba586074
add check for python3 lib
to close #865
2021-12-08 09:38:50 +00:00
Dave Conway-Jones
d4faa55ab8
tidy up mcp3008 init 2021-11-29 08:49:45 +00:00
Dave Conway-Jones
8d0fdd9fbf
Fix mcp3xxx refs to new variables
to Close #856
2021-11-17 18:08:13 +00:00
Dave Conway-Jones
9f81067d7d
Fix Pi keyboard an mouse events 2021-11-16 22:57:09 +00:00
Dave Conway-Jones
ccdc125818
remove beta from pigpio 2021-11-13 13:50:03 +00:00
Sam Machin
2d28a2304f
Update package.jsons for mono-repo (#851)
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question.  as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository
2021-11-02 15:22:30 +00:00
Dave Conway-Jones
5db644bd57
bump some libs - email, annotate image, core 2021-10-27 14:03:49 +01:00
Dave Conway-Jones
29b8765de1
bump for multiple chip support PR 2021-10-27 13:49:15 +01:00
CD2468
ae4b6bb0bf
Problems with more than one MCP3008 (#823)
* Add files via upload

* Update pimcp3008.js

implementation of the discussion

* Update pimcp3008.js

Co-authored-by: Dave Conway-Jones <dceejay@users.noreply.github.com>
2021-10-27 13:46:00 +01:00
Dave Conway-Jones
c78ac48fa5
Fix MCP3xxx Readme 2021-10-19 20:34:08 +01:00
Dave Conway-Jones
9b2ba970de
Add 3201 to mc3008 node. 2021-10-18 21:21:44 +01:00
JsBergbau
245109940c
PiSrf: Added decimal places option + stop bugfix + more keywords (#816)
* Added decimal places option + bugfix + keywords

Added option to output more decimal places. When no decimal places are configured output stays the same for full backward compatibility.

Fixed bug that on restart flows error "Error stopping node: Close timed out" occured. Also removed sudo, because no need to run code with root rights. On systems where you need password for sudo it wouldn't run then. 

Added Keywords for "HC-SR04" and "SR04", because this module is fully compatible with this node.

* Added decimal places option + bugfix + keywords

Added option to output more decimal places. When no decimal places are configured output stays the same for full backward compatibility.

Fixed bug that on restart flows error "Error stopping node: Close timed out" occured. Also removed sudo, because no need to run code with root rights. On systems where you need password for sudo it wouldn't run then. 

Added Keywords for "HC-SR04" and "SR04", because this module is fully compatible with this node.

* Added decimal places option + bugfix + keywords

Added option to output more decimal places. When no decimal places are configured output stays the same for full backward compatibility.

Fixed bug that on restart flows error "Error stopping node: Close timed out" occured. Also removed sudo, because no need to run code with root rights. On systems where you need password for sudo it wouldn't run then. 

Added Keywords for "HC-SR04" and "SR04", because this module is fully compatible with this node.
2021-07-08 08:32:55 +01:00
Dave Conway-Jones
cdcafbad1d
remove old x-red style for better highlighting 2021-06-23 12:21:19 +01:00
Dennis Gaida
eb8bae6782
blink1: added "blink1 in" node (#812)
* Added "blink1 in" node

* sets msg.payload to current RGB value or "off" if RGB = 0,0,0
* can also be used to pipe msg.payload to blink1 out
* blink1 category created
* blink1 label set to "blink1 out"
* Bumped version to 0.1.0
* Modified readme
2021-06-22 12:39:22 +01:00
Dave Conway-Jones
290b2ea790
fixup pilter and pisrf for python2/3 2021-06-18 08:56:15 +01:00
Dave Conway-Jones
7c4b2593ba
fixup gpio nodes to try to be 100% python 2/3 friendly 2021-06-18 08:28:54 +01:00
Dave Conway-Jones
2bd98c6887
add python 3 tests to most shell scripts 2021-05-09 17:42:26 +01:00
Nathanaël Lécaudé
263031d6c7
node-red-node-physical-web: make it work with newer versions (#799)
* Added msg.advertising = true/false to enable/disable advertising

* Fixed comparison with bool

* physical- web: Added status
Added status (lost, updated, found) as msg.topic.  Added checkbox to allow duplicates or not.

* Re-added optional topic to avoid breaking compatibility

* Cleaner topic slection

* node-red-node-wol: added address field

* node-red-node-wol: remove warning

* node-red-node-wol: bump version

* node-red-node-wol: typo in version

* Ensure service is stopped before being created

* Bump version of node-red-node-discovery to 0.0.19

* node-red-node-discovery: correction to Readme

* node-red-node-discovery: Add stop method and show status

* node-red-node-discovery: bump version to 0.0.20

* node-red-node-discovery: remove status text

* serial: ensure serialReconnectTime has a default value

* physical-web: update dependencies to make it work with recent node versions

* physical-web: update package.json
2021-05-06 15:06:57 +01:00
Ben Hardill
874708dc0d
Fix crash when WeMo devices are powered off (#794)
* Big Update

Includes:
 - New lookup node to check state of a device
 - Fix dimming control for lights
 - Fix light group control
 - Set the node label to match the device name
 - The event now includes the text description of the light capability

* Add extra check for empty results in discovery

* Attempt to catch errors from wemo-lookup

This is to catch errors when device is offline

* Put request back

Will look at making it all http.request later

* Add more error handling and reporting

* Try and not crash with subscriptions

Failed subscriptions will try agian in 1 min

* Fix some messages

* Remove most of the console.logs

* Last of console.logs
2021-04-10 20:02:36 +01:00
Dave Conway-Jones
33bec5f2a2
bump gpiod for de translations 2021-03-25 09:38:21 +00:00
Dave Conway-Jones
bfae27b7f0
Merge branch 'master' of https://github.com/node-red/node-red-nodes 2021-03-25 09:37:21 +00:00
heikokue
7186ee38ff
pi-gpiod: improved/fixed EN localisation and added DE help (#778) 2021-03-25 09:36:48 +00:00