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 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
Arduino
  • Products
  • More
Arduino
Blog A flexible lighting plan - Part One
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: electronichamsters
  • Date Created: 15 Dec 2014 1:01 AM Date Created
  • Views 482 views
  • Likes 2 likes
  • Comments 2 comments
  • sensors_lights_sounds
  • iot_holidaylights
Related
Recommended

A flexible lighting plan - Part One

electronichamsters
electronichamsters
15 Dec 2014

Thanks to Element 14 and the sponsors for the Internet of Holiday Lights contest.

 

While I'm waiting for my components to arrive, I'll lay out my plan.

image

 

Part 1:  Control of lights

I'll be using MQTT to control the lights attached to the Arduino Yun.  The Yun will subscribe to a MQTT server on the Raspberry Pi.  Also sitting on the Pi is an installation of OpenHAB.  Using the OpenHAB mobile phone app, you can remotely select the color/pattern/on/off of your home lighting - whether that lighting is for windows or trees.  The Yun subscribes to a MQTT topic for the lighting request.  OpenHAB publishes to this MQTT topic to tell the Yun how to operate the lights.

 

Part 2:  Sensor Control

I'd also like to use the lights as an interactive element.  Using a wireless PIR sensor, I'd like to set off different lighting events when someone approaches the door or driveway.  The PIR sensor will initiate an MQTT topic to OpenHAB, which relays the lighting changes based on time of day, whether or not the behavior is desired (via GUI selection).

 

Part 3:  Coordinated Lighting Show

It would be neat if the lighting can be coordinated with a couple of neighbors.  I don't have the funds for a complete demo of this, but I'd like to work out the technique to use MQTT to coordinate many Yuns so that lighting at several near-by houses can be coordinated.  Imagine if you walk up the drive way of one house, and all the houses around you flash in response.  The neighborhood Yuns could connect to a single master MQTT broker to achieve this effect.  And neighbors can control each other's lighting or neighborhood lighting via the OpenHAB app.

  • Sign in to reply
  • pmohan
    pmohan over 10 years ago

    Nice plan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 10 years ago

    Nice plan

    I'm sure you can utilise your previous wireless devices to link to the neighbours.

     

    One mode could be that when you approach, the lights on your house go out, but the neighbours all light up, and vice versa.

    Would be ideal trick for halloween....image

     

    Mark

    • Cancel
    • Vote Up 0 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