Jump to content


  • 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. So for years - literally years! Everytime I restart a particular Docker I have to remember to right click on the icon bring up a console and manually run a command. python3 /config/python_scripts/comfort2a.py For some reason I thought there must be an automated way of doing it - so I thought I would ask the collective wizdom. Anyone know if I can auto run that script on a docker startup? I'd be very greatful. Cheers Stuart
  2. 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
  3. If I remove the mappings it works..... 😞
  4. 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 nxd.o.run(Unknown Source)" I would be incredibly grateful for any advice please! Thanks Stuart
  5. Hi guys, I have searched and googled but just cant get my head around how to install nxfilter. properly - https://hub.docker.com/r/packetworks/nxfilter-base 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
  6. 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.
  7. Hi guys, I would love to be able to use this - https://flows.nodered.org/node/node-red-contrib-homekit-bridged 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
  8. 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; }
  9. 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 ?
  10. 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
  11. To answer my own question on this you cannot mix and match bridge dockers with dockers with their own IP, so if you want dockers to be able to talk to each other they either both have to be bridge or both have their own IP addresses.
  12. thought I would give this a whirl but doesn't seem to work I get this in the log any ideas? Thanks Stuart **** 2018-06-19 12:08:12.673504 INFO AppDaemon Version 3.0.1 starting2018-06-19 12:08:12.673636 INFO Configuration read from: /conf/appdaemon.yaml2018-06-19 12:08:12.674797 INFO AppDaemon: Starting Apps2018-06-19 12:08:12.676213 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin2018-06-19 12:08:12.682130 INFO AppDaemon: HASS: HASS Plugin Initializing2018-06-19 12:08:12.682307 INFO AppDaemon: HASS: HASS Plugin initialization complete2018-06-19 12:08:12.682411 INFO Dashboards are disabled2018-06-19 12:08:12.682469 INFO API is disabled2018-06-19 12:08:15.793762 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds2018-06-19 12:08:23.857760 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds2018-06-19 12:08:31.921764 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds2018-06-19 12:08:39.985723 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds2018-06-19 12:08:48.049772 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
  13. My first stab at this - installed docker ok brings up main screen but then when i follow the next step guide !Hass.io main panel! is completly missing form the docker - anyone any ideas as that seems to be how one adds addons. Cheers Stuart
  • Create New...