Hi,
I've been working on an Android dashboard for a while now (here). It's working using a combination of the MakerAPI and the /eventsocket
for receiving device state updates.
I'm also supporting remote access using the cloud token with MakerAPI. But, at least as far as I know the /eventsocket
isn't accessible outside of the network.
I know MakerAPI offers a webhook - a URL you can set which will get called any time there's an update to report. However, that's not practical for a mobile device which typically can't be reached this way. So, I'm looking for some thoughts on alternative ideas.
The best way to reach a mobile device is push notifications (aka: GCM or FCM).. Hubitat uses these already to send out mobile notifications to your device. But, I don't imagine this would be available to 3rd party apps.
Another way would be to have a websocket (aka /eventsocket
) available via the cloud API.. to be honest this might already be available and I just need some help what the URL would be to reach it.
The only other thought I can think of is some 3rd party service which might turn that webhook and turn it into a push notification.. it's not ideal as I'd like to avoid needing any servers at all - but at least it would offer a solution when you're away from home.
(of course a custom hubitat app running on the hub might be the best solution.. but I'm an Android developer so that's not something I'd be comfortable with without a lot of help!)
thanks,
joe