Mlatx Posted December 11, 2017 Share Posted December 11, 2017 (edited) Is couchdb 2.x setup correctly? Under databases on the web interfaces, you are supposed to get a _users database but no pre defined database shows. In addition, hitting the setup as single node button does nothing. Also, is there any chance to get couchdb 2.1.1? I'm trying to sync a large database, and it is constantly freezing. I'm wondering if this is configured correctly. Thanks. Edited December 11, 2017 by Mlatx Quote Link to comment
spants Posted December 12, 2017 Author Share Posted December 12, 2017 On 11/12/2017 at 6:32 AM, Mlatx said: Is couchdb 2.x setup correctly? Under databases on the web interfaces, you are supposed to get a _users database but no pre defined database shows. In addition, hitting the setup as single node button does nothing. Also, is there any chance to get couchdb 2.1.1? I'm trying to sync a large database, and it is constantly freezing. I'm wondering if this is configured correctly. Thanks. I will take a look at this for you. I use 2.0.0 and have a _users db. I see that the registry moved hence the upgrade to 2.1.1 didnt happen. My template just fronts the dockers built by klaemo. It may take a day or two as I am travelling at the moment. Tony Quote Link to comment
spants Posted December 13, 2017 Author Share Posted December 13, 2017 (edited) @Mlatx I have just changed the couchdb v2 template so it should be picked up soon. If you cant wait, click edit on the icon and change the Repository to apache/couchdb Edited December 13, 2017 by spants Quote Link to comment
Mlatx Posted December 13, 2017 Share Posted December 13, 2017 Thanks. I'll check it out soon. Also, I figured out why the _users db wasn't being generated. It's because when I clicked on single node configuration in the last template nothing happened. I downloaded couchdb 2.1.1 to a local test setup, and upon clicking single node the change took and the db was setup. So hopefully this new template works as expected. I'll report back if not. Quote Link to comment
Mlatx Posted December 13, 2017 Share Posted December 13, 2017 @spants I'm still having an issue with this setup when it comes to configuring single node. Once you put the parameters in and click configure node, it should give you a message that it successfully completed where it then creates the _users and other db's. Nothing is happening when I click on the green button "configure node." Is that an issue in the template? Quote Link to comment
spants Posted December 13, 2017 Author Share Posted December 13, 2017 (edited) 3 minutes ago, Mlatx said: @spants I'm still having an issue with this setup when it comes to configuring single node. Once you put the parameters in and click configure node, it should give you a message that it successfully completed where it then creates the _users and other db's. Nothing is happening when I click on the green button "configure node." Is that an issue in the template? Nothing to do with the template as it just deploys the (semi)official docker image, thats all..... Here are the docs for it: https://github.com/apache/couchdb-docker . Can you see if this helps? Edited December 13, 2017 by spants Quote Link to comment
Mlatx Posted December 13, 2017 Share Posted December 13, 2017 Safari was the problem. I finished the setup in Firefox. Who would have thought. Quote Link to comment
live4soccer7 Posted December 18, 2017 Share Posted December 18, 2017 Can dashing accept user input to pass on to the MQTT broker? or is it really just for displaying data? Quote Link to comment
live4soccer7 Posted December 20, 2017 Share Posted December 20, 2017 What does your guys' data flow look like mostly? I see you have a couchDB spants, where are you fitting that in the picture? I'm overhauling my system since it has been a couple years and I've moved physical locations and trying to get a good handle on a solid way for everything to flow. Device --> MQTT (direct to node red, if not MQTT device) --> Node-Red --> End User Dash? Quote Link to comment
spants Posted December 21, 2017 Author Share Posted December 21, 2017 (edited) I use: device -> mqtt -> node red -> influxdb -> grafana (dashboard) alexa -> node red -> (custom skills) I havent used Dashing for a while.... Data is still being sent to CouchDB but I may switch that off as I'm not really using it. Tony Edited December 21, 2017 by spants Quote Link to comment
live4soccer7 Posted December 21, 2017 Share Posted December 21, 2017 Thanks! I really appreciate it. Quote Link to comment
live4soccer7 Posted December 21, 2017 Share Posted December 21, 2017 Wow, looking grafana... That looks a very intriguing setup! May I ask, do you interface with your sensors or anything on your home network (ie, input for turning lights on/off, switches, or whatever)? If so, what are you using to interact with those objects? Quote Link to comment
spants Posted December 21, 2017 Author Share Posted December 21, 2017 I just use voice (via Alexa) to control things. I have used Imperihome (android/ios) and NodeRed dashboard in the past Quote Link to comment
live4soccer7 Posted December 21, 2017 Share Posted December 21, 2017 (edited) Thanks again! Any recommendations for an interactive dash or a separate interactive software? I don't really use lights, but I do have a couple things I switch on and off or put on a timer to turn on most days. Most of my items are sensors collecting data (Temp, humidity), but I'm sure I'll incorporate a few other things over the years. Are you running each of these through unraid dockers? mqtt -> node red -> influxdb -> graphana (dashboard) Edited December 21, 2017 by live4soccer7 Quote Link to comment
spants Posted December 21, 2017 Author Share Posted December 21, 2017 yes - all in docker images. Influx/grafana is great for timeseries data. NodeRed (with NodeRed dashboard) makes integrating this very easy. Can create switches etc. the BigTimer node can be use to scheduler things (including offsets to dawn/dusk) Lots of nice videos on youtube if you are not sure how to use it. Quote Link to comment
live4soccer7 Posted December 22, 2017 Share Posted December 22, 2017 Thanks! I'll have to do some thinking and find the best way forward. I appreciate your input as to providing some quality options. I trust your judgement. Quote Link to comment
live4soccer7 Posted December 29, 2017 Share Posted December 29, 2017 The node red dash is absolutely perfect for what I need! Thanks for the suggestion. I have a question regarding node red DELAY node. What is the maximum delay that can be set in this delay node? I have up to 24 hr delays that are feeding in to it, however I just had one that didn't pass through anything after the delay should have run out. I'm thinking that it may have a maximum time delay. Everything else I've done with it on shorter times for testing always passes through my value. Even the other day when I had it setup for maybe 3-4hrs it passed through the msg. On the longer one I just did (8hrs roughly) nothing passed through and there were not messages on the debug resulting in this failure of the output of the delay timer. Quote Link to comment
spants Posted December 30, 2017 Author Share Posted December 30, 2017 19 hours ago, live4soccer7 said: The node red dash is absolutely perfect for what I need! Thanks for the suggestion. I have a question regarding node red DELAY node. What is the maximum delay that can be set in this delay node? I have up to 24 hr delays that are feeding in to it, however I just had one that didn't pass through anything after the delay should have run out. I'm thinking that it may have a maximum time delay. Everything else I've done with it on shorter times for testing always passes through my value. Even the other day when I had it setup for maybe 3-4hrs it passed through the msg. On the longer one I just did (8hrs roughly) nothing passed through and there were not messages on the debug resulting in this failure of the output of the delay timer. Ben wrote this Node - would be best to ask him: https://www.hardill.me.uk/wordpress/2013/10/02/node-red-delay-node-formally-pause-node/. BTW, You can find all sorts of flows and nodes here: https://flows.nodered.org/ You might want to look at BigTimer by Pete Scargill for controlling lights - It is what I use. Quote Link to comment
live4soccer7 Posted December 30, 2017 Share Posted December 30, 2017 Thanks! It's for controlling a pellet stove. It is a bit important as I start it early in the morning for the space I work in (several hours before I wake up). Quote Link to comment
alanm Posted January 2, 2018 Share Posted January 2, 2018 Hello, I'm trying to use node-red-contrib-alexa-local within the node-red docker but can't get Alexa to discover the 'node red' devices. Based on superficial research it looks like there is a dependency on upnp for this to work. Do I need to add a port forward to the docker to support upnp? Umm - which port? Thanks in advance Quote Link to comment
alanm Posted January 2, 2018 Share Posted January 2, 2018 31 minutes ago, alanm said: Hello, I'm trying to use node-red-contrib-alexa-local within the node-red docker but can't get Alexa to discover the 'node red' devices. Based on superficial research it looks like there is a dependency on upnp for this to work. Do I need to add a port forward to the docker to support upnp? Umm - which port? Thanks in advance Hmm, sometimes asking for help is enough to 'fix' the problem. I found changing the Node red docker from bridge to host mode allowed all the devices to be discovered. I presume doing this prevents other dockers responding to upnp requests, so what is the correct way to do this? Quote Link to comment
fireb1adex Posted February 18, 2018 Share Posted February 18, 2018 Just started using the Dashing Docker app - is there an easy way to add MySQL access that is upgrade proof? Quote Link to comment
Stupifier Posted February 25, 2018 Share Posted February 25, 2018 On 1/1/2018 at 8:02 PM, alanm said: Hmm, sometimes asking for help is enough to 'fix' the problem. I found changing the Node red docker from bridge to host mode allowed all the devices to be discovered. I presume doing this prevents other dockers responding to upnp requests, so what is the correct way to do this? I had the same problem with node-red-contrib-alexa-local. I could never get Alexa to find any discovered devices I just gave up and used node-red-contrib-alexa-home-skill. This one worked if you follow the instructions. I'd still much rather use node-red-contrib-alexa-local since it seems more robust.......hope someone finds a solution. Quote Link to comment
Stupifier Posted March 12, 2018 Share Posted March 12, 2018 (edited) Does anyone here know how to update node.js version in the Node-Red Docker Container? docker exec -it NodeRed-OfficialDocker /bin/bash node -V The command above shows I'm on v6.13.0 of node.js.......but I need at least v8 to use a specific module I want Update: Wow...was that easy. I just added "v8" as a tag to the Repository field on the Template......and hit apply. Super easy. So now my repository reads "nodered/node-red-docker:v8" Edited March 12, 2018 by Stupifier 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.