We have moved at community.getvera.com

Author Topic: Systems to run at.. share experiences  (Read 25649 times)

Offline CudaNet

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +42/-11
  • Chimichanga !
Re: Systems to run at.. share experiences
« Reply #15 on: November 13, 2015, 06:46:41 pm »
You're very welcome !

That's great, thanks for the update.

I really missed using Linux and it's been a great experience trying all of these flavors. I did have issues with Ubuntu Mate and memory. I'd start out with 511 meg of ram then 24 hours later I'd have 80-90 left over. I suspect maybe the Mate UI. OpenWRT has been a huge improvement. These are the numbers with it running all day....

Code: [Select]
             total         used         free       shared      buffers
Mem:        953500        36372       917128          884          760
-/+ buffers:              35612       917888
Swap:            0            0            0


Quote
I haven't tried Ubuntu, by in my experience Debian is as easy to configure as Open-WRT.
openLuup, AltUI, Zway and HomeWave, enough said...

Offline CudaNet

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +42/-11
  • Chimichanga !
Re: Systems to run at.. share experiences
« Reply #16 on: November 15, 2015, 12:08:48 pm »
And here is an install package for IOS Push. I'll see if I can get the Google Calendar [3] out today, if not then I'll definitely put it out tomorrow.
Edit: I'll be revising the package to patch the file: D_IosPush.xml

Code: [Select]
<staticJson>D_IosPush_UI7.json</staticJson>

OK, here is an installation of OpenWRT (Chaos Calmer) on a Raspberry Pi 2. I'm also going to include a 'beta' installation guide.
I've personally tested this (obviously) so it should be good to go. I just need a 'fresh' set of eyes to go over it.

For any discrepancies/recommendations etc, please send me a PM.

Code: [Select]

root@OpenWrt:/# cat /etc/banner
  _____
.-----.-----.-----.-----.|     |_.--.--.--.--.-----.
|  _  |  _  |  -__|     ||       |  |  |  |  |  _  |
|_____|   __|_____|__|__||_______|_____|_____|   __|
      |__|  F R E E D O M  F R O M  V E R A  |__|   
-----------------------------------------------------
OpenWRT - CHAOS CALMER (15.05)
Powered by Raspberry Pi 2
-----------------------------------------------------
* 1 1/2 oz Gin            Shake with a glassful
* 1/4 oz Triple Sec       of broken ice and pour
* 3/4 oz Lime Juice       unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
root@OpenWrt:/#

« Last Edit: November 19, 2015, 01:21:03 am by CudaNet »
openLuup, AltUI, Zway and HomeWave, enough said...

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: Systems to run at.. share experiences
« Reply #17 on: November 15, 2015, 12:21:21 pm »
oooooh!  ... like the custom header !!
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline CudaNet

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +42/-11
  • Chimichanga !
Re: Systems to run at.. share experiences
« Reply #18 on: November 15, 2015, 12:34:57 pm »
I felt it added a bit of panache !

oooooh!  ... like the custom header !!
openLuup, AltUI, Zway and HomeWave, enough said...

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: Systems to run at.. share experiences
« Reply #19 on: November 15, 2015, 12:50:15 pm »
My impression is that we shouldn't need a special version of crc32.lua if base64.lua works unchanged, which it does.  This may have been an early fix, not now required.  I'll check.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: Systems to run at.. share experiences
« Reply #20 on: November 15, 2015, 01:47:57 pm »
My impression is that we shouldn't need a special version of crc32.lua if base64.lua works unchanged, which it does.  This may have been an early fix, not now required.  I'll check.

So, in fact, you can get away without modifying crc32.lua if you make this change to I_IosPush.xml

From this:

Code: [Select]
require("lxp/lom")
require ("crc32")
local url = require("socket.url")

to this:

Code: [Select]
require("lxp/lom")
require ("crc32")
local CRC32 = {Hash = Hash}
local url = require("socket.url")

...but, frankly, it's more transparent as to what's going on if you stick with the original change to crc32.lua.  So forget it!

3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline CudaNet

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +42/-11
  • Chimichanga !
Re: Systems to run at.. share experiences
« Reply #21 on: November 15, 2015, 02:16:58 pm »
Sounds good, thanks for checking that. Got kind of busy today so I'm bouncing back and forth.

My impression is that we shouldn't need a special version of crc32.lua if base64.lua works unchanged, which it does.  This may have been an early fix, not now required.  I'll check.

So, in fact, you can get away without modifying crc32.lua if you make this change to I_IosPush.xml

From this:

Code: [Select]
require("lxp/lom")
require ("crc32")
local url = require("socket.url")

to this:

Code: [Select]
require("lxp/lom")
require ("crc32")
local CRC32 = {Hash = Hash}
local url = require("socket.url")

...but, frankly, it's more transparent as to what's going on if you stick with the original change to crc32.lua.  So forget it!
openLuup, AltUI, Zway and HomeWave, enough said...

Offline CudaNet

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +42/-11
  • Chimichanga !
Re: Systems to run at.. share experiences
« Reply #22 on: November 16, 2015, 04:00:19 pm »
And here is an install package for Google Calendar 3 (v1.3).
Edit: I'll be revising the package to patch the file: D_GCal3.xml

Code: [Select]
<staticJson>D_GCal3_UI7.json</staticJson>

OK, here is an installation of OpenWRT (Chaos Calmer) on a Raspberry Pi 2. I'm also going to include a 'beta' installation guide.
I've personally tested this (obviously) so it should be good to go. I just need a 'fresh' set of eyes to go over it.

For any discrepancies/recommendations etc, please send me a PM.

Code: [Select]

root@OpenWrt:/# cat /etc/banner
  _____
.-----.-----.-----.-----.|     |_.--.--.--.--.-----.
|  _  |  _  |  -__|     ||       |  |  |  |  |  _  |
|_____|   __|_____|__|__||_______|_____|_____|   __|
      |__|  F R E E D O M  F R O M  V E R A  |__|   
-----------------------------------------------------
OpenWRT - CHAOS CALMER (15.05)
Powered by Raspberry Pi 2
-----------------------------------------------------
* 1 1/2 oz Gin            Shake with a glassful
* 1/4 oz Triple Sec       of broken ice and pour
* 3/4 oz Lime Juice       unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
root@OpenWrt:/#

« Last Edit: November 19, 2015, 01:19:30 am by CudaNet »
openLuup, AltUI, Zway and HomeWave, enough said...

Offline CudaNet

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +42/-11
  • Chimichanga !
Re: Systems to run at.. share experiences
« Reply #23 on: November 16, 2015, 05:02:40 pm »
I'll start working on the Nest plugin this week...
I actually have both the newest plugin files and 1 step back from that. I'll test with both on OpenWRT and publish the one with the most features.
openLuup, AltUI, Zway and HomeWave, enough said...

Offline akbooer

  • Moderator
  • Master Member
  • *****
  • Posts: 6387
  • Karma: +292/-70
  • "Less is more"
Re: Systems to run at.. share experiences
« Reply #24 on: November 16, 2015, 05:12:09 pm »
Once again, excellent work.  Many thanks.
3x Vera Lite-UI5/Edge-UI7, 25x Fibaro, 23x TKB, 9x MiniMote, 2x NorthQ Power, 2x Netatmo, 1x Foscam FI9831P, 9x Philips Hue,
Razberry, MySensors Arduino, HomeWave, AltUI, AltHue, DataYours, Grafana, openLuup, ZWay, ZeroBrane Studio.

Offline CudaNet

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +42/-11
  • Chimichanga !
Re: Systems to run at.. share experiences
« Reply #25 on: November 16, 2015, 05:40:34 pm »
You're very welcome. Glad to help out and help others.

Once again, excellent work.  Many thanks.
openLuup, AltUI, Zway and HomeWave, enough said...

Offline CudaNet

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +42/-11
  • Chimichanga !
Re: Systems to run at.. share experiences
« Reply #26 on: November 17, 2015, 09:48:01 pm »
On Wednesday I'll post the Philips Hue (MiOS) plugin package. This was tested and installed on openLuup release 6 (no problems whatsoever).
openLuup, AltUI, Zway and HomeWave, enough said...

Offline CudaNet

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1401
  • Karma: +42/-11
  • Chimichanga !
Re: Systems to run at.. share experiences
« Reply #27 on: December 02, 2015, 12:32:08 pm »
I'm holding off on packaging anything related to the WWN plugin. Seems there are some issues and until it's resolved I'll wait until then. Just a heads up for those who might be waiting.

I'll start working on the Nest plugin this week...
I actually have both the newest plugin files and 1 step back from that. I'll test with both on OpenWRT and publish the one with the most features.
openLuup, AltUI, Zway and HomeWave, enough said...

Offline vosmont

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 687
  • Karma: +60/-8
Re: Systems to run at.. share experiences
« Reply #28 on: December 09, 2015, 06:59:08 am »
For the moment, I use openLuup on Windows.

Install http://luadist.org/ (contains Lua 5.1 and all the needed librairies)

Copy this file "openLuup_reload.bat" in "openLuup\etc\cmh-ludl", and change "LUA_DEV" according to LuaDist folder.
Code: [Select]
@ECHO OFF
SETLOCAL
SET LUA_DEV=D:\devhome\app\LuaDist\bin
SET CURRENT_PATH=%~dp0
ECHO Start openLuup from "%CURRENT_PATH%"
ECHO.
CD %CURRENT_PATH%
"%LUA_DEV%\lua" openLuup\init.lua %1

:loop
IF NOT %ERRORLEVEL% == 42 GOTO exit
"%LUA_DEV%\lua" openLuup\init.lua
GOTO loop

:exit

ENDLOCAL
PAUSE

Offline korttoma

  • Hero Member
  • *****
  • Posts: 729
  • Karma: +26/-5
Re: Systems to run at.. share experiences
« Reply #29 on: January 20, 2016, 04:56:04 am »
Hi everyone.
At this point I just want to say thanks to @CudaNet for providing the step-by-step for installing everything on OpenWrt.

I got myself a R Pi 2 and I had no idea where to start until I found your guide. Just completed step 14 in your guide and so far so good.
- Tomas