niietzshe

Members
  • Posts

    71
  • Joined

  • Last visited

Everything posted by niietzshe

  1. Thanks Bungy, I have installed yours and really appreciate all the work you've done there. I just wanted to make my own so I can understand a bit more about dockers. Then I can also make a OH2 version etc... I don't know what the docker run command is, I just start it from unraid or kitematic. I haven't given it any explicit command... Sorry if that's dumb, I'm just trying to piece it together by looking at others work (including your own).. Thanks
  2. This is the last thing I have to get working! Running Kitematic and viewing /config shows me the 3 directories inside correctly. Putting it on UNRAID results in an empty /config directory. Any ideas? https://github.com/christianwaite/dockerapp-openhab/ Thanks Christian
  3. Got it sorted just launching a sh on startup from /etc/services. Closed.
  4. OpenHab is agnostic, you can use anything there is a binding for. But you can mostly use this stuff on purpose built hardware like the Fibaro and MiCasa etc. So you have zwave which is wireless modules communicating back to server through either a built in transmitter/receiver or a USB one (I use AeonLabs ZStick). It's a mesh network so the signal can be piggy backed through other modules to get to the far side of your house if the signal isn't strong enough straight from the server etc.. 433mhz or LightwaveRF. Similar wireless thing, but it doesn't store the state and is not a mesh network. So you can send is signal "turn on", but can't go.. "what value are you, bring the brightness up by 5% from there". But a lot of people use a mix of LightwaveRF and Zwave RS232 is a serial port communication to control old things like amps and tvs, replaces by more IP based stuff now. So there's Denon, Sony, Onkyo bindings that can just control those things over your network. Loads of heating control stuff, if it's got an API you can control it. Anything you can build with an Arduino And internet services. I just set up last night to flash a light when the ISS goes overhead. Need to get a Sonos so I can play the opening theme from 2001 when it goes by! My point being. Choose your protocol (ZWave or LightwaveRF to start), but you're not stuck with just using that and that only. I'll get the OpenHAB Docker up next week hopefully when the wife and kid is away!!! Woo party time! C
  5. Erm while I have a pretty small setup at the minute. Been following Home Automation for many years, but been waiting until conditions were right before starting to do stuff. So currently I just have our babies room setup. So I have two flipper switches on the wall, one controls the main light, one controls a little lamp. When we put our lad to bed a double tap of the switch turns it into "nightime mode", which will turn the main light off and the lamp onto 60%. Then over a period of 20 minutes the lamp will incrementally dim down and turn off eventually. If he wakes up in the night (motion detector) the lamp will come up to 20% so he can see around a bit. If it gets too hot in there (same detector, it's multi functional) then a fan will turn on etc... Next step is to get our bedroom sorted so when there's a lot of motion our lights will turn on etc... So if he wakes up in the middle of the night, our side lights could come onto 20%, hallway lights up to 40% and same with his lights etc... Posibilities are endless really. We're going to get some new tv stuff that are all IP controlled instead of IR. So when I start watching a movie in plex it will dim all the lights when it's playing, when paused it'll bring them back up etc. Also I hate ceiling lights, so the switches are repurposed to more ambient lamps around the living room etc. As it pushes forward we're going to get a few Amazon Echo's so we can talk to the house (weird eh)... "Alexa... Play the next Bob's Burgers..." Would turn the tv on, amp, go into plex, play the next episode while also turning the lights on/off etc. Or have a "away" mode. "Alexa I'm going out" and it'd just shut down the whole house, just leaving things on like the fridge and of course the UnRaid server. There's even ROS (Robot Operating System) so you can make robots to do what you want
  6. Currently I'm running OpenHab 1.7 on an Ubuntu VM, but I'm making a docker for it (and will make a OH2 docker once the ZWave2 binding is released soon). Just struggling with getting it to startup when you launch the docker. This allows me to control my zwave devices, but I've made the bindings folder visible on the share, so you can just drop whatever binding you want into there. For me OpenHab is the future, all the developers of community bindings from other solutions (MiCasa, Fibaro etc) have moved over to developing for OpenHab and it's looking really promising. But until OH2 is live, it is a bit rough around the edges for non technical users. OH2 should be able to auto discover things etc... Have a look on the menu on the right for the amount of bindings they have already: https://github.com/openhab/openhab/wiki/Bindings Here is my OpenHab docker, but It's not ready for anyone yet, could do with a bit of help getting it working: https://registry.hub.docker.com/u/christianwaite/openhab/ Thanks Christian
  7. Hey all, I'm trying to create my first docker to run OpenHab from apt repositories. I know there's another OpenHab docker out there, but it isn't setup how I would like (mainly I want /config to contain my bindings, might not make sense if you don't use OpenHab, but this question should be universal). I'm struggling with the startup. Everything installs correctly and if I exec into the docker and run the init.d, everything is fine and it works as expected. But I can't get it to startup on launch. I've tried all sorts of stuff, currently trying to exec the init from /etc/service, running ontop of Phusion. Here is my install script on Github (docker one level back). https://github.com/christianwaite/dockerapp-openhab/blob/master/install.sh If anyone can point me in the right direction I'd be very appreciative! Thank you Christian P.s. Here's the docker on the hub: https://registry.hub.docker.com/u/christianwaite/openhab/ P.p.s. If you see anything else glaringly stupid, let me know. I'm literally cobbling this together blind from various other's work to get it started.
  8. Ignore me, I managed to finally get it to install properly this morning, for anyone else struggling I'd suggest this guide, it uses a different boot loader than some others I'd looked through and worked for me. https://freevps.us/thread-12007.html
  9. Has anyone got a current ArchLinux img file that works as a VM on Unraid6rc3+? Having trouble building one that is bootable due to my lack of understanding of grub etc. Or is there a way to get arch to sort all your partitions out for you like Debian does on install? Thanks C
  10. Thanks for the info. If you remember anymore let me know.
  11. Thanks for the help, I'll give it a go tonight and see if it's listing any USB devices. As for the Bus Address, most people are using a single device to do this (AeonLabs ZStick), so it should be ok based on the ID, but I was going to expose that in some way once I get it working, probably through an EnvVar. Cheers Christian
  12. Any tips on how to get to the bash of the docker to run lsusb on it so I can see if it's something else not working?
  13. Hey all, I've created a docker based off one I found on the hub that I've added too and setup unRaid templates over on github etc... https://registry.hub.docker.com/u/christianwaite/domoticz-zwave/dockerfile/ It's a home automation server/soft that relies on a USB dongle to transmit/receive zwave commands. If I ssh into UnRaid and run lsusb on the device id: lsusb -d 10c4:ea60 It returns: Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light So we can assume (correctly I hope) that it's dev path is "/dev/bus/usb/001/004". I need to add this I think into the docker so it can see the usb device, which should be a case of: run --device=/dev/bus/usb/001/004 But I can't get it to work and am not entirely sure where I should be doing this. As part of the docker launch? Or just in the script etc... Any help much appreciated on this matter, I'm a bit out of my depth. Thanks Christian
  14. Hey all, I just powered up my first PC build last night that's my dedicated UnRaid server, all going well! It's going to be a few weeks of me just getting all my data ready to transfer over, so no disks in there yet though. I do think I might have a use for it in the mean time however. I have an old mac drive (from PowerPC days) that I'd like to recover some sentimental photo's from. Has anyone tried doing this through a VM and running a disk recover tool on them? Any suggestions? Thanks C P.s. By VM I don't necessarily mean a mac VM, either a Linux or Windows build that'll handle it (preferably Linux).
  15. Thanks for all the help. I got the ASUS H81I-Plus motherboard, the Syba SATA controller And then a Intel Pentium G3420 3.2GHZ CPU which should be newer than the one I posted before. £130 all in but got it for £85 because of some vouchers I had for Amazon. PSU, RAM, parity disk and cables left to get... Ohh and unraid license
  16. That does help a lot, thank you! Hopefully last question then I'm making the purchase: You are using a RAID controller, what benefits does that have over a regular (read cheaper) SATA controller?
  17. Thanks for the info, you really did have me sold on the asrock for a while, mainly for IPMI than ECC, but when I priced everything up it ended up double the cost for mb, ram & cpu, only because I can get 40% off the motherboard currently, otherwise the price difference wouldn't be that great and I'd go for the asrock. The thing is I know I'll end up upgrading my server to a rack system in 2 years and will be buying a whole new set of components, so I'm happy to not totally max out this build. So these are the components I'm currently thinking. LianLi q25b - Already own Asus H81I-PLUS Motherboard - £56.77 Syba SATA controller - £27.78 Intel Pentium CPU - £49.24 Silverstone SFX PSU 300W - £52.13 (originally the 450W is 300W enough?) Storage is 3x3TB WD Green drives I already have. Parity will be another 3TB disk, should I go red or are greens ok for parity? Plan a SSD Cache disk, don't know how big yet, probably quite small, 80GB or something. 2x4GB RAM from crucial. What does this look like to you? I currently do no transcoding and would prefer to keep it that way for the home, but you never know... Probably only ever one stream though. But currently just nfs to xbmc boxes... If this looks like a system that'll work I might just buy it outright now, if you think I need i3, 450w PSU, more RAM or a different board etc then I'll have to revisit the list. Thanks for your help, I haven't built a PC in 15+ years and am a bit cautious of jumping in feet first without asking if I've made some huge mistake first. C
  18. Thanks for the reply. I'm a bit unsure of spending the extra cash as I don't really know what benefits I'll get. Ecc I know will correct errors, but my drobo doesn't have that and I've never had any problems. Ipmi seems to be a way of uncoupling the hardware status from the os, which I can see the benefits of, but don't know if it'll be overkill for a home media server. I also plan on using it extensively for photography, but will be doing manual backups to an external hd every few weeks for off site storage. I have two choices, go expensive and do ipmi and ecc, which will take a bit longer to finish (given myself £100/month to spend so as not to freak the wife out), or go cheap 4xport SATA board and extra controller, probably update in a year or two to a rack mount 16 drive server once I have my node zero cupboard sorted... What do you think. Is it worth the extra for what I need.
  19. Hey all, I'm doing my first build in a LianLi Q25b case, was looking at the H87I-Plus for the motherboard (i3 processor) but am finding it hard to source in the UK. Can anyone recommend me a good sub £100 board that supports 6 drives, or a decent board and SATA extension? I was thinking of adding a tv tuner, but I'm unsure at the minute and can always get an external one, so could use the PCI slot for the SATA extension . Currently I stream directly to openelec boxes from a DroboFS, but am thinking of replacing everything with the Nexus Player when it comes to the UK and running plex + possibly live tv to get everything integrated through the one system instead of jumping around inputs... Any advice would be very much appreciated Thanks C
  20. Excellent, thanks a lot. I'll start getting the parts in next week. As for the extra drive for photos, I keep a small hard drive (500GB) at the moment off site, but I never keep it up to date. What would make this easier would be to be able to stick the drive in and (asking too much, automatically) back up whatever it doesn't have from the photo directory. Can unraid do this? That way I can bring it home once a month and backup over the weekend. I'll need a bigger disk though Unfortunately my current home is all on one ring main for the plugs, so I don't get any benefit having it on another device in a different room. I'm hoping this will change next year with a new house.
  21. Hey all, I'm moving over from a DroboFS to UnRaid and just need a sanity check for my first build. It's pretty standard and mashed together from various popular threads I've read. Just need the final go on it. Also if you have any comments, I could do it cheaper if.... Or you'd be better off with... etc, I'd love to hear them. Requirements are: Currently 3 x 3TB WD Green Drives. I'll add 1 x 4 TB WD RED for parity. An extra Green drive to mirror my photographs directory for extra security. And probably an SSD cache disk in the end. Low power consumption/heat/noise over performance. XBMC Server, Sab, Couch, Sick, MySql etc. NFS streaming to XBMC HTPCs. No Plex transcoding type stuff. Here is my list currently: Lian Li PC-Q25B Case - £100 Silverstone SST-ST45SF-G PSU - £85 Asus H87I-Plus Motherboard - £85 Intel Pentium G3220 Dual Core CPU - £40 G-Skill 4GB Ripjaws X DDR3 1600 Dual Kit - £35 APC 330W RS LCD 550 Master Control UPS - £100 I'll probably look out for bargains/ebay stuff. The case I can get for under £80... I'm looking forward to finally being in control of my data! Thanks Christian