eigendude / OASIS

OASIS, a smart home operating system based on ROS 2
Apache License 2.0
17 stars 2 forks source link

[REQUEST] OASIS integration for Home Assistant #1

Open Hedda opened 2 years ago

Hedda commented 2 years ago

Please consider making a new OASIS integration for Home Assistant to enable computer vision interaction and input streaming.

https://developers.home-assistant.io/ -> https://developers.home-assistant.io/docs/development_index/

FYI, also posted this for discussion on Home Assistant community forums:

https://community.home-assistant.io/t/oasis-smart-home-operating-system-based-on-ros-2-robot-operating-system/405110

I believe that most other somewhat similar integrations for Home Assistant use a WebSocket API and/or MQTT to communicate.

Alternatively, consider extending device types in existing Kodi integration to take input from this and other inputs via it instead:

https://www.home-assistant.io/integrations/kodi

eigendude commented 2 years ago

I started experimenting with Home Assistant integration so that I can talk to my Philips Hue bulbs, but now I'm waiting for Matter to launch and I'll add Matter support directly.

All I need is another use case that HA would provide. If one pops up then you can expect integration.

Hedda commented 2 years ago

I started experimenting with Home Assistant integration so that I can talk to my Philips Hue bulbs

Tip for directly connecting Zigbee based Philips Hue lights to Home Assistant is to buy a Silicon Labs EFR32MG21 (or EFR32MG13) based USB adapter (like Elelabs/Popp Zigbee USB stick) or a Texas Instruments CC2652P/CC2652R based Zigbee USB adapter (like "Itead Sonoff Zigbee 3.0 USB Dongle Plus") and connect that via a long external USB extension cable (to get it away from any electonics so they do not interfer with signals) and then use Home Assistant's native ZHA integration component -> https://www.home-assistant.io/integrations/zha/

I' m waiting for Matter to launch and I'll add Matter support directly.

I believe that a more popular option for OpenThread Board Router is to get a Silicon Labs EFR32MG21 (alternatively older EFR32MG13 or newer EFR32MG24) based dongle but those are more expensive and harder to find today due to the current chip shortage (which Silabs has suffered most), see example:

Regardless, recommend that you consider buying several of those "Itead Sonoff Zigbee 3.0 USB Dongle Plus" adapters since they are very inexpensive and not only can you use it as a Zigbee Coordinator adapter as well as flash them as Zigbee Router device firmware (to act as a repeater for extending Zigbee range and coverage) but you should also be able to flash them with OpenThread Board Router (OTBR) firmware (to be used as a bridge for Matter over Thread devices).

https://elelabs.com

https://github.com/Elelabs/elelabs-zigbee-ezsp-utility

You could even make your own on the cheap by ripping apart some IKEA Trådfri series devices and flashing their radio module:

https://github.com/MattWestb/IKEA-TRADFRI-ICC-A-1-Module

https://github.com/MattWestb/EFR32-FW

Home Assistant does however not yet have a Matter integration for Home Assistant the founders who now employ some deevelopers under Nabu Casa mentioned in the latest newsletter that they have employed the lead developer from the Z-Wave JS project might help get it started -> https://building.open-home.io/a-new-home-for-our-newsletter/

Another Home Assistant developer also wrote that he started working on both an OpenThread Board Router addon and a Silicon Labs multi-protocol addon for Thread and Zigbee which can be used on the same dongle at same time if using an "RPC" firmware:

https://github.com/zigpy/zigpy/discussions/894

https://github.com/home-assistant/addons-development/tree/master/silabs-multiprotocol

https://github.com/home-assistant/addons-development/tree/master/openthread_border_router

Previously I believe those using OpenThread Board Router (OTBR) firmware on Silicon Labs EFR32 (EFR32MG21 or EFR32MG13) or CC2652P (and CC2652R or CC2652RB) are only communicate with OpenThread devices simply by using their IPv6 addresses, controlling and publish a local OpenThread network Thread/OpenThread togther with the wpantund Userspace WPAN Network Daemon:

https://github.com/openthread/wpantund

All I need is another use case that HA would provide. If one pops up then you can expect integration.

FYI, I know that many in the Home Assistant userbase may not actually use Home Assistant itself as an automation platform, (as that part of Home Assistant still is neither very user-friendly or extensive out-of-the-box if used via the UI), therefor many in the Home Assistant userbase might instead use Node-RED or third-party scripting for automations and only utilize Home Assistant as an integration platform and protocol bridge/proxy to consolidate all your devices because Home Assistant already has a very extensive collection of integrations for most things.

Home Assistant Analytics statistics even show that the average Home Assistant instance has 76 integrations installed (that of course include several default system integrations as well) -> https://analytics.home-assistant.io/#stats

By the way, be sure to check out HACS (Home Assistant Community Store) for additional integrations -> https://hacs.xyz