Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with Hubitat #6823

Closed
BarryOCathain opened this issue Mar 24, 2021 · 4 comments
Closed

Integration with Hubitat #6823

BarryOCathain opened this issue Mar 24, 2021 · 4 comments
Labels
feature request Feature request stale Stale issues

Comments

@BarryOCathain
Copy link

Is your feature request related to a problem? Please describe

Hey guys, I have a hubitat and hive, with multiple tuya TRVs.

I'm writing an app that is able to coordinate the multiple different temperature sensors in a heating zone to enable me to set up routines.

Ideally an mqtt solution would allow me to drive everything off events.

Describe the solution you'd like

I see lots of docs around adding new device drivers, but I see nothing about integrating with a new zigbee adapter.

Given what I've read, I should be able to use the hubitat as a zigbee adapter in essence, and pass the messages on to mqtt2zigbee, for it to parse and publish them.

I'm happy to do the leg work here (I'm a dev by trade) but I'm looking for info on how the current implementation interfaces with supported zigbee adapters, so that I can understand where the hubitat might fit into the equation.

If it's simply a case of understanding how zigbee2mqtt parses the Hive zigbee data so that I can write a native hubitat driver, I'm happy to take a couple of pointers on how the current implemetation does that.

Additional context

I have 2 x Hive SLT3 thermostats, and 1 x SLR1b and 1 x SLR2 receivers, so gathering zigbee data shouldn't be an issue if that's required.

Once again I'm happy to do dev work here, but I'd appreciate any pointers you can give.

Cheers,

Barry.

@BarryOCathain BarryOCathain added the feature request Feature request label Mar 24, 2021
@Koenkk
Copy link
Owner

Koenkk commented Mar 25, 2021

but I see nothing about integrating with a new zigbee adapter.

Do you mean using the hubitat hardware as the adapter, I don't know about hubitat but is it possible to install custom software on it?

@BarryOCathain
Copy link
Author

@Koenkk yes I plan to use the hubitat as an adapter, however I don't believe you can install custom software on it.

I had hoped to find a point in the code where the messages are read from the adapter, and hook the hubitat in a that point.

The hubitat can relay messages through an mqtt broker, so it seems like there could be a reasonable fit with some alterations.

@Koenkk
Copy link
Owner

Koenkk commented Mar 25, 2021

@BarryOCathain on what level are these messages? They need to be pretty low-level to integrate into zigbee-herdsman (the underlying zigbee library). Basically the following interface has to be implemented: https://github.com/Koenkk/zigbee-herdsman/blob/master/src/adapter/adapter.ts

Examples of 2 adapters that have been added recently:

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Apr 25, 2021
@github-actions github-actions bot closed this as completed May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request stale Stale issues
Projects
None yet
Development

No branches or pull requests

2 participants