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>
* 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>
* 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>
* 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
* 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
* 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>
* 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
* 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
* 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