Wir haben automatisierte Systeme für Kunden, um ein Bewertungs- und Abrechnungskonto zu erstellen, das Kunden durch Online-Zahlung auf der Website
Howdy to All people about the Clever Box channel These days would be the up coming Section of the video clip Through the video clip series about Orange Pi Zero In past movies, I now confirmed how to put in on Orange Pi Zero the working method Arbian Internet server Apache, MYSQL databases PHPMyAdmin and MQTT Server And in the present movie, I will install on Orange Pi Zero Sensible house method MAJORDOMO As well as supplemental software package for the proper Procedure of multimedia in the wise home program MAJORDOMO So let us get rolling To get started on we open the terminal And enter the IP deal with of ORANGE PI ZERO Authorization inside the process In the intervening time the temperature from the processor is sixty two degrees Celsius My ORANGE PI ZERO functions without having a glued radiator Not to mention and not using a supporter All this aggravates the plastic circumstance While in the very near foreseeable future I'll place the radiator and fan What I recommend Every person to try and do Properly, now continue to set up the good dwelling program MAJORDOMO on ORANGE PI ZERO The very first thing to perform is apt-get update and apt-get improve Let us do it Enter the command sudo apt-get update Validate While using the password Enter the subsequent command sudo apt-get enhance Now let us create a Listing for your good dwelling system MAJORDOMO Enter the command sudo mkdir /dwelling/majordomo Visit this Listing Enter the command cd /home/majordomo Download archive with smart home method MAJORDOMO Enter the command sudo wget http://majordomo.
smartliving.
ru/download/_majordomo_linux_100b.
tar.
gz And now it remains to setup the procedure Enter the command sudo tar xvfz _majordomo_linux_100b.
tar.
gz Enter the following command sudo cp -rp /dwelling/majordomo/html/* /var/www And enter the final command sudo cp -rp /house/majordomo/html/.
htaccess /var/www Then you should alter the owner of the folder /var/www Enter the command sudo chown -R www-info:www-data /var/www Now you'll want to add the user www-info to your audio team Enter the command sudo usermod -a -G audio www-info Now it is necessary to open the browser and obtain the archive of your wise residence program MAJORDOMO on the pc https://github.
com/sergejey/majordomo/archive/learn.
zip start to down load the archive Archive has become downloaded, now it needs to be unzipped I unzipped it on to the desktop Done Now you should go to PHPMyAdmin For this we enter IP tackle ORANGE PI ZERO And increase through the slash /phpmyadmin For login you might want to enter the login root And while in the password subject enter the password that we established from the past online video when putting in PHPMyAdmin Now you'll want to make a databases db_terminal For this, click on the hyperlink to produce a database In the sphere "databases" we enter In the "comparison" subject, pick the encoding utf8_general_ci.
(EN) | cp1251_general_ci.
(RU) And click on around the "generate" More we pass while in the produced database Visit the tab "import" Click the button "select a file" And now it's important from the Earlier unzipped folder Discover a databases dump So, I found a database dump db_terminal Choose it Then go down this website page And click on around the "ahead" Tables with information productively imported And now you have to create a consumer For this we go to the tab "privileges" Adhere to the connection "increase a consumer" In the sector "username" we enter the login of The brand new person At me It'll be admin And develop a new password for this user Just the new password may be simply just generated Further more down the web page And click on to the "forward" Completed.
Consumer added And now we return to the terminal Next, you'll want to edit the configuration on the smart dwelling system MAJORDOMO Enter the command sudo nano /var/www/config.
php locate the lines: Define('DB_USER', 'Person'); and Outline('DB_PASSWORD', 'Go'); And enter the user facts of which we just produced in PHPMyAdmin If you plan to hook up with the server MAJORDOMO not simply within the household community, but additionally via the Internet Then you have to increase the following code into the file: Outline('HOME_NETWORK', '192.
168.
0.
*'); // household network (optional)Determine('EXT_ACCESS_USERNAME', 'person'); // obtain aspects for exterior community (Online)Define('EXT_ACCESS_PASSWORD', 'password'); In the very first line we indicate our home network Getting In this particular network you could go to the server MAJORDOMO without having authorization In the subsequent two strains, you'll want to sign-up a login and password for connecting for the MAJORDOMO server by way of the online world That is In the intervening time the many settings in the config file.
Now help save the file "ctrl" "x" "Y" "enter" Following, you should develop a file describing the provider for the most crucial loop MAJORDOMO Open the editor.
Enter the command: sudo nano /etcetera/systemd/technique/majordomo.
services Add the next code to your file: [Device]Description=MajorDoMo [Assistance]Necessitates=mysql.
serviceRequires=apache2.
serviceType=simpleWorkingDirectory=/var/wwwExecStart=/usr/bin/php /var/www/cycle.
phpRestart=normally [Set up]WantedBy=multi-person.
concentrate on This code is going to be while in the listing file, in the description under the video clip Now save the file Then you should restart all companies enter commands: sudo systemctl daemon-reload sudo apache2ctl restart sudo services mysql restart sudo systemctl allow majordomo sudo systemctl get started majordomo Now open up the browser and do the initial setup MAJORDOMO Open IP handle ORANGE PI ZERO In some time zones record, you need to decide on your time and efforts zone Upcoming, you have to pick out the language on which the system will do the job And the final is the selection of your pores and skin Dark or light-weight Click on the "proceed" Return to the terminal once again And reboot the server Enter the command sudo shutdown -r now Reopen the terminal Authorization around the server And now you should set up numerous packages for the proper operation of multimedia But to start with we will do apt-get update and apt-get up grade Enter commands sudo apt-get update sudo apt-get improve No updates, however it needed to be done The primary software you have to install – MPLAYER Enter the command sudo apt-get put in mplayer -y And begin the installation The MPLAYER is installed and now we continue to setup the next player – VLC Enter the command sudo apt-get set up vlc -y And start the installation Further more it's important in crontab to incorporate a line While using the code so as to commence the VLC player While using the system crontab -e -u admin Open up the file Pick editor And at the end of the file insert a line With all the command: In the line With all the code it is necessary to specify the password for authorizing the VLC participant The password might be anything at all, you come up with it on your own Now conserve the file and exit Now you have to reboot Reopen the terminal And so are licensed within the program Now you must set up a speech synthesizer that might make the good property system MAJORDOMO get started chatting We're going to install RHVoice but initial put in dependencies Enter the command: apt-get install gcc g++ git pkg-config scons libao4 libao-prevalent libao-dev confirm the action by getting into the password Agree Dependencies are recognized and now we progress to set up RHVoice Go to the folder, enter the command: cd /usr/src/ Duplicate RHVoice sudo git clone https://github.
com/Olga-Yakovleva/RHVoice Head to folder cd RHVoice And put in Enter the command: sudo scons Go on the set up, enter the following command: sudo scons set up And now it remains to enter the last command and finish the installation Enter the command: sudo ldconfig The speech synthesizer is entire Now you have to do a take a look at This will require speakers or headphones I'd at hand these types of a conveyable speaker This audio column I'll hook up with ORANGE PI ZERO Now make an effort to enter the command echo "test" | RHVoice-take a look at yet again echo "test" | RHVoice-examination Properly, now let us check out one thing in Russian echo "Привет Смарт Бокс" | RHVoice-check -p Anna once again echo "Привет Смарт Бокс" | RHVoice-take a look at -p Anna The installation with the speech synthesizer was successful and now you might want to restart the technique Enter the command: sudo reboot Close terminal Now move ahead towards the good dwelling technique MAJORDOMO And make many settings for appropriate Procedure of speech synthesis and for the correct Procedure in the MQTT server Go to the control panel Next, click the backlink – look for updates And click to the button – update the method Then go to the tab – tools And search for the addition of MQTT Put in Now within the tab – conversation is looking for RHVoice and install it Visit the segment – apps Go to the RHVoice Right here we pick the voice besides the last one this application isn't mounted You are able to add caching And click on on the button – update Visit the Settings area Head over to subsection – terminals Here while 1 terminal, this terminal ORANGEPIZERO Head over to edit Pick out the sort of player – VLC around HTTP Specify the port of use of the player – 8080 And also the password we included before And click about the help save button.
Now let's go to the key web page And question the sensible property process MAJORDOMO a little something to convey Now let's move on to MQTT Visit the control panel Visit the section – devices Check out subsection – MQTT Click on the button – configure Let us subscribe straight away to all the subjects And Anbieteriptv enter the information for authorization video clip portion # three From the smartphone, let us visit MQTTOOL Authorization Now mail a message to The subject – test Again into the MAJORDOMO program panel And refresh the web page Now the good residence program MAJORDOMO gets facts on MQTT set up of your intelligent residence program MAJORDOMO on the ORANGE PI ZERO can be viewed as total In the following video clips, I am going to show you the way to create a sensible home process MAJORDOMO How to attach sensors into the process, ways to receive knowledge from sensors How to connect numerous relays, switches And many other points All who similar to this online video tend not to fail to remember to put – like subscribe to my channel All bye.