element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
PiCasso Design Challenge
  • Challenges & Projects
  • Design Challenges
  • PiCasso Design Challenge
  • More
  • Cancel
PiCasso Design Challenge
Blog Smart Home Orchestra And Mood Mediator (SHOAMM) – Initial Setup
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: vlasov01
  • Date Created: 22 Apr 2019 2:32 AM Date Created
  • Views 518 views
  • Likes 6 likes
  • Comments 0 comments
  • ble
  • picasso
  • ssh
  • raspbian.
Related
Recommended

Smart Home Orchestra And Mood Mediator (SHOAMM) – Initial Setup

vlasov01
vlasov01
22 Apr 2019

Initial setup

I’ve connected RPi to TV to perform initial configuration as it doesn’t have ssh service enabled by default anymore.

OS installation

I’ve selected Raspbian Stretch With Desktop as my OS for RPi. It seems the most popular OS for RPi and I have a previous experience with Ubuntu and they have a common parent Debian. It took significant amount of time to complete the install. Here is my current OS version.

pi@raspberrypi:~$ uname -a
Linux raspberrypi 4.19.34-v7+ #1211 SMP Mon Apr 8 22:56:37 BST 2019 armv7l GNU/Linux

Network and Security setup

Then I’ve setup wifi.

Enabling of SSH is well documented https://www.raspberrypi.org/documentation/remote-access/ssh/

Setup a Static IP Address

As I prefer to work with RPi over SSH I’d like to have a static IP for it. I’ve followed instructions from Stackoverflow Static IP Address to set it up:

I’ve edited  /etc/dhcpcd.conf

By setting the following:

interface wlan0
static ip_address=192.168.1.63/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1 8.8.8.8 1.1.1.1

And then I’ve restarted network service:

sudo service networking restart

Setup ssh access with authorized key

I’ve generated a new keys with PuttyGen and added the public key to

.ssh/authorized_keys file. At the same time I’ve specified my private key file in my ssh client as Authentication parameter.

 

Disable password access

As popularity of RPi growths it can become the new security risk for you, So after setting up access with the key I’ve disabled access using password as described in https://raspberrypi.stackexchange.com/questions/3435/how-can-i-deactivate-the-login-password-on-my-raspberry-pi .

Setup Bluetooth

I need to setup BLE to communicate with my sensors and audio output.

First setp is to Add the pi user to the audio and the bluetooth groups:

 

sudo adduser pi bluetooth

 

then’ve check if BLE is enabled:

pi@raspberrypi:~$ ps -ef | grep bluealsa
root       693 1  0 21:21 ?        00:00:00 /usr/bin/bluealsa
pi         923 807  0 21:44 pts/0    00:00:00 grep bluealsa

Then I’ve used BLE control tool bluetoothctl to connect setup connection and trust between RPi and my devices as per https://raspberrypi.stackexchange.com/questions/90267/how-to-stream-sound-to-a-bluetooth-device-from-a-raspberry-pi-zero instruction.

 

Next Steps

Collect data from sensors

Explore TensorFlow tools and Magenta models.

Explore Home Assist

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube