89 Commits

Author SHA1 Message Date
juggledad
b9c26b653f
use floor() and ceil() if input is a float and result is an interger - shows bad values in error if in incoming msg 2020-12-02 18:25:25 -05:00
juggledad
48db5bb829
fixed code setting defaults, added floor() and ceil() if result to be integer
I also added a status showing the from and to. This will help people see what is actually being used. i.e you add a random node then attach an inject to send msg.from as 4, you would think the result would be between 4 and 10 but since you did not clear out the 'From' value in the node, the result is from 1 to 10
2020-12-02 06:30:41 -05:00
juggledad
78bb05cc04
Changed code to allow for default values to be used 2020-11-14 06:08:35 -05:00
juggledad
18c3aa737e
added default 'low' and 'high' values when adding the node to a flow 2020-11-14 06:06:04 -05:00
juggledad
b284f86520
Removed status msgs, added a tmp variable, kept parseInt to prevent rounding error when high value has a decimal value 2020-11-13 17:16:43 -05:00
juggledad
3cbbd1b21a
added validation to 'low' and 'high' to prevent anything but a number from being entered. 2020-11-12 16:04:49 -05:00
juggledad
e68d012bf2
added better validation of inputs, added node status 2020-11-12 08:03:23 -05:00
juggledad
85a74b2e78
Had to IF statements broken on two lines, changed it so it's all on one line 2020-10-26 16:49:01 -04:00
juggledad
056429a745
Added note about passing in msg.to and msg.from dynamicly 2020-10-26 04:11:15 -04:00
juggledad
572f1fab5d
added explaination for passing 'To' amd 'From' dynamically 2020-10-26 04:07:09 -04:00
juggledad
970afa760a
Set initial values of 'From' and 'To to "" to allow dynamic overiding them 2020-10-26 04:03:35 -04:00
juggledad
eaa1acf83a
Add option to dynamically pass in 'From' and 'To' - fixed bug when 'From' was greater than 'To' by flipping the two 2020-10-26 04:00:57 -04:00
Dave Conway-Jones
8e45b96ec1
do the x-red thing to smooth node 2020-07-01 11:17:00 +01:00
Dave Conway-Jones
696a99eaa3
bump random node to pickup translations 2020-06-17 18:15:10 +01:00
Kazuhito Yokoi
7cec44d353
Add Japanese translations for random node (#658) 2020-06-17 09:02:47 +01:00
Dave Conway-Jones
cd85fe8df2
Fix RBE greater than change not emitting on first message
And fix missing close tags
2020-05-31 21:52:37 +01:00
Dave Conway-Jones
f069788062
Fix Rbe menu option for NarrowbandEq
bump overall packages
2020-01-14 22:11:57 +00:00
Dave Conway-Jones
c8370e6da5
make RBE info consistent with menu options
to close #620
2020-01-12 16:45:37 +00:00
Dave Conway-Jones
3d60aa4c00
bump sentiment, rbe, email, feedparser, twitter, tail nodes
Locale files moved out
2019-12-05 21:36:59 +00:00
Kazuhito Yokoi
870a2146c0 Move English help to en-US directory (#592)
* Move English help about e-mail node to en-US directory

* Move English help about rbe node to en-US directory

* Move English help about tail node to en-US directory

* Move English help about twitter node to en-US directory

* Move English help about feedparse node to en-US directory

* Move English help about sentiment node to en-US directory
2019-12-05 21:18:59 +00:00
Dave Conway-Jones
4168d48486
datagenerator - add space to label 2019-09-29 12:56:29 +01:00
Dave Conway-Jones
e8a7af18d6
Tidy datagenerator, random and smaz nodes 2019-09-20 21:22:14 +01:00
Dave Conway-Jones
171f78ca5b
Add contributor to smooth node 2019-09-19 09:41:42 +01:00
Dave Conway-Jones
cabf2889e5
Bump Smooth node for PR and add output labels 2019-09-19 09:25:44 +01:00
Ola Tuvesson
38feb99072 Added "reduce" option to the Smooth function node (#577) 2019-09-19 09:11:23 +01:00
Dave Conway-Jones
2e5b526c55
fix rbe edge case of sending when change = 0 in narrowband mode
and add test
to close #569
2019-08-14 21:35:45 +01:00
Dave Conway-Jones
e20cf97fce
A whole bunch of whitespace linting - no functional changes 2019-08-11 13:37:15 +01:00
Nick O'Leary
ff2801ca87
Remove rogue piece of text in random node html 2019-06-21 14:11:09 +01:00
Christoph Burgdorfer
fa7ff87b49 Update Readme.md (#530)
Fix typo
2019-03-28 07:37:54 +00:00
Dave Conway-Jones
e8ee0a1801
fix datagenerator readme 2019-03-06 17:44:06 +00:00
Dave Conway-Jones
a9a4ef9bf9
bump rbe, email, twitter nodes 2018-10-24 15:31:11 +01:00
Kazuhito Yokoi
f97a59b3e3 Update Japanese messages (#499)
* Update Japanese messages

* Fix URL
2018-10-24 12:28:38 +01:00
Dave Conway-Jones
5dbeb23671
fix random readme 2018-09-24 20:03:23 +01:00
Dave Conway-Jones
d32f11910b
clarify random node info language 2018-09-24 19:40:33 +01:00
Dave Conway-Jones
025f97206f
tidy some labels 2018-04-14 22:43:14 +01:00
Dave Conway-Jones
4679077760
Make extra node names more consistent i18n wise 2018-03-30 14:50:51 +01:00
Dave Conway-Jones
4a8f071c91
bump email, feed parser, twilio, sqlite, rbe packages 2018-03-29 09:34:31 +01:00
Kazuhito Yokoi
da96f9e869 Improve Japanese translation in rbe node (#422)
* Improve Japanese translation

* Empty commit to run travis again
2018-03-29 08:49:42 +01:00
Hiroyasu Nishiyama
8ea3969714 Japanese translation of info text for twitter/feedparse/email/rbe nodes (#421)
* add Japanese info text of twitter node

* add Japanese info text of feedparse node

* add Japanese info text of email node

* add Japanese info text of rbe node

* minor fix of Japanese info text of email node

* minor fix of Japanese info text of email node
2018-03-29 08:49:30 +01:00
Dave Conway-Jones
559edcf0f8
fix long standing rbe % change bug (should be abs change)
to close #312
2018-02-08 15:51:57 +00:00
Dave Conway-Jones
be79b6a1c6
add msg.property option to rbe, randon, smooth and base64 nodes 2018-01-30 21:42:14 +00:00
Dave Conway-Jones
032a9d6435
add reset capability to rue node 2017-12-20 16:28:32 +00:00
Dave Conway-Jones
605c2b0fe2
redo rbe fix #335
(no idea why it reverted)
2017-09-11 17:45:45 +01:00
Dave Conway-Jones
e89861f4e3
Fix RBE payload changing downstream (needs cloning before storing) 2017-09-11 17:33:50 +01:00
Dave Conway-Jones
a64d758e18
cleanup datagenerator editor instance 2017-06-24 12:17:18 +01:00
Dave Conway-Jones
d39e033409
bump packages for nom 2017-06-16 07:16:42 +01:00
Kazuhito Yokoi
7bba1bee7e Add Japanese translation file for rbe node(rbe.json) (#336) 2017-06-16 07:15:15 +01:00
Dave Conway-Jones
3add95128d
bump rbe package for nom and fix test 2017-06-13 20:34:01 +01:00
jmikerq
652d857dd6 fix deadbandEQ mode in rbe.js (#335) 2017-06-13 20:32:13 +01:00
Dave Conway-Jones
4768ecc16c
pigpiod html lint === 2017-05-24 19:45:31 +01:00