Controlling things with apple home

I’ve looked everywhere for information on this topic without luck. I want to control all things with the apple home app, for great integration with my familys iphones, setting up scenes/automations, siri voice control etc.

Yes, I have seen the homekit addon but that is for allowing homekit-supported devices to be added to webthings gateway. I want to control everything through the apple home app on my iphone, is this possible? Or will I have to buy every single different gateway (hue, trådfri, aqara etc) needed and use homebridge instead of webthings gateway?

Thanks!

I think something like Homebridge or Home Assistant would probably be better for your needs. Both of those projects can already serve devices up as HomeKit accessories, which can then be added to the Apple Home app.

However, I will say that you can add our UI as a Progressive Web App (Add to Home Screen), which will then appear on your devices as an app. You would be lacking some of the nice iOS built-ins, though, like Siri.

Thats what I suspected, thanks for confirming! I look forward to following the progress of this project, I think it looks really promising. Keep up the good work!

Hi! I was also searching for a function to control the Webthings Gateway with Apples HomeKit and found this post.

As an alternative to control the Gateway with an Apple Device running iOS, you can use the API of Webthings and the Shortcut function of iOS.
With Siri you can trigger a created shortcut. In the shortcut itself you are sending a PUT command to the API of the gateway to change the status of your smart Home device.
Attached you can find my created example. It is working very good.

1 Like

Just a tip: you’ll probably also want to add an Accept: application/json header.

Hi mrstegeman!

Thank you for the tip. Could you please give me a short description why adding this to the header?
I started 2 weeks ago with the webthings, so I‘am no that familiar with the api programming.

Regards Ingo

In the gateway, most of the HTTP paths are shared between the UI and the REST API, so using the Accept header makes sure you’re requesting the proper resource.