Giter VIP home page Giter VIP logo

Comments (304)

Gamester17 avatar Gamester17 commented on September 21, 2024 6

@manup any chance you reconsider Dresden-Elektronik would publish deCONZ Serial Protocol as public?

https://github.com/dresden-elektronik/deconz-serial-protocol

You can simply add a disclaimer stating that this documentation is available 'as-is' without support.

from deconz-serial-protocol.

mariusmotea avatar mariusmotea commented on September 21, 2024 4

can i receive UART protocol documentation? I also want to see if i can improve zigbee integration because currently deconz get overloaded very easy with multiple i/o requests

from deconz-serial-protocol.

buzatu avatar buzatu commented on September 21, 2024 4

Hi I'm also interested in the UART protocol documentation.

from deconz-serial-protocol.

rcloran avatar rcloran commented on September 21, 2024 4

home-assistant/core#12187 will bring the zigpy/bellows into hass, too. Once that is in, I have code just about ready to work with Xbee s2c devices which I’ll pull into hass, and will demonstrate how to use the split.

Does anyone have working open source code for the deconz serial protocol? I’d be happy to bring it into the zigpy organization on github.

from deconz-serial-protocol.

corneyl avatar corneyl commented on September 21, 2024 3

It would be great to have native support for RaspBee/ConBee!
Will this also mean that we do not have to run the Deconz GUI software? Or is it still needed to run the REST API?

from deconz-serial-protocol.

Hector47 avatar Hector47 commented on September 21, 2024 3

Hello I'm interested in the serial protocol documentation for the ConBee

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024 3

@manup Perfectly understandable. However I and many others don't want to use deCONZ gateway software at all, as instead we want to have native support for the hardware in open source software applications such Home Assistant / HASS, OpenHAB, and Domoticz. That is, we only want to use the ConBee/RaspBee USB and serial hardware. Please don't forget about us, you can still make money on us as long as you make good hardware and provide excellent UART documentation for such open source projects ;)

from deconz-serial-protocol.

amagnolo avatar amagnolo commented on September 21, 2024 3

I can't help with development at the moment, but I would definitely buy a RaspBee if there was native support in Home Assistant. I appreciate Dresden Elektroniks support, I think it's in their best interest to promote the community efforts.

from deconz-serial-protocol.

donnib avatar donnib commented on September 21, 2024 2

So here is my preliminary NOT FINISHED work : https://bitbucket.org/mihaicph/deconz-custom-module

@manup i have invested in the raspBee myself, could i kindly ask for a Conbee to investigate further issues with IKEA that we discussed in other threads ?

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024 2

@manup any reason for not just publicizing the Serial UART protocol for RaspBee and ConBee?

I'm sure that many home automation projects would be interested, not just Home Assistant.

I would think that it would be in Dresden-Elektronik interest as it should sell more devices.

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024 2

Are there any plans to make deCONZ headless?

Yes there was some work done in that regard. You can run deCONZ without a running X as systemd service, X libraries must be installed as dependencies though, so the only drawback are a few mega bytes for these.

/etc/systemd/system/deconz.service

from deconz-serial-protocol.

lcorsini avatar lcorsini commented on September 21, 2024 2

I'm interested in HASS direct UART support, mainly because I plan to use the raspbee on the same hardware where hass is running, and on a raspberry resources are always limited 😃
@manup is right about loyalty, I bought a raspbee in first place to flash ikea bulbs to use them with hue (only to see how still unpolished are in comparison with hue bulbs, at least the color ones seems good)
but also because philips is somewhat limited with their range of products (only one type of remote, until now no E14) for example right now different manufacturers bulbs works, but no third party remotes support, so I've got a pile of useless ikea remotes since they are bundled with color bulbs.
So in my case I want to install the raspbee inside my main PI (still an original first PI 1 model B) and use it to drive the remotes, and I could do that with websockets, but in a better world I would like to get rid of all bridges (xiaomi and hue) and use only my hass machine to drive all zigbee hardware and integrate it with other hass automations, in this sense a native library could be better than websockets.

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024 2

done :)

from deconz-serial-protocol.

thundergreen avatar thundergreen commented on September 21, 2024 2

https://snillevilla.se/styr-ikea-tradfri-lampor-i-home-assistant-med-conbee/
Dunno if that helps but it is running well like this

from deconz-serial-protocol.

abmantis avatar abmantis commented on September 21, 2024 1

Hey @manup . If you can provide the hardware (or a cheaper price), I would gladly work on integrating it with HA, using the REST API (I would probably make a python module for DeConz, and integrate the module in HA).
I've done a few contributions to HA already.
ATM I have some Xiaomi sensors and switches and will buy a IKEA lamp.

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024 1

@abmantis do you think that you will work on getting it to work with bellows by @rcloran ?

https://github.com/rcloran/bellows/

@rcloran said wrote here on issue # 50 that he will splitt bellows to make it modular:

zigpy/bellows#50

"I'm planning on splitting out the zigbee parts of bellows (soon -- work is in progress), which will allow using that with libraries that interface with other ."

Anyway, just mentioning that as Home Assistant implementation uses bellows.

Point being that it would be nice with a plugin for Hass.io that would be easy to configure.

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024 1

What is the benefit of having a HASS integration thru UART instead of the REST API ? Doesn't that require to replicate all the work done here in the REST API ?

@donnib using UART instead of the deCONZ REST API removes the dependency of deCONZ in HASS. Yes it may means replicating work from deCONZ, but it also means that HASS could be made to only use single library and a single API to talk to multiple Zigbee adapters from different manufacturers, without having to support multiple APIs.

Using deCONZ REST API means that you first need to setup and configure deCONZ, and then always have it running. Using a serial UART protocol to talk to RasBee/ConBee adapter the existing Zigbee implementation in Home Assistant can talk directly to the hardware.

Think about it like this instead; there are today tens of Zigbee adapters available from different manufacturers, so what if HASS wanted to support all of them all they each only offered a third-party software with a REST API. Then each had to be configured seperatly, instead of having only library that talks to them all. Open source home automation software projects normally do not have the resources (volenteer developers) to maintain support for multiple Zigbee adapters/controllers from different manufacturers, and then the end-users will get less choice in which adapters/controllers are supported.

For Z-Wave this problem is solved via OpenZWave, which is one single library that supports multiple Z-Wave USB-adapters / PC-controllers from different manufacturers. For ZigBee to reach the same kind of adoption in the open source home automation scene you really also need something similar; one single library that can talk to multiple Zigbee USB-adapters / PC-controllers from different manufacturers.

Think big picture; Biggest benefit from this approach with a single library supporting multiple adapters from different manufacturers is normally that more than one open source home automation software project will re-use that one library and collaborate upstream on improving that single library.

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024 1

If you connect Philips, Xiaomi, IKEA for example to deConz then REST API is the same for all of them, no need to implement anything different

@donnib You have misunderstod. I'm not talking about different end-point devices (such as lightbulbs and sensors), but instead I mean supporting multiple Zigbee transceiver-adapters (the RF-transmitter and receiver USB/serial controller) from different manufacturers, that is the adapter that you plug into your PC or Raspberry Pi. That is not the same thing as supporting several end-point devices from different manufacturers.

RaspBee/ConBee are a transceiver hardware from Dresden-Elektronik, but Dresden-Elektronik are not the only manufactuer making Zigbee transceiver-adapters; and the goal from HASS would be to not only support RaspBee/ConBee transceiver hardware (USB/serial RF-transmitter and receiver) but also support Zigbee transceiver-adapters from other manufacturs as well, and the best thing would then be if all such adapters could be supported the same way, and even better though the same library.

Today HASS currently only support the one single Zigbee transceiver; that is the Linear HUSBZB-1 Quickstick Combo USB Controller (also sold branded as GoControl QuickStick Combo ) made by Nortek Security & Control LLC.

Maintaining support for multiple Zigbee transceiver-adapters (USB/serial RF-transmitter and receiver) from different manufacturers would be a lot of work for an open source home automation software project if all manufactuers uses completly different methods for talking to the transceiver hardware. This is why you will see open source home automation software projects today only supporting a a single Zigbee transceiver hardware from only one manufacturer.

It would make everything easier for all open source home automation software projects if all Zigbee transceiver hardware manufacturers used the same protocol. Then all open source home automation software projects could easily support all Zigbee transceiver hardware from all manufacturers.

no matter what you would need a UI to the Zigbee devices unless you want to replicate something like deConz in HASS which i am not sure is a good idea.

HASS (Home Assistant) already have a GUI for it, and it uses the same GUI for Zigbee and Z-Wave devices. One GUI to rule them all! From an end-users point-of-view usability would be horrible otherwise. Please understand that here is HASS (Home Assistant) that is the gateway, not deCONZ.

Think if you as an end-user have not only Zigbee devices, but also Z-wave devices and even 315/433 MHz RF-devices as well. Don't you see how not user-friendly it would be from an end-users point-of-view if they would have to setup and configure different gateway software for each of those. The goal for HASS would instead be to someway get to a plug-and-play state where end-users could just buy a USB-transciever-adapter for Zigbee, a USB-transciever-adapter for Z-Wave, and a USB-transciever-adapter for 315/433 MHz, and they could be from different manfacturers, so while one end-user buys a Zigbee transciever-adapter from Dresden-Elektronik a other end-user buys a Zigbee transciever-adapter Nortek Security & Control LLC and both should just work plug-and-play without the end-user having to configure anything, and the only thing left for the end-user to do is to scan/pair end-point devices from the same GUI. Again, one GUI to rule them all!

Using deCONZ is fine if all you have is Zigbee end-point devices in your ecosystem at home, but it is not good enough if you want to be user-friendly to those people who also have Z-Wave and 315/433 MHz end-point devices as well. And the deCONZ gateway is no good design at all if you are an open source home automation software project aiming to support multiple Zigbee transciever-adapters (USB/serial RF-transmitter and receiver) from different hardware manufacturers (and not just a specific adapter from one manufacturer).

Who will do OTA updates ? HASS ?

Yes the idea is that HASS would handle OTA updates of end-point devices. Other open source home automation software like Domoticz already does this for Z-Wave end-point devices. ZigBee should be same.

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024 1

@rcloran perhaps you accept donation of ConBee and RaspBee hardware from @manup just in case? ;)

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024 1

I'll see what I can do :)

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024 1

Hey @manup how did it go?

Hi @Kane610 sorry for the late response was a bit busy the last days. Can you please send another request for a second ConBee, to our email and reference me here.

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024 1

If you haven't received a response yet, yes please send a copy-paste to support mail as well.

from deconz-serial-protocol.

frenck avatar frenck commented on September 21, 2024 1

Hi there,

Just responding to this topic. I hear a lot of folks having troubles with integrating your products with Home Assistant. There is already a lot going on and saw some PRs on our main branches... Awesome! That helps.

Home Assistant nowadays also ships an OS called Hass.io. This is a Docker container-based OS allowing people to one-click install other stuff, like Homebridge, Tor, Pi-hole, FTP servers, ... . I'm one of the developers that build and pushes (allot of those) add-ons. (I'm a organization member as well).

I was thinking, there should be an add-on for Hass.io as well, which allows the user to single-click install and run the daemon necessary.

I'm not sure if someone is already on this if not, I'm willing to help with this or, in case it is still open, to develop that part.

Let me know.

from deconz-serial-protocol.

rtenklooster avatar rtenklooster commented on September 21, 2024

I agree native support would be great. However in the meantime you could use node-red to publish all events to HA by using mqtt.
dresden-elektronik/deconz-rest-plugin#159

I explained how it can be done here

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

Dresden-Elektronik should consider adding native support for RaspBee and ConBee hardware to Home Assistant open source home automation software and its Hass.io (Home Assistant appliance OS for RAspberry Pi).

Hi @Gamester17 , Home Assistant is indeed a thriving system which we'd like to support RaspBee/ConBee. However our resources are currently concentrated on the deCONZ core, REST API and the new app.

Therefore we can only offer to provide software support for REST API and low level documentation for the UART protocol between deCONZ and RaspBee/ConBee (which would be required to use the driver of the EZSP module). Beside that we can provide Hardware for the devs which like to integrate it into Home Assistant, they should be visible somehow in the HA developer community though :)

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

FYI, rcloran who made bellows ( https://github.com/rcloran/bellows/ ) which is used by Home Assistant and Hass.io said here that he is planning on splitting out the ZigBee parts of bellows (soon -- work is in progress), which will allow you to use it with libraries that interface with others. Which means that you will possible be able to use the existing bellows implementation in Home Assistant to interface with deCONZ

zigpy/bellows#50

from deconz-serial-protocol.

donnib avatar donnib commented on September 21, 2024

I have done exactly that albeit not finished.

from deconz-serial-protocol.

abmantis avatar abmantis commented on September 21, 2024

Any updates?

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

Hey @manup . If you can provide the hardware (or a cheaper price), I would gladly work on integrating it with HA, using the REST API (I would probably make a python module for DeConz, and integrate the module in HA).
I've done a few contributions to HA already.
ATM I have some Xiaomi sensors and switches and will buy a IKEA lamp.

Hi @abmantis can you please send your shipping address /contact to [email protected] and reference me (Manu) we'll then send you a RaspBee and ConBee which you can use for your HA module development. Thanks and regards :)

from deconz-serial-protocol.

abmantis avatar abmantis commented on September 21, 2024

Thank you @manup ! I just sent the e-mail! I'm looking forward to work with it! :D

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

@manup i have invested in the raspBee myself, could i kindly ask for a Conbee to investigate further issues with IKEA that we discussed in other threads ?

Absolutely, please also send a mail to [email protected] with your shipping address and reference me (Manu).

from deconz-serial-protocol.

abmantis avatar abmantis commented on September 21, 2024

@Gamester17 it depends on when @rcloran does it I guess. I still have to look at how bellows works.
Another option is helping @donnib to finish his component, if he is ok with that.

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

Will this also mean that we do not have to run the Deconz GUI software? Or is it still needed to run the REST API?

This depends on which level the integration is implemented, both is possible. REST API or serial UART protocol (much more complex, documentation available on request).

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

I've have created a private repository which provides the download link you should receive a invitation via GitHub.

@manup any reason for not just publicizing the Serial UART protocol for RaspBee and ConBee?

It's not public since we'd like to keep the support for it low, because ZigBee at this low level can be very tricky.

Further the spec is fairly new and not ready nor simple enough for prime time. However we are absolutely ok to provide the spec for projects like Home Assistant and similar.

from deconz-serial-protocol.

djwlindenaar avatar djwlindenaar commented on September 21, 2024

I've just gotten my raspbee module and am planning to help integrate it in Home Assistant. What's the status up to now? is there a repository where this is being developed?

@manup I'd like to contribute to the integration, so could you send the UART protocol specification to me?

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

@manup I'd like to contribute to the integration, so could you send the UART protocol specification to me?

Sure, you should receive a invitation via GitHub soon.

from deconz-serial-protocol.

buzatu avatar buzatu commented on September 21, 2024

@manup Hello, would it be possible to have a private repository with the firmware as well?

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

@manup Hello, would it be possible to have a private repository with the firmware as well?

Or a public repository with the firmware?

from deconz-serial-protocol.

donnib avatar donnib commented on September 21, 2024

What is the benefit of having a HASS integration thru UART instead of the REST API ? Doesn't that require to replicate all the work done here in the REST API ?

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

I'm afraid no, the firmware is provided as binary in /usr/share/deCONZ/firmware but sources won't be published any time soon, since they contain years of IP and security sensitive material.

However the RaspBee/ConBee bootloader and firmware flash tool GCFFlasher accepts custom firmware. For example the open source 802.15.4 Stack Uraculi can be flashed:

http://uracoli.blogspot.de/2013/07/raspbee-ieee-802154-module-for.html

In the future I expect firmware supporting the OpenThread stack, which might be developed and supported as open source.

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

What is the benefit of having a HASS integration thru UART instead of the REST API ? Doesn't that require to replicate all the work done here in the REST API ?

Usually there are two points involved 1) get rid of deCONZ (which kinda makes sense) 2) not knowing the complexity and tricky parts behind device support, especially switches and sensors. In my experience new devs completely underestimate the time it takes to develop wide device support.

from deconz-serial-protocol.

corneyl avatar corneyl commented on September 21, 2024

I think the main disadvantage of deCONZ is that it has a GUI and therefore needs X. If it could run as a daemon without gui, with only the webinterface enabled by default, than it would make sense to use the API.
Are there any plans to make deCONZ headless?

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

@manup are there any plans for Dresden-Elektronik to provide a C library for UART?

from deconz-serial-protocol.

donnib avatar donnib commented on September 21, 2024

@Gamester17 so still to understand :

talk to multiple Zigbee adapters from different manufacturers, without having to support multiple APIs.

If you connect Philips, Xiaomi, IKEA for example to deConz then REST API is the same for all of them, no need to implement anything different, of course the manufacturers behave and have implemented the Zigbee standard so you need to take that into account no matter what e.g also in deConz REST API. My point being is that manufacterers should concentrate in implementing the Zigbee standard in a standard way as close as possible then deConz will work and give the developers a well known RESTful API which is standard. In the end one gateway and many different devices. I might be missing something here so please elaborate if i am wrong.

Using deCONZ REST API means that you first need to setup and configure deCONZ, and then always have it running.

Valid point however i don't see this as a big hassle and no matter what you would need a UI to the Zigbee devices unless you want to replicate something like deConz in HASS which i am not sure is a good idea. Who will do OTA updates ? HASS ?

from deconz-serial-protocol.

donnib avatar donnib commented on September 21, 2024

@Gamester17

You have misunderstood. I'm not talking about different end-point devices.....

Yes i was kinda thinking that, that might be the case. It makes sense now however that would require that each manufacturer of these implement EZSP protocol (your request here). One could have started there then implement a REST API based on the EZSP protocol i guess. I can't seem stop thinking about that even if all HW manufacturers did implement EZSP they would probably not implement it in the exact way so you would need device specific code in HASS or whatever system you have.

Thx for the explanation.

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

It makes sense now however that would require that each manufacturer of these implement EZSP protocol

My request is not to specifically support the EZSP protocol. That is just once option. My request is for "Native serial UART protocol support for RaspBee and ConBee in Home Assistant and HASS", so specifically just not use REST API but instead use serial UART protocol to nativly talk to the hardware directly and not using a third-party gateway. The goal here is to remove the need to use a third-party gateway software.

Another option would to directly implement native support for multiple serial UART protocols in the bellows library ( https://github.com/rcloran/bellows/ ) by @rcloran as that is what HASS uses today.

It is possible to make that bellows library to talk multiple serial UART protocols with several USB-adapters from different hardware manufacturers, but it would require @rcloran to splitting out the Zigbee parts of bellows as mentioned here => zigpy/bellows#50

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

and the best thing would then be if all such adapters could be supported the same way, and even better though the same library.

From the viewpoint of Home Assistant and similar projects this totally makes sense and I agree, but when you look at it from the companies point of view it becomes very different.

If every dongle has the same interface maybe the same firmware as well there would be china clones within few months. And this is the exact problem in this specific field companies can't compete with Hardware alone, its all about competition on software level.

This is sad but that's how it is, people always just wan't cheapest option, why would you buy a ConBee if a XYZ dongle from china costs a fraction? It is only about the software but nobody wants to pay for software these days. Imagine every dongle uses the same UART API, ... only the cheapest dongle would be sold; you could then use a $ 5 dongle with deCONZ, but how would dresden elektronik earn money then? Charge for deCONZ won't work.

I'd like to think of ConBee/RaspBee as license for deCONZ/WebApp. Opening documentation for UART protocol to allow integration of further systems on top, at the expense of implementing the features which deCONZ does. In that regard Home Assistent would compete with deCONZ/WebApp on software level (well the lighting part) but still dresden elektronik can benefit by selling the hardware.

By the way similar to Z-Wave there is a ZigBee Gateway specification, not sure if anybody implemented it though.

I'm very open to ideas and suggestions but never forget in the end of the day companies need to pay their employees.

Another example, look at Philips they really pushed this whole smart lighting forward, they build very high quality products puts heaps of money in development, now everybody jumps to cheaper lights, be it IKEA or OSRAM which don't even provide the advanced polished firmware, there is no loyalty for hardware and sadly it seems quality too.

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

@Gamester17 that's totally fine and documentation is in fact one of the next important things which will be improved :) For the UART protocol there will likely be no C library but at least some code snippets to quickly get started.

Decision on where to use the REST/Websocket API or low level UART API is up to the implementor, we only provide the tools and documentation. :)

I do like that systems try to pickup on UART level, hence various manufacturers can be used, which is fine and makes sense, but I also notice that there is very limited spare time from volunteer ZigBee developers to implement all the various device support and tricky parts.

From time to time I check various open source HA systems on how far native ZigBee support has proceeded, but due the lack of volunteers, time or full time developers things progress slowly. In that regard I think at least until low level support is backed by many developers, it would be more efficient to use REST/Websocket API at the beginning, to get wide device support, and implement low level API later/separately — with the drawback of being manufacturer depended for the former one.

from deconz-serial-protocol.

donnib avatar donnib commented on September 21, 2024

From my personal experience it really didn't take much time to add the support for deConz REST API in the HASS (we are talking about few days) when you take away time spent in learning to write python / how to write HASS custom module so i am not 100% convinced it's worth the time to go for low level API. I personally like to let people who know how to handle the low level make that implementation and let others leverage that by using well defined API's.

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

@donnib You made your point; you think deCONZ and REST API is good enough, but please respect that dicussion about that is off-topic for this request so please refrain from discussing it more here.

FYI; HASS already have native serial UART protocol support for the competing Zigbee USB-adapter called "Linear Quickstick Combo" USB Controller, most often refered for its product article number "HUSBZB-1", (also sold branded as GoControl QuickStick Combo ) made by Nortek Security & Control LLC. So adding native support for a Zigbee USB-adapter using serial UART protocol in HASS is not impossible, not is it a bad idea from an end-users point-of-view, in fact it is again a more user-friendly implementation.

Personally I would just have gone out and bought that one myself too but it is not sold in Europe (and its Z-Wave chip supported European frequency for Z-Wave in Europe, which it does not).

And again, from an end-users point-of-view it is implemented in a more user-friendly mather than than having to use an external gateway software and REST API (which again I ask you not to dicuss further here).

from deconz-serial-protocol.

rcloran avatar rcloran commented on September 21, 2024

Without having seen the Conbee serial protocol, and so making a number of assumptions about it, my guess is that the best route for hass would be to use the zigbee layer of bellows, and drop in a conbee serial implementation. Basically, write a class which implements the ControllerApplication interface in bellows.

I have some initial support for XBee S2C working like this, but have not found the time to finish it and publish it.

On currently supported devices by bellows - I know of a handful of other people using devices other than the HuSBZB-1. Any device which uses an EM35x chipset (or any other Ember chipset which implements EZSP), And has the default UART firmware will have a good chance of working.

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

Basically, write a class which implements the ControllerApplication interface in bellows.

Yes that should work and be fairly easy to implement for basic ZDO,APS and ZCL stuff. Not sure about EM35x and XBee capabilities but with ConBee/RaspBee UART API you have further access to:

  • ZigBee Green Power (ZGP, Rx) needed for Philips Hue Tap
  • ZCL Interpan communication used for example by ZLL Touchlink commissioning

from deconz-serial-protocol.

jonatanolofsson avatar jonatanolofsson commented on September 21, 2024

@manup Thank you for making the documentation available in a repository. Could you kindly send me an invitation as well?

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

@manup Thank you for making the documentation available in a repository. Could you kindly send me an invitation as well?

Sure :)

from deconz-serial-protocol.

Jey-Cee avatar Jey-Cee commented on September 21, 2024

@manup Can you please invite me also?

from deconz-serial-protocol.

ebaauw avatar ebaauw commented on September 21, 2024

And me as well, please?

from deconz-serial-protocol.

Kane610 avatar Kane610 commented on September 21, 2024

I'd also like an invite for this.

from deconz-serial-protocol.

mo22 avatar mo22 commented on September 21, 2024

I‘m also interested in the serial protocol

from deconz-serial-protocol.

shayanhaider avatar shayanhaider commented on September 21, 2024

@manup, can you invite me too for the documentation repository, thanks

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

@manup maybe time to make the deCONZ Serial Protocol (UART) documentation repository public?

from deconz-serial-protocol.

infra-rat avatar infra-rat commented on September 21, 2024

@manup could you please add me as well? Thank you :)

from deconz-serial-protocol.

neuro159 avatar neuro159 commented on September 21, 2024

Could you kindly send me an invitation? Thank you)

from deconz-serial-protocol.

marthoc avatar marthoc commented on September 21, 2024

@manup Can you advise where I might be able to get the RaspBee / ConBee hardware in Canada? It seems like there are no distributors actively carrying the products here, which makes it hard to test and develop ;). My primary focus will be developing a deConz plugin for Hass.io but also a stable and easy to maintain Docker build of deConz generally to run alongside Home Assistant and the new integration that @Kane610 is currently developing. Also, can you please add me to the docs repo?

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

Hi marthoc, not sure if our guys already replied to you but short note here: we'll provide you a ConBee and RaspBee for your plugin development. There are already some integration affords for Hass.io ongoing on their forum, might be worth to check that out too :)

Tomorrow is holiday here so response from us may come a day or two later.

from deconz-serial-protocol.

marthoc avatar marthoc commented on September 21, 2024

@manup - yes I have heard from Herr Borsdorf and thank you very much for the hardware. I look forward to contributing! I am in touch with the developer of the current Home Assistant integration and will certainly be working with him on testing of both his component and my Docker efforts moving forward. Thanks again and have a good holiday!

from deconz-serial-protocol.

Kane610 avatar Kane610 commented on September 21, 2024

@manup would it be possible for me to get an extra Conbee? As soon as I get the deCONZ component integrated for release I will be moving my Conbee over to my production environment. It would be great if I could have an extra for active support of the component and possible new features/devices in newer releases of deCONZ from you guys.
I'm also considering as a next step to add native support for Conbee hardware to HASS, after I've had a short break from HASS development.

from deconz-serial-protocol.

Kane610 avatar Kane610 commented on September 21, 2024

Hey @manup how did it go?

from deconz-serial-protocol.

Kane610 avatar Kane610 commented on September 21, 2024

@amagnolo as soon as the PR has been approved :)

from deconz-serial-protocol.

Kane610 avatar Kane610 commented on September 21, 2024

@manup just sent an email, updated this comment for time reference

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

@Kane610 have you send it to [email protected]?

from deconz-serial-protocol.

Kane610 avatar Kane610 commented on September 21, 2024

I sent it to info@... Should I send a new one to support?

from deconz-serial-protocol.

Kane610 avatar Kane610 commented on September 21, 2024

@manup I got the conbee today, but I also got a raspbee, an unexpected gift. Thank you guys!

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

Yes we thought it might be useful :)

from deconz-serial-protocol.

Kane610 avatar Kane610 commented on September 21, 2024

@frenck @marthoc is working on a docker image but he has run into possible issues with how deconz communicate with the hardware. I think he appreciates all the help he can get. He is talking to @manup about this since it might be necessary to alter the deConz source code

from deconz-serial-protocol.

frenck avatar frenck commented on September 21, 2024

@Kane610, thanks for the response. Good to hear there is already all kind of effort going on.

@marthoc If you need an extra pair of eyes, let me know. Are you on the Discord channels?

@manup I could jump in on this as well. If Dresden is willing to support me on this by lending me some hardware for testing, that would be awesome.

from deconz-serial-protocol.

Hedda avatar Hedda commented on September 21, 2024

@frenck that is a good start for Home Assistant but please understand that what you suggest is off-topic for this specific discussion about "native serial UART protocol support" as this discussion here is only about how-to implement RaspBee and ConBee support in Home Assistant without the deCONZ software/daemon, by talking directly to physical Zigbee adapters, which is a solution that could later possibly be extended to become a unified solution for all Zigbee adapters from all manufacturers, (just like how it already is for Z-Wave adapters in Home Assistant), which IMHO would be a better solution for Home Assistant in the long term.

Can I please ask that all keep this specific issue on-topic for the"native serial UART protocol support" dicussion, (however your request here for ConBee/RaspBee adapters is still OK here IMO as that alone is not off-topic). Suggest that you start a new issue if you want to request or suggest other solutions.

from deconz-serial-protocol.

frenck avatar frenck commented on September 21, 2024

@Hedda I do agree, nevertheless, I'm under the impressions Dresden is not willing to opensource that part (nevertheless, reverse engineering serial devices is not that hard). (they are letting some people in, but it still is not out in the open)

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

@frenck that is not true actually and there is more information about this if you read this whole discussion above. Dresden have already 'opened sourced' their seriel UART API documentation, and anyone can request access to their private repository that hold that information from @manup

https://github.com/dresden-elektronik/deconz-serial-protocol

They have just not made that private repository public because they don't want to spend man-hours resources on support for it for just any amature developers out there. That private repository has 'as-is' documentation without support, meaning anyone skilled enough to figure it all out on their own could with that documentaion put together a stand-alone native solution for serial UART protocol support using ConBee or RaspBee adapters.

After you request the docummentation @manup will then simply be given access to their private repository that so far only contains a link to the documentation serial UART protocol for ConBee and RaspBee adapters (“deCONZ Serial Protocol”).

Note The protocol requires advanced understanding of the ZigBee standard, further it is fairly complicated for historical reasons to be compatible with legacy devices.

Again, this in turn only contain a link to a PDF-documentation on www.dresden-elektronik.de website containing the written documentation for their serial UART protocol. Reason why this documentation is only provided upon request and not posted in public is that they don’t want to have to offer support to non serious developers.

from deconz-serial-protocol.

frenck avatar frenck commented on September 21, 2024

Ok, thanks @Gamester17 for the clarification there.
That makes we wonder why @marthoc is working on add-ons...

I'll wait and see.

from deconz-serial-protocol.

Kane610 avatar Kane610 commented on September 21, 2024

@frenck the same lessons are useful for deconz on docker

from deconz-serial-protocol.

marthoc avatar marthoc commented on September 21, 2024

@frenck - the better issue for our discussion is here: dresden-elektronik/deconz-rest-plugin#283. You can read that thread to get an idea of the issues I and others have been running into, and I would be very grateful for any help. I can send you my base (nonworking) Dockerfile if you’d like to take a look.

In short - you can install the “deconz” software and let HASS talk to that; this is what @Kane610 is working on getting PR’d into HASS. I have been working on a Docker image of deconz to make installing alongside HASS easier. I understand it’s also the first step to making a HASSIO addon, so it’s moving in that direction.

Or, you could add support for the underlying Conbee and RaspBee zigbee hardware to the zha component in HASS, and avoid using deconz altogether. That’s what this thread is about.

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

@Kane610 @marthoc addons are then deCONZ depent addons for HASS.io and not addons that utilize the native serial UART protocol. Both concept ideas would be very nice for Home Assistant as seperate addons, but this specific issue dicusson here is again only about the concept of a addon that uses the available native serial UART protocol, without being dependent on the deCONZ software at all. It is like the difference between directly using Zigbee serial/USB adapter to talk direct to Zigbee lightbulbs instead of talking to the API of a Philips Hue Hub which in turn talks to its Zigbee lightbulbs. deCONZ software is a hub/gateway software which abstacts away direct communication.

from deconz-serial-protocol.

marthoc avatar marthoc commented on September 21, 2024

@Gamester17 I agree, I was just explaining the difference to @frenck and for future users coming across this thread, which is why I pointed @frenck to the relevant topic. I won’t be discussing Docker/deconz on this thread any further, sorry for the interruption.

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

@thundergreen That article describe just a way to use deCONZ software, not native serial UART protocol.

from deconz-serial-protocol.

geespinoza avatar geespinoza commented on September 21, 2024

@manup: Please send me an invitation to the documentation for the serial UART protocol for ConBee and RaspBee adapters (“deCONZ Serial Protocol”). Thank you.

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

I'll put it on discussion when I'm back from traveling, it may take a while since next priorities will be documentation, fixing bugs and existing device support requests.

from deconz-serial-protocol.

orktes avatar orktes commented on September 21, 2024

@manup Could I also get access to the UART doc repo?

from deconz-serial-protocol.

corelgott avatar corelgott commented on September 21, 2024

I'd love to have an invite to the serial protocol as well!

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

@manup I might soon have time to help with development, would it be possible for me to get a ConBee?

from deconz-serial-protocol.

jurriaan avatar jurriaan commented on September 21, 2024

@manup I'd love to have an invite to the serial protocol as well!

from deconz-serial-protocol.

buzzdev avatar buzzdev commented on September 21, 2024

@manup Hi Manu, i've just bought RaspBee and ConBee. Could you please invite me to serial protocol documentation? Thanxs

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

FYI; @rcloran have now also created "zigpy", a library implementing a ZigBee stack in Python:

https://github.com/zigpy/zigpy

It works with separate libraries, like bellows, which interface with radios.

from deconz-serial-protocol.

Framspott avatar Framspott commented on September 21, 2024

@manup Hi, I would be very grateful if I also could have the documentation about the serial interface of the raspbee module. I want to use java to communicate with it, and a not (yet) supported sensor (Schwaiger multi sensor ZHS05). Is there a chance to use the serial functionality of Pi4J for communicating with Raspbee?

All the best - thanks in advance

Framspott

from deconz-serial-protocol.

manup avatar manup commented on September 21, 2024

Hi @Framspott you've been invited, not sure if the UART-API is what you need — I think the Schwaiger sensor support can be easier added to the REST-API.

I'm not familiar with Pi4J but there are other Java projects which interact with deCONZ REST-API

https://github.com/EsotericSoftware/deconz

https://github.com/fatihboy/jRaspBee

from deconz-serial-protocol.

Framspott avatar Framspott commented on September 21, 2024

Hi @manup thanks for the hints, I am already in contact with those projects, too. ;) I will definitely give the serial interface a try.

Can I help you for integrating the multi sensor into the deconz REST API? Or are there any plans to integrate it?

All the best

Framspott

from deconz-serial-protocol.

Framspott avatar Framspott commented on September 21, 2024

And of course thanks for the invitation! ;)

from deconz-serial-protocol.

aptitude avatar aptitude commented on September 21, 2024

@manup
Hello,
I've bought a ConBee and I am also very curious about the ConBee serial protocol.
An invite would be very nice.

from deconz-serial-protocol.

topfs2 avatar topfs2 commented on September 21, 2024

@rcloran Thank you for your hard work with bellows and especially with adding support for multiple radios, would make many (me included) incredibly happy if ConBee and RaspBee gets supported.

This is the only implementation I've found, which I think is used by OpenHAB 2 and is using the UART protocol? https://github.com/zsmartsystems/com.zsmartsystems.zigbee/tree/master/com.zsmartsystems.zigbee.dongle.conbee

from deconz-serial-protocol.

Framspott avatar Framspott commented on September 21, 2024

I am currently trying to use the RaspBee with another library. Could anyone provide me the following specifications for the RaspBee and a Raspberry Pi 3?

  • serial Port
  • Baud rate
  • channel

I would be very grateful if anyone could help me ;)

All the best

Framspott

from deconz-serial-protocol.

Gamester17 avatar Gamester17 commented on September 21, 2024

@Framspott not sure if your question is on-topic however pretty sure that basic information is all available in the RaspBee and ConBee user manuals respectively

https://github.com/dresden-elektronik/deconz-rest-plugin#software-requirements

https://www.dresden-elektronik.de/fileadmin/Downloads/Dokumente/Produkte/ZLL/RaspBee-BHB-en.pdf

https://www.dresden-elektronik.de/fileadmin/Downloads/Produkte/12-ConBee/ConBee_User_Manual.pdf

You of course also need to enable and configure UART specifically for Raspberry Pi (3) as follows:

https://elinux.org/RPi_Serial_Connection

That is, the serial port must be configured to allow communication with the RaspBee or ConBee.

from deconz-serial-protocol.

Related Issues (20)

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.