rhouse | Home Automation using Ruby

 by   derailed Ruby Version: Current License: No License

kandi X-RAY | rhouse Summary

kandi X-RAY | rhouse Summary

rhouse is a Ruby library typically used in Internet of Things (IoT) applications. rhouse has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Rhouse allows you to enhance your LinuxMCE home automation system using ruby. The gem builds on top of LinuxMCE( ) and provides for taping into the it’s c++ core using ruby. Using this gem, you will be able to intercept various device events, such as lights, Tv, sensors…​ and take necessary action using ruby. It packs a light web service component that allows you to control devices in your home from from anywhere around the world…​.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              rhouse has a low active ecosystem.
              It has 59 star(s) with 5 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              rhouse has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of rhouse is current.

            kandi-Quality Quality

              rhouse has 0 bugs and 0 code smells.

            kandi-Security Security

              rhouse has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              rhouse code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              rhouse does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              rhouse releases are not available. You will need to build from source code and install.
              Installation instructions are available. Examples and code snippets are not available.
              It has 2230 lines of code, 102 functions and 85 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed rhouse and discovered the below as its top functions. This is intended to give you an instant insight into rhouse implemented functionality, and help decide if they suit your requirements.
            • Connect to IRC server
            • Wait to receive events
            • Applies the log file .
            • return array of albums
            • Returns a list of commands for this template .
            • return array of files
            • Used internally to log a SQL server .
            • Checks if the album matches the album information
            • Find a command by name
            • Find a command by name
            Get all kandi verified functions for this library.

            rhouse Key Features

            No Key Features are available at this moment for rhouse.

            rhouse Examples and Code Snippets

            No Code Snippets are available at this moment for rhouse.

            Community Discussions

            Trending Discussions on Internet of Things (IoT)

            QUESTION

            Display data from two json files in react native
            Asked 2020-May-17 at 23:55

            I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files

            ...

            ANSWER

            Answered 2020-May-17 at 23:55

            The new object to get params in React Navigation 5 is:

            Source https://stackoverflow.com/questions/61859411

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install rhouse

            I realize this is not for the faint of heart. Hopefully folks will share their experiences and we can join efforts to improve the docs. Still pretty rough through here, but believe me it’s worth it and you’ll be blown by the kind of stuff you can do in your house with this gem and ruby…​. LinuxMCE comes with different installation modes: Core/Media Center/Hybrid. These instructions specifies the installation on an hybrid box. At this point you should have an clean install of LinuxMCE and a new event interceptor created.
            Install LinuxMCE - http://wiki.linuxmce.org/index.php/LinuxMCE-0810_alpha2
            Make sure you have all the latest updates
            > sudo apt-get update
            > sudo apt-get dist-upgrade
            In order to intercept device events, you will need to register a virtual device with the LinuxMCE core. This device will be the connecting point with the Rhouse gem to intercept the events and make them available to ruby.
            Setting up the event interceptor device
            From a web browser login and enter the linuxMCE admin console http://my_mce_box/lmce-admin/index.php
            From the green menu bar choose Advanced → Configuration → Devices
            On the tree on the left - select CORE
            Click on Create Child Device
            Set Description to 'Event Interceptor'
            Click 'Pick device template'
            Select Device Category 'Logic Handler' (id=142)
            Select Device Template as 'Generic #1' (id=1725)
            Click on 'Pick Device Template' button
            You should now have a new device created note the device id 'Device Info #xxx' xxx is the ID
            Click the 'View' button next to device template
            In Command Line enter rh_interceptor Will revisit this later but this is going to be the rh_interceptor exec installed by Rhouse
            Install Beanstalkd (http://xph.us/software/beanstalkd/)
            On my installation I have configured beanstalkd to be automatically launched upon OS start. The daemon is setup using port 7777. I have provided my lame init.d script in scripts/beanstalk in the gem.
            You will need to configure your ruby env on that box. It does come with ruby (1.8.7 ) installed but on my install I have updated rubygems to 1.3.1. sudo gem install derailed-rhouse. From the steps above we now need to tell linuxMCE where to find the newly installed rh_interceptor ruby script. * ssh into you linuxMCE box * cd /usr/pluto/bin * Create a link as root - ln -s /usr/bin/rh_interceptor This will tell linuxMCE to launch the interceptor with the correct device configured in setup with the correct id xxx. * Rhouse expects the environment variable 'RH_ENV' to be set. Edit your .bashrc script and add the following line: * export RH_ENV=production This will setup the Rhouse environment to production in order to connect to the right database and correct configuration on your install box. * Restart linuxMCE * Either from a shell or from the pluto admin console * Wizard → Restart → Reboot. Upon successfull restart you should 'hopefully' see the rh_interceptor as a running process. If not take a look at the pluto log file in /var/log/pluto/pluto.log and see if there was any errors launching the rh_interceptor script.
            sudo gem install derailed-rhouse
            > ps -elf | grep rh
            /usr/bin/ruby1.8 /usr/pluto/bin/rh_interceptor -d 35 -r localhost -l /var/log/pluto/35_rh_interceptor.log

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/derailed/rhouse.git

          • CLI

            gh repo clone derailed/rhouse

          • sshUrl

            git@github.com:derailed/rhouse.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link