pi@raspberrypi ~/.node-red/node_modules/node-red-contrib-ui $ bower installbower cached git://github.com/angular/bower-material.git#0.11.4bower validate 0.11.4 against git://github.com/angular/bower-material.git#~0.11.4bower cached git://github.com/klarsys/angular-material-icons.git#0.6.0bower validate 0.6.0 against git://github.com/klarsys/angular-material-icons.git#~0.6.0bower cached git://github.com/angular/bower-angular.git#1.4.7bower validate 1.4.7 against git://github.com/angular/bower-angular.git#>1.3.xbower cached git://github.com/angular/bower-angular.git#1.4.7bower validate 1.4.7 against git://github.com/angular/bower-angular.git#^1.3.0 || >1.4.0-beta.0bower cached git://github.com/angular/bower-angular-animate.git#1.4.7bower validate 1.4.7 against git://github.com/angular/bower-angular-animate.git#^1.3.0 || >1.4.0-beta.0bower cached git://github.com/angular/bower-angular-aria.git#1.4.7bower validate 1.4.7 against git://github.com/angular/bower-angular-aria.git#^1.3.15 || >1.4.0-beta.0bower EACCES EACCES, mkdir '/home/pi/.node-red/node_modules/node-red-contrib-ui/src/public/vendor'
Stack trace:Error: EACCES, mkdir '/home/pi/.node-red/node_modules/node-red-contrib-ui/src/public/vendor'
Console trace:Error at StandardRenderer.error (/usr/local/lib/node_modules/bower/lib/renderers/StandardRenderer.js:82:37) at Logger.<anonymous> (/usr/local/lib/node_modules/bower/bin/bower:110:22) at Logger.emit (events.js:95:17) at Logger.emit (/usr/local/lib/node_modules/bower/node_modules/bower-logger/lib/Logger.js:29:39) at /usr/local/lib/node_modules/bower/lib/commands/index.js:48:20 at _rejected (/usr/local/lib/node_modules/bower/node_modules/q/q.js:844:24) at /usr/local/lib/node_modules/bower/node_modules/q/q.js:870:30 at Promise.when (/usr/local/lib/node_modules/bower/node_modules/q/q.js:1122:31) at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/bower/node_modules/q/q.js:788:41) at /usr/local/lib/node_modules/bower/node_modules/q/q.js:604:44System info:Bower version: 1.6.5Node version: 0.10.36OS: Linux 3.18.7+ arm
sudo chmod u=rwx,g=rwx,o=rwx /home/pi/.node-red/node_modules/node-red-contrib-ui -R
@Walter: I'm not really sure what you mean
- it is hard to see that there is a ui_button (maybe add a line around it)
- I would like to organize where in the page the various groups are placed
- I would like to have a page without the left column (just groups)
- I would like to be able to set the name of the page (currently named Home
- I would like to be able to set the colours for on and off states (currently is red)
- I would like to be able to assign icons to each control (different for on/off states)
- I would like to have a page wide text field control with a scrolling marquee showing various information
Another problem needed to be solved is maybe best visualized in the picture below. I have as example the lights in my garage/carport that is controlled by many functions (scheduled,, sunstate, presence, car approaching etc etc. How can I update the state of your controls? I see that the switch also has an input and I think this could be an idea, to allow other Node-RED events to update the state of your controls.
- it is hard to see that there is a ui_button (maybe add a line around it)
- I would like to organize where in the page the various groups are placed
- I would like to have a page without the left column (just groups)
- I would like to be able to set the name of the page (currently named Home
- I would like to be able to set the colours for on and off states (currently is red)
- I would like to be able to assign icons to each control (different for on/off states)
- I would like to have a page wide text field control with a scrolling marquee showing various information
Another problem needed to be solved is maybe best visualized in the picture below. I have as example the lights in my garage/carport that is controlled by many functions (scheduled,, sunstate, presence, car approaching etc etc. How can I update the state of your controls? I see that the switch also has an input and I think this could be an idea, to allow other Node-RED events to update the state of your controls.
- I would like to organize where in the page the various groups are placed
- I would like to organize where in the page the various groups are placedHow?Drag & Drop ?
- I would like to be able to assign icons to each control (different for on/off states)By control, do you mean switch? Not every control has an "on/off" state. This would be possible. Does this list of icons contains what you would like? (https://klarsys.github.io/angular-material-icons/)That is a nice library (maybe wish if they could be in colors as well like lamp ON = yellow, lamp OFF = black)
It is possible to update the switch state from node-red. It just needs a "boolean" as a payload on the input (true/false). It's what it also outputs.OK, understand, then also other button and slides should have such inputs for synchronization purposes
- I would like to organize where in the page the various groups are placedHow?Drag & Drop ?
- I would like to be able to assign icons to each control (different for on/off states)By control, do you mean switch? Not every control has an "on/off" state. This would be possible. Does this list of icons contains what you would like? (https://klarsys.github.io/angular-material-icons/)That is a nice library (maybe wish if they could be in colors as well like lamp ON = yellow, lamp OFF = black)
It is possible to update the switch state from node-red. It just needs a "boolean" as a payload on the input (true/false). It's what it also outputs.OK, understand, then also other button and slides should have such inputs for synchronization purposes
Could you also add that to the input button?
- I would like to have a page wide text field control with a scrolling marquee showing various information
Could you also add that to the input button? In this way you can trigger the button with false/true message.payload and the button will forward this to it's output for further actions?
Attached is a picture of what I mean (and how I would prefer the page layout)On top you have your heading with the name of the page and below is a control with page wide text field from a "not yet invented" scrolling marquee node. The text is scrolling at a certain speed and direction left or right, both configurable as well as the font size. Since it should be a node, it should be possible to add more than one to a page if needed
Andrei, what about tabs to group groups?To be clear, i have z-wave home automation and most of devices have several controls. Motion sensors have also temperature and light meters, dimmer have slider and on/off control.I've joined all the controls of single device to group. But i have also multiple rooms and want place my devices to corresponding room tab.
First of all: Nicely done!
The music part of the screenshot, with 4 different buttons, that's not something you've implemented/released yet?
I don't see any advantage in doing this. You can connect other outputs to that input you want to trigger. Adding an input to a button would make it seem you can change something on the UI by sending it a message
ReferenceError: io is not defined at WebEvents.connect (events.js:8) at new MainController (main.js:34) at Object.e [as invoke] (angular.min.js:39) at P.instance (angular.min.js:80) at K (angular.min.js:61) at g (angular.min.js:54) at angular.min.js:53 at angular.min.js:20 at n.$eval (angular.min.js:133) at n.$apply (angular.min.js:133)Hi Andrei,....
Temperature: {{msg.payload.temperature}}, From: {{msg.topic}}It is possible to update the switch state from node-red. It just needs a "boolean" as a payload on the input (true/false). It's what it also outputs.
It would be great if there were some additional configuration options on the nodes. Such as being able to define the return values for the switch so that the output could be fed directly into a controller (e.g. "On"/"Off" or "on"/"off", etc.)
Hello,Here is a first pre-alpha version:There is no NPM package yet. I'll wait to get things a bit stable.It needs some more work but it's a place to start from.Let me know what you think and if you run into any issues.Andrei