Nephiel
4f87ebdf0a
Recognize pip installs of RPi.GPIO ( #1934 )
...
Fixes "[warn] rpi-gpio : Cannot find Pi RPi.GPIO python library" when it is installed with pip using the default prefix (/usr/local).
2018-10-23 23:20:44 +01:00
cclauss
4374506981
Define raw_input() in Python 3 & fix time.sleep()
...
* __raw_input()__ was removed in Python 3 in favor of __input()__
* Fix __sleep()__ to match the import on line 22
[flake8](http://flake8.pycqa.org ) testing of https://github.com/node-red/node-red on Python 3.7.0
$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./nodes/core/hardware/nrgpio.py:45:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:63:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:85:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:120:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:134:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:164:24: F821 undefined name 'raw_input'
data = raw_input()
^
./nodes/core/hardware/nrgpio.py:201:17: F821 undefined name 'time'
time.sleep(10)
^
7 F821 undefined name 'raw_input'
7
```
@dceejay
2018-08-15 16:25:58 +02:00
Dave Conway-Jones
4bcf13cb58
Let nrgpio code work with python 3
...
(just in case that becomes default)
2018-07-07 19:01:14 +01:00
Dave Conway-Jones
7dd329b5ee
Add basic loading tests for GPIO nodes
2018-05-22 17:26:52 +01:00
Dave Conway-Jones
b761904424
let Pi nodes be visible/editable on all platforms
...
even where they are not physically available.
2018-05-22 15:48:24 +01:00
Dave Conway-Jones
e123e7b0b0
Fix pi gpio output of boolean to actually send 1/0
...
rather than true/false
2018-02-27 23:26:32 +00:00
Hiroyasu Nishiyama
abe60b62e6
change backquote in info text to <code>...</code>
2018-02-08 23:20:53 +09:00
Nick O'Leary
e2a91d1ea9
Tidy up GPIO pin table presentation
...
Fixes #1328
2017-07-06 00:00:08 +01:00
Dave Conway-Jones
360b0d9997
correct gpis pin 13 typo
...
to address #1314
2017-07-02 20:53:27 +01:00
Dave Conway-Jones
87ac0507d9
and finally fix the gpio labels
2017-07-02 11:07:11 +01:00
Dave Conway-Jones
817f92a50e
refix GPIO - more correctly - backwards compatible
...
existing installations now keep working
2017-07-02 09:59:37 +01:00
Dave Conway-Jones
304be96dd6
stop gpis node reporting bad status message on slow Pi
2017-07-02 00:50:55 +01:00
Dave Conway-Jones
dca553048a
Fix PI gpio to use BCM
2017-07-01 22:42:13 +01:00
Dave Conway-Jones
f6b0459d27
change pin selection table for pi gpis nodes
2017-05-20 02:36:03 +01:00
Dave Conway-Jones
a84efeb5d5
stop using sudo for Pi gpio access
...
(as PI user doesn’t need it) - other users must be in gpio group
2017-05-08 09:04:26 +01:00
Dave Conway-Jones
a3c73a04c2
yet more core node info updates
...
sentiment, gpio, change and range
2017-04-26 21:52:33 +01:00
Nam Giang
b2390f1caf
adding frequency configuration to pwm output ( #1206 )
2017-03-23 21:02:22 +00:00
Dave Conway-Jones
8b31a918a4
Fix Pi GPIO debounce
...
To close #1139
2017-02-27 19:22:02 +00:00
Nick O'Leary
0a96259ddf
Update copyright header for JS Foundation
2017-01-11 15:24:33 +00:00
Dave Conway-Jones
f66c91e18e
different test for Pi (rather than use serial port name)
2016-11-03 08:56:18 +00:00
Dave Conway-Jones
4418fdaed6
gpio node handle multiple bits of data returned in one go
2016-10-25 21:42:27 +01:00
Dave Conway-Jones
fdea19a45b
leave Pi GPIO pins in a sensible state on error
2016-10-11 15:37:34 +01:00
Dave Conway-Jones
a89c7b1a70
Add full path tip to file node, And tidy up Pi node tips
2016-09-23 23:37:56 +01:00
Dave Conway-Jones
53ca3046b3
Add RPi.GPIO lib test for ArchLinux
2016-07-28 18:20:18 +01:00
Nick O'Leary
dc00870461
Fix select box handling in Safari
...
Fixes #928
2016-07-04 11:22:30 +01:00
Dave Conway-Jones
8fe07e0f07
Limit Pi GPIO to dedicated GPIO pins
...
to avoid clashes with internal drivers (e.g. I2C, SPI, AMA0 etc)
2016-06-13 14:23:19 +01:00
Dave Conway-Jones
807873f685
set pi gpio pin status correctly if set on start
2016-05-26 10:37:20 +01:00
Dave Conway-Jones
fed49e3718
pi node - don't try to send data if closing
2016-03-13 10:58:22 +00:00
Dave Conway-Jones
d69bcad028
hardware, logic, storage nodes info updates
...
(and udp)
2016-02-12 13:17:21 +00:00
Dave Conway-Jones
bb06585748
another tidy up on Pi GPIO node
2016-02-03 21:10:44 +00:00
Dave Conway-Jones
72917117a9
Add debounce to Pi GPIO node
2016-01-25 09:56:35 +00:00
Nick O'Leary
f62b7afede
Remove all uses of fs.exists as it is deprecated
...
The tests still use it in places - particular localfilesystem tests,
but those tests need to be redone with sinon stubbing in place and
not rely on real fs operations.
2016-01-06 17:01:11 +00:00
Dave Conway-Jones
8e25e76439
Add hint re servos to Pi GPIO node info
2015-12-23 11:50:47 +00:00
Dave Conway-Jones
86064651af
Add Pi Keyboard code node
2015-12-21 10:27:58 +00:00
Dave Conway-Jones
5b04b86867
remove extraneous s from GPIO node...
2015-12-12 15:18:17 +00:00
Dave Conway-Jones
a074bcfd56
Pi no longer needs root workaround to access gpio
...
(stops PAM logging in Node-RED log under systemd)
2015-12-12 15:13:15 +00:00
Dave Conway-Jones
3b769fd2de
add bash directive to nrgpio script
2015-11-04 08:42:00 +00:00
Dave Conway-Jones
1dbec5eca8
slight tidy of Pi Mouse node
2015-10-20 10:02:57 +01:00
Nick O'Leary
726069bc4b
NLS status text in editor not runtime
2015-07-02 10:49:40 +01:00
Nick O'Leary
9ca102cf81
Ensure error messages are toStringed
2015-07-02 10:49:39 +01:00
Nick O'Leary
203bc41b06
Some more node i18n tidy up
2015-07-02 10:49:38 +01:00
Nick O'Leary
5ea68dafc4
More node i18n tidy ups
2015-07-02 10:49:38 +01:00
Nick O'Leary
94e27dbfc5
Tidy up node i18n
2015-07-02 10:49:38 +01:00
Scott Yoshizawa
2fe859b111
NLS Core nodes
...
NLS exec node
NLS function/temple/delay nodes
NLS function/template/delay/trigger/comment nodes
NLS io nodes (mqtt/httpin/websocket/watch/serial)
NLS messages.json for tcpin
NLS io nodes (tcpin & udp half)
NLS io nodes (udp)
NLS logic nodes (switch/change)
NLS logic (range) and parsers (csv&html) nodes
NLS parser nodes (json/xml)
NLS test case update for logic/parsers
NLS analysis and hardware nodes
NLS storage nodes (file/redisout/mongodb) and test
NLS storage node (tail)
NLS social nodes (feedparse/email/irc)
NLS socal node (twitter half change)
NLS social node (twitter) and core node (unknown)
2015-07-02 10:46:57 +01:00
Dave Conway-Jones
6c8b7c0082
Correct RPi pins labels... and add BCM pins also.
2015-06-24 12:39:27 +01:00
dceejay
d8eb926e2c
Move out several core node to node-red-nodes ready for 0.10.8
...
Update package.json to match.
Part of #668
2015-06-15 20:37:36 +01:00
dceejay
3c2d32b867
Correct incorrect pwm "tip" info for RPI GPIO node
...
Closes #648
Thanks @edent
2015-05-21 17:03:59 +01:00
dceejay
e852d1e57c
remove unrequired require from Arduino node
2015-05-19 10:00:06 +01:00
dceejay
911288e695
Arduino node - improved logging and port error handling.
2015-05-13 22:26:01 +01:00
dceejay
72e1f20383
Arduino - ensure port list populated on start,
...
also allow connect to first found board - by not specifying a port.
2015-05-13 21:59:15 +01:00