openLuup

The goodness of vera without the bad. Discuss installation problems and improvements.

181 Topics 3.0k Posts

Subcategories


  • Discuss your other openLuup plugins here

    44 Topics
    845 Posts

    Yes my rookie mistake. Mixed up the function's variables being returned versus the function itself being returned. Was on the right track as "configure (dno) has fixed the issue. Thanks.

  • The vera integration of openLuup

    8 Topics
    101 Posts

    If the bridge does not detect previously existent devices when the system starts up, then it moves them into Room 101. So a restart should either resolve the issue, if they have appeared again, or you can delete any/all devices using the action described above.

  • 0 Topics
    0 Posts
    No new posts.
  • The Z-way integration for openLuup

    20 Topics
    418 Posts

    You only get that lucky once in every four years!

  • 4 Topics
    73 Posts

    It doesn’t really matter, but it does need to have the executable permission.

  • openLuup won't upgrade from 2020.05.22

    8
    0 Votes
    8 Posts
    167 Views

    No. The master branch (which is the default) is back on 2020.05.22. It’s usually behind the development version, but not usually that far. I should roll up all the latest changes to it soon.

  • Restoring OpenLuup

    19
    0 Votes
    19 Posts
    440 Views

    If there is some reason the initial http response to pull the full controller config for ALTUI takes longer than the configured in the ALTUI ControlTimeout mS you will see this. I set this variable to 9000 and that is sufficient, even via a pihole remote connection. Setting it too long I have seen it holding other openLuup/plugin http requests in case of a delay for what ever reason. So it looks like finding a balance for your setup a bit.

    Cheers Rene

  • OpenLuup unavailable

    88
    0 Votes
    88 Posts
    4k Views

    I’m entirely dependant now on openLuup’s MQTT server, and it seems to be performing flawlessly for me under Synology docker and Homebridge.

  • My newbie questions

    22
    0 Votes
    22 Posts
    704 Views

    Ah, brilliant! Thank you.

  • AltUI and Console gui

    15
    0 Votes
    15 Posts
    320 Views

    @akbooer yepp, now it displays the value, thanks for that!

  • New to openLuup, issues with scenes

    13
    0 Votes
    13 Posts
    281 Views

    @rafale77 said in New to openLuup, issues with scenes:

    Note that the scene trigger mechanism is probably the major difference with the vera in terms of setup

    Indeed!

    There is additionally, in fact, an in-built trigger mechanism that is a sort of a blend of the two, in that the trigger happens when a variable changes, but, unlike AltUI and just like Vera, each trigger can have its own Lua code and the scenes have full Lua code capability too (not just a logical variable.). The best of both worlds, IMHO.

    However, I haven't developed the console interface for it, since I really think that scenes are becoming a rather out-moded concept, in favour of the amazing work the @toggledbits is doing with Reactor / MSR.

  • Wrong dimmer value in gui

    35
    0 Votes
    35 Posts
    685 Views

    Ohh. yeah they are managed by the J_ALTUIplugins.js file... Not my design. They indeed do not make use of the device json so I have tinkered with that file in the past as well.

  • Vera Decoupled from the cloud services

    12
    0 Votes
    12 Posts
    326 Views

    @rafale77 thanks I will read that first

  • Custom device for dimmer

    6
    0 Votes
    6 Posts
    186 Views

    I have a version working to draw the inside panel, but the main one (in the device page) is blank, because ALTUI is using Javascript to render it (I remembered it was trying to display standard json device file, but I was wrong and @akbooer was obviously right :)).

    a6ae4b98-2de6-4c63-960b-dfe867513632-image.png

    I could attach it anyway, if you want, while I'm trying to create a more general way to render plugins using the json device file, a promise Vera failed to deliver but that will really simplify the plug-in experience under ALTUI/openLuup.

  • Odd console display for triggers

    2
    0 Votes
    2 Posts
    85 Views

    This is taken from the AltUI variable VariablesToWatch. It may be that I am parsing it incorrectly (I do wish that it was in JSON format!)

    I'll try to fix it, but I wouldn't worry about it too much. Thanks for reporting it.

  • websocket

    8
    0 Votes
    8 Posts
    217 Views

    Would be nice to get this fixed as it is quite distracting on MSR but could also be some wasted CPU clock when using ALTUI. For sure the scenes seem to update without running at all and so are the rooms.

  • Security Sensor LastTrip behavior

    23
    0 Votes
    23 Posts
    621 Views

    @therealdb

    You are right, I just went back to the ALTUI code and I can see that it's hard to do. I am not so verse in JS so I tried avoiding it. It makes for more changes but it is the safer route.

    @akbooer

    to answer your question, let me test further to see if we can think of even better ways to do it.

  • Missing App store contents in openLuup

    8
    0 Votes
    8 Posts
    230 Views

    WARNING: DO THIS WRONG AND IT ALL GOES BADLY WRONG.

    Following refers to openLuup running on Jessie, on a RasPi with openSSL version:

    OpenSSL 1.0.1t 3 May 2016

    I made the mistake of running this command in the hope of it fixing the Telegram and the GitHub app store access problems I was having:

    sudo luarocks install luasec

    No good - can't find what's needed. So do this:

    sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/arm-linux-gnueabihf/

    All goes OK - reboot the RasPi. And then errors:

    /etc/cmh-ludl$ /etc/cmh-ludl/openLuup_reload lua5.1: error loading module 'ssl.core' from file '/usr/local/lib/lua/5.1/ssl.so': /usr/local/lib/lua/5.1/ssl.so: undefined symbol: X509_get_signature_nid stack traceback: [C]: ? [C]: in function 'G_require' openLuup/init.lua:86: in function 'require' /usr/local/share/lua/5.1/ssl.lua:8: in main chunk [C]: in function 'G_require' openLuup/init.lua:86: in function 'require' /usr/local/share/lua/5.1/ssl/https.lua:10: in main chunk [C]: in function 'G_require' openLuup/init.lua:86: in function 'require' ./openLuup/client.lua:39: in main chunk [C]: in function 'G_require' openLuup/init.lua:86: in function 'require' ./openLuup/luup.lua:85: in main chunk [C]: in function 'G_require' openLuup/init.lua:86: in function 'require' openLuup/init.lua:93: in main chunk

    Many hours later after much bashing of keyboard - removed luasec:

    luarocks remove luasec

    And install the most recent version of luasec version 0.7 that will work with the old openSSL version "OpenSSL 1.0.1t 3 May 2016":

    sudo luarocks install luasec 0.7 OPENSSL_LIBDIR=/usr/lib/arm-linux-gnueabihf/

    Note this this link where it says:

    Notice:

    LuaSec 0.8 requires at least OpenSSL 1.0.2. For old versions of OpenSSL, use LuaSec 0.7.

    Telegram and App Store access now fixed but I did so much messing around in between, it's hard to say if this is the actual fix!

  • 1 Votes
    21 Posts
    753 Views

    As you may have seen, it’s available in the latest development release.

  • Custom function reloading...

    4
    0 Votes
    4 Posts
    127 Views

    Yes, "global" to Test Lua, Startup Lua, and scene Lua.

    Plugins have their own separate environments.

  • New pi - clone existing image?

    2
    0 Votes
    2 Posts
    94 Views

    Yes, there's an easy way to 'factory reset'. Several, in fact.

    I'm assuming that you still want to start with an AltUI image.

    From the shell, without any other openLuup running (ie. after having done an exit) do this:

    ./openLuup_reload altui

    You can then exit this instance (once it's loaded) and reboot the system (to use your normal system openLuup startup.)

  • FAN dimmer device

    7
    0 Votes
    7 Posts
    196 Views

    But this plugin it's for GOAP 0-10V Module...

    We will need to modify it to control a regular zwave dimmer ...

  • Cloning scenes in openLuup and AltUI

    6
    0 Votes
    6 Posts
    233 Views

    @a-lurker said in Cloning scenes in openLuup and AltUI:

    People tell me all the time I'm on the artistic spectrum.

    That's absolutely fine - you are not alone.

    Development version v20.12.31 of openLuup implements the scene clone functionality (from the openLuup console Scene page) with new scene numbers filling in empty slots.

    Happy New Year.

  • AltUI/Reactor issue?

    25
    0 Votes
    25 Posts
    1k Views

    I just found a bug in the editing of Weekday conditions. Fixed in stable branch.

  • Logging lines

    Solved
    31
    0 Votes
    31 Posts
    1k Views

    You're still several mistakes ahead of me. 😉

    C

Recent Topics