Jump to content

spants

Community Developer
  • Posts

    637
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by spants

  1. Can we easily add new nodes to this docker?

    I've tried adding them to the data directory mapping but had no luck.

     

    I'd like to try the eibd and knx nodes.

     

    I recently updated the docker with the node-red-contrib-npm node to allow you to add npm modules to the flow without a separate install:

    http://flows.nodered.org/node/

    http://flows.nodered.org/flow/3c17c7bf227d1a8952b7

     

    However this might only work for simple modules.

     

    Can you send me the Nodes that you need and I will add them for you. I am also working on an update to this docker to allow you to easily add your own....

    Tony

  2. @CHBMB: Thanks a lot for your kind support! On the Apache side it all seems to work fine now. I still have to seek support for a strange MySQL error. But that's another day's work.

     

    Could you do a writeup for spot web on this docker please? I'm using an old docker that I wrote but would like to get it running a little smoother - especially as a newsnab server

    happy xmas

    Tony

  3. So after failing miserably with compiling a new kernel, I had a brainwave - why dont I uncompress BZROOT and have a look.

    I took the Openelec version (mediatree detected) and used:

     

    xzcat bzroot | cpio -i -d -H newc --no-absolute-filenames

     

    I found that the directory and some files for the av7110 in the lib/firmware directory but not bootcode.bin. I copied this file into the directory and compressed bzroot with:

     

    find . | cpio -o -H newc | xz --format=lzma > "/mnt/user/Spants/bzroot-new"

     

    and it works! :-)

     

    Now to get tvheadend and cccam working.....

     

    Thanks!

     

  4. Thanks! - Ive followed the compiling a kernel instructions on the wiki but I must be making a mistake.

     

    The Openelec version finds the card but says that firmware is missing (av7110/bootcode.bin) - I have a copy here:

    https://www.dropbox.com/sh/bj56t5fixec83t5/AACBTC2LKENj8fs0gyYqweMaa?dl=0

    My compiled versions of the kernel do not show as mediatree enabled (using the plugin to check). The openelec version shows mediatree but no card detected. While booting you can see the files are missing.

     

    The card is an old one. Hauppauge WinTV-DVBs PCI which uses a philips saa7146a: http://www.linuxtv.org/wiki/index.php/File:Hauppauge_WinTV_DVB-S_Rev.1.3.jpg

     

     

     

  5. I'd like to try this with an older card an Hauppage dvbs. I had it working in older versions of Unraid but have mislaid my notes...

    I used the openelec version of the kernel. But it seems that I need "av7110/bootcode.bin" - do I have to recompile the kernel to use it?

    Im looking through https://lime-technology.com/wiki/index.php/Installing_Tvheadend_in_unRAID

     

    By any chance has anyone got it working with 6.1.3?

     

    Sep 29 15:34:03 Tower kernel: saa7146: register extension 'av7110'
    Sep 29 15:34:03 Tower kernel: ahci 0000:05:00.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl SATA mode
    Sep 29 15:34:03 Tower kernel: ahci 0000:05:00.0: flags: 64bit ncq pm led clo pmp pio slum part 
    Sep 29 15:34:03 Tower kernel: saa7146: found saa7146 @ mem ffffc90001d78000 (revision 1, irq 18) (0x13c2,0x0000)
    Sep 29 15:34:03 Tower kernel: scsi host8: ahci
    Sep 29 15:34:03 Tower kernel: scsi host9: ahci
    Sep 29 15:34:03 Tower kernel: ata7: SATA max UDMA/133 abar m512@0xf7b10000 port 0xf7b10100 irq 19
    Sep 29 15:34:03 Tower kernel: ata8: SATA max UDMA/133 abar m512@0xf7b10000 port 0xf7b10180 irq 19
    Sep 29 15:34:03 Tower kernel: DVB: registering new adapter (Technotrend/Hauppauge WinTV DVB-S rev1.X or Fujitsu Siemens DVB-C)
    Sep 29 15:34:03 Tower kernel: ahci 0000:09:00.0: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
    Sep 29 15:34:03 Tower kernel: ahci 0000:09:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
    Sep 29 15:34:03 Tower kernel: scsi host10: ahci
    Sep 29 15:34:03 Tower kernel: scsi host11: ahci
    Sep 29 15:34:03 Tower kernel: ata9: SATA max UDMA/133 abar m512@0xf7810000 port 0xf7810100 irq 43
    Sep 29 15:34:03 Tower kernel: ata10: SATA max UDMA/133 abar m512@0xf7810000 port 0xf7810180 irq 43
    Sep 29 15:34:03 Tower kernel: PTP clock support registered
    Sep 29 15:34:03 Tower kernel: e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
    Sep 29 15:34:03 Tower kernel: e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
    Sep 29 15:34:03 Tower kernel: e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
    Sep 29 15:34:03 Tower kernel: adapter has MAC addr = 00:d0:5c:00:21:b2
    Sep 29 15:34:03 Tower kernel: mpt2sas0: MSI-X vectors supported: 1, no of cores: 8, max_msix_vectors: 8
    Sep 29 15:34:03 Tower kernel: mpt2sas0-msix0: PCI-MSI-X enabled: IRQ 45
    Sep 29 15:34:03 Tower kernel: mpt2sas0: iomem(0x00000000f04c0000), mapped(0xffffc90001d30000), size(16384)
    Sep 29 15:34:03 Tower kernel: mpt2sas0: ioport(0x000000000000e000), size(256)
    Sep 29 15:34:03 Tower kernel: mpt2sas0: sending message unit reset !!
    Sep 29 15:34:03 Tower kernel: av7110 0000:08:00.0: Direct firmware load for av7110/bootcode.bin failed with error -2
    Sep 29 15:34:03 Tower kernel: dvb-ttpci: Failed to load firmware "av7110/bootcode.bin"

  6. I have just released a new docker, dashing from dashing.io

     

    Dashing is a Sinatra based framework that lets you build beautiful dashboards.

     

    Check out a demo here. Here's another one, optimized for 1080p screens.

     

    Key features:

    • Use premade widgets, or fully create your own with scss, html, and coffeescript.
    • Widgets harness the power of data bindings to keep things DRY and simple. Powered by batman.js.
    • Use the API to push data to your dashboards, or make use of a simple ruby DSL for fetching data.
    • Drag & Drop interface for re-arranging your widgets.

     

    Support thread here http://lime-technology.com/forum/index.php?topic=38486.0

  7. Strange....

     

    The docker is built on Linuxserver.io base and uses environment variables to set the PGID and PUID to suit Unraid (check the advanced view). If you miss these variables you will get this problem. I always use the docker page to start and stop the docker.

     

    To add passwords, create a passwords.txt file  - do not edit the passwords.mqtt directly. Info in passwords.README file.

    The way I use it - create the /config directory and everything should be setup.

    Stop the docker, create a passwords.txt and then start the docker.

    It will encrypt the passwords, add it to the top of passwords.mqtt and then delete passwords.txt.

     

    I have a lot of devices using it - hope it works for you

     

    If you have to use the cmdline, try the following:

    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
    

  8. Be aware that Openweather map and Forecast.io nodes do not seem to work correctly on the latest NodeRed....

     

    I use the following code in Node Red to get the current temperature instead: (copy and then Import)

     

    [{"id":"9e1f670b.61e098","type":"mqtt-broker","broker":"localhost","port":"1883","clientid":""},{"id":"8c7d3ed4.7382c","type":"function","name":"Outside Temp","func":"\nif (msg.payload == \"\" ) {\n\treturn null;\n\t}\n\nvar weather = JSON.parse(msg.payload); \n//msg1 = {topic:\"Buxted/sunrise\", payload:weather.sys.sunrise};\n//msg2 = {topic:\"Buxted/sunset\", payload:weather.sys.sunset};\nweathertemp = Math.round( weather.main.temp * 10 ) / 10;\nmsg = {topic:\"House/Temp/Outside\", payload:weathertemp};\nreturn msg;","outputs":"1","x":607.638916015625,"y":222.74993896484375,"z":"a4d9ce41.5b263","wires":[["bd4969.ff42b698"]]},{"id":"c950f21e.36af1","type":"http request","name":"Openweathermap","method":"GET","ret":"txt","url":"http://api.openweathermap.org/data/2.5/weather?q=London,uk&units=metric","x":378.4167175292969,"y":222.08331298828125,"z":"a4d9ce41.5b263","wires":[["8c7d3ed4.7382c"]]},{"id":"9116d09f.6ee93","type":"inject","name":"1 Min Timer","topic":"","payload":"","payloadType":"date","repeat":"60","crontab":"","once":false,"x":194.0000457763672,"y":221.77777099609375,"z":"a4d9ce41.5b263","wires":[["c950f21e.36af1"]]},{"id":"bd4969.ff42b698","type":"mqtt out","name":"","topic":"","qos":"1","retain":"true","broker":"9e1f670b.61e098","x":825,"y":223,"z":"a4d9ce41.5b263","wires":[]}]

×
×
  • Create New...