Skip to content

MUTA: an open source home automation wireless network solution / backend operator interface

License

Notifications You must be signed in to change notification settings

nio101/MUTA_interface

Repository files navigation

MUTA_interface

MUTA: an open source home automation solution for hobbyists and makers

This repository regroups the collection of python scripts that handle the pc interface between Basecamp, the home automation backend/interface, and the MUTA units wireless network.

Installation

We'll use python v2.7, so make sure it is installed on your machine.

  1. if pip is not already installed:
  • sudo apt-get install python-setuptools python-dev build-essential
  • sudo easy_install pip
  1. once pip is available, we can install the various python modules required
  • sudo pip install pyUSB portalocker zmq msgpack-python influxdb

Configuration

  • config.ini allows you to modify various parameters used by the main interface script (log files, csv file names, zmq topic filters...)
  • authorized_units.csv list the units that will be authorized to connect to the MUTA network. Any unit not present in this list will be rejected when trying to connect to the MUTA network.

allowing the use of the USB operator device without being root (on ubuntu-like):

  1. plug-in the use MUTA operator and use lsusb to check that you can see it (shown as a "Microchip Technology, Inc." device, with 04d8:f7c9 as vendor_id:device_id
  2. if the vendor_id:device_id is different from those default values, edit the muta_operator.rules file accordingly.
  3. just sudo cp muta_operator.rules /etc/udev/rules.d to copy the relevant .rules file at the right place
  4. unplug & plug-in again the MUTA operator device

Running the scripts

  1. run the ./zmq_port_forwarder.sh
  2. run the ./operator.py (if you get an access denied on USB, check the USB configuration part above)

(to be continued)

Interface

sequence

data types and variables

About

MUTA: an open source home automation wireless network solution / backend operator interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages