Forgot to say, you must be running Node-RED 0.14 to use node-red-dashboard - now would be a good time to upgrade to 0.14.5 we released at the weekend. It should be on the Pi any day now.
Nick
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
For more options, visit https://groups.google.com/d/optout.
The only thing that isn't working for me is that only the "light" theme is used, even if the "dark" theme is selected
I'm also not getting a difference when I change to dark theme.
Bruce
What would the gauge show of the total keeps increasing ? Could it not show % complete ? (And do the maths in a function beforehand). And then have the total as a text box underneath ?
Well, ideally we wouldn't need the template node, but we know a lot of contrib-ui users used it to do stuff that the basic nodes couldn't, so we couldn't just remove it... Hopefully the base widgets should improve to handle more of the use cases currently caught by it. And you all are already sending in suggestions.
Happy for anyone to help improve docs, examples, etc, either directly or via blog posts, snipers, flows site ...
We based the project on the dev branch of contrib-ui, as it had some of Andrei's thinking about re-sizing, and other ideas. It had removed radio buttons so we went with it.
Welcome to Node-RED
===================
30 Jul 23:47:43 - [info] Node-RED version: v0.13.3
30 Jul 23:47:43 - [info] Node.js version: v0.10.29
30 Jul 23:47:43 - [info] Linux 4.1.18-v7+ arm LE
30 Jul 23:47:43 - [info] Loading palette nodes
pi : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/python -u /usr/lib/node_modules/node-red/nodes/core/hardware/nrgpio.py info
pam_unix(sudo:session): session opened for user root by (uid=0)
pam_unix(sudo:session): session closed for user root
30 Jul 23:47:49 - [info] Dashboard up and running
30 Jul 23:47:55 - [warn] ------------------------------------------
30 Jul 23:47:55 - [warn] Failed to register 1 node type
30 Jul 23:47:55 - [warn] Run with -v for details
30 Jul 23:47:55 - [warn] ------------------------------------------
30 Jul 23:47:55 - [info] Settings file : /home/pi/.node-red/settings.js
30 Jul 23:47:55 - [info] User directory : /home/pi/.node-red
30 Jul 23:47:55 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
30 Jul 23:47:55 - [info] Server now running at http://127.0.0.1:1880/
30 Jul 23:47:55 - [info] Waiting for missing types to be registered:
30 Jul 23:47:55 - [info] - ui_tab
30 Jul 23:47:55 - [info] - ui_chart
30 Jul 23:47:55 - [info] - ui_text
30 Jul 23:47:55 - [info] - ui_button
30 Jul 23:47:55 - [info] - ui_link
30 Jul 23:47:55 - [info] - ui_switch
30 Jul 23:47:55 - [info] - ui_gauge
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
Yaaahhhhiiii !Thanks Nick, also upgraded to pre-release 2 days ago. Smooth and Good !
[{"id":"14533ec9.ef3501","type":"function","z":"6844b02f.2f6e5","name":"Create 2 values","func":"ValueToLine1 = Math.round(Math.random()*10*100)/100;\nValueToLine2 = Math.round(Math.random()*10*100)/100;\n\nline1 = { topic: 'line1', payload: ValueToLine1 };\nline2 = { topic: 'line2', payload: ValueToLine2 };\n \nreturn [line1, line2];","outputs":"2","noerr":0,"x":302.8571319580078,"y":984.7143335342407,"wires":[["c67830d2.27318"],["c67830d2.27318"]]},{"id":"45bddc94.58aa04","type":"inject","z":"6844b02f.2f6e5","name":"","topic":"","payload":"","payloadType":"date","repeat":"5","crontab":"","once":false,"x":111.85713195800781,"y":984.7143335342407,"wires":[["14533ec9.ef3501"]]},{"id":"c67830d2.27318","type":"ui_chart","z":"6844b02f.2f6e5","group":"25555de.b146da2","order":2,"width":"","height":"","label":"","name":"multi chart","interpolate":"cardinal","nodata":"No Data","ymin":"","ymax":"","removeOlder":1,"removeOlderUnit":"60","x":522.8571319580078,"y":984.7143335342407,"wires":[[],[]]},{"id":"25555de.b146da2","type":"ui_group","z":"","name":"Examples","tab":"6548f53a.48923c","order":1,"disp":true,"width":"6"},{"id":"6548f53a.48923c","type":"ui_tab","z":"6844b02f.2f6e5","name":"Test","icon":"school","order":2}]
Paul, until you mouse over one of the points. The floating tip reveals the topic/data.
<UL> <li>Description: {{msg.payload.Description}}</li> <li>Today's Forecast: {{msg.payload.Todays_Forecast}}</li> <br /> <li>Temperature: {{msg.payload.Temperature}}°C</li> <li>Feels Like: {{msg.payload.Feels_Like}}°C</li> <li>Dew Point: {{msg.payload.Dew_Point}}°C</li> <li>Heat Index: {{msg.payload.Heat_Index}}</li> <br /> <li>Humidity: {{msg.payload.Humidity}}%</li> <br /> <li>Cloud Cover: {{msg.payload.Cloud_Cover}}%</li> <br /> <li>Precipitation: {{msg.payload.Precipitation}}</li> <li>Precipitation Probability: {{msg.payload.Precip_Prob}}%</li> <li>Precipitation Type: {{msg.payload.Precip_Type}}</li> <br /> <li>Pressure: {{msg.payload.Pressure}}mb</li> <li>Pressure Sealevel: {{msg.payload.Pressure_Sealevel}}mb</li> <br /> <li>Wind Speed: {{msg.payload.Wind_Speed}}mph</li> <li>Wind Bearing: {{msg.payload.Wind_Bearing}}°</li> <br /> <li>Updated: {{msg.payload.timestamp}}</li></UL>
<div layout="row" layout-align="space-between center" id="{{dev.topic}}" ng-repeat="dev in devTracker track by dev.topic" ng-class="$dev.containerClass ? 'rpt-container' : 'rpt-container1'"> <p flex >{{dev.topic}}</p> <ng-md-icon icon="wb_sunny" size="32" title="Last Updated {{dev.lastUpdate}}" ></ng-md-icon></div> <script>// | orderBy:'topic'//ng-style="{fill:(dev.payload==='Offline')?'red':'black'}"
;(function(scope) { scope.devTracker = {}
scope.$watch('msg', function(newVal, oldVal) { //console.dir(oldVal) //console.dir(newVal) // Wrap in try because first execution may be initial when msg is empty //try { //console.log('here %s, %s', newVal.topic, newVal.payload) var t = newVal.topic.split('/') newVal.topic = t[t.length - 1] newVal.lastUpdate = new Date() //newVal.containerClass = ! scope.devTracker[newVal.topic].containerClass //console.log( "Container Class: %s", newVal.containerClass) scope.devTracker[newVal.topic] = newVal if ( 'count' in scope.devTracker[newVal.topic] ) { scope.devTracker[newVal.topic].count += 1 } else { scope.devTracker[newVal.topic].count = 1 } //} catch (e) { // Nothing to do //} console.dir(scope.devTracker) })})(scope)</script>
<style> .rpt-container { opacity:1.0; } .rpt-container { opacity:0.1; } .rpt-container.ng-add { opacity:1; background-color:red; } .rpt-container.ng-remove { opacity:0.8; background-color:blue; } .rpt-container.ng-enter { -webkit-transition:20s linear all; -moz-transition:20s linear all; -o-transition:20s linear all; transition:20s linear all; opacity:1; } /* The ng-enter-active and ng-move-active are where the transition destination properties are set so that the animation knows what to animate. */ .rpt-container.ng-enter.ng-enter-active { opacity:0.1; }</style>
<p>The numbers correspond to the numbers written on the plugs.</p><p>The number/letter combinations correspond to the labels on the white remote controls. The letter is for the slider beneath the buttons. <br>Note: the un-numbered pair of buttons on the remote turns off/on the 3 lights in the hall and landing.</p><p>The name tells you where the plug is and/or what is normally plugged into it.</p>
[{"id":"2f7d7fb7.9ae8d","type":"inject","z":"68da610e.9725a","name":"inject narrow","topic":"","payload":"<img src=\"http://i.giphy.com/FQaQtdbLnk676.gif\">","payloadType":"str","repeat":"","crontab":"","once":false,"x":341,"y":2930,"wires":[["3d2054da.c2dfac"]]},{"id":"3d2054da.c2dfac","type":"ui_template","z":"68da610e.9725a","group":"2d0a3989.1ab9e6","name":"Dynamic Inject Test","order":1,"width":"","height":"","format":"<div ng-bind-html=\"msg.payload\"></div>","storeOutMessages":true,"fwdInMessages":true,"x":559.3958129882812,"y":2921.33349609375,"wires":[[]]},{"id":"2d0a3989.1ab9e6","type":"ui_group","z":"68da610e.9725a","name":"Default","tab":"b5bad9f8.8a5918","disp":true,"width":"12"},{"id":"b5bad9f8.8a5918","type":"ui_tab","z":"68da610e.9725a","name":"Dynamic Injection Test","icon":"dashboard"}]
None of my switch nodes had their labels set after the update and most were set to a custom icon instead of default though I don't think that I had changed anything. The switch names were correct but the labels blank.
...
--http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
For more options, visit https://groups.google.com/d/optout.
On 11 August 2016 at 18:07, Julian Knight <j.kni...@gmail.com> wrote:
Yes, I'm sure there is lots to tweak. I couldn't easily see how to change the v-size though, is it just set with "height" or "max-height"?--
On Thursday, 11 August 2016 14:32:40 UTC+1, Dave C-J wrote:Hi Julian, no worries,The new template (if set to auto size) tries to work out the vertical size of the contents and scales to fit.. - obviously needs a bit of a tweak. You can always override the vertical size manually if you need to.For dynamic content then yes it should also re-size - so I will look at that - currently a browser refresh does seem to let the video fit.
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
For more options, visit https://groups.google.com/d/optout.
--regards
Dave Conway-Jones