Coder Social home page Coder Social logo

isy-homie-bridge's People

Contributors

mjcumming avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

isy-homie-bridge's Issues

Add Zwave Support

Hi, I'm trying out your bridge.
Seems to work well for insteon device nodes.

What needs to be done to support zwave nodes?

I am getting this error:

2020-02-05 12:44:11,650 - isy994.controller - ERROR - Event handler Error 'Device_ZWave_Power' object has no attribute 'get_homie_device_id'
Traceback (most recent call last):
  File "/home/nick/Scripts/ISY994v5/isy994/controller.py", line 163, in publish_container_event
    self.event_handler(container, item, event, *args)
  File "/home/nick/Scripts/ISY-Homie-Bridge/isy_homie/bridge.py", line 88, in _isy_event_handler
    self._device_event_handler(item, event, args)
  File "/home/nick/Scripts/ISY-Homie-Bridge/isy_homie/bridge.py", line 116, in _device_event_handler
    self.homie_devices[device.get_homie_device_id()] = device
AttributeError: 'Device_ZWave_Power' object has no attribute 'get_homie_device_id'

I'm currently using Py-ISY with my own MQTT-ISY bridge (python), and I'm able to control my zwave nodes without too much problem, but I'm just passing generic events/values back and forth, (and hand coding the channels in Openhab MQTT).

Do you need a specific device.py for each node type? (which could get out of hand with zwave).

I was hoping that your bridge would save me a lot of typing...

Config directory not found unless forward slashes are used

On the latest Raspbian image, the service fails to start and throws an error here in isy_homie_start.py:

with open("\etc\isy_homie.yml", 'r') as ymlfile:
    cfg = yaml.full_load(ymlfile)

However, if forward-slashes are used in the file path instead, it works as intended:

with open("/etc/isy_homie.yml", 'r') as ymlfile:
    cfg = yaml.full_load(ymlfile)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.