Skip to main content

Ferry Bring Peoples From Side To Side On Mekong River Of Cambodia

  Ferry Bring Peoples From Side To Side On Mekong River Of Cambodia Hi Friends, Welcome to my blogger "168 168 Never Quit". This is my new video. if you like this video so please comment, share, subscribe. Thank you very much Rorn Entertainment Channel Mix Plants Along The Street

Raspberry Pi 4 Home Automation Server with IOTStack

So you bought this raspberry Pi and now  you wonder what you could do with it ? Hey,  why not use it as a home automation server ?  Today we install IOTstack on a Raspberry Pi 4  which is a collection of famous home automation  software products such as Home Assistant,  Openhab, Node-Red or Home bridge. 

But on  top of this it has a menu driven installer  where you can chose from many other tools  such as TasmoAdmin, Motion Eye, Mosquito MQTT,  Grafana or even Plax and Next cloud. Why just  need one if you could have it all ? Stay tuned. Rather than building everything from scratch  we can use the existing iotstack project. The project has been hosted by Graham Garner from  South Africa. It was inspired by you tuber Andreas  Spies – the guy with the Swiss accent. 

You can  find his channel in my featured channels list  and also I have put a link to his  first video about IOTstack up here.  So Kudos to Graham and Andreas for bringing this  forward, many thanks guys. I assume that you have  a running debian Linux on your Raspberry Pi 4  and that you are potentially booting from an SSD  drive. 

If you don’t know how to do this then  please watch my video on this – there is a card  up here on this little info Icon and the link  to the video is also in the description of this  video. Guys, please use the chapter markers  and the time line if you want to skip parts  of the video. You can see the sections here on  the timeline ? Those are the chapters. I have  also put them into the description. Awesome, now  let’s install IOTstack. Graham Garner’s original  project has stalled, so the most active fork of  this project is actually Andreas Spies himself.  

Raspberry Pi 4 Home Automation Server with IOTStack

So let’s follow his Installation  instructions and start by installing git  and then pull the project  from his github repository. I am logged into the pi using ssh. So first let’s  make sure that we have git and curl installed. We  will use git in order to clone the project from  Andreas’ github repository and curl in order to  download stuff from the internet. 

In order to  clone the repository we need to type git clone  and then the URL of the repository followed  by a folder name where we want to put it.  Once we have pulled it into the IOTStack  subdirectory we can then cd into that  folder and launch the menu.sh. We select  the first option – Install Docker – and that  will actually launch the docker installation  script which also installs all dependencies.  

The installer tells me to reboot, but before we do  that I want to quickly launch raspi-config – you  have seen all those locale errors ? I just want to  quickly install the locales for German and English  and set the default locale  of my system to English.  Now we can reboot by typing sudo reboot. Perfect, we have pulled the IOTStack project to  our Pi and we have installed Docker on the Pi.  Now let’s select the right menu items  and chose which software to install. 

Let’s again ssh into the pi and call the iotstack  menu. Once we select the second menu item which  is called Build Stack, we can select all the  software components which we want to install  in docker containers. Now feel free to install  whatever you want but I need to give a little  warning here – even the raspberry pi 4 has its  limit, so you might want to limit yourself to  the software which you are really planning to use,  even though I admit that the temptation is high to  select everything. 

Once we quit the menu, we can  then start the stack. The menu script has created  a docker compose yaml file and in order to start  it we just need to type docker-compose up -d. Now  Dockers starts to pull all the required images,  build the containers and ultimately start them.  This process may take a couple of minutes. 

Once  the process finishes, we can check if everything  is up by browsing to port 9000 on our raspberry  pi and open portainer. First we need to give a  password for the ew admin user and then connect  to our local docker instance from where we can see  that all the selected docker containers are  currently up and running. Under published  ports you can see the ports that you would need to  connect to in order to use the various products.

Awesome, we have a bunch of software on our Pi  just by making a couple of clicks. There is just  one little thing that is missing to make me happy  and that is a graphical user interface to Linux  itself. Many of us do not want to use the shell  or command line in order to do things on the Pi  but would really prefer to have a  graphical user interface – a GUI.  Webmin is exactly that – so let’s go  ahead and quickly put Webmin on that Pi. Webmin provides a debian installer package, a .deb  file which can be downloaded from source forge. I  have put all links into the description of the  video. Using wget or curl I can download it  to the server. Takes just a couple of seconds  really, depending on the available bandwidth.  

Raspberry Pi 4 Home Automation Server with IOTStack

Once the package is downloaded , it can then can  be installed with the dpkg command then dash I  plus the filename to install. Takes a couple of  seconds as well. Chances are that the install  will fail and tell you that there are a lot  of packages missing, but there is an easy way  to correct this. All we need to do is call  apt with the dash f option and the install  command and that will automatically install all  missing packages and configure webmin for us.  Just checking if the Webmin service is running  by typing service webmin status and – yes – it’s  running, so we can connect to it using our  browser. Webmin answers requests on port 10000.  

So I need to type the address of my pi followed by  colon 10000. As I have no certificate installed I  get a warning but I can confirm the exception.  Here we go – The first thing that Webmin shows  me is that nice dashboard outlining system  information such as the CPU or memory load. From  within Webmin I can now do things such as check  the file systems, check the running processes or  install software on the pi. I can configure the  firewall or upgrade outdated software packages. 
 
Basically everything that you  would normally do using ssh. Perfect, here we go – we have a running Raspberry  Pi 4 with the full home automation stack from  IOTStack plus Webmin. We can now start using  the software and automate stuff in our home  plus we can do all the administrative  tasks with graphical user interfaces.  Actually, I have a little call to Action  for you – I need you to get involved. I  would like to hear from you if you are  using a raspberry pi and – if you are  really using it or if it rather lives in a drawer  – also I’d love to learn from you if you are using  home automation software of any kind and if yes –  which one. Guys, manna thanks for your feed-back!  

Perfect – that concludes today‘s episode  – I hope it was useful for you and I hope  you liked it – if so, please do leave me  a thumbs up, leave me a comment on YouTube  and subscribe to my channel. Many thanks for  watching – stay safe, stay healthy, bye for now.


Comments

Popular posts from this blog

Apple Keyboard Evolution 1983-2015

I don’t have a Lisa Keyboard, and they’re quite rare and expensive. But here’s what it looked like, it was quite large and clunky. Although not really any wider than a modern Apple keyboard . So, this is the original Macintosh keyboard. It’s kind of tall, and notice that it has no arrow keys, no function keys and no number pad. Apparently, Steve Jobs believed that everybody would use the mouse for everything, except typing. It uses an RJ-11 type connector, similar to a phone cord. The mouse actually had its own separate connector, and did not connect to the keyboard at all. This is about as basic as it gets. I can plug my telephone into it, for some reason. So, one thing I noticed about this is that there are no indicators on where to put your fingers. I’ve never heard a keyboard echo before. It’s not real springy or anything. It does have… …metallic kind of noise to it. But, DAVID: This is the Apple Desktop Bus keyboard. As the name suggests, this was the first keyboard to use the new

The AdLib Gold Experience

Greetings folks, and today on LGR I am proud to present the fabled AdLib Gold 1000 Stereo Sound Adapter. An IBM PC-compatible sound card which, after multiple delays, launched at a suggested price of $299 in the US sometime in late 1992. More or less, its release is a bit complicated but we’ll get to that. For now lemme just go ahead and say how much I’m freak in’ out with excitement recording this footage. Cuz dude, seeing an AdLib Gold in person, still in the box, unused? Among retro PC enthusiasts, that’s like finding a golden unicorn that craps diamonds, it’s just not a thing. Yet here it is, looking’ spiffy! And it’s all thanks to Trixter, aka Jim Leonard of The Old-school PC, Check out his YouTube channel if you’re into this kind of thing too, the man’s a fountain of knowledge and some of the items in his collection are literally one of a kind. Not the least of which being this pristine AdLib Gold 1000, a card that I’ve been wondering about ever since I was eight years old lookin

IBM 8516 Touchscreen CRT Monitor

Greetings and welcome to LGR Oddware where were taking a look at hardware and software that is odd, forgotten, and obsolete! And today it is the IBM 8516 CRT touchscreen from the beginning of the 1990s. And yeah you can touch and draw and do all kinds of things that you would normally do with a mouse or light pen or whatever else -- just with your fingers! And so let’s see what this thing is and what it can do. All right so this is the IBM PS/2 Model 8516 13-inch CRT touchscreen monitor first introduced in June of 1991 for a suggested retail price of $1695 US dollars, holy crap. That would be almost $3,100 at the time of this recording, not a cheap price for a 13-inch VGA monitor back then.  It was built by IBM to be compatible with PCs running DOS, Windows 3 -- and IBM OS/2 of course, because they were still pushing it rather hard when this came out. And as advanced and awesome as it was for its time it was not the first of its kind as far as touchscreen CRTs, not by a long shot.  For

The Advantech I.Q. Unlimited with BASIC and a Z80 CPU.

Hello, and welcome back to the 8-Bit Guy. In this episode, I want to show you this bizarre little computer known as the IQ Unlimited by Advantech. Now, you might be wondering “What is this company Advantech?” Well, if you turn the computer over you’ll see it was actually produced by Video Technology Electronics, otherwise known as V-Tech.” Yes, that’s the same V-Tech that has produced tons of cordless telephones, kids learning computers, baby monitors, and a variety of other things. They are also the ones that built the Laser 128, which was an Apple II clone, along with the matching Laser XT which was a PC clone. They also produced the laser line of portable computers, and even a series of proprietary desktop computers that carried the laser brand name. So, needless to say V-Tech is no stranger to making computers. But, I think this may be the strangest one they ever made. The front of the box claims it to be complete, powerful, simple, and affordable. They are also those that built th

Words of Krom Ngoy

Words of Kram Ngoy This Brahma song is translated to tell Khmer men and women To be mindful should be diligent. Do not be lazy, do not be too stupid, try to learn numbers, learn the alphabet Learn all the virtues, supernatural wisdom combined with ideas. Born to see through, even from afar           Really good at thinking about everything. Fools do not wake up like blind people on both sides           There is no image of a cheap sinner born ignorant. The human race, though high and low, descended from the Pao clan.           Evil, good, black and white, cut off descendants like ancestors. Ignorant people are not venerated as a religion           The monks know the Dharma, the students study hard. The ignorant breed is not very wise, the crooked breed is not very gentle           Straight seed until the true seed does not disappear. Innocent parents do not want their children to be ignorant           Cursing for the children to know. Ignorant father sees his son never angry          

The best gaming laptop for MS-DOS games

The other day, I used to be reading this old Computes Gazette magazine from 1983. and that I saw this card you'll send off for more information. happen if I filled it out and sent it off? Well, stick around till the top and I'll show you the result. Most of the time, stepping into Retro Gaming are often quite challenge. Even the old Atari 2600 her, for instance, it are often very challenging to seek out a contemporary TV or monitor that you simply. On the brilliant side, the games are pretty easy to affect. All you've got to try to to is locate them online, or thrift shop, or whatever and you purchase the sport, and you recognize, But, things get even harder once you start watching old computers. For instance, the Commodore 64 uses a disk format that's essentially foreign today.  It's no means to attach to the web, and albeit you've got a pile of blank disks, getting the games copied over to them from the web could be a nightmare. Now, if you fast forward just a

Strangest Computer Designs of the '80s

OMG Mr. LGR!!! You made my day showing the Seiko computer watch series. I collect these things and Have almost  the entire lineup up including the weird UC-2200. The only one I'm missing is the "wrist mac" which was essentially a Seiko RC4400 but marketed and sold for Apple. It could be considered the first apple watch! That design for the Elwro-800 actually seems pretty good and I wish I had it for the C64 back in the day. That wire holder could have been used for holding a computer magazine with a user made program which they always had in the magazines back in the day. Even now it would be good for data input from a written copy, or even writers who like to get their pre-writing done on paper. They were the machines we were taught Turing language on -- and compiling even a tiny Turing program on them was unbelievably slow.  I really liked the GUI on them though, but we never really used the GUI much; all the programming we did was in a text file run through a compiler

Will Kill Your Computer

Hey guys, this is Austin, and this is the USB Killer. Now, it might not look like much, however this will straight up kill your computer. So, this is a device that’s used to test hardware, so while it looks like an ordinary USB device, instead, there’s a series of capacitors inside. So, if you plug it into a computer, it will charge those capacitors up, and once they’re full it turns around and releases all of that power at 240 volts straight back into the computer, in theory killing it. It doesn’t take much to be able to pop this thing open. Now, before we proceed: Do not try this at home. Seriously. Not only is it very possible for this thing to kill electronics, but it’s also. And by being careful, I mean don’t try this at home. We have an Asus Chrome book.  Now, USB Killer claims that this is going to work on around 95 percent of computers, and the reason for that is that while some computers have properly capped USB ports, most have completely unprotected ports, which means that i

Lost Colony of Roanoke

 The broken anchor is pretty sketch. Sounds like the colony might have been wiped out and Smith not wanting to return to England and say "my bad they all died" was able to save face by saying "We have proof they are safe and moved location.  Near the end of the 16th century, a man by the name of John White embarked on a transatlantic voyage. His destination was the island of Roanoke along the southeastern coast of North America. On this island, White had established an English colony some three years before and he was now returning to resume his position as Governor. After a long and difficult journey, White finally reached the site of the colony only to find the more than one hundred men, women, and children had left behind had disappeared. Before White had a chance to conduct a more extensive search, the ship returned to England and in its wake, it left a mystery.  Raleigh was soon thereafter knighted by Queen Elizabeth I and the new land was to be named Virginia in ho

BootSkin XP - A Boot Screen Customization Tool for Windows XP

 Hello everybody and welcome back . We’re going to be taking a look at a pretty cool little piece of software for Windows XP, and there’s also a version for Windows Vista, called BootSkin. And this is a little bit of an older program. This was released, I want to say, somewhere in the mid-2000s. This is actually a piece of software that I used on a couple of my Windows XP , and even some my Windows Vista machines like over 10 years ago. It’s been a while since I’ve used this piece of software. But what this software allows you to do is, as you can probably tell by the name, it allows you to skin and customize your Windows boot screen, add a little bit more personality to your system and make your boot screen look more unique so, you know it’s gonna be much different than everybody else’s which just says Windows XP when it boots up. And this is made by a company called StarDock and I’ve used a couple of different StarDock programs before there’s another one of my favorite programs from