espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
432 stars 145 forks source link

Cannot find addon for ESPRainmaker to integrate it to HomeAssistant (MEGH-4020) #197

Open inuonly opened 1 year ago

inuonly commented 1 year ago

I searched for addon for ESP Rainmaker integration to HomeAssistant but could not find it. If someone already knows any please share the link or else if there exists none then please consider this issue of not being able to integrate with HomeAssistant.

JohnMacrae commented 1 year ago

You can use Rainmaker to control any device that you have in Home Assistant that uses MQTT with a simple MQTT bridge device. See here for details: https://youtu.be/Ta9dwDD9GyA

Kind Regards John

On Sun, 20 Nov 2022 at 04:58, inuonly @.***> wrote:

I searched for addon for ESP Rainmaker integration to HomeAssistant but could not find it. If someone already knows any please share the link or else if there exists none then please consider this issue of not being able to integrate with HomeAssistant.

— Reply to this email directly, view it on GitHub https://github.com/espressif/esp-rainmaker/issues/197, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHTIDNDUC6D2XTLXPX57TLWJHY33ANCNFSM6AAAAAASFYMRN4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

inuonly commented 1 year ago

Hi John, This is exactly opposite of what I am looking, I am looking to integrate esp rainmaker into homeassistant. I just need to reverse the role. I even checked custom controls and addons (including community addon and webhooks) but could not find any way that esp rainmaker provides or supports for homeassistant. Currently there is no documentation on how to integrate esp rainmaker to homeassistant. In simple words the existing controls (devices) available in rainmaker app should be able to be added(integrated) with homeassistant dashboard. Hope this simplifies any confusion if left in original post. Thanks in advance.

JohnMacrae commented 1 year ago

I wonder if you could 'roll your own' using https://swaggerapis.rainmaker.espressif.com/#/

Kind Regards John

On Sun, 20 Nov 2022 at 12:19, inuonly @.***> wrote:

Hi John, This is exactly opposite of what I am looking, I am looking to integrate esp rainmaker into homeassistant. I do appreciate your efforts for a quick reply, I just need to reverse the role. I even checked custom controls but currently there is no documentation on how to integrate esp rainmaker to homeassistant. In simple words the existing controls (devices) vailable in rainmaker app should be able to be added(integrated) with homeassistant dashboard. Hope this simplifies any confision if left in original post. Thanks in advance.

— Reply to this email directly, view it on GitHub https://github.com/espressif/esp-rainmaker/issues/197#issuecomment-1321191505, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHTIDO3N55KCAHIPGTYVOLWJJMRJANCNFSM6AAAAAASFYMRN4 . You are receiving this because you commented.Message ID: @.***>

inuonly commented 1 year ago

Looks interesting, will try. Looks like api calls, way too overwhelming for me atleast, though it might be useful for someone. Still don't see how can this help me integrate my ESP rainmaker devices to homeassistant. Update: the login part works, authorization token is entered but the rest of the calls like mqtt api further below does not work. it says { "status": "failure", "error_code": 100004, "description": "You are not authorized to perform this operation, Please contact administrator" }

however it can successfully list my account details and nodes list so i can confirm its correct account but no luck getting mqtt api call to work. As suggested earlier i was trying to hook up mqtt commands from homeassistant which works on local broker but there is no way to currently integrate esp rainmaker devices into existing homeassistant instance in my use case. If someone has already done this, please guide on how to successfully integrate esp rainmaker to home assistant. Both local mqtt server addition to rainmaker and sending mqtt commands(messages) to control devices from homeassistant are basic 2 objectives for me. Thanks in advance.

maxakash commented 4 months ago

hey @inuonly did you find any solution?

K2Here commented 4 months ago

hey @inuonly did you find any solution? TLDR : No nope, i even tried to host my own docker matter server for a workaround as a result of some online suggestions over internet after searchign on google, but to me nothing works as of now for me. After waiting for some time for any official support or announcemnt I gave up as there was no further support or development on this from their (rainmaker team) side. So not using rainmaker anymore .