I’d like to let everyone know about my experience setting up the myopenhab, on both Amazon Web Services (AWS), and GoDaddy cloud server.
I want it to be known that I am not associated in any way with either Company other than being a customer of both. I hold no stock or stake in either company.
I followed the instructions both in this post and in the read me found on github for myopenhab.
I started with AWS, the setup was easy, the help provided both by AWS and other people via a simple Google search was impressive, and I was able to get ubuntu setup, along with a graphical interface, Putty terminal access, and FileZilla FTP access in under two hours. Following both sets of instructions provided, I was able to get myopenhab running, and get an SSL cert for my domain. The only time I needed to interact with AWS support was to get an “RDNS” entry added to the AWS DNS Servers so that the AWS server was seen as my domain. You need an “elastic IP Address” and also need to have your “A” record created and propagated before attempting this. The instructions to do this are included on this page under “elastic IP address”. https://aws.amazon.com/ec2/faqs/#elastic-ip.
Although I did commission and destroy a few servers before getting everything right, the commissioning of a new server takes 2 minutes at most before you can logon, so the most painful part was destroying all my work.
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.
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 = Your_Sender_Key@googleapis.com
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 OpenHABMainActivity.java line 145 and 1201 to match your system.
Silly me, you know what… this is the dumbest mistake 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
So for those who want to setup openhab-cloud, so far below specs is applicable (not fully test yet)
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 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
Missing error handler on `socket`.
TypeError: Cannot read property 'openhab' of undefined
at Socket.<anonymous> (/data/wwwroot/cloud.smartgourd.com/app.js:1079:64)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Socket.onevent (/data/wwwroot/cloud.smartgourd.com/node_modules/socket.io/lib/socket.js:330:8)
at Socket.onpacket (/data/wwwroot/cloud.smartgourd.com/node_modules/socket.io/lib/socket.js:290:12)
at Client.ondecoded (/data/wwwroot/cloud.smartgourd.com/node_modules/socket.io/lib/client.js:193:14)
at Decoder.Emitter.emit (/data/wwwroot/cloud.smartgourd.com/node_modules/component-emitter/index.js:134:20)
at Decoder.add (/data/wwwroot/cloud.smartgourd.com/node_modules/socket.io-parser/index.js:247:12)
at Client.ondata (/data/wwwroot/cloud.smartgourd.com/node_modules/socket.io/lib/client.js:175:18)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Socket.onPacket (/data/wwwroot/cloud.smartgourd.com/node_modules/engine.io/lib/socket.js:99:14)
at emitOne (events.js:101:20)
at WebSocket.emit (events.js:188:7)
at WebSocket.Transport.onPacket (/data/wwwroot/cloud.smartgourd.com/node_modules/engine.io/lib/transport.js:91:8)
at WebSocket.Transport.onData (/data/wwwroot/cloud.smartgourd.com/node_modules/engine.io/lib/transport.js:102:8)
at WebSocket.onData (/data/wwwroot/cloud.smartgourd.com/node_modules/engine.io/lib/transports/websocket.js:75:30)
at emitTwo (events.js:106:13)
at WebSocket.emit (events.js:191:7)
at Receiver.ontext (/data/wwwroot/cloud.smartgourd.com/node_modules/engine.io/node_modules/ws/lib/WebSocket.js:816:10)
at /data/wwwroot/cloud.smartgourd.com/node_modules/engine.io/node_modules/ws/lib/Receiver.js:477:18
at Receiver.applyExtensions (/data/wwwroot/cloud.smartgourd.com/node_modules/engine.io/node_modules/ws/lib/Receiver.js:364:5)
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
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