spants

Community Developer
  • Posts

    590
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by spants

  1. On 10/13/2021 at 11:02 AM, Mizz141 said:

    I know of Mearman's docker, however it doesn't contain the mjpg streamer which I need for webcam control, I have tried manual set-up but bricked the container way too many times for it to work. (or I'm just an idiot who can't figure out what settings to use, which probably is the more accurate term to describe my issues)

    I also ran into the same issue when Backups shut-down the docker, you're not alone lol

     

    see here: 

     

  2. I have created a new docker template for Octoprint using the official docker images and supporting webcam streaming.

     

    • You need video drivers installed on unRaid for the kernel to see a camera.
      • (on Version: 6.10.0-rc1) - install DVB Drivers in Community Apps and select LibreELEC
      • This will need a reboot after installation
         
    • plug in your camera, you should see /dev/video0 appear in a terminal session on unRaid
       
    • Install OctoPrint-Spants
      • add the following:
        • variables: 
          • ENABLE_MJPG_STREAMER         true
          • CAMERA_DEV                            /dev/video0
          • MJPG_STREAMER_INPUT           -y -n -r 640x480 (can change to suit)

        • port:

          • webcam           container port 80      host port 5003

          • snapshot          container port 8080  host port 5004

             

    • In octoprint's webcam settings

      • set the stream url to     http://IPADDRESS:5003/webcam/?action=stream and test - it should work

      • set the snapshot url to       http://IPADDRESS:5004/?action=snapshot and test

      • IPADDRESS is your unraid server address if you used bridge networking

     

    octosettings.thumb.png.bbdf0a18012214934f908edb8a5854d1.png

    • Thanks 1
  3. 14 hours ago, Mizz141 said:

    So I've been using the Octoprint-Docker for quite some time now, but the docker wasn't updated in a long time, when will new updates be pushed to it? Octoprint version 1.7.0 has just been released.

     

    I see that nunofgs hasnt updated his docker - I will try and use a different base docker - stay tuned!.
     

    (I stopped using the docker after a long print was ruined by the backup routine tuning off the docker after 8 hours of printing!. My fault - I should have excluded that docker from switching off. I will investigate a solution) 

     

    @Mizz141 *** I see that Mearman already has a template using the official docker - have you tried that? ***

  4. On 8/23/2021 at 11:08 PM, mrm said:

    Alternatively, I'd be happy to take over managing the template: there are several things I'd suggest changing. What's the friendly protocol for this sort of thing?

     

    (Also: I push :stable releases to :alpha and :beta tags to make sure people don't get left behind)

    Sure, no problem at all. All I did was a quick template as a favour... Happy if you want to release another and I can remove mine.

    • Thanks 2
  5. On 8/18/2021 at 4:12 AM, Brandonb1987 said:

    getting an npm error in the nodered docker. When i try to update a pallet it gives me the following:

     

     I tried running the command in the console and just denies me.

     

    Any suggetions?

    1) You can try it from the console in the nodered template (I think that you did)

    2) or do it on the unraid console and substitute "/data" to "/mnt/user/appdata/nodered" or whatever you used....
    Let me know how you get on

  6. On 8/13/2021 at 6:41 PM, Hydranmenace said:

    I understand I need to fix this but I do not know how. That is why I posted all the screen caps. I don't pretend to know what I'm doing. I'm a regular guy who followed a youtube tutorial.

    I noticed that in my router in DHCP settings my IP Pool Starting Address is 192.168.1.2 and that is the IP pihole is using. Would that be a conflict? I thought that just meant that is the number the router would use to start looking for things on the network. When I tried an IP range outside of that for pihole it gave me an error saying it was outside the range of my subnet. Whatever that means.

     

    Usually I set my DHCP range quite high up - maybe starting at 192.168.1.100 - so that nothing gets allocated in the ranges for my fixed IP. Some of the routers firmwares stop you allocating static addresses outside of this range.
    So you can either, set the static address on the device itself (set to manual not dhcp on the device) and not worry about it on the router or have the large range on the router, set the pihole address and restart any device that may have claimed that IP address already.
    Always set a DNS record manually (1.1.1.1 /8.8.8.8 or similar) for Unraid in the networking settings on unraid - dont let it use the DHCP dns as it will need DNS before the docker pihole as started (or if pihole is stopped)

     

  7. 16 hours ago, MrChip said:

    Will there be any updates to the MQTT version? I'm getting an error trying to configure the log timestamp format:

    Error: Unknown configuration variable "log_timestamp_format".

     

    It appears this variable applies to newer versions of the Mosquitto MQTT broker. Current version is now 2.0 on mosquitto.org.

     

    Bob

     

     

    Hi Bob

     

    I originally made this for my home automation system which works well and found no need to update (one of the later updates broke it). I will probably change to a Hive AMQP with MQTT plugin as it allows web based user management  - would that suit you too?

  8. 7 hours ago, newunraiduser5 said:

    Hi, I am trying to set up a whitelist at https://github.com/anudeepND/whitelist/blob/master/README.md but cant seem to get it to work without Python 3. The instructions for a docker install / install without Python doesnt seem to work either. Can anyone help.

     

    Thanks in advance.

     

     

    There is a section on the readme that will help.

     

    0) If you dont have python3 on your unRaid, install it via the nerdtools plugin.

     

    1) find the path for /etc/pihole/  - for me it is /mnt/user/appdata/pihole/pihole/

    2) ssh to your unraid and cd to that directory

    3) git clone https://github.com/anudeepND/whitelist.git

    4) cd whitelist/scripts

    5) ./whitelist.py --dir /mnt/user/appdata/pihole/pihole/ --docker

    6) ./referral.sh --dir /mnt/user/appdata/pihole/pihole/ --docker

    7) restart pihole

     

     

    • Like 2
  9. On 6/24/2021 at 7:42 AM, Rockstar said:

    I removed the container, image and everything else to start fresh but so far the issue remains and I am honestly not sure why.

    Inside the PHP error log is: 2021-06-23 23:34:18: (server.c.1464) server started (lighttpd/1.4.53)

    There's already routing in Unraid setup under br0 for 10.10.5.0/24, this is set within the container template.

    Navigating to 10.10.5.2/admin leads to nothing.  I'm not really sure what else to look at or pull, let me know and I will do so.

     

    Try it with Extra Parameters only containing:

     

    --cap-add=NET_ADMIN --restart=unless-stopped

     

  10. On 6/24/2021 at 9:24 AM, OsoPolar said:

    HI Guys i setup a Node Red Docker last night on main PC and added an additional port to get access for my Alexa Pluging with a local IP http://192.168.23.100:3456/ and i could get to page and login to authenticate alexa cookie

     

    It keeps kept confirming with Alexa the cookie was saved.

    But NR kept reporting i needed to do it again it would not connect?

     

     

     

    Please use a location for the cookie to be something like this:

     

    /data/AlexaAuthFile.txt

     

    It will then save it in your appdata directly and not the container.

  11. 28 minutes ago, mavrrick said:

     

    I ended up just setting up a VM and installing everything manually. It was easy enough. I needed atleast Node.js 12 i think, and maybe Node.JS 14. Thanks for advice. 

    No problem. If you needed Node.js 12 - just use

     

    nodered/node-red:latest-12

     

    in the repository field of the template

  12. Great - thats the way to do it. 

    The template is for the official Pi-hole docker, I don't make any changes so please check their github for issues.

     

    I just changed the template to remove the dns entries from the extra parameters setting though as this was causing issues for some... Unfortunately this change doesnt roll down if you have already have Pihole setup. ( I dont think this fixes your issue though).

     

    I will take another look tomorrow (I'm in the UK).