TYPO3 as Things Management System

TYPO3 as Things Management System

Internet transforms from the data storage into the Internet of things, an active interconnected network with complex event-driven architecture, real-time connections and objects cooperation.

In this new world TYPO3 could be used to collect the information and to control things, to synchronize distributed systems with behavior scenarios, which could be defined by things manager in TYPO3 backend.

In this talk we will discuss about different scenarios of implementation of TYPO3 as Things Management System.

Fdeabaecd044c39cb7d75b104b0aff7c?s=128

Fedir RYKHTIK

October 28, 2013
Tweet

Transcript

  1. T3CON13DE, Stuttgart, Germany TYPO3 as Things Management System Talk by

    Fedir RYKHTIK @FedirFr, WebDev, Toulon, France
  2. T3CON13DE, Stuttgart, Germany Hello World I’m Fedir RYKHTIK. Developer/SysAdmin at

    Stratis (Toulon, France). TYPO3 developer since 2007. Certifications PHP, TYPO3. Also participate at Drupal, OpenStreetMap, Raspberry PI, Linux and lots of other open culture projects.
  3. T3CON13DE, Stuttgart, Germany The evolution of Internet Web0.0 - prehistoric

    times (mails, FIDO, BBS) Web1.0 - static sites, beginning of CMS Web2.0 - social networks, cloud computing Web3.0 - semantic stuff, 3D, augmented reality Web4.0 - ... ?
  4. T3CON13DE, Stuttgart, Germany Welcome to the Internet of Things. So

    let’s make Web4.0 !
  5. T3CON13DE, Stuttgart, Germany Let’s change our idea about the Internet.

    From the abstract information to real life. And TYPO3 still could be successfully used.
  6. T3CON13DE, Stuttgart, Germany Where are we now ? Or when

    ? Looks like TYPO3 is used mostly for static sites. Some extensions provides functionalities of social pulls (CWT Community, HOI Community etc) Some extensions adds semantic support.
  7. T3CON13DE, Stuttgart, Germany TYPO3, the future TMS leader Always in

    motion is the future. Master Yoda
  8. T3CON13DE, Stuttgart, Germany First CMS => First TMS TYPO3 was

    one of first open source CMS, the most complete on the market. It’s the moment to be one of first TMS.
  9. T3CON13DE, Stuttgart, Germany How it works The basics of Things

    Management
  10. T3CON13DE, Stuttgart, Germany Simplest realisation - Raspberry PI • 700

    MHz ARM processor • 256M/512M RAM • Works on Linux (Debian etc) • Ethernet / USB port • GPIO
  11. T3CON13DE, Stuttgart, Germany GPIO Raspberry PI natively has GPIO (general-purpose

    input/output) pins. It could be directly connected to an external interface to get data and to set data.
  12. T3CON13DE, Stuttgart, Germany Starter Kit

  13. T3CON13DE, Stuttgart, Germany Some components for GPIO connection • Sensors

    ◦ Movement ◦ Light ◦ Temperature ◦ Sound • Buttons • Switches • LEDs & Displays • Servo motors • Buzzers & Speakers
  14. T3CON13DE, Stuttgart, Germany How TYPO3 works with external devices •

    PHP if the CMS is hosted on the same PC ◦ https://github.com/ronanguilloux/php-gpio • Web-GPIO for remote ◦ https://code.google.com/p/webiopi/ ◦ https://github.com/swooingfish/raspberrypi- web-gpio
  15. T3CON13DE, Stuttgart, Germany PHP-GPIO tiny example <?php require 'vendor/autoload.php'; use

    PhpGpio\Gpio; echo "Setting up pin 17\n"; $gpio = new GPIO(); $gpio->setup(17, "out"); echo "Turning on pin 17\n"; $gpio->output(17, 1); echo "Sleeping!\n"; sleep(3); echo "Turning off pin 17\n"; $gpio->output(17, 0);
  16. T3CON13DE, Stuttgart, Germany WebIOPI Web interface Press the OUT/IN button

    to change GPIO direction Press pins to change the GPIO output state AJAX will do the job
  17. T3CON13DE, Stuttgart, Germany Same PC example

  18. T3CON13DE, Stuttgart, Germany Remote PC example

  19. T3CON13DE, Stuttgart, Germany Remote + RPI managers + Atmel agents

  20. T3CON13DE, Stuttgart, Germany System architecture based on TYPO3 TMS TYPO3

    side implementation
  21. T3CON13DE, Stuttgart, Germany Hierarchical structure Page tree to define the

    system hierarchy FCE to describe elements TypoScript to pass the configuration
  22. T3CON13DE, Stuttgart, Germany DDD to define relations and behaviour

  23. T3CON13DE, Stuttgart, Germany It’s easy to implement • TYPO3 Neos

    + FLOW3 • Extbase will work fine - for TYPO3 6.2 LTS
  24. T3CON13DE, Stuttgart, Germany TYPO3 as Things Management System TYPO3 is

    bigger than You think. FLOW3 is not only for sites, it’s for everything. TYPO3 Neos is coming (as winter).
  25. T3CON13DE, Stuttgart, Germany Wants to participate Let’s do it together

    ! https://github.com/fedir/TYPO3.TMS/
  26. T3CON13DE, Stuttgart, Germany Q&A Please, ask You questions, we have

    few minutes (if the timing was well calculated).
  27. T3CON13DE, Stuttgart, Germany Useful links • http://en.wikipedia.org/wiki/Internet_of_Things • http://www.raspberrypi.org/ •

    http://www.skpang.co.uk/catalog/raspberry-pi-c-240.html • http://www.instructables.com/id/Web-Control-of-Raspberry-Pi-GPIO/ • http://uk.farnell.com/
  28. T3CON13DE, Stuttgart, Germany © • http://en.wikipedia.org/wiki/File:Raspberry_Pi_Logo.svg • http://www.flickr.com/photos/kenfagerdotcom/9044342859/ • http://www.flickr.com/photos/55514420@N00/3314993893/

  29. T3CON13DE, Stuttgart, Germany contacts Fedir RYKHTIK @FedirFR https://github.com/fedir/ http://fedir.github.io/