Open NotTheCaptain opened 1 year ago
First proof-of-concept works for switches and light entities.
Doc for the entities: https://developers.home-assistant.io/docs/core/entity If I understand this correctly, each entity has it's methods which can be called as a service via REST. Will do some further testing with other entity types.
Also misclicked, issue is not closed (yet)
Great! If you want to do it, do it! I won't stop your flow ;)
After integrating openHAB, I have looked a bit into the REST documentation for Home Assistant. While it is possible to also integrate it into the Grid, it's not as straight forward as openHAB was.
Differences to openHAB are:
{"entity_id":"entity to control"}
. In the URL, you have to specify, what type of entity you want to control and which command it should use (e.g.:homeassistant.local:8123/api/services/switch/turn_on
)Overall, it's a bit more work in terms of API calls, but should be a great addition since Home Assistant is more widespread than openHAB.
@klues Do you want do keep this for another student, who is in dire need for a bachelor project or could I have a go on this since I am currently in "the flow"?