a) Yes, i’ve searched the forum and spent a lot of time reading first, b) i’m not looking to replace a single SmartThings hub.
Not sure what’s going on with Samsung, but i’m not liking what i’m seeing at all. I’ve spent a year or so developing around their API for multi-dwelling unit (MDU) applications which rely on separate Z-Wave/Zigbee hubs for different apartments. Apparently they are no longer going to be producing hardware and only focusing on the cloud service (src: https://community.smartthings.com/t/smartthings-hardware-being-sold-off-to-aeotec/207707).
The hub is no longer available to buy anywhere, the Aeotec replacement doesn’t seem to be available anywhere either, and Samsung aren’t exactly forthcoming with information. They are supposed to be releasing a web platform of the service in addition to the mobile app, although the mobile app doesn’t work with any of the Samsung phones we have. Most of this is fairly understandable, as there’s no real business model for hosting massive infrastructure for other people to use for free.
Bottom line is Samsung are not a particularly reliable support partner or any good at understanding how a SaaS platform needs to work.
What i’m looking to do is replace, let’s say, 20 SmartThings hubs with 20 Raspberry Pi v4 units which have a OpenHABian and Z-Wave hardware add-on. The tech headache is painful up-front, but it’s opens up a new range of possibilities, like better integration with LG, Soundtouch, wifi lightbulbs etc.
Ideally i’d like to be able to access the MikroTik router the PI is plugged into, as their RouterOS system has a TCP-based API.
I need to be able to receive notifications from each of those OpenHAB installs, and be able to send them commands. I’m not having a lot of luck with either Z-Wave or Zigbee at the moment.
At that point, i have two choices:
-
Use the OpenHAB-cloud add-on for remote control, or:
-
Open nGrok (https://ngrok.com/) tunnels on the Pi to access the admin panels and REST API.
Questions, as i’m fairly new to OpenHAB and still uncovering some of its capabilities:
A. Does anyone have any experience putting something like this together?
B. Is the OpenHAB-cloud package actually maintained (looks abandoned)?
C. Can one cloud remote connect to 20 OpenHAB servers and distinguish them?
D. Can OpenHAB publish events to a Websocket message broker like Centrifugo or Crossbar?
E. Can OpenHAB-cloud broadcast events/changes and/or receive commands to OpenHAB - if so, how does that work in practice?
D. Does OpenHAB-cloud have a REST API (can’t see anything in the repo)? Or does it simply forward calls to the OpenHAB device?
What i’m trying to determine is the mechanics of removing the SmartThings API to create an alternative doing practically the same thing. I know most posts about home automation are about local-only control for personal use, but my query is exactly the opposite - how to achieve centralised remote control of multiple devices.
Thanks in advance for any input!