Jump to content

spants

Community Developer
  • Joined

  • Last visited

Everything posted by spants

  1. Yes, thanks! I think that it is because you are using the /mnt/ and not /mnt/user/ hierarchy ..... I tested with the data on the protected raid and not on a cache drive. I will try and look at this over the weekend. Can I check that you really want to have your data stored in this way?. If you create a share that is only on one disk then it is that disk and parity that will be spinning. There is not a lot of energy difference and the strain on a disk is when it is starting up.
  2. MQTT docker updated/re-written to Mosquitto 1.4.8 + websockets. I found that the Home-Assistant docker wouldn't work with the old MQTT docker - the new update works! (I think it was the old version of Mosquitto that had problems)
  3. the mqtt client seems borked - it doesn't work with external mqtt server either. Traceback (most recent call last): File "/usr/local/lib/python3.4/threading.py", line 911, in _bootstrap_inner self.run() File "/usr/local/lib/python3.4/threading.py", line 859, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.4/site-packages/paho/mqtt/client.py", line 2287, in _thread_main self.loop_forever() File "/usr/local/lib/python3.4/site-packages/paho/mqtt/client.py", line 1261, in loop_forever rc = self.loop(timeout, max_packets) File "/usr/local/lib/python3.4/site-packages/paho/mqtt/client.py", line 811, in loop rc = self.loop_read(max_packets) File "/usr/local/lib/python3.4/site-packages/paho/mqtt/client.py", line 1073, in loop_read rc = self._packet_read() File "/usr/local/lib/python3.4/site-packages/paho/mqtt/client.py", line 1475, in _packet_read rc = self._packet_handle() File "/usr/local/lib/python3.4/site-packages/paho/mqtt/client.py", line 1943, in _packet_handle return self._handle_publish() File "/usr/local/lib/python3.4/site-packages/paho/mqtt/client.py", line 2095, in _handle_publish (message.topic, packet) = struct.unpack(pack_format, packet) struct.error: bad char in struct format
  4. You can add the node-red-node-pushover node via the admin tab and it should persist between updates...... edit the node-red-contrib by using backspace. (is this how you are doing it?.... make sure that you are also pointing /data to a directory on your drives - in my case /mnt/user/docker/appdata/nodered so that the flows and additions persist)
  5. that is not my version :-) I will upload my templates to github later today.
  6. K, thanks for trying that. Personally I would create a docker appdata directory and store the files on the protected disks. I would hate to lose the configs for my 17 dockers!. The downside is that one disk stays spinning... the wear and tear is not much (better than sleeping/restarting) but it uses a slight amount of energy. I will try and nail this issue down a bit but I have a busy weekend coming up!. I wonder if the linuxserver.io sonar/plex have this issue... will try (btw - the client error that you have, does the client have an id and have you disabled anon in the config fiel if you are not using a password)
  7. I agree - it looks like permissions. Have you tried stopping mqtt and doing a newperms on that mqtt data folder? Are you using the linuxserver.io versions of those dockers? My mqtt is based on linuxserver/baseimage so it should behave the same way. If you have your docker data share on one disk, only that one will spin up but your data is protected if you have a disk fault.
  8. Maybe it is because my data is stored on the protected unraid volumes /mnt/user/docker/appdata and yours is stored on the unprotected cache drive?. Why do you store your docker data there? - apart from it is faster :-)
  9. it works for me, can you choose another directory and use the template to start it. If you start it manually, try: (change directory to suit) docker run -t -i --net="bridge" -p 1883:1883/tcp -p 9001:9001 -v /mnt/cache/app_config/mqtt/:/config:rw -e PGID=100 -e PUID=99 spants/mqtt
  10. I will check this out later today.. It is working ok for me!
  11. I have just added the smooth node to average readings over a time period. Useful for my home automation graphing!
  12. Arent these already in it? I had jq installed for contrib-json and I have just added JSONSelect and JSONPath.... let me know if it works
  13. Just added a Hive (British Gas) heating controller node, removed IBM IoT nodes and add Watson IoT instead....
  14. I have updated Node Red to 0.13.3...
  15. thanks for trying the docker. With MQTT, there is a file created called mosquitto.conf with line 20: allow_anonymous false Change this to true if you do not want passwords.I was sure that if the passwords.mqtt file was empty then it would allow anon access. Will check. Re HA stuff I use my Node-Red and MQTT dockers together. I try to get as much as possible into mqtt directly (various ESP8266 devices) if I can. If not, I use Node-Red to transform the other devices (Hive thermostats - Tado Thermostats & Ciseco sensors https://www.wirelessthings.net/things/sensors) into MQTT messages. That way, I can try various HA applications at the same time: Domoticz, Emoncms, Home-Assistant, OpenRemoteCommander etc without problems.
  16. you shouldn't need to be in the container, have you seen this post: http://lime-technology.com/forum/index.php?topic=38486.msg410452#msg410452 I have set it up to autostart as a server, I'm not sure if I installed the client code as it wasn't needed. Use an external app (mqtt-spy is great) to talk to the server. It works with openhab etc. remember to use ipaddress:port and not localhost:port!
  17. http://www.hashbackup.com/technical/glacier-eol read this before you switch over to Glacier!
  18. Thanks for the heads-up - I have now added this to the Docker as it should make it simpler to add nodes (as long as you dont wipe the docker as you will need to add those nodes again)
  19. yes - would be great to use on unRaid
  20. On the docker currently you cannot add any extra so I bundled the key additions. If there are any that you would like, please let me know and I will add them. I am looking at having a useraddons file that you can edit and then it will load them after a restart.......
  21. Node Red docker has been updated to v0.13.1 today
  22. this is my commandline for the official docker for reference: (using a link to my MariaDB docker) docker run -d --name ownCloud -p 8000:80 -v /mnt/user/docker/appdata/owncloud/apps:/var/www/html/apps -v /mnt/user/docker/appdata/owncloud/config:/var/www/html/config -v /mnt/user/docker/ownclouddata:/var/www/html/data --link MariaDB:mysql owncloud:8.2.2
  23. It is one of the suggestions that I am looking at .... Tony
  24. I have removed googleadservices from the block list as a temporary measure. That's very good of you, don't know how other users will feel about it but thanks... It was catching me out with my kitchen build too!.