openLuup: System Installation issues

Anything to do with system configuration (directories, extra links/file, HTTP servers, …)

Would anyone be so kind as to publish install instructions for installation on a Raspberry Pi - I’ve attempted to follow the instructions for the BeagleBone Black without much success.
If there are some already are you able to point me in the correct direction.

Thanks

Give me a day or so as I have detailed instructions on setting up/configuring a rPi2 running Ubuntu (Mate/15.10). This includes all the modules, web server, symbolic links etc. Just copy and paste in all the commands. I really want to see openLuup used by all so I hope that others will publish similar configuration documents.

[quote=“waynez1968, post:2, topic:189394”]Would anyone be so kind as to publish install instructions for installation on a Raspberry Pi - I’ve attempted to follow the instructions for the BeagleBone Black without much success.
If there are some already are you able to point me in the correct direction.

Thanks[/quote]

Awesome - thanks for that.

Happy to help out with any testing of the instructions.

actually setting up openLuup is pretty easy … but the manual has some pitfalls … :stuck_out_tongue:

how about collaboration on github ?
i’d happy to help out on code and manual tasks

I think the point is this… There are those who are very comfortable working in a Linux environment and those who just don’t know where to start or get frustrated in the process and give up. Me, I’m not all the comfortable and very rusty. I just don’t want anyone giving up… This is why I documented a step-by-step install for Ubuntu which should, at the very least get them in a requisite stage. No matter what, someone will pretty much always have a question. Ask, learn and contribute and at the very least - try.

For me, this is very exciting. I now have openLuup code running on a quad core, 2ghz system with 8GB memory and a 30GB ssd. Don’t lose sight as to why Vera overheats, reboots and reloads on a good day. openLuup provides the art of allowing Vera to do what it does best, control z-wave products while it allows you to run on pretty much any platform (Even Windows running VM/Oracle Virtual Box). We also can’t overlook the awesome UI that helps pull all of this together - I think that solution pretty much speaks for itself as well…

I commend akbooer for the documentation and time spent developing and answering pretty much every question posted. Not every plugin will work, if it doesn’t then don’t forget that the clone can be controlled by openLuup so you lose nothing.

(drops microphone)

@akbooer

Installed latest files from Git, getting an error from loader when initializing.

cuda@Ubuntu:/etc/cmh-ludl$ ./openLuup_reload
lua: error loading module 'openLuup.loader' from file './openLuup/loader.lua':
        ./openLuup/loader.lua:4: unexpected symbol near '<'
stack traceback:
        [C]: ?
        [C]: in function 'require'
        openLuup/init.lua:9: in main chunk
        [C]: ?
cuda@Ubuntu:/etc/cmh-ludl$

cuda@Ubuntu:/etc/cmh-ludl/openLuup$ ls -ld *lua*
-rw-rw-r-- 1 cuda cuda   4612 Oct 15 14:27 chdev.lua
-rw-rw-r-- 1 cuda cuda  20164 Oct 25 03:05 devices.lua
-rw-rw-r-- 1 cuda cuda   5251 Oct 15 14:27 gateway.lua
-rw-rw-r-- 1 cuda cuda   8123 Oct 19 18:22 init.lua
-rw-rw-r-- 1 cuda cuda   7806 Oct 15 14:27 io.lua
-rw-rw-r-- 1 cuda cuda  11000 Apr 11  2015 json.lua
-rw-rw-r-- 1 cuda cuda 113313 Oct 28 08:24 loader.lua
-rw-rw-r-- 1 cuda cuda   8988 Oct 15 14:27 logs.lua
-rw-rw-r-- 1 cuda cuda  21108 Oct 23 16:32 luup.lua
-rw-rw-r-- 1 cuda cuda   6796 Oct 16 10:34 plugins.lua
-rw-rw-r-- 1 cuda cuda 217992 Oct 28 08:19 requests.lua
-rw-rw-r-- 1 cuda cuda   2964 Oct 15 14:27 rooms.lua
-rw-rw-r-- 1 cuda cuda   9244 Oct 15 14:27 scenes.lua
-rw-rw-r-- 1 cuda cuda  14657 Oct 15 14:27 scheduler.lua
-rw-rw-r-- 1 cuda cuda  14412 Oct 15 14:27 server.lua
-rw-rw-r-- 1 cuda cuda  13665 Oct 19 16:21 timers.lua
-rw-rw-r-- 1 cuda cuda   5557 Oct 15 14:27 userdata.lua
-rw-rw-r-- 1 cuda cuda  63736 Oct 28 08:24 xml.lua
cuda@Ubuntu:/etc/cmh-ludl/openLuup$

You’ve done something wrong with downloading the latest loader.lua file. It should only be 9,914 bytes, whereas your listing shows 113,313.

Same problem with your requests.lua file, I believe. It should be 22,059 bytes.

I just noticed that as well as I was backing the files off my test box. Big file size difference, this happened here at the office and at home… Hmm, not sure why it’s doing that.
One of those days I guess…

[quote=“akbooer, post:8, topic:189394”]You’ve done something wrong with downloading the latest loader.lua file. It should only be 9,914 bytes, whereas your listing shows 113,313.

Same problem with your requests.lua file, I believe. It should be 22,059 bytes.[/quote]

[quote=“CudaNet, post:9, topic:189394”]I just noticed that as well as I was backing the files off my test box. Big file size difference, this happened here at the office and at home… Hmm, not sure why it’s doing that.
One of those days I guess…

Update:
All is well… Re-downloaded and initialized without incident…

[quote=“akbooer, post:8, topic:189394”]You’ve done something wrong with downloading the latest loader.lua file. It should only be 9,914 bytes, whereas your listing shows 113,313.

Same problem with your requests.lua file, I believe. It should be 22,059 bytes.[/quote][/quote]

I am trying to test a scene but when I select action and try to use a device on the vera, nothing shows up in the drop down. Thanks for the help.

Working for me. Are you able to control your cloned/remote devices ? All the icons displaying correctly ?

I sent you the 1st draft on a step-by-step … Sorry but I guess I can’t send attachments within a PM…

[quote=“waynez1968, post:4, topic:189394”]Awesome - thanks for that.

Happy to help out with any testing of the instructions.[/quote]

[quote=“CudaNet, post:12, topic:189394”]Working for me. Are you able to control your cloned/remote devices ? All the icons displaying correctly ?

I can control them individually I just don’t get a drop down after selecting the device for action. I can select any device connected to the vera just can’t select the individual action.
Still haven’t figured out the icon issue. I am using a RPI with apache so I am sure it just need to point to the correct directory. Thanks.

I would be very interested too in your ubuntu step by step guide. I have tried several times on my own but I get stuck on the subtle differences between Apache & Nginx and never got openluup to actually work. My goal is to have OpenLuup running on Ubuntu running in a virtual box on my Synology NAS. Sounds complicated I know -:wink: but my Synology is running 24X7 and I want to make the best use of it. Maybe one day we’ll see OpenLuup as a Synology app -:slight_smile:

So a big thanks in advance for any installation tips & tricks.

Jacques

From your description alone (icons etc.) it definitely sounds like an invalid symlink. If you want I can send you my beta installation document. I sent it waynez1968 but I’d be more than happy to send it to you as well for review (e.g. symbolic links). As for Apache, I’m sure it works great but I unloaded it and opted for Lighttpd and had zero issues with it so far…

Let me know

[quote=“jcf6288, post:14, topic:189394”][quote=“CudaNet, post:12, topic:189394”]Working for me. Are you able to control your cloned/remote devices ? All the icons displaying correctly ?

I can control them individually I just don’t get a drop down after selecting the device for action. I can select any device connected to the vera just can’t select the individual action.
Still haven’t figured out the icon issue. I am using a RPI with apache so I am sure it just need to point to the correct directory. Thanks.[/quote]

I’ll send you a PM with the instructions…

I would be very interested too in your ubuntu step by step guide. I have tried several times on my own but I get stuck on the subtle differences between Apache & Nginx and never got openluup to actually work. My goal is to have OpenLuup running on Ubuntu running in a virtual box on my Synology NAS. Sounds complicated I know -:wink: but my Synology is running 24X7 and I want to make the best use of it. Maybe one day we’ll see OpenLuup as a Synology app -:slight_smile:

So a big thanks in advance for any installation tips & tricks.

Jacques[/quote]

You may not be following this thread http://forum.micasaverde.com/index.php/topic,34278.0.html, but I believe that Docker allows you to run stuff on Synology. I may have this wrong? But it looks like this is running openLuup there.

Hi Akbooer. Yes that’s me :grinning:. I have indeed successfully ran openluup in Docker. However the session cannot be saved unfortunately so one needs to start from scratch at every reboot. Airedale is testing other methods to find out if the docker image can be made persistent. But in the meantime I thought I’d give it another try and Cudanet kindly pm’d me his instructions. I am planning to do this coming weekend and will report back here. cheers.

Sent from my iPad using Tapatalk

Ah, well, that just shows how much I pay attention to detail!

Good luck with the installation walk-through.