Wir haben automatisierte Systeme für Kunden, um ein Bewertungs- und Abrechnungskonto zu erstellen, das Kunden durch Online-Zahlung auf der Website
Hello there to Absolutely everyone about the Smart Box channel Today would be the following A part of the video With the movie sequence about Orange Pi Zero In earlier movies, I previously confirmed how to put in on Orange Pi Zero the running technique Arbian World wide web server Apache, MYSQL databases PHPMyAdmin and MQTT Server And in today's video, I am going to install on Orange Pi Zero Wise house system MAJORDOMO And also additional application for the right operation of multimedia during the smart household process MAJORDOMO So let's get rolling To begin we open up the terminal And enter the IP deal with of ORANGE PI ZERO Authorization in the system At this time the temperature on the processor is 62 degrees Celsius My ORANGE PI ZERO performs without a glued radiator And naturally with no admirer All of this aggravates the plastic circumstance From the quite in close proximity to future I'll place the radiator and admirer What I recommend everyone to complete Nicely, now move forward to put in the wise household method MAJORDOMO on ORANGE PI ZERO The very first thing to try and do is apt-get update and apt-get upgrade Let us do it Enter the command sudo apt-get update Confirm While using the password Enter the subsequent command sudo apt-get update Now let's make a Listing with the clever home procedure MAJORDOMO Enter the command sudo mkdir /house/majordomo Go to this directory Enter the command cd /house/majordomo Download archive with wise home procedure MAJORDOMO Enter the command sudo wget http://majordomo.
smartliving.
ru/obtain/_majordomo_linux_100b.
tar.
gz And now it remains to install the procedure Enter the command sudo tar xvfz _majordomo_linux_100b.
tar.
gz Enter the subsequent command sudo cp -rp /house/majordomo/html/* /var/www And enter the final command sudo cp -rp /dwelling/majordomo/html/.
htaccess /var/www Then you'll want to alter the proprietor on the folder /var/www Enter the command sudo chown -R www-info:www-information /var/www Now you must insert the consumer www-facts on the audio team Enter the command sudo usermod -a -G audio www-facts Now it's important to open the browser and download the archive of your intelligent home program MAJORDOMO on the computer https://github.
com/sergejey/majordomo/archive/grasp.
zip start to obtain the archive Archive has become downloaded, now it needs to be unzipped I unzipped it on to the desktop Done Now you need to go to PHPMyAdmin For this we enter IP deal with ORANGE PI ZERO And include with the slash /phpmyadmin For login you'll want to enter the login root And from the password field enter the password that we produced from the preceding video when putting in PHPMyAdmin Now you must develop a database db_terminal For this, click the url to create a database In the sphere "databases" we enter During the "comparison" discipline, choose the encoding utf8_general_ci.
(EN) | cp1251_general_ci.
(RU) And click on over the "produce" Even more we go during the developed databases Visit the tab "import" Click the button "pick a file" And now it is necessary within the Formerly unzipped folder Look for a database dump So, I found a databases dump db_terminal Select it Then go down this web site And click on within the "ahead" Tables with details properly imported And now you might want to make a user For this we go to the tab "privileges" Stick to the link "increase a user" In the sphere "username" we enter the login of The brand new consumer At me It'll be admin And produce a new password for this person Just the new password could be simply just generated Further down the web site And click on within the "forward" Done.
Person included Anbieteriptv And now we return to your terminal Upcoming, you have to edit the configuration on the wise house process MAJORDOMO Enter the command sudo nano /var/www/config.
php find the strains: Outline('DB_USER', 'Person'); and Outline('DB_PASSWORD', 'Move'); And enter the consumer knowledge of which we just produced in PHPMyAdmin If you intend to hook up with the server MAJORDOMO not simply with the property network, but in addition by way of the Internet Then you should increase the subsequent code to the file: Outline('HOME_NETWORK', '192.
168.
0.
*'); // household community (optional)Outline('EXT_ACCESS_USERNAME', 'consumer'); // accessibility details for exterior network (World wide web)Define('EXT_ACCESS_PASSWORD', 'password'); In the 1st line we show our household community Currently being On this community you may go to the server MAJORDOMO without having authorization In another two lines, you should register a login and password for connecting towards the MAJORDOMO server through the web This is certainly In the intervening time all the options from the config file.
Now save the file "ctrl" "x" "Y" "enter" Subsequent, you'll want to make a file describing the service for the most crucial loop MAJORDOMO Open up the editor.
Enter the command: sudo nano /and so forth/systemd/program/majordomo.
support Incorporate the next code into the file: [Unit]Description=MajorDoMo [Provider]Involves=mysql.
serviceRequires=apache2.
serviceType=simpleWorkingDirectory=/var/wwwExecStart=/usr/bin/php /var/www/cycle.
phpRestart=normally [Set up]WantedBy=multi-person.
target This code is going to be from the listing file, in The outline beneath the video clip Now conserve the file Then you have to restart all products and services enter instructions: sudo systemctl daemon-reload sudo apache2ctl restart sudo company mysql restart sudo systemctl empower majordomo sudo systemctl commence majordomo Now open up the browser and do the Original setup MAJORDOMO Open up IP address ORANGE PI ZERO In enough time zones checklist, you will need to pick out your time and energy zone Future, you need to pick out the language on which the process will work And the last is the selection in the pores and skin Dim or mild Click on the "carry on" Return towards the terminal once more And reboot the server Enter the command sudo shutdown -r now Reopen the terminal Authorization around the server And now you should put in various programs for the right operation of multimedia But initially we will do apt-get update and apt-get enhance Enter commands sudo apt-get update sudo apt-get upgrade No updates, but it needed to be carried out The very first application you have to put in – MPLAYER Enter the command sudo apt-get put in mplayer -y And begin the set up The MPLAYER is put in and now we proceed to install the next player – VLC Enter the command sudo apt-get install vlc -y And begin the installation Additional it's important in crontab to add a line with the code so as to begin the VLC participant with the process crontab -e -u admin Open the file Pick editor And at the conclusion of the file incorporate a line While using the command: In the line with the code it's important to specify the password for authorizing the VLC participant The password is often nearly anything, you come up with it your self Now preserve the file and exit Now you should reboot Reopen the terminal And they are approved from the technique Now you must put in a speech synthesizer that would make the wise home system MAJORDOMO start off speaking We're going to put in RHVoice but to start with put in dependencies Enter the command: apt-get set up gcc g++ git pkg-config scons libao4 libao-popular libao-dev validate the action by getting into the password Concur Dependencies are established and now we carry on to install RHVoice Go to the folder, enter the command: cd /usr/src/ Copy RHVoice sudo git clone https://github.
com/Olga-Yakovleva/RHVoice Check out folder cd RHVoice And install Enter the command: sudo scons Go on the set up, enter the following command: sudo scons install And now it stays to enter the last command and complete the set up Enter the command: sudo ldconfig The speech synthesizer is complete Now you should do a take a look at This will require speakers or headphones I'd at hand this sort of a conveyable speaker This audio column I will hook up with ORANGE PI ZERO Now try to enter the command echo "exam" | RHVoice-take a look at yet again echo "check" | RHVoice-check Properly, now let's try a little something in Russian echo "Привет Смарт Бокс" | RHVoice-examination -p Anna all over again echo "Привет Смарт Бокс" | RHVoice-examination -p Anna The installation on the speech synthesizer was productive and now you have to restart the system Enter the command: sudo reboot Near terminal Now proceed to the wise property procedure MAJORDOMO And make numerous settings for proper Procedure of speech synthesis and for the correct operation on the MQTT server Visit the user interface Subsequent, click the website link – look for updates And click on to the button – update the method Then go to the tab – equipment And seek out the addition of MQTT Set up Now about the tab – conversation is seeking RHVoice and install it Go to the part – purposes Go to the RHVoice In this article we pick the voice other than the final 1 this software just isn't mounted You may increase caching And click on about the button – update Go to the Configurations segment Head to subsection – terminals Right here while a single terminal, this terminal ORANGEPIZERO Head over to edit Pick the type of player – VLC around HTTP Specify the port of use of the player – 8080 As well as the password we included before And click about the preserve button.
Now let us go to the most important web site And request the wise home system MAJORDOMO something to state Now let's proceed to MQTT Go to the control panel Go to the part – units Visit subsection – MQTT Click the button – configure Let's subscribe right away to all the subject areas And enter the info for authorization movie aspect # three Within the smartphone, let's head over to MQTTOOL Authorization Now deliver a concept to the topic – check Again to the MAJORDOMO procedure panel And refresh the web page Now the good household process MAJORDOMO receives info on MQTT set up with the sensible property process MAJORDOMO on the ORANGE PI ZERO might be deemed full In the next movies, I'll provide you with the best way to set up a wise property technique MAJORDOMO How to connect sensors on the technique, the best way to receive data from sensors How to attach various relays, switches And all kinds of other points All who like this video clip do not neglect to put – like subscribe to my channel All bye.