* Use mysql2 lib
* fix pool on acquire event cause MaxListenersExceededWarning (#854)
before: every query need to register pool on acquire event to specify queryFormat based on payload type
will cause MaxListenersExceededWarning
after:
from https://www.npmjs.com/package/mysql#pooling-connections
pool.query is a shortcut for pool.getConnection() -> connection.query() -> connection.release()
so use pool.getConnection and then
set queryFormat before query method be called
Co-authored-by: Dave Conway-Jones <dceejay@users.noreply.github.com>
* fix mysql require
* Add decimalNumbers flag true to mysql beta
* mysql remove old Timeout option, clarify timezone options
* add mysqlConnectionLimit settings option.
Co-authored-by: saknarak <saknarak@gmail.com>
* 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>
* social-pushover: Add "tags" parameter.
Add "tags" for emergency prio (2) messages, so you're able to cancel them by tag. (see doc / Pushover API)
* Add msg.tags to readme.
* 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.
* 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