Commit Graph

484 Commits

Author SHA1 Message Date
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
Dave Conway-Jones 1552575388
bump pilcd for de translations 2021-03-25 09:35:29 +00:00
heikokue 57f552b7fc
PiLcd node: improved EN help and added DE help (#777) 2021-03-25 09:34:19 +00:00
Dave Conway-Jones 3330053a1c
bump sensehat , irc, and twitter nodes for German translation 2021-03-14 14:10:26 +00:00
Dave Conway-Jones e674f9ad97
cleanup some old x-red label - no new node versions 2021-03-13 14:25:45 +00:00
Dave Conway-Jones 169be33591
bump tail, sqlite, email, feedparser, pigpiod for German translations 2021-03-13 14:15:58 +00:00
heikokue 80b9316d92
added/improved DE translation of forms (#765) 2021-03-12 13:23:26 +00:00
heikokue 0772b545ea
added i18n help files (#766) 2021-03-12 13:17:23 +00:00
heikokue 8bce52a2f4
fixed i18n of node pi-gpiod (wrong cross-reference to node PiGpio, moved "dual use" to i18n, seconds unit) (#764) 2021-03-11 20:30:57 +00:00
Dave Conway-Jones 67fee810eb
fix topic to be clear what it is (gpio not pin) 2021-02-11 11:02:00 +00:00
Dave Conway-Jones 8fa4fbef5f
Change GPIO nodes to use BCM rather than pins 2021-02-09 11:44:11 +00:00
bartbutenaers 0d0c88d19e
Wemo insight power parameters (#739)
* Insight power parameters

* Insight power parameters

* Insight power parameters

* Insight power parameters

* Insight power parameters

* Bump version 0.2.0
2021-01-29 16:28:04 +00:00
Dave Conway-Jones 3a007399f6
Add frequency select to pigpiod node 2021-01-26 18:52:41 +00:00
Dave Conway-Jones 3bc16fbd55
Bump up libraries for "old" blinkstick 2021-01-17 17:29:15 +00:00
Tod E. Kurt 010669037a
update node-blink1 library (#734) 2021-01-14 19:09:57 +00:00
Dave Conway-Jones edc640be4d
Update 36-rpi-gpio.js 2021-01-12 12:42:41 +00:00
Ben Hardill 9c805f43fa
Bump version number of pi-gpiod node (#732)
* Update pi-gpiod.html

Corrected URL for pigpiod web page (lines 174 / 420)

To close #729
2021-01-12 10:13:12 +00:00
Dave Conway-Jones 0ac07a1c6f
update neopixel info 2020-12-12 17:18:18 +00:00
Dave Conway-Jones 8130f8c007
add extra gpoio support to neopixel node 2020-12-12 14:26:31 +00:00
Dave Conway-Jones 9e948b9fdf
bump gpio version 2020-12-04 13:48:40 +00:00
Dave Conway-Jones 8c7409d041
let pi keyboard to retry connection 2020-12-04 13:47:29 +00:00
Dave Conway-Jones 91217d6e62
allow mcp node to be visible when not in Pi
mark as inactive status
to close #718
2020-12-01 23:43:48 +00:00
Dave Conway-Jones 9e7a8d5764
bummp twitter and pi-gpio packages for recent PRs 2020-11-16 14:58:54 +00:00
Takayoshi Kawamorita 906a48fa61
The problem that the input contents disappear when multiple keys are input at the same time. (#717) 2020-11-16 14:54:48 +00:00
Kazuhito Yokoi 770ad94e95
Add Japanese translations for Sense HAT node (#704) 2020-10-23 16:12:49 +01:00
Dave Conway-Jones d26cb057f9
add host property to outgoing msg
to close #687
2020-09-15 16:12:03 +01:00
Dave Conway-Jones 2625022fbc
bump pigpio package for env variable pin setting pr 2020-08-31 10:48:48 +01:00
Pablo Acosta-Serafini 0b4c1ff977
Enable the use of environment variables to define GPIO pin number (#676)
* Enable the use of environment variables to define GPIO pin number

* Pin field moved below table. Field width made the same as table. Restored
fa-icon and "Pin" label. Closed validation escapes.
2020-08-31 10:45:41 +01:00
Ben Hardill 34262e2fb0
Adding extra error checking for response from devices (#672) 2020-08-17 21:43:12 +01:00
Nick O'Leary 98d5df965c
[sensehatsim] Add support for scrolling text 2020-06-18 00:44:53 +01:00
Dave Conway-Jones 34fc79ddb6
Bump piLcd package after tidy up 2020-06-15 23:20:46 +01:00
Kazuhito Yokoi 84c5c6cb30
Add Japanese translations for pilcd node (#657) 2020-06-15 23:11:53 +01:00
Dave Conway-Jones 05a9312905
fix gpio initial read timing and order 2020-05-09 16:51:22 +01:00
Dave Conway-Jones 3caf92ffc3
fic link in pibrella readme
to close #652
2020-05-08 13:52:01 +01:00
Dave Conway-Jones 055be01332
pi gpio - bump to include msg complete capability 2020-04-21 11:49:41 +01:00
Hiroyasu Nishiyama 67c3d251e4
add complete node support to gpio out node (#647) 2020-04-21 11:46:03 +01:00
Ben Hardill 436f169fd4
More Wemo update (#631)
* Reduce resubscription time

Halve the resubscrciption timeout to make sure event
subscriptions get renewed

* 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

* Fix groups properly

* Fix travis error with comparitor

* Bump node-ssdp version

* Add extra check for empty results in discovery

* Bump twitter to 280 chars

fixes #371

* Bump twitter node version

* Remove extra whitespace

* Add catch for HTTP timeout

If the device drops off line then with no catch for the timeout
Node-RED will crash

Should fix #616

* More timeout catch blocks

* Version bump

* Bump Wemo version
2020-04-11 10:47:47 +01:00
Dave Conway-Jones bf1c5abd7d
Merge branch 'master' of https://github.com/node-red/node-red-nodes 2020-04-10 22:44:55 +01:00
Dave Conway-Jones 0b590236a0
bump some node-red-node deps and packages
some due to  long outstanding doc PRs
2020-04-03 22:29:43 +01:00
Kazuhito Yokoi 7c759e10dd
Add and remove namespaces for i18n (#627)
* Add necessary name spaces for i18n

* Remove unnecessary name spaces for i18n
2020-04-03 22:12:22 +01:00
Ben Hardill 6c446a96f2
Add HTTP timeout handler to Wemo nodes. (#629)
* Reduce resubscription time

Halve the resubscrciption timeout to make sure event
subscriptions get renewed

* 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

* Fix groups properly

* Fix travis error with comparitor

* Bump node-ssdp version

* Add extra check for empty results in discovery

* Bump twitter to 280 chars

fixes #371

* Bump twitter node version

* Remove extra whitespace

* Add catch for HTTP timeout

If the device drops off line then with no catch for the timeout
Node-RED will crash

Should fix #616
2020-02-19 12:21:44 +00:00
Dave Conway-Jones 878a709082
change pigpio text/x-red to text/html 2020-01-28 18:09:31 +00:00
Dave Conway-Jones 878f511d0e
Stop arduino nodes warning about MaxEmitters
when more than 10 nodes in use
2019-12-03 21:38:33 +00:00
Dave Conway-Jones 61c0826261
update arduino node for node12 2019-11-13 21:52:01 +00:00
Dave Conway-Jones ca88faa7ca
Fix arduino nodes servo/pwm output to reduce jitter
to close #584
2019-10-22 22:05:49 +01:00
Dave Conway-Jones 3dfae60b2f
Fix pi-gpio pintable css 2019-10-06 11:59:13 +01:00
Dave Conway-Jones 4979ad8966
fix gpio node ok status label 2019-10-06 09:51:26 +01:00
Dave Conway-Jones 8c767709a5
fix serialport error message 2019-09-26 22:27:53 +01:00
Dave Conway-Jones 75df218a23
fix mcp3008 to close only the channels it has 2019-08-12 15:40:30 +01:00
Dave Conway-Jones e20cf97fce
A whole bunch of whitespace linting - no functional changes 2019-08-11 13:37:15 +01:00
Dave Conway-Jones 68178cd93c
Merge branch 'master' of https://github.com/node-red/node-red-nodes 2019-08-06 19:25:24 +01:00
Dave Conway-Jones d716924929
bump package level for boolean fix. 2019-08-03 19:55:00 +01:00
cymplecy 6efe530888 Send out (msg.payload converted to 1/0) instead of msg.payload (#562)
Re https://discourse.nodered.org/t/node-red-node-pi-gpiod-true-false-vs-0-1/13941/10?u=cymplecy
2019-08-03 19:52:50 +01:00
Dave Conway-Jones 6030b45735
Add missing gpio en-US help file 2019-07-10 09:59:07 +01:00
Dave Conway-Jones 5c322cfd57
Add missing language files
bump package
2019-07-10 09:52:31 +01:00
Dave Conway-Jones 791321f1e9
fully disable gpio debounce if required 2019-07-10 09:52:09 +01:00
Dave Conway-Jones fef734486f
Add initial markdown node
(not quite ready for prime time)
2019-07-05 18:53:25 +01:00
Dave Conway-Jones 1ea7885b58
bump wemo node
slight tidy of readme
2019-07-02 20:17:43 +01:00
Robert Leach d9ea55d3b2 Visually separated the list of control values from the example. (#552)
* Visually separated the list of control values from the example.

This will aid people who are quickly skimming the readme. There wasn't anything wrong in the doc. Everything would be clear if the reader is reading thoughtfully. But if they're skimming and looking for what to supply to the node for the first time, their eye is drawn to the JSON example.  Since many nodes accept JSON input, and supplying `{"state": "off"}`, `{"state": 0}`, or `{"state": 1}` works, it might take them awhile to realize their oversight.

* Clarification

* Update README.md

* Update README.md
2019-07-02 20:08:12 +01:00
Dave Conway-Jones 8cf3c8b990
remove node.done calls to tidy up
bump packages
2019-06-27 22:26:50 +01:00
Dave Conway-Jones f32f578c09
update gpio readme files 2019-06-24 22:19:24 +01:00
Dave Conway-Jones 8d5ec9b3f6
Add readme and better test for library 2019-06-24 21:57:57 +01:00
Dave Conway-Jones b74aacd266
Let gpiod turn off output in servo mode by sending null or ""
to close #543
2019-05-26 15:39:55 +01:00
Dave Conway-Jones bd563a7217
update Pi gpio German translations 2019-05-20 21:07:53 +01:00
Dave Conway-Jones a172c8178d
Move Pi GPIO nodes to this repo 2019-05-20 19:35:05 +01:00
Dave Conway-Jones cb6d147680
Arduino node tidy internal status 2019-04-24 14:07:01 +01:00
Dave Conway-Jones 8d45e85acf
arduino node - slight tidy, fix node declaration
to close #535
2019-04-15 17:28:55 +01:00
Dave Conway-Jones a475b67a19
reduce Arduino error messages on failed connect 2019-04-11 16:35:02 +01:00
Dave Conway-Jones 41acbf5af7
Let Arduino node reconnect
To close #532
2019-04-10 09:57:16 +01:00
Dave Conway-Jones 3d12a5318f
fix pi-gpiod labels 2019-03-14 14:00:40 +00:00
Dave Conway-Jones c1650b5d47
Bump arduino node to latest firmata and serialport
shoudl work better with nodejs 10
2019-02-12 22:44:21 +00:00
Dave Conway-Jones b75f12aced
piSRF - better handle timeouts, closing 2018-11-28 09:18:18 +00:00
Dave Conway-Jones b34338357f
neopixel - reallign tabs... 2018-11-26 08:30:22 +00:00
Dave Conway-Jones 7f44a2af3d
Neopixel Add 0mS timeout option for instant updates
Thanks @cymplecy
2018-11-25 18:44:01 +00:00
Dave Conway-Jones e1e5432ac6
revert srf node to not use edges
seems more reliable to me... :-)
2018-11-11 22:36:42 +00:00
Nick O'Leary 1f34239fbb
Merge branch 'master' of github.com:node-red/node-red-nodes 2018-09-26 16:06:38 +01:00
Nick O'Leary 010e8aa9b3
Fixup sensehat to not use sudo if not needed 2018-09-26 16:06:16 +01:00
Dave Conway-Jones b0d98cca01
check for correct version of neopixel library 2018-09-23 20:32:11 +01:00
Dave Conway-Jones 23ba609653
Add SPIdev choice to mcpxxxx node 2018-09-21 13:53:08 +01:00
Dave Conway-Jones 949bbe95cd
couple of file permissions and rm node6 2018-09-06 21:33:14 +01:00
Dave Conway-Jones 6613513d64
bump unicornhat package 2018-08-15 14:28:50 +01:00
cclauss e57223f1a8 Run flake8 linter on python code (#474)
* Run-flake8-linter-on-Python-code

* Remove hardware/unicorn/scripts/checklib.js
2018-08-15 14:18:33 +01:00
Dave Conway-Jones b94e3eb5fd
bump packages with python 2/3 fix 2018-08-12 22:23:19 +01:00
cclauss 8fe2478a0b Define raw_input() in Python 3 (#473)
Many thanks
2018-08-12 18:58:11 +01:00
Dave Conway-Jones f3b0e2277d
update blinkstick links to colors
To close #427
2018-08-11 14:00:26 +01:00
Dave Conway-Jones b4fca36ab6
let python sub processes use python3 2018-07-07 19:24:35 +01:00
Dave Conway-Jones 88f7f52f99
Add pullup option to Arduino digital input
to Close #455
2018-06-27 21:36:06 +01:00
Dave Conway-Jones 044d008e65
bump neopixel node version for npm
to go with pr #453
2018-06-13 22:12:33 +01:00
cymplecy c511cf6ae7 Change DMA from 5 to 10 (#453)
I mentioned this a while ago
Following changes to Pi firmware/kernel, the DMA channel 5 is not reliable for use anymore.  Other repositories have changed to use channel 10.  https://github.com/jgarff/rpi_ws281x/pull/266/commits

 I've been running 3 of my Pi on DMA 10 (1 new Pi3B+ and 2 older PiZeros running Jessie) for 2 months now without any issues so I'm making this pull request now
2018-06-13 22:09:55 +01:00
Dave Conway-Jones 6b2b0738cb
bump sense hat package 2018-05-30 11:16:38 +01:00