Giter Club home page Giter Club logo

homeseer2mqtt's Introduction

homeseer2mqtt

Creates an MQTT interface for HomeSeer via Node-Red.

  • Polls HomeSeers JSON interface identifying device status changes and relaying them to a MQTT topic (typically with less than 200ms delay), eg this level of delay is typically not noticable to humans.
  • Battery level is automatically added to the MQTT payload for each battery device (enhancement)
  • Control devices by name instead of ref (enhancement)

Instructions:

1) Import the "homeseer2mqtt flow" into Node-Red
2) Fill your MQTT server settings in the (homeseer/in and homeseer/out) nodes.
3) Correct the HomeSeer URL as per the screenshot below:

Screenshot


Control a HomeSeer device via MQTT:

MQTT Topic: homeseer/in

msg.payload.ref or msg.payload.name
msg.payload.label or msg.payload.value

Example: (eg msg.payload.name = "Office" and msg.payload.label = "On")

Import flow "Sample Control Device Flow" in Node-Red for a simple working example.


Receive device status updates via MQTT

When a devices status changes it is automatically output to MQTT Topic: homeseer/out

Example showing homeseer/out MQTT output in Node-Red debug when a device updates:

Screenshot



Notes:
* Expect this flow and HomeSeer to consume a lot of cpu. When enabled for me with about 30 Z-Wave nodes in HomeSeer it's using about 3% of my dual 8 core xeon cpus at the default "delay 100ms". It's possible to roughly halve the cpu utilization by increasing the delay node from 100ms to 200ms, you may need to do this or even more if you try to use this solution with eg a Raspberry Pi. Even 200ms though is typically not noticable for a human when turning a light on or off (I personally start to notice a very small delay when it is set at 400ms).

* This solution is in no way affiliated with HomeSeer and is licensed under the GNU GENERAL PUBLIC LICENSE Version 3 see the LICENSE file for more information.

homeseer2mqtt's People

Contributors

ben423423n32j14e avatar

Stargazers

Delio Castillo avatar Whit Whittle avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

homeseer2mqtt's Issues

How to tie this together with Domoticz?

I found my way to this flow from a link on the Homeseer forum when looking for a way to use Homeseer Z-wave with Domoticz.
I've got the flow up and running, and I can see activity in "homeseer/out" - but how do you tie it together with Domoticz?

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.