On Sat, Apr 30, 2016 at 12:03 PM, Wally Bkg <[email protected]> wrote:
> Playing around with tail -f, it turned out the unwanted node-red behavior > was because I forgot to call fflush(). > > This didn't matter for the usage it was originally written for. After a > quick recompile of the client after adding fflush() I can make very good > use of this as a rapid prototype as it is by using the BBG as a middleman, > but its probably better I modify the original BBW IOT application to use > libmosquito to send message to the broker as my monitoring client exposes > all the state variables, many of which are of no use to a client and were > only included for test/debug purposes in the client. > > But my first "real use" of node-red has to be scored a success and it > delivered a lot of functionality for minimal effort. > > Down the road I'll decide if its easier to mod the IOT app to use > libmosquito or swap in a new SD card (physical access issues with the BBW). > > Thanks again for all the help! > Still works here: root@beaglebone:~# apt-get install npm bb-node-red-installer Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libmagic1 Use 'apt-get autoremove' to remove it. 0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded. Need to get 358 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://repos.rcn-ee.com/debian/ jessie/main bb-node-red-installer all 0.13.4-0rcnee1~bpo80+20160321+1 [4140 B] Get:2 http://ftp.us.debian.org/debian/ jessie/main npm all 1.4.21+ds-2 [354 kB] Fetched 358 kB in 0s (737 kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory (Reading database ... 22326 files and directories currently installed.) Preparing to unpack .../bb-node-red-installer_0.13.4-0rcnee1~bpo80+20160321+1_all.deb ... Unpacking bb-node-red-installer (0.13.4-0rcnee1~bpo80+20160321+1) over (0.13.4-0rcnee1~bpo80+20160321+1) ... Preparing to unpack .../npm_1.4.21+ds-2_all.deb ... Unpacking npm (1.4.21+ds-2) over (1.4.21+ds-2) ... Setting up bb-node-red-installer (0.13.4-0rcnee1~bpo80+20160321+1) ... bb-node-red-installer:npm: [1.4.21] bb-node-red-installer:node: [v0.10.42] bb-node-red-installer:Installing: systemd-0.2.6 (for node-red) [email protected] /usr/local/lib/node_modules/systemd bb-node-red-installer:Installing: node-red-0.13.4 (for node-red) > [email protected] install /usr/local/lib/node_modules/node-red/node_modules/bcrypt > node-gyp rebuild make: Entering directory '/usr/local/lib/node_modules/node-red/node_modules/bcrypt/build' CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node COPY Release/bcrypt_lib.node make: Leaving directory '/usr/local/lib/node_modules/node-red/node_modules/bcrypt/build' - > [email protected] install /usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate > node-gyp rebuild make: Entering directory '/usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate/build' CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/obj.target/validation.node COPY Release/validation.node make: Leaving directory '/usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate/build' \ > [email protected] install /usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil > node-gyp rebuild make: Entering directory '/usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node COPY Release/bufferutil.node make: Leaving directory '/usr/local/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil/build' npm WARN engine [email protected]: wanted: {"node":">=0.12"} (current: {"node":"0.10.42","npm":"1.4.21"}) npm WARN engine [email protected]: wanted: {"node":">=0.12"} (current: {"node":"0.10.42","npm":"1.4.21"}) npm WARN deprecated [email protected]: you can use npm install i18next from version 2.0.0 \ > [email protected] install /usr/local/lib/node_modules/node-red/node_modules/node-red-node-serialport/node_modules/serialport > node-pre-gyp install --fallback-to-build make: Entering directory '/usr/local/lib/node_modules/node-red/node_modules/node-red-node-serialport/node_modules/serialport/build' CXX(target) Release/obj.target/serialport/src/serialport.o CXX(target) Release/obj.target/serialport/src/serialport_unix.o CXX(target) Release/obj.target/serialport/src/serialport_poller.o SOLINK_MODULE(target) Release/obj.target/serialport.node COPY Release/serialport.node make: Leaving directory '/usr/local/lib/node_modules/node-red/node_modules/node-red-node-serialport/node_modules/serialport/build' /usr/local/bin/node-red-pi -> /usr/local/lib/node_modules/node-red/bin/node-red-pi /usr/local/bin/node-red -> /usr/local/lib/node_modules/node-red/red.js [email protected] /usr/local/lib/node_modules/node-red ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ├── [email protected] ([email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected]) ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected]) └── [email protected] ([email protected]) bb-node-red-installer:Installed Setting up npm (1.4.21+ds-2) ... root@beaglebone:~# cat /etc/dogtag BeagleBoard.org Debian Image 2015-11-29 Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYgbDhGTfGCr8dgF8VEXGoGgV9Aoz-jiJCKNYw6qt6Xx0w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
