IOS 2.1 Release and Project Update

Try this @ei_Gelb_Geek and @Gad_Ofir it’s even simpler
https://www.icloud.com/shortcuts/bdf7b90a39834bde8bd9b5e0b98f7c74
If you first add it will automatically ask you for your openhab instance name and the item name. After that you have a ready to go on/off shortcut widget. (You have to scroll to the bottom and tap add untrusted shortcut, than it asks you)
Maybe useful and saves time.
Best regards Johannes

3 Likes

Hi thanks i will give this a try once i will have IOS 12+ right now still on 11 (for JB)

It seems that apple removed the option for untrusted shortcuts a few days ago.

How to make this a trustee shortcut ?

Nice idea! Is ist possible to make it a trusted shortcut?
I can not find any setting on my phone to accept untrusted shortcuts.

Have a nice evening!

Have a look here


Some people had to add and run another shortcut for the setting to appear in settings/shortcuts.
Johannes
Edit:
It definitely works for me, just tried it on a device running 13.1.3

2 Likes

Perfect, thank you! Works like a charm!
Is this also possible to adapt for a dimmer?

1 Like

https://www.icloud.com/shortcuts/9cb710f768094c60a12ab08740b3ad65
Updated it so it asks you if it’s a Switch or Dimmer when adding. If you change the pre input Switch to Dimmer it will add an entry to the Menu were you can input a dimmer value.
Johannes

1 Like

@JGKK I am stuck on iOS 12.1 for the moment and it won’t accept shortcuts from a later version

Any chance of you posting a couple of screenshots of that shortcut?

What if I need to send a command which is just a number and not a switch and not a dimmer ?

I think this is getting quite off topic for the purpose of this thread :see_no_evil: but you can send any command you want to the rest api. So you can just go into the shortcut and adapt the text blocks within the menu item to anything you need as those are the commands being send to Openhab and than rename the menu entries accordingly

As already suggested in the Github project.
It would be really cool to let the iOS app send device data to openHAB.
Like the battery status/level and location.

I thought this might be interesting as we had the siri shortcut discussion here. @Lukie just posted a great tutorial on how to make shortcuts work outside of your own network:
Sending commands to REST API via Siri Shortcuts whilst outside of LAN
Johannes

1 Like

I can confirm that the dynamic mapping issue is also fixed for the Squeezebox binding when using the latest 2.2.47 on TestFlight.

1 Like

Has anyone implemented a habpanel link yet???

What should a link to the Habpanel within the native app be good for?

So you can get to Habpanel using the app and not have to open a browser and stuff around entering a username and password then navigating to get to the UI.

I don’t really get why you want a link in the app for it. I think a static link with an embedded web browser is not so hard to implement, but the experience will not be the best…
I think the main idea for HABPanel is to use it on wall-mounted “dashboards” or any other tablet at home for easier and much nicer looking control.

I’m sure many others like me would like to use one app to access it remotely. Its on Android.

What can you do in Habpanel that you can’t do in the native app? I really don’t understand the meaning. Habpanel is really good for touchscreens on the wall, but doesn’t that make sense in a native app?

Habpanel is a far more pleasing UI to use, graphically nicer with far more flexibility to do all sorts of things with custom java, that’s why. Not every one wants to use Sitemaps to be honest, they look pretty average. Look at what all the UI’s are doing for the top end systems - Habpanel is the only one that comes close.