Setup your own openhab-cloud (myopenhab) server/instance

Now Godaddy, comissioning of severs, about the same as AWS, other than that, my experience was horrible, documentation was slim at best, and the details neeeded to logon via either cert, or password were, unavailable.

I gave up after numerous server commissions, and destroys, while never being able to logon to a terminal.

As I’ve said before, I am a Linux noob, and Windows Expert.

Hopefully this is helpful to those looking to install myopenhab on a cloud server of some type.

Any questions feel free to ask, I am a sometimes daily sometimes weekly forum browser.

The prices of both services are comparable, $8-10 for a 1 cpu, 30 GB HD, cloud server, AWS is giving you a year free, (read the rules, they are generous in my opinion), GoDaddy is giving a month free.

ryandetzel, thanks for the help and all the work you do!!!

Good info Joe, thanks. I use AWS all the time and it’s great, little pricey but like you said since it’ so popular there is a lot of help out there. If you’re up to it I suggest you try one of the other providers, Digital Ocean, Linode, or Scaleway as I think you’ll have a better experience and they tend to be a little cheaper.

Would anyone be interested in this as a docker?


Yes, I am waiting it.

1 Like

Here’s some more info on Cloud Setup, specifically notifications:

So, for those looking to set up OpenHAB-Cloud notifications, here is a quick summary of what needs to be done.

Jid =
Password = server key
I don’t know if the legacy server key will work, I used the server key from Firebase console, also make sure you use the keys on the “Cloud Messaging” tab!

Before compiling habdroid"
Change line 145 and 1201 to match your system.

Hi wondefull job ryandetzel

Got my own server running in 30 minutes
My big problem.
I am try to make node app.js start at boot like a service

messing arroud with openhabcloud.service but can’t get it the right way
any help would be appriciated


1 Like

Hi guys,

I am a newbie, pardon my questions

I just try to evaluate, so I clean installed the openhab-cloud on a Cloud VPS KVM Debian 8 (64 bit)
Nginx, Node v7.9.0, Mongo v2.4.10

Using the production as config, I fired up node app.js
below is the console log

2017-04-27T13:28:13.865Z - info: openHAB-cloud: Backend service is starting up…
2017-04-27T13:28:13.887Z - info: openHAB-cloud: Backend logging initialized…
2017-04-27T13:28:15.133Z - info: openHAB-cloud: Initializing XMPP connection to GCM
2017-04-27T13:28:15.745Z - info: openHAB-cloud: Mailer will emulate sending in development environment
2017-04-27T13:28:15.951Z - info: openHAB-cloud: Connecting ro Redis at
2017-04-27T13:28:16.414Z - info: opneHAB-cloud: Trying to connect to mongodb at: mongodb://
2017-04-27T13:28:16.435Z - info: openHAB-cloud: Scheduling a statistics job (every 5 min)
express deprecated app.configure: Check app.get(‘env’) in an if statement app.js:223:5
express deprecated app.configure: Check app.get(‘env’) in an if statement app.js:227:5
express deprecated app.configure: Check app.get(‘env’) in an if statement app.js:230:5
connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:56:20
connect deprecated limit: Restrict request size at location of read node_modules/express/node_modules/connect/lib/middleware/multipart.js:86:15
connect deprecated methodOverride: use method-override npm module instead app.js:239:21
2017-04-27T13:28:16.587Z - info: openHAB-cloud: IFTTT is configured, app handling IFTTT capabilities…
Option polling duration is not valid. Please refer to the README.
2017-04-27T13:28:16.618Z - info: openHAB-cloud: express server listening on port 3000
2017-04-27T13:28:16.630Z - info: openHAB-cloud: Redis connect response: OK
2017-04-27T13:28:16.631Z - info: Redis is ready
node_redis: Warning: Redis server does not require a password, but a password was supplied.
2017-04-27T13:28:16.659Z - info: openHAB-cloud: Successfully connected to mongodb
2017-04-27T13:28:16.786Z - warn: openHAB-cloud: GCM XMPP error: XMPP authentication failure

While accessing to http //xx:3000 I can only see the Login or Register page with
Login Credentials and Signin Button and nothing else…

There is No UUID Register Input Box, no link to dashboard as posted in here

Is is normal? Is the missing registration panel is off by default?
How can I create an administrator account/user to login?

What am I missing?

Shall appreciate if someone can point me to the right direction

Thank you in advance

At the end of conf.json there is a line:

 "registration_enabled": false

Change it to:

 "registration_enabled": true

Hi Joe,

Thank you for the guide :clap: :smiley:

Silly me, you know what… this is the dumbest mistake :grin: I ever made and spent 2 days for it. I installed twice on different servers, search high and low on internet, I really check many times on the config but I don’t know how I can missed that… perhaps it is at the bottom line :joy:

So for those who want to setup openhab-cloud, so far below specs is applicable (not fully test yet)

Cloud VPS KVM Debian 8 (64 bit)
Nginx, Node v7.9.0, Mongo v2.4.10

Thank you

1 Like

No worries, this entry was created @ the end of my quest to set up “The Cloud”. If you haven’t yet, browse through the rest of this thread, think we’ve hashed out many questions you may have.

I have not even read it all yet, but I am already impressed. I may want to do this :slight_smile:

I need your help! thanks
when I run app.js every thing goes well ,openhab instance online,but when I click dashbord to remote control,something is wrong :slight_smile:

Missing error handler on `socket`.
TypeError: Cannot read property 'openhab' of undefined
    at Socket.<anonymous> (/data/wwwroot/
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Socket.onevent (/data/wwwroot/
    at Socket.onpacket (/data/wwwroot/
    at Client.ondecoded (/data/wwwroot/
    at Decoder.Emitter.emit (/data/wwwroot/
    at Decoder.add (/data/wwwroot/
    at Client.ondata (/data/wwwroot/
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Socket.onPacket (/data/wwwroot/
    at emitOne (events.js:101:20)
    at WebSocket.emit (events.js:188:7)
    at WebSocket.Transport.onPacket (/data/wwwroot/
    at WebSocket.Transport.onData (/data/wwwroot/
    at WebSocket.onData (/data/wwwroot/
    at emitTwo (events.js:106:13)
    at WebSocket.emit (events.js:191:7)
    at Receiver.ontext (/data/wwwroot/
    at /data/wwwroot/
    at Receiver.applyExtensions (/data/wwwroot/

I’m Apple developer, where I need to put the certifications to work on my own openhab server and my own iOS Openhab app? Does anyone knows the procedures? Thanks

By your detailed instructions, the problem that habdroid cannot connect to openhab cloud is gone.

1 However, while I goto REST API page, /discovery/bindings/{binding}/scan API does NOT got response. e.g. /discovey/bindings/hue/scan

2 In comparsion, if I use as openhab cloud, I also get timeout response for /discovery/binding/hue/scan API.

3 However, without openhabcloud server, /discovery/binding/hue/scan API works well.

Not sure whether you also have the same issue. Any comment will be very welcome. Thank you.

Did you change and recompile habdroid as in message #27 in this thread?

Question : Did you ever get your openhab Cloud server to work with alexa service, i have the server setup but it will not authenticate ( activate the rule ) , if you have a tutorial around this process it would be great

1 Like

Not sure whether this response is for my question or not. But i will give a try. Thanks.

How is Alexa skill with private openhab cloud integration coming along? Don’t see an option in the mobile app to use a private server as yet. Is there another way to make that happen?