Plugins

Discuss your other openLuup plugins here

42 Topics 806 Posts
  • openLuup: Shelly Bridge plugin

    Pinned
    111
    0 Votes
    111 Posts
    5k Views

    Has anyone got a Shelly Plus Uni yet...?
    ...and done anything with it??

    I've just acquired a couple of them, and pleased to say that they're immediately recognised by the latest Shelly bridge in openLuup.

    What's a bit missing from the Shelly site, AFAIK, is any decent instructions about device configuration. I'm planning to use these as pulse counters for utility meters (which Shelly do advertise as an application.)

  • openLuup: Tasmota MQTT Bridge

    Pinned
    127
    1 Votes
    127 Posts
    8k Views

    @akbooer I'm good as I don't have additional topics that must be added at the moment. So the code change is probably the way to go.

  • openweather plugin ?

    22
    0 Votes
    22 Posts
    737 Views

    Just found this too...

    Synoptic and climate stations

    Their site is not easy to navigate!

  • Sonos system alerts truncated

    2
    0 Votes
    2 Posts
    105 Views

    Well, clearly an HTTP request has not been completed. Has anything changed recently? A network change, perhaps. Software update? Not obvious why this is happening.

  • Generic support for vacuums

    43
    0 Votes
    43 Posts
    2k Views

    @catmanv2 it’s ecovacs, damn autocorrect.

  • Openluup: Datayours

    7
    0 Votes
    7 Posts
    180 Views

    @akbooer
    Hi akbooer, I've simulated on a test installation a network outage of the remote DY and I've produced two sets of whisper files : one updated (remote DY) and the other one to update (central DY) if possible with a routine similar to Whisper-fill.py from Graphite tool.
    In the files I'll send you by email you find :

    whisper file Updated ; whisper file To Update ; L_DataUser.lua used for both that processes and creates different metric names; Storage-aggregation.conf and Storage-schema.conf files.
    I remain at your disposal for any clarification.

    tnks

    donato

  • Switchboard plugin

    5
    0 Votes
    5 Posts
    134 Views

    Ah, that makes sense. I haven't spent much time in the new console. Old dog sticking to the old tricks. I'll have to poke around there a bit more and see what's new.

  • Cannot publish new version in ALTAPP Store

    6
    0 Votes
    6 Posts
    224 Views

    Hi AK,
    On Vera? You smart man, never thought of that. It does work on that.

  • openLuup: UI Device / Tile Text

    10
    0 Votes
    10 Posts
    282 Views
  • Reactor scope issues

    17
    0 Votes
    17 Posts
    579 Views

    @buxton said in Reactor scope issues:

    In many of Patrick's plugins, he uses a global lua table to hold plugin data and functions. He assigns shorthand names that call common luup functions, then stores those truncated names in the table.

    Umm... no, I don't think I do. That actually sounds like something I would very specifically not do. Not a big fan of globals; I only use them where Luup forces me to.

    Can you post some code that shows what you think that is?

    Here, for example, is the definition of the log function L() commonly used in Reactor, which is a model/function I use frequently...

    local function L(msg, ...) -- luacheck: ignore 212 local str local level = defaultLogLevel or 50 if type(msg) == "table" then str = tostring(msg.prefix or _PLUGIN_NAME) .. ": " .. tostring(msg.msg or msg[1]) level = msg.level or level else str = _PLUGIN_NAME .. ": " .. tostring(msg) end str = string.gsub(str, "%%(%d+)", function( n ) n = tonumber(n, 10) if n < 1 or n > #arg then return "nil" end local val = arg[n] if type(val) == "table" then return dump(val) elseif type(val) == "string" then return string.format("%q", val) elseif type(val) == "number" and math.abs(val-os.time()) <= 86400 then return tostring(val) .. "(" .. os.date("%Y-%m-%d.%X", val) .. ")" end return tostring(val) end ) luup.log(str, math.max(1,level)) --[[ ???dev if level <= 2 then local f = io.open( "/etc/cmh-ludl/Reactor.log", "a" ) if f then f:write( str .. "\n" ) f:close() end end --]] if level == 0 then if debug and debug.traceback then luup.log( debug.traceback(), 1 ) end error(str, 2) end end

    It's just a plain local function. No global in a table Luup function reassignment magic anything, just a straight function that gets use in a vanilla way:

    L("Sensor %1 (%2) first run, setting up new instance...", tdev, luup.devices[tdev].description)
  • 2 Votes
    11 Posts
    468 Views

    @therealdb Now, it worked perfectly! Thank you!

  • 0 Votes
    8 Posts
    249 Views

    Yep, exactly the same boat here!

  • Reactor: double click action

    16
    0 Votes
    16 Posts
    373 Views

    Ok, first tests look promising. It not always goes successful, but I have to debug that some more later. It looks like the clicks are not always registered, but that's a different problem then.

    Thanks @toggledbits for your help! Not really easy after all, but it seems like a workable solution. The alternative is a triple click, that is probably more reliable. Nice to have the group state functionality in my arsenal now.

  • Virtual Pronto Remote plugin

    4
    1 Votes
    4 Posts
    273 Views

    Hi, just a standard, off the shelf VeraPlus, no AltUI

  • openLuup: SmartSwitch plugin

    27
    0 Votes
    27 Posts
    829 Views

    I can't see the SmartSwitch plugin in the app store list in the console. And the sorting seems case sensitive, so the openWeather plugin appears last when you do a list "All Apps" in the store list. So you also get "RaZberry (ALPHA)" before "Rachio". A case conversion before sort would be good.

  • Reactor icons for local lan

    1
    0 Votes
    1 Posts
    119 Views
    No one has replied
  • AltUi

    Solved
    10
    0 Votes
    10 Posts
    315 Views

    Well, that’s good... we’ll never know what that was all about!

  • AltUI sort?

    3
    0 Votes
    3 Posts
    128 Views

    2.53b apparently. Them's the tags!

    Thanks

    C

  • 2 Votes
    36 Posts
    878 Views

    @therealdb

    Really appreciate it!

    C

  • Vera-openLuup Ecobee Plugin

    28
    0 Votes
    28 Posts
    1k Views

    Just FYI, seems there's a nationwide outage in the OAuth system and/or ecobee server, such that Vera and the various plug-in editions are incapable of authenticating thermostats. Been like that for a few hours, according to https://downdetector.com/status/ecobee/

    RESOLVED as of 6pm CDT 4/20/21

Recent Topics