openLuup

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

185 Topics 3.0k Posts

Subcategories


  • Discuss your other openLuup plugins here

    44 Topics
    871 Posts

    Hi Ak,
    Not sure what the issue is for me then. I first had it running on Pi3 with Debian, now on Pi4 with Ubuntu, same issue of not getting the token. I did copy the user_data.json, so maybe something in that.
    As a test I tried on my openLuup clean test install running in a container and that is working. So must be something at my end.
    Thanks again anyway, I have a new workaround :-).

  • The vera integration of openLuup

    8 Topics
    102 Posts

    Just wanted to add that my Vera Bridges stopped working, I can’t be sure exactly when, maybe after a reboot ? But wanted to share here as they were working fine..

    850065d5-00f8-44e6-b75d-5ae9a21a272d-image.png

    The Variable for the RemotePort on both is /port_3480

    Updating to :3480 fixes it..

    @akbooer - not sure why this worked first and then stopped..

  • 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: Version Log

    Pinned Locked
    34
    3 Votes
    34 Posts
    3k Views

    Development Branch: 2024 Release 4.8

    Eclipse Edition

    further refactoring of Shelly Gen2+ devices fix missing variables for Shelly H&T support for Shelly Gen1 RGBW2 controller
  • openLuup: MQTT server

    Pinned
    179
    0 Votes
    179 Posts
    18k Views

    If there is something I can do to help, please let me know.

  • openLuup: Windows Subsystem for Linux (WSL)

    Pinned
    3
    2 Votes
    3 Posts
    305 Views

    @dcmchrissy said in openLuup: Windows Subsystem for Linux (WSL):

    openLuup runs great, but GetVeraFiles always download zero byte png files in the /icons folder (ongoing problem for me on all of my recent openLuup installs) A "permissions" problem? Even though I never change any permissions unless instructed in your install instructions.

    This issue has been fixed in the latest development version (v20.12.10), so update to that from the plugins page and try again. (It is possibly worthwhile deleting the existing zero-bytes files first.)

    Yes, the su approach seems to work (I must have been su when I tried this – I have changed my original post accordingly, thanks)

    Thanks for trying this out!

  • openLuup Icons

    Pinned
    1
    4 Votes
    1 Posts
    136 Views
    No one has replied
  • 0 Votes
    7 Posts
    121 Views

    I should have thought so.

    Can you post the JSON for the scene from the console scene page?

  • openLuup_install.lua - URL changed?

    Solved
    3
    0 Votes
    3 Posts
    172 Views

    Now fixed in the Development branch.

  • OpenLuup : Loading Global Modules

    4
    0 Votes
    4 Posts
    131 Views

    Yes.

    An alternative is to create the module table at the start, and define the functions directly as module components…

    local _M = {} function _M.myfunction(…) — whatever end function _M.anotherFunction(…) — whatever end return _M
  • openLuup charting and forward slashes in variable names

    Solved
    9
    0 Votes
    9 Posts
    189 Views

    Excellent. Yes, it all works fine with Grafana, but not the internal plotting (which, frankly, is pretty minimal.)

    Easy to change the rules with the sophisticated wildcard syntax described here, with multiple patterns allowed, as per the servertables.lua defaults.

  • 0 Votes
    30 Posts
    948 Views

    @akbooer

    here in the community app in the reply box

  • ZWaveJS and MQTT

    14
    0 Votes
    14 Posts
    707 Views

    @toggledbits Thanks for that. Zensys had it as their proprietary stuff ie under their control for ages and it's still a constellation of confusion. For example - how hard should it be to copy a set up from one USB stick to another? They really shot themselves in the foot a long time ago. Meanwhile Zigbee seems to have flourished?

  • Awesome MQTT - GitHub list

    4
    0 Votes
    4 Posts
    238 Views

    I did add it, just to see whether anything happens!

  • GetSolarCoords - correct results?

    13
    0 Votes
    13 Posts
    355 Views

    Great - variables AZ & ALT are now all good. I've written about them here.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • 0 Votes
    5 Posts
    341 Views

    I missed your reply, somehow, but glad it worked. Assume you are back home by now!

  • 0 Votes
    9 Posts
    412 Views

    @parkerc said in Console view: - No Live refreshes via :3480/console?page=devices:

    If/when you have time, it’lll be nice if the console could have its own Favicon assigned

    The openLuup server has supported favicons from the beginning. I used to run openLuup on four different hardware systems (RPi, BeagleBone Black, Mac, Synology) and they all used different favicons so that I could tell from the browser which one I was dealing with.

    For this reason, I've never needed a specific favicon, although the one I use by default is my GitHub avatar, as appears on the top left of the openLuup screen.

  • openLuup and room names

    Solved
    2
    0 Votes
    2 Posts
    163 Views

    Thanks. Made the change. It'll be in the next release.

    In contrast, device names are allowed, by design, to have leading and trailing spaces.

  • Need to get rid of RulesEngine

    6
    0 Votes
    6 Posts
    293 Views

    You mean that 2 minutes wait you mention here...

    THEN execute LUA code WAIT 2 minute execute LUA code

    ...you'd just have to re-check the compound condition again before executing the second code block.

    So the easiest way would simply be to wrap the test in a function so you can call it in a one-liner...

    local API = require "openLuup.api" local now = os.time() local m_15_ago = now - 15 * 60 -- 15 minutes ago local hour = os.date "*t" .hour local b1 = API[nnn].security -- bedroom 1 motion sensor local b2 = API[ppp].security -- bedroom 2 motion sensor local bl1 = API[xxx].switch -- binary light 1 local bl2 = API[yyy].switch -- binary light 2 local function ok_to_go () return b1.Tripped == '0' and b1.LastTrip < m_15_ago and b2.Tripped == '0' and b2.LastTrip < m_15_ago and hour >= 6 and hour < 23 and bl1.Status == '0' and bl2.Status == '0' end if ok_to_go() then -- execute LUA code, block #1 if ok_to_go() then -- execute LUA code, block #2 end end
  • 0 Votes
    73 Posts
    5k Views

    You can set the debug flag in startup or Lua Test with:

    local mqtt = require "openLuup.mqtt" mqtt.ABOUT.DEBUG = true
  • DisplayLine1 & 2 - Ability to align text?

    2
    0 Votes
    2 Posts
    165 Views

    I don’t believe so. This was a courtesy addition to AltUI which @amg0 made for me just so that there was a simple way to present a bit of info without resorting to JavaScript in a separate file.

    I take it that you’re talking about AltUI? If it’s openLuup’s console that you’re speaking of then, yes, there’s a way for individual plugins to format their own panel display.

  • AltUI access over VPN

    7
    0 Votes
    7 Posts
    330 Views

    Interesting. I shall have a poke when I get home. Of course that will require the 'correct' computer 🙂

    C

Recent Topics