Skip to content
  • Seeking Advice:

    Blogs
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    4 Posts
    914 Views
    toggledbitsT
    The error message will be improved, but for reference for future readers, there are two ways to fix this when it happens: Change the name of your local variable. Explicitly declare and initialize your local variable at the start of your expression as explicitly local. For example, assuming alpha is the name of a global expression/variable but we want to use it as a local variable name: local alpha=0, each e in matchEntities( { capability: 'dimming' } ): alpha = alpha + 1
  • 0 Votes
    5 Posts
    990 Views
    therealdbT
    @toggledbits thanks for the help. I will eventually improve this code and apply capabilities only if the device is somewhat new/changed or at startup. OpenSprinklerController is peculiar, but I think I could manage to achieve this result. This code is shared among my controllers, I've modified them to better handle updates. Thanks!
  • 0 Votes
    6 Posts
    2k Views
    akbooerA
    Not sure if your controller handles WiFi controlled devices?
  • Openluup - verabridge can not load devices.

    Solved Vera Bridge
    11
    0 Votes
    11 Posts
    2k Views
    parkercP
    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.. [image: 1731058659731-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..
  • Access to log file viewer denied

    Locked Multi-System Reactor
    6
    0 Votes
    6 Posts
    1k Views
    toggledbitsT
    If you change nothing in the ACL configuration, you can add the username and password for access to the query URL as request parameters. The specifics of this are described in the documentation (under Access Control). You can modify the ACL to allow anonymous access but restrict the source IP address to whatever host(s) you use.
  • Why different types of Triggers within openLuup & ALTUI

    openLuup
    7
    2
    0 Votes
    7 Posts
    2k Views
    akbooerA
    I should have thought so. Can you post the JSON for the scene from the console scene page?
  • openLuup_install.lua - URL changed?

    Solved openLuup
    3
    0 Votes
    3 Posts
    872 Views
    A
    Now fixed in the Development branch.
  • Just starting what hub is best.

    Unsolved General Discussion
    2
    0 Votes
    2 Posts
    831 Views
    akbooerA
    Hi there. 'Best', of course, is subjective. What are your needs/wants really? Also, what type of IT infrastructure do you have, or are you used to? Apple, PC, Linux, ...? Lots of choice, to be sure.
  • TTS in MSR?

    Locked Solved Multi-System Reactor
    33
    0 Votes
    33 Posts
    12k Views
    N
    @therealdb said in TTS in MSR?: [ "Bentornato a casa", "Casa, dolce casa!", "Ciao!", ] Grazie! and thanks to @toggledbits for the new dark theme, also my eyes are happy!
  • OpenLuup : Loading Global Modules

    openLuup
    4
    0 Votes
    4 Posts
    3k Views
    akbooerA
    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
  • 0 Votes
    7 Posts
    1k Views
    cw-kidC
    As for your other comments Gentlemen, I don't disagree with them..
  • A couple of things about Reactor 24293

    Locked Multi-System Reactor
    3
    3
    0 Votes
    3 Posts
    740 Views
    therealdbT
    @toggledbits said in A couple of things about Reactor 24293: Yellow has been dealt with. The remaining coloring is Bootstrap (5.3). I don't specify color directly here, I specify type or usage and it chooses color, and it adjusts color based on theme. true, but these could be overridden by CSS variables. [data-bs-theme=dark] { --bs-blue: #0b5ed7; /* Darker Blue */ --bs-indigo: #520dc2; /* Darker Indigo */ --bs-purple: #59359e; /* Darker Purple */ --bs-pink: #b02a6b; /* Darker Pink */ --bs-red: #b02a37; /* Darker Red */ --bs-orange: #dc6a0a; /* Darker Orange */ --bs-yellow: #e0a800; /* Darker Yellow */ --bs-green: #146c43; /* Darker Green */ --bs-teal: #169b7e; /* Darker Teal */ } Give it a try.
  • Error on start for MSR after update to 24293

    Locked Multi-System Reactor
    14
    0 Votes
    14 Posts
    2k Views
    G
    @toggledbits ignorance is bliss
  • Dark Mode not Working - 24293

    Locked Solved Multi-System Reactor
    13
    2
    0 Votes
    13 Posts
    2k Views
    CrilleC
    Yes, that did it! Thanks
  • 1 Votes
    55 Posts
    24k Views
    CatmanV2C
    Just to note I installed it, set it up in about 2 minutes and it seems to work perfectly C
  • 0 Votes
    14 Posts
    3k Views
    T
    @toggledbits said in Is there a way to restart an add-on in HAAS from MSR?: If it doesn't work, be sure to check the logs for how HASS responded (it will be logged). My guess that data: line in the service data is redundant, and it's going to complain about it, but let's see. I thought it might be as well, but I figured I'd start with the way it was in the YAML code. If it doesn't work, I'll remove that line. The add-on hasn't gone unresponsive since I implemented this, so I can't say if it works or not.
  • Logitech logic

    Unsolved General Discussion
    7
    0 Votes
    7 Posts
    2k Views
    CatmanV2C
    Just to close this off, new unit installed today and we now have IR back up and running. Even more remarkably despite having to reconfigure my TV activity from scratch in the Harmony app, both Alexa and HASS appear to have managed to remain functional. Logitech were always the bees knees for Universal remote products but at some point they will turn the servers off No apology needed for the Hijack. I'm off to look! C
  • Log files

    Locked Multi-System Reactor
    8
    0 Votes
    8 Posts
    2k Views
    tunnusT
    @toggledbits godspeed Patrick!
  • Vera PushOver notification with image

    Vera
    2
    0 Votes
    2 Posts
    977 Views
    A
    The code in your link was messed up when they updated that forum some years ago. I've rehashed it to give it a chance of working but I suspect you may still have trouble getting it to work. Running it in the Lua test window would be your starting point after reading the push over api doco. Another alternative is to use Telegram with the Telegram plugin. -- Refer to pushover documentation: -- https://pushover.net/api local pushToken = "YourPushOverTokenHere" local pushUser = "YourPushOverUserCodeHere" local pushTitle = "MessageTitle" local pushMessage = "MessageContent" local snapshotFile = "/tmp/camera_snapshot.jpg" local pushPriority = "1" -- Sound could be: pushover bike bugle, cash register, classical, cosmic, falling, -- gamelan, intermission, magic, mechanical, pianobar, siren, spacealarm, tugboat, -- alien, climb, persistent, echo, updown, none local pushSound = "gamelan" -- Link to the BlueIris videostream of that camera local pushUrl = "http://xxx.xxx.xxx.xxx/mjpg/ShortCamName&user=XXX&pw=XXX" local pushUrlTitle = "Camera Name" -- This points to one of my BlueIris managed cameras local camera = "http://xxx.xxx.xxx.xxx/image/ShortCamName?q=50&s=80&user=XXX&pw=XXX" -- Get the snapshot from the camera local out = assert(io.open(snapshotFile, "wb")) local _,data = luup.inet.wget(camera) out:write(data) assert(out:close()) --Send PushOver request local curlCommandTab = {} table.insert (curlCommandTab, 'curl -s') table.insert (curlCommandTab, '-F "token=' ..pushToken ..'"') table.insert (curlCommandTab, '-F "user=' ..pushUser ..'"') table.insert (curlCommandTab, '-F "title=' ..pushTitle ..'"') table.insert (curlCommandTab, '-F "message=' ..pushMessage ..'"') table.insert (curlCommandTab, '-F attachment=@' ..snapshotFile ..'"') table.insert (curlCommandTab, '-F "sound=' ..pushSound ..'"') table.insert (curlCommandTab, '-F "priority=' ..pushPriority ..'"') table.insert (curlCommandTab, '-F "url=' ..pushUrl ..'"') table.insert (curlCommandTab, '-F "url_title=' ..pushUrlTitle ..'"') -- The .json suffix requests that the response be in JSON format table.insert (curlCommandTab, 'https://api.pushover.net/1/messages.json') local curlCommand = table.concat (curlCommandTab, ' ') print(curlCommand) local handle = io.popen(curlCommand) local result = handle:read("*a") handle:close() print (result) -- Delete temporary snapshot os.remove (snapshotFile)

Recent Topics