H2OKing Posted October 1, 2019 Share Posted October 1, 2019 (edited) 20 hours ago, JustinAiken said: To update to v1.0 that came out today: - I needed to `chown -R 1000 /path/to/appdir` to update it to the new uid used by the container I don't understand this part. Do I do this in the appdata folder? also does anyone how to turn on dark mode? Edited October 1, 2019 by H2O_King89 Quote Link to comment
JustinAiken Posted October 1, 2019 Share Posted October 1, 2019 57 minutes ago, H2O_King89 said: I don't understand this part. Do I do this in the appdata folder? NOT the toplevel appdata folder !- the path to your nodered appdata folder. Something like `/mnt/user/appdata/nodered` 58 minutes ago, H2O_King89 said: also does anyone how to turn on dark mode? https://github.com/bonanitech/node-red-contrib-theme-midnight-red#install Looks like you have to manually do some `npm`'ing Quote Link to comment
JustinAiken Posted October 1, 2019 Share Posted October 1, 2019 ..you got me interested in a dark theme, I just gave it a try. ``` # Run this while Node Red is up and running: $ docker exec -it NodeRed-OfficialDocker /bin/bash # Then you'll be inside the running container # Now run: $ npm install node-red-contrib-theme-midnight-red # And exit the container: $ exit # Now from unraid, edit settings.js: $ vim /path/to/nodered/settings.js ``` You'll want it to look like: ``` .... editorTheme: { page: { css: "/usr/src/node-red/node_modules/node-red-contrib-theme-midnight-red/midnight.css" } } ``` Then restart nodered docker from the unraid docker GUI. Quote Link to comment
H2OKing Posted October 1, 2019 Share Posted October 1, 2019 (edited) NOT the toplevel appdata folder !- the path to your nodered appdata folder. Something like `/mnt/user/appdata/nodered` Sorry that's what I meant. what do I do in there? Do I make a file in this path? /mnt/user/appdata/nodered/path/to/appdir And thank you, got dark mode working! Edited October 2, 2019 by H2O_King89 Quote Link to comment
wewantrice Posted October 3, 2019 Share Posted October 3, 2019 On 10/1/2019 at 1:44 PM, H2O_King89 said: Sorry that's what I meant. what do I do in there? Do I make a file in this path? /mnt/user/appdata/nodered/path/to/appdir And thank you, got dark mode working! you need to run the command mentioned from a terminal window, which you should be able to launch from your unraid main page or by using ssh/telnet to login to your server. Quote Link to comment
JohnSracic Posted December 16, 2019 Share Posted December 16, 2019 Looking for some help or someone to point me in the right direction. I recently just started using Nodered and would like to move all my home automations from Apple Home to Nodered. Having a hard time wrapping my head around on thing. I have lights and switches on my first floor that needs automation written and if possible, would like to put them in one flow. I tired with bigtimer but ran into an issue with having more than one bigtimer in the flow, it still runs the no condition if the light is off and will shut off the light even though it should be on for the step above it. Good example would be what I have written for floor lamp 1. It will turn on at 4:30 am because it meets the time but then when it hits the bigtimer below it to check for sunset, it will shut the light off. Floor lamp 1, needs the following schedule At 4:30 AM, light need to turn on and shut off at sunrise. At sunset, light needs to turn on and shut off at 9:00 pm. Candle light switch Turn on at sunset and turn off at sunrise. If it’s Christmas Eve Day or Christmas Day, keep lights on. Outside light switch Turn on at 5:00 AM and turn off at sunrise. Turn on a sunset and turn off at 9:00 pm Quote Link to comment
spants Posted December 19, 2019 Author Share Posted December 19, 2019 @JohnSracic the best place for this question is http://discourse.nodered.org but if you can export that part of your flow (just the bit with your timers) and PM it me, I will sort it out for you. Quote Link to comment
dbinott Posted January 5, 2020 Share Posted January 5, 2020 Wondering if Dashing should be replaced with Smashing? They took it over. https://github.com/Smashing/smashing Quote Link to comment
lsaranto Posted January 10, 2020 Share Posted January 10, 2020 So, there¨s a docker image called MQTT and Mosquitto. What's the difference and which one I should be using? Quote Link to comment
live4soccer7 Posted January 10, 2020 Share Posted January 10, 2020 1 minute ago, lsaranto said: So, there¨s a docker image called MQTT and Mosquitto. What's the difference and which one I should be using? I've been using the MQTT one for years and have never had an issue with it. Quote Link to comment
spants Posted January 10, 2020 Author Share Posted January 10, 2020 My MQTT one is mosquitto but has a nifty way of adding users and passwords. I have been using it for ages with thousands of connections a day and it has never let me down. (Thats why I haven't updated it!). It's easy to try stuff with unraid, so try them both! Quote Link to comment
gulo Posted January 22, 2020 Share Posted January 22, 2020 Hi I am interesting in running this - https://github.com/greghesp/assistant-relay It says it runs on node.js but should it work on nodered as well? It says to download the package zip file "and then use npm i to get started", but I have no idea where to place this zip file? Thanks! Quote Link to comment
Skylord123 Posted January 26, 2020 Share Posted January 26, 2020 On 1/10/2020 at 2:16 PM, spants said: My MQTT one is mosquitto but has a nifty way of adding users and passwords. I have been using it for ages with thousands of connections a day and it has never let me down. (Thats why I haven't updated it!). It's easy to try stuff with unraid, so try them both! Can we get updated versions based on tags? This way we can keep this stable version under one tag but also be able to try out the newer versions. As nice as it is staying on one version the updates can be really important for security and performance. Quote Link to comment
Skylord123 Posted January 26, 2020 Share Posted January 26, 2020 I wrote a post about installing MQTT in Unraid using your container. If anyone needs help they can check it out: https://skylar.tech/installing-mqtt-under-docker/ A good number of my readers requested this post. Figured it would be good to put this here for others. Quote Link to comment
spants Posted January 26, 2020 Author Share Posted January 26, 2020 15 minutes ago, Skylord123 said: I wrote a post about installing MQTT in Unraid using your container. If anyone needs help they can check it out: https://skylar.tech/installing-mqtt-under-docker/ A good number of my readers requested this post. Figured it would be good to put this here for others. Excellent work!. Thank you. Quote Link to comment
spants Posted January 26, 2020 Author Share Posted January 26, 2020 (edited) 14 hours ago, Skylord123 said: Can we get updated versions based on tags? This way we can keep this stable version under one tag but also be able to try out the newer versions. As nice as it is staying on one version the updates can be really important for security and performance. I tested Mosquitto 1.6.8 and Alpine Linux 3.11 today but had to revert to 1.48 and linux 3.3 as bug found, sorry Edited January 27, 2020 by spants Quote Link to comment
skank Posted February 9, 2020 Share Posted February 9, 2020 i tried to install mqtt I need this for mqttt broker https://github.com/ElectricBrainUK/UnraidAPI But when trying to start mqtt, i get this error Warning: store_clean_interval is no longer needed. Error: Duplicate user value in configuration. Error found at /config/mosquitto.conf:21. Error: Unable to open configuration file. anyone can help pls After that , i need to connect both home assistant and the unraid API to it. Quote Link to comment
Skylord123 Posted February 10, 2020 Share Posted February 10, 2020 16 hours ago, skank said: i tried to install mqtt I need this for mqttt broker https://github.com/ElectricBrainUK/UnraidAPI But when trying to start mqtt, i get this error Warning: store_clean_interval is no longer needed. Error: Duplicate user value in configuration. Error found at /config/mosquitto.conf:21. Error: Unable to open configuration file. anyone can help pls After that , i need to connect both home assistant and the unraid API to it. I don't know about the UnraidAPI stuff but the error you are getting indicates you have the same user defined twice in your config. I actually helped someone out that was having this same issue on my blog (scroll down to the comments): https://skylar.tech/installing-mqtt-under-docker/ Quote Link to comment
skank Posted February 10, 2020 Share Posted February 10, 2020 8 hours ago, Skylord123 said: I don't know about the UnraidAPI stuff but the error you are getting indicates you have the same user defined twice in your config. I actually helped someone out that was having this same issue on my blog (scroll down to the comments): https://skylar.tech/installing-mqtt-under-docker/ HI, So i've read too, but i cant find where that config is? on the cache drive, the usb stick? where do i find it? Quote Link to comment
Skylord123 Posted February 10, 2020 Share Posted February 10, 2020 16 minutes ago, skank said: HI, So i've read too, but i cant find where that config is? on the cache drive, the usb stick? where do i find it? When you installed the container you chose your appdata location. It is wherever you selected for that. You can always edit your containers to see what paths you used (it should also display this from the docker list in Unraid). Quote Link to comment
skank Posted February 10, 2020 Share Posted February 10, 2020 11 minutes ago, Skylord123 said: When you installed the container you chose your appdata location. It is wherever you selected for that. You can always edit your containers to see what paths you used (it should also display this from the docker list in Unraid). yeah i looked there i see folders.. but nothing for users.. Quote Link to comment
Skylord123 Posted February 10, 2020 Share Posted February 10, 2020 21 minutes ago, skank said: yeah i looked there i see folders.. but nothing for users.. You need to go to the path you installed your container's appdata path and modify the config file. Inside that config file you have two users defined. Just remove one of them. Quote Link to comment
Nosbus Posted February 12, 2020 Share Posted February 12, 2020 HI, im also a first time user installing MQTT on unraid via the docker template on the app store. The default/sample config file downloaded does have "user mosquitto" defined twice which causes the error below and the container does not start. Removing the duplicate config entry fixes the issue, but will continue to trip new users. Error: Duplicate user value in configuration. Error found at /config/mosquitto.conf:21. Error: Unable to open configuration file. Quote Link to comment
spants Posted February 12, 2020 Author Share Posted February 12, 2020 (edited) 1 hour ago, Nosbus said: HI, im also a first time user installing MQTT on unraid via the docker template on the app store. The default/sample config file downloaded does have "user mosquitto" defined twice which causes the error below and the container does not start. Removing the duplicate config entry fixes the issue, but will continue to trip new users. Error: Duplicate user value in configuration. Error found at /config/mosquitto.conf:21. Error: Unable to open configuration file. Thanks for the info - I have fixed it. Strange that it has only just come to light, that hasn't changed for years! Edited February 12, 2020 by spants 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.