Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a simple openzwave control panel with Node-Red-Dashboard #44

Open
robertsLando opened this issue Dec 1, 2017 · 4 comments
Open

Comments

@robertsLando
Copy link
Member

Here is the link to the flow: https://flows.nodered.org/flow/41ae75dbfbe6465d5cf40248e2500e0a

Enjoy 😄

@ekarak
Copy link
Member

ekarak commented Dec 15, 2017

Nice! I think of adding it into the documentation for people to quickly get started with OpenZWave on NodeRed. Can you please add some links to the extra nodes you're using (like the ui-stuff)? Even better, can you open up a pull request with instructions for beginners as how to install these extra nodes?

@robertsLando
Copy link
Member Author

robertsLando commented Dec 15, 2017

'ui-stuff' nodes are node-red-dashboard nodes, the official dashboard of node-red. It can be installed from node-red manage-palette or by simply run npm install node-red-dashboard command in your node-red install directory.

The 'hardest part' is to install and compile open-zwave libraries. I had lot problems while I have started my project because I was using last Raspbian Stretch image, I had to use Raspbian Jessie than everything has start working perfectly.

I think this can be enought to use the flow I have provided, If you need any other info let me know.

@ekarak
Copy link
Member

ekarak commented Dec 16, 2017

you're right. It seems that the node-red-contrib-ui is deprecated in favour of node-red-dashboard.
I've now got your flow running (under Stretch btw) but I'm still having some (css?) issues, as the node template won't play the valueIDs:
default

@robertsLando
Copy link
Member Author

Are you using last node-red-dasboard and node-red version? I think the problem maybe is the dimension of the widget that contains the ui-template. Check that the dimensions of ui-template is not 'Auto' but a fixed value (try with 18x24) because dimension is calculated based on ui-template content but at init template has no content and so the dimension is 0x0 than it is not updated. To set the width of the widget > 6 you have to check that the ui-group that contains the ui-widget has the width you need (default it's 6)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants