• Posts

  • Joined

  • Last visited

About schford

  • Birthday 05/14/1974


  • Gender
  • URL
  • Location
    London, UK
  • Personal Text
    Geek & Dad of 3 Girls

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

schford's Achievements


Apprentice (3/14)



  1. Hi guys, I have a python script that I use to pull info from my alarm system into MQTT which I then use in Home Assistant. I always used to call this from home assistant. They have now changed HA so that scripts can only run for 60 seconds and this needs to keep running. Has anyone any advice on how I could do this natively in unraid? I'd be very grateful for any help. Cheers Stuart
  2. If I remove the mappings it works..... 😞
  3. Hi guys, sorry to take so long to come back and thanks for the advice. SO I edited the docker container and the resulting command run looked like this "root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='nxfilter' --net='bond0' --ip='' --privileged=true -e TZ="Europe/London" -e HOST_OS="Unraid" -v '/mnt/cache/appdata/nxfilter/conf/':'/nxfilter/conf':'rw' -v '/mnt/cache/appdata/nxfilter/log':'/nxfilter/log':'rw' -v '/mnt/cache/appdata/nxfilter/db/':'/nxfilter/db':'rw' 'packetworks/nxfilter-base:latest' e1a26f37b99126b3cdaec315597a7096a3e59cf24fdbad48f1835ebd30055916" The appropraite folders get created in my app data but when the docker tries to start i know get "Exception in thread "main" java.lang.NullPointerException at nxd.Main.<init>(Unknown Source) at nxd.Main.main(Unknown Source) Exception in thread "Thread-0" java.lang.NullPointerException at Source)" I would be incredibly grateful for any advice please! Thanks Stuart
  4. Hi guys, I have searched and googled but just cant get my head around how to install nxfilter. properly - I have it installed and working but for the life of me I just cant finger out how to get persistent storage working. I would be really grateful for any advice as I just cant seem to work it out! Thanks Stuart
  5. Thanks - mapped a folder put backup file in - consoled into docker - moved backup file to write place -restarted docker - Done! Need to work out a proper xml for it!
  6. To restore it I apparently need to stop the docker then copy over the config.h2.db file It isnt mapped yet I need to read up on how to move the folder out of the docker into the app data share- I have never installed a docker without using the APP function with ready made xmls before.
  7. To cut a long story short I did a dirty Docker install that didn't have its config directory on the appdata share. As a result I have updated the docker and lost all my config - I have a backup but need file access to be able to restore it. Can anyone explain how I can use WINSCP to browse to the container in the docker.img file and restore it. Its pretty urgent and I feel an idiot! Cheers Stuart
  8. So I am a little confused!! All my dockers place nice usually 🙂 but I can down today to see a high utilisation alert. A quick check shows that MQTT 20.1 MB 0 B 14.4 GB MQTT is the culprit with 14.4GB of log files!!! A quick hop into the docker settings and I set my log size to 100mb and rotation to on. But it doesnt seem to have done anything. AM I being slow? Cheers Stuart
  9. IF I try from command console I get $ apt-get install libavahi-compat-libdnssd-dev E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? $ ^C $ I have installed the via manage pallet no problems but homekit doesn't find anything and when I try a bonjour browser on pc as well it also sees nothing ? Thanks for suggestions.
  10. Hi guys, I would love to be able to use this - so I can make my stuff availavlle to apple home. Docker installs ok but then home app on apple never finds it I am running the docker with :V8 at the end to get latest node js I wonder if the docker needs these added to it? Prerequisites These nodes are based on the extremely awesome HAP-NodeJS -Project which uses an implementation of mdns to provide Bonjour / Avahi capability. Please refer to the HAP-NodeJS Wiki and to mdns for install instructions, if you get stuck on the following. Install For Debian / Ubuntu you need to install the following in order to support Bonjour / Avahi sudo apt-get install libavahi-compat-libdnssd-dev Then run the following command in your Node-RED user directory - typically ~/.node-red npm install node-red-contrib-homekit-bridged Thanks for any advice Stuart
  11. SO Just in case any one else is looking ? I had to add the below to get it working, it wont work with anything but the root rather than location / hass or something which I woudl prefer but can live with this unless anyone has any suggestions map $http_upgrade $connection_upgrade { default upgrade; '' close; } location / { proxy_pass; proxy_set_header Host $host; proxy_redirect http:// https://; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; }
  12. I tried many variations of home assistant docker, lets encrypt etc when googling but didn't actually search for NGINX - doh!!!! Thank you so much for the link cant believe it was documented on HASS pages - right off to play and thanks once more ?
  13. HI guys, Has anyone managed to get this working with the home assistant docker for the reverse proxy. I have tried the following location /ha { proxy_pass; proxy_set_header Host $host; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } but I just get anyone got any ideas? Thanks! 502 Bad Gateway nginx/1.12.2