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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Pi Chef Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Pi Chef Design Challenge
  • More
  • Cancel
Pi Chef Design Challenge
Blog PiCA - Pi Chef Challenge Blog #6 : Preparing the messenger tools for systems
  • 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: giganggu
  • Date Created: 16 Mar 2018 6:14 AM Date Created
  • Views 937 views
  • Likes 6 likes
  • Comments 4 comments
  • raspberry pi
  • messenger
  • installation
  • yowsupp
Related
Recommended

PiCA - Pi Chef Challenge Blog #6 : Preparing the messenger tools for systems

giganggu
giganggu
16 Mar 2018

After success in the installation OpenCV and building Block set, now we will prepare the messenger tool for the basis of communication between user and provider. In this project we consider to use Whatsapp based messenger since the library for this is provided named Yowsup.

 

The step of installation is explained in the http://www.instructables.com/id/WhatsApp-on-Raspberry-Pi/ and https://github.com/tgalal/yowsup  (official website) as follows,

1. Firstly, install the tools required with shell code:

sudo apt-get install python-dateutil
sudo apt-get install python-setuptools
sudo apt-get install python-dev
sudo apt-get install libevent-dev
sudo apt-get install ncurses-dev

 

2. Clone the git of yowsup, the base interpreter of whatsapp messenger by code below,

git clone git://github.com/tgalal/yowsup.git

 

3. Then navigate to the yowsup folder for next installation.

cd yowsup

 

4. Install the yowsup by command

pip install yossup2

The screenshot of the installation process will be like below,

image

Fig.1 Installation process of yowsup

 

5. After installation finished, we need to request a registration code to our phone number by command,

python yowsup-cli registration --requestcodesms --phone 39xxxxxxxxxx --cc 39 --mcc 222 --mnc 10

 

6. If the installation success  and request code by SMS is success shown below,

image

Fig.1 Installation process of yowsup

 

 

7. After receiving the code, we can send the code for confirming the registration.

python yowsup-cli registration --register xxx-xxx --phone 39xxxxxxxxxx --cc 39

I will register my number in the next step after the integration of system is finished.

 

Closing Remarks

We have described the process of preparing the messenger tools for this project. The next step is the development of the algorithm for computing the stock including the blobing technique and blob area-weight correlation. Hope that our project runs well.

  • Sign in to reply

Top Comments

  • three-phase
    three-phase over 7 years ago +1
    Nice update, look forward to reading about the software development. Hope it goes well for you. Kind regards
  • giganggu
    giganggu over 7 years ago in reply to three-phase +1
    Thank you Lane. I hope so.
  • giganggu
    giganggu over 7 years ago in reply to genebren +1
    Thank you Breniman. I hope so.
  • giganggu
    giganggu over 7 years ago in reply to genebren

    Thank you Breniman. I hope so.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • giganggu
    giganggu over 7 years ago in reply to three-phase

    Thank you Lane. I hope so.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 7 years ago

    Nice update on your project.  Keep up the good work!

    Gene

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • three-phase
    three-phase over 7 years ago

    Nice update, look forward to reading about the software development. Hope it goes well for you.

     

    Kind regards

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
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