Complete Guide Setting Up The Home Automation Server (OpenHAB 2 + MQTT): Software WINDOWS

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 134

  • @Nathan-rx6bj
    @Nathan-rx6bj 7 років тому

    Dont change anything, Totally best tutorial videos ever. I used the video in conjunction with the tutorial on your website, I have Openhab MQTT all set up and I had never touched a Pi or openHab Prior to this video.
    You Da Man!!!!!

  • @RobertHorvat
    @RobertHorvat 6 років тому +5

    openhab does not send mqtt after last update to 2.4.0
    Any solution yet?

  • @matthewpferchy5298
    @matthewpferchy5298 7 років тому

    I agree with Jacky. I have tired many times to install openhab2 and get my sensors integrated with zero luck. I have followed numerous other vids with no luck! Finally a great install vid that actually makes sense! Keep it up! I am interested to see if you use other z-wave devices and IP cam integration...

  • @moukafaslouka4796
    @moukafaslouka4796 6 років тому

    Nice tutorial. I was able to setup the home automation server and install MQTT. Now onto using OpenHAB 2 to do some fun stuff.

  • @JohnDoe-ui7en
    @JohnDoe-ui7en 7 років тому +4

    Damn! This couldn't have been clearer. Thanks!

  • @richardburguillos3118
    @richardburguillos3118 6 років тому

    It has changed a little... The Mosquito is now hiding under the option 20 menu and all I could find was MQTT Action and not Binding so I hope that's the right one. This has been excellent / awesome help thus far along with your site! THANKS!!

    • @richardburguillos3118
      @richardburguillos3118 6 років тому

      OK between steps 3 & 4 you need to tell us to select the BINDINGS tab first and then SEARCH or it searched only the ACTIONS. At least that is the default tab that is active when we select Add-ons in current version. Thus I noticed the BINDINGS tab and found it there...

  • @AndersJackson
    @AndersJackson 7 років тому

    Good tutorial.
    Might have made a note that it is good to save the settings of the router each time you make a change.

    • @AndersJackson
      @AndersJackson 7 років тому

      You might want to check that putty have set to use UTF-8 character encoding.

    • @AndersJackson
      @AndersJackson 7 років тому +1

      You should really use authentication of the MQTT server. Really, because that is easy to take control over.
      So the first command in the newly install system should be passwd and change password.
      And it isn't putty or sudo password. It is the account openhabian password.
      And please don't use same password on different accounts/services. Instead use a password manager.

    • @AndersJackson
      @AndersJackson 7 років тому +1

      No need to remove the comment when configuration MQTT.

    • @AndersJackson
      @AndersJackson 7 років тому

      And use Etcher software to write the SD memory card. It is much easier to use.
      etcher.io/

  • @mahdibarati2841
    @mahdibarati2841 6 років тому

    Thank you for sharing the video, but I have run the raspberry pi and I can see it on my router but can not access it what will I do?

  • @Bielk0
    @Bielk0 7 років тому

    hello, can I add my daikin AC to openhab and then control thru apple homekit?

  • @mohamedabdulmajid2038
    @mohamedabdulmajid2038 4 роки тому

    now , there is a latest version of openhabian system image , would there a problem or a modification if i used this latest version ???

  • @karlmarkert7065
    @karlmarkert7065 6 років тому +1

    When I type in "sudo nano /etc/openhab2/services/mqtt.cfg" nothing appears on the screen and in the upper right corner it sais "GNU nano 2.7.4"....i don't know what that means... Can anyone Help?

    • @islukeok
      @islukeok 6 років тому

      Same

    • @tumblew33d
      @tumblew33d 5 років тому

      Luis Valencia has the solution below.

    • @karlmarkert7065
      @karlmarkert7065 5 років тому

      @@tumblew33d where

    • @tumblew33d
      @tumblew33d 5 років тому

      @@karlmarkert7065 sort comments by newest first. You'll see it below this.

    • @tumblew33d
      @tumblew33d 5 років тому +1

      @@karlmarkert7065
      Luis Valencia
      1 month ago
      SOLVED!
      1.-Unistall the MQTT BINDING 2.x
      2.- Go to: PaperUI->Configuration->System->Include Legacy 1.x Bindings and enable that option
      3.- Return serch and install the MQTT BINDING 1.x
      4.- Follow the tutorial and enjoy!

  • @ijazahmed619
    @ijazahmed619 6 років тому

    How to do address reservation in huawei router HG630a ?

  • @savusav
    @savusav 6 років тому

    Hi, I have one problem, when I search for MQTT Binding on open hub add ons doesn't appear what can I do? I will appreciate your help because I really want to start on home automation.

  • @Hi5ist
    @Hi5ist 6 років тому +1

    hi!
    can you help me... the lastest version stable available is the 2.4.0-1 and I have install the mosquito(and try to use it with mqttfx and is ok) and the MQTT Binding but isn´t the file "mqtt.cfg" in the pad that you say. I already check that the MQTT Binding is installed going to here: 192.168.15.208:8080/habmin/index.html#/bindings
    Do you know were is it? because it dosen´t works with out that change.
    please help.

    • @RobertHorvat
      @RobertHorvat 6 років тому

      same probleme here

    • @Hi5ist
      @Hi5ist 6 років тому +2

      SOLVED!
      1.-Unistall the MQTT BINDING 2.x
      2.- Go to: PaperUI->Configuration->System->Include Legacy 1.x Bindings and enable that option
      3.- Return serch and install the MQTT BINDING 1.x
      4.- Follow the tutorial and enjoy!

    • @RobertHorvat
      @RobertHorvat 6 років тому

      @@Hi5ist I have installed miflora-mqtt-daemon (22). Now, I can not even connect to MQTT.fx as I could before. Do you know, how to uninstall this component?

    • @Hi5ist
      @Hi5ist 6 років тому

      Robert Horvat i think that the comand is something like sudo apt-get uninstall (program)

    • @tumblew33d
      @tumblew33d 5 років тому

      @@Hi5ist Thank you for this!

  • @tennysongeorge6439
    @tennysongeorge6439 5 років тому

    can you do this same process with an Arduino UNO?

  • @sumeetkumaryadav9752
    @sumeetkumaryadav9752 6 років тому

    I am not able to connect mqtt by putting ip of raspi.. please help
    I am getting not authorize to connect

  • @nyvek970
    @nyvek970 6 років тому

    I can't get the MQTT.fx to connect. :(

  • @alexandrumanda6871
    @alexandrumanda6871 7 років тому +5

    Very nice tutorial, but can you help me ? I get an error named: "Kernel panic-not syncing:Attempted to kill init! exitcode=0x0000000b"

    • @lcluislc
      @lcluislc 7 років тому

      Me too.. Please some help

    • @rubenhakopian
      @rubenhakopian 7 років тому

      I'm also getting the same error after upgrade.

    • @alexandrumanda6871
      @alexandrumanda6871 7 років тому +1

      Now it's the version 1.2. All you have to do is to go to :"github.com/openhab/openhabian/releases" and download the first image for raspberry from 1.2 version, flash it on your sd card and wait for 40 minutes. It should work.

    • @alexandrumanda6871
      @alexandrumanda6871 7 років тому

      It's the .xz file. You can unzip and you will have the .img file. Then flash it on your sd card.

    • @rubenhakopian
      @rubenhakopian 7 років тому

      That's exactly what I started to do right know, but it there another way to fix this? I don't want to start fresh installations and configure openhab from scratch every time a new release happens. Did you happen to find some remedy to this?

  • @WOnken
    @WOnken 7 років тому

    Great video, great step by step explanation...

  • @itech618
    @itech618 7 років тому

    What coding language are you using?

  • @mennoscholten6839
    @mennoscholten6839 7 років тому

    when i try to view my Classic UI i get a message saying that "HTTP ERROR 500 SITEMAP HOME COULD NOT BE FOUND".
    What can I do?

  • @DiyintheGhetto
    @DiyintheGhetto 7 років тому

    Hello i have just a single Question what happens if you only have wireless internet how do you set it up to wireless. Because doesn't the initial setup requires a internet connection correct?

    • @MKSmartHouse
      @MKSmartHouse  7 років тому

      +joseph chrzempiec before you write the image to the ad card there is a file where you can input your wifi settings

    • @DiyintheGhetto
      @DiyintheGhetto 7 років тому

      Hello problem with that is it is a Image file you couldn't open it up and write to it. ?

  • @h4z4rd42
    @h4z4rd42 7 років тому +1

    Very nice job with this series. Thank you for your efforts.
    Subcribed obviously.

    • @h4z4rd42
      @h4z4rd42 7 років тому +1

      And... I guess you might want to number your videos for the easier access later since they have almost the same title...

  • @jackofallthings1764
    @jackofallthings1764 6 років тому

    I'm stuck, I cannot figure out where the next video is in the series to be able to configure anything to talk to the mqtt server. I also cannot how to configure the MQTT server. have a sonoff light flashed with espeasy firmware. i can log into the webpage for the light. I can communicate with the openhab site. I have a sitemap and under the basic UI, I have a demo switch. But for the life of me, I cannot figure out what to do next. can anyone please point me to the next relevant video that picks up where this one left off or any other relevant documentation.

    • @jackofallthings1764
      @jackofallthings1764 6 років тому

      it seems as if there are two exact videos one right after the other and possibly the other one got misplaced and this one was loaded on top of it.

  • @justinmallaiz4549
    @justinmallaiz4549 6 років тому +1

    Thanks, very easy to follow.. On to your next vid :)

  • @rootney
    @rootney 7 років тому

    fyi you may run into trouble just unplugging the pi. this is like doing the same to your computer which can corrupt the hard drive but with the pi the sd card is the hard drive so some sd cards and the older pis are notorious for corrupting the sd car making it unable to boot the proper way is to login via ssh and issue the shutdown command. or just reimage the sd card abd backup the sd card after you have done all your config.

  • @richardwere8000
    @richardwere8000 7 років тому

    Bitvise is much more useful and pleasant to use than putty. Also installing Byobu on the pi as a terminal manager makes using the pi and command line awesome. You can configure it by pushing F1 and even get it to tell you details such as CPU, RAM etc usage.

  • @yourilauwrier3891
    @yourilauwrier3891 5 років тому +1

    can anyone help me i forgot my password i tried alot of password combinations but i cant get in. is there anyway to change it without starting all over

  • @Jarjarbean75
    @Jarjarbean75 7 років тому

    Great job. Can't wait to seem all.

  • @levimavis7551
    @levimavis7551 5 років тому

    Help!!! When I do "sudo nano /etc/openhab2/services/mqtt.cfg" it's comes up with nothing 😩

    • @erichsteffen3174
      @erichsteffen3174 5 років тому +1

      Yeah I had the same issue. Maybe it has to do with the version of openhab and mqtt binding? I am on version OpenHab2 v2.4 using a mqtt binding 2.4.0. In this video Matt appears to be using OpenHab2 v2.0 and mqtt binding 1.9.0. For what it is worth...

    • @Kevin-wy1gb
      @Kevin-wy1gb 5 років тому +1

      I have the same problem! Anyone a solution?

  • @lampmanjosh
    @lampmanjosh 7 років тому +3

    Your videos are awesome. Very detailed, and ultimately to the point. *subscribed*

  • @DiyintheGhetto
    @DiyintheGhetto 7 років тому

    Hello i got a new problem after installing the Openhab OS and i let it sit for an hour I logged in then it showed me a bunch of stuff i guess for log's then jams up. Not sure what to do. Can someone help me out on this problem?

    • @markr782
      @markr782 7 років тому

      I had several issues when doing my install but eventually got through it. Make sure that your Pi is connected to an Ethernet network when you boot for the first time. I believe It requires internet access to expand the OS.

    • @DiyintheGhetto
      @DiyintheGhetto 7 років тому

      No it was not a problem with the Installation or my Internet connection or even Power. The problem is it was a Bad micro SD card. It was brand new still in the package and it was bad, I Even tried to reformat it and windows said Nope couldn't. So new micro SD card and now up and running.

  • @Aqm1001
    @Aqm1001 7 років тому +1

    I am new in openhab i flowed your instruction and install openhabianpi-ua-netinst img but when i restart it it stuck in comment (1.608505 ---[end kernel panic - not syncing: Atemped to kill init! exitcod-0x0000000b) what it can be wrong

    • @lcluislc
      @lcluislc 7 років тому

      Aqm1001 me too. Please some help

    • @rubenhakopian
      @rubenhakopian 7 років тому

      If still struggling: github.com/openhab/openhabian/issues/147

    • @alexandrumanda6871
      @alexandrumanda6871 7 років тому

      look at my comm. I explained there

  • @derekhellinga101
    @derekhellinga101 6 років тому

    very good matt ... thank you for sharing your knowledge! subscribed!

  • @Pjnpm
    @Pjnpm 7 років тому

    when i type in "sudo openhabian-config" i get asked for the password so i typed in "openhabian" but it says Error executing command: login failed ! i tried all the other passwords but nothing worked! please help!

  • @nickmcmen5880
    @nickmcmen5880 7 років тому

    I download the openhab file and loaded on the ad car. install the ad card on the pi. never load or expand files I double check if the image files were available on the ad card and everything is there why is not working after 45 min wait time

    • @MKSmartHouse
      @MKSmartHouse  7 років тому

      which openhabian image did you use?

    • @nickmcmen5880
      @nickmcmen5880 7 років тому

      MK-SmartHouse the one on the link I know there is a new one now. can you give the the correct link please

    • @MKSmartHouse
      @MKSmartHouse  7 років тому

      Nope, there is no new link everything is still the same. I would recommend following the guide exactly because it does work you might have just missed a step or something.

    • @nickmcmen5880
      @nickmcmen5880 7 років тому

      I did not missed a single step. I only see my win 32 has option on your video you have selected md5

    • @MKSmartHouse
      @MKSmartHouse  7 років тому

      did you try everything again and exactly as I have shown

  • @a.r.c.9674
    @a.r.c.9674 7 років тому

    Hello everyone. I have decided to set up a basic automation system to my house after I watched MK-SmartHouse videos over UA-cam. I bought a rasberry pi3 and followed the guides. I could reached to the part that we do the configurations over openhab. But after the configurations. When I reboot my rasberry pi, or even I unplag it; I cannot connect to it again. I type my ip adress with :8080 at the end to my web browser and it gives me only ERR_CONNECTION_TIMED_OUT and when I try to connect with Putty it gives me this error "Network Error:Connection Timed Out". But before rebooting. I am able to connect over my browser and putty. connection is gone after I reboot my rasberry pi.

  • @joedassin563
    @joedassin563 7 років тому

    hello MK and thanks for the great video. i got to the point (I blieve the SSH) when it asks for the username and password (openhbaian/openhabian) it keeps telling me "Access Denied" after typing in the password!!
    did i miss anything?

    • @MKSmartHouse
      @MKSmartHouse  7 років тому

      +Joe Dassin scroll through the comments I think someone else had this issue, personally idk why.

  • @lisnjay
    @lisnjay 7 років тому

    Thanks for uploading! I can't seem to get openhab 2 working for the life of me.

  • @bertalandomsodi5302
    @bertalandomsodi5302 7 років тому

    Hi, I have a problem, please help me: I cannot connect to openhab2 on ip:8080 (mine is 192.168.0.2:8080). I try reinstall everthing, step by step. If I try check the openhab status (sudo systemctl status openhab) I got: openhab.service Loaded: not-found (Reason: No such file or directory), Active: inactive (dead)...

    • @jeppew514
      @jeppew514 7 років тому

      I have the same problem ;(

    • @rivjr007
      @rivjr007 6 років тому

      I use openhabianpi:8080 instead of the ip number and it works, hope it does for you.

  • @wzk921109
    @wzk921109 7 років тому

    Hey m8, so you are using Pi 3, is there any reason why not use Zero Ws or can I go ahead replace the Pi 3 with Zero W? I'm a Pi noob. Cheers.

    • @MKSmartHouse
      @MKSmartHouse  7 років тому +1

      I use the raspberry pi 3 because it is the most powerful raspberry pi out there right now

    • @zigajamnik
      @zigajamnik 7 років тому

      MK-SmartHouse ive also ordered zero w. how do you connect to your lan if you have wifi thing? i mean, raspberry pi automaticly connects to lan with utp cablee, but what if you have wifi?

  • @nishitpatel6840
    @nishitpatel6840 7 років тому

    Is pi3 capable for 24x7 application??

    • @MKSmartHouse
      @MKSmartHouse  7 років тому

      +nishit patel yes it is, I have it running 24/7

    • @nishitpatel6840
      @nishitpatel6840 7 років тому

      Thanx for your reply, What are the ratings of your power supply? And for how long you are using it for 24x7??

    • @MKSmartHouse
      @MKSmartHouse  7 років тому

      The link to the exact power adapter is in the description. Also I have been running for a couple years now with power outages during storms but other than that it is 24/7

    • @nishitpatel6840
      @nishitpatel6840 7 років тому

      Thnx, dude power outages are very common here at my place..haha..

  • @jackywoo4975
    @jackywoo4975 7 років тому +2

    Hi This is by far the best OpenHAB2 installation video I have seen and thank you. I got to the last part PaperUI and I am not able to find the MQTT binding in it, any suggestion? Thanks in advance.

    • @MKSmartHouse
      @MKSmartHouse  7 років тому +1

      when you went through the setup did you select expert mode

    • @jackywoo4975
      @jackywoo4975 7 років тому

      I will start all over again and try. Thanks Matt

    • @jackywoo4975
      @jackywoo4975 7 років тому +1

      Thank you again Matt, it is now all good. Many Thanks for the time you put into these videos!

    • @vitorsoares1857
      @vitorsoares1857 7 років тому

      Hello, I have the same problem. In which step of the process we should select expert mode?

  • @camaro_operator8786
    @camaro_operator8786 7 років тому

    problems with website says its under construction

    • @lisnjay
      @lisnjay 7 років тому

      It seems to be working now.

  • @DiyintheGhetto
    @DiyintheGhetto 7 років тому

    Hello you forgot one Important step after installing the Openhab Os is to safely remove the SD card or sometimes it will get corrupted. Just wanted everyone to be safe while installing something like this.

    • @MKSmartHouse
      @MKSmartHouse  7 років тому

      oh yes you are right! I forgot that the program does not auto eject like on mac

  • @robertyates6913
    @robertyates6913 7 років тому

    Can't find the written guide. It's not accessible on your home page. Thanks for the video.

    • @lisnjay
      @lisnjay 7 років тому

      Looks to be fixed.

  • @norbertrick
    @norbertrick 6 років тому

    Very nice tutoriel, great work

  • @nickmcmen5880
    @nickmcmen5880 7 років тому

    I did try that image same results I will try to do it again using my mac

  • @vaughanza
    @vaughanza 6 років тому

    Thanks for another great video

  • @jeppew514
    @jeppew514 7 років тому

    My IP is getting rejected?

  • @ramkishorsuryawanshi3000
    @ramkishorsuryawanshi3000 6 років тому

    How can I secure my openable in LAN Using password

  • @will300c
    @will300c 7 років тому

    Why in the hell do you reboot the router just adding another device to the network? That is not required.

  • @BradleyHerbst
    @BradleyHerbst 7 років тому

    Very good video, extremely helpful.

  • @THELABHUB
    @THELABHUB 7 років тому

    I write the image to the SD Card, Plug it in and nothing happens. I have tried twice. Anyone else having the same issue ?

    • @MKSmartHouse
      @MKSmartHouse  7 років тому +1

      +Vlad did u extract the img file before writing to the Sd card, it is a new thing with openhab Ian

    • @THELABHUB
      @THELABHUB 7 років тому

      Pretty sure I did, I will have to give it another shot tomorrow. Thanks :)

    • @THELABHUB
      @THELABHUB 7 років тому

      Figured it out. I had downloaded the wrong image - Silly me haha
      Downloaded openhabianpine64-xenial-201706161506-git7ff273e-crcadda6dbb.img.xz
      instead of
      openhabianpi-raspbian-201706161358-git7ff273e-crc00389b9f.img.xz
      It worked right away after downloading the correct image.
      Thanks

  • @Msc7532
    @Msc7532 7 років тому

    Thank you very much for the great video

  • @captnhan1k75
    @captnhan1k75 7 років тому

    can anybody confirm the programming language he is using here???

  • @anujjavne2174
    @anujjavne2174 6 років тому

    You are video is fabulous

  • @jamegrabham9992
    @jamegrabham9992 7 років тому

    Great videos.... thank you..:)

  • @PureNoiseRadio
    @PureNoiseRadio 7 років тому

    Great video.

  • @DiyintheGhetto
    @DiyintheGhetto 7 років тому

    Okay it looks like i have a small problem. when i try to install openhab for my dads place i get errors. I tried to reinstall it and i have got the same errors. Not sure what to do now.
    i have posted it on pastebin sie
    pastebin.com/mYKaLUV9

    • @MKSmartHouse
      @MKSmartHouse  7 років тому

      I have no idea maybe some else does?

    • @DiyintheGhetto
      @DiyintheGhetto 7 років тому

      The problem was the internet connection crapped out and didn't correctly finish installing the files. When i rebooted it didn't want to fix the problem so i started over and completed now it is working.

  • @Jimmy_Jones
    @Jimmy_Jones 7 років тому

    Why can't the developers at Openhab create these sorts of instructions. It looks so easy now.

  • @Mr.AdeelAhmed
    @Mr.AdeelAhmed 7 років тому

    I anyone show how to bind esp8266 with openhab2 and make a working interface kindly make a tutorial anyone thanks

  • @tberry7348
    @tberry7348 7 років тому

    you forgot a setup video using a linux pc.

  • @RFFraydex
    @RFFraydex 7 років тому

    There are not enough thumbs down buttons for this video -,-

  • @tomwilliam5118
    @tomwilliam5118 7 років тому

    like your videos very much very informative but could you speak a little slower in your next videos it's kind of hard to follow you

    • @MKSmartHouse
      @MKSmartHouse  7 років тому

      I will try but you can always turn on CC or go to the website and look at the written guide

    • @tomwilliam5118
      @tomwilliam5118 7 років тому

      Thanks once again helpful information and I didn't mean anything negative about it I'm 63 year old man with poor vision and hearing

  • @volopietrapertosa4129
    @volopietrapertosa4129 6 років тому

    GRAZIE

  • @Zwiesel66
    @Zwiesel66 7 років тому

    Nice video, but please do not read out anything, which everybody can see anyway - it is a video ;-)

  • @robimudri4330
    @robimudri4330 7 років тому

    like

  • @urownplaylist
    @urownplaylist 5 років тому

    Hi, I am not getting the file mqtt.cfg