Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.
A

a-lurker

@a-lurker
Gradually turn on lights.
Tom_DT
I have several lights that I would like to turn on very gradually over 15 or 20 seconds. from 0 to .25 in .01 increments. I have tried a few things that came nowhere near working, so here I am.
Multi-System Reactor
Stop the MSR by an external switch on Hubitat.
wmarcolinW
Use case: When performing home maintenance, such as air conditioning, I want all rules involving air conditioning to be disabled. To do this, to day, I have a virtual switch that I placed within all rules involving air conditioning, meaning that if I turn it off, none of them work. Then another situation: the water pump system and garden irrigation, another switch. In short, I had to create several virtual switches in Hubitat to disable rules in MSR. Unfortunately, however, I was unable to cover all scenarios, so I wondered if it would be possible for MSR to support a virtual MSR switch, which, when configured in the reactor settings, would function as a general on/off switch for MSR. If it is configured and turned off, the entire rules and actions in MSR stops working, except for the status change reading process, specifically for this switch, which, when turned on, would restart the MSR. Would it be possible to do something like this? Any recommendations from the experts?
Multi-System Reactor
Error After Upgrade
T
Topic thumbnail image
Multi-System Reactor
Reset attribute value of entity in event handler
R
Topic thumbnail image
Multi-System Reactor
Need help figuring out how to delay a reset on reaction
T
Topic thumbnail image
Multi-System Reactor
Way to search for rules (rule state) in other rules
T
@toggledbits, not sure if this is a feature request or I'm using the search tool wrong. You have a "Search for rule" in the Rules Set tab in MSR. It works nicely to find a rule and bring up said rule, but can it/could it be used for as a "where used?" global search? For instance, I have a fairly large set of rules, divided up into 10 different rulesets. There's easily a hundred individual rules, and many of the rules have Rule State triggers, which of course refer to other rules. Amongst my troubleshooting today, I came across what may have been a duplicate or troubleshooting attempt, but I can't tell if it's actually used as a Rule State in another rule without opening each rule that I suspect it may be a part of. Thanks.
Multi-System Reactor
Links to MSR from HA
Tom_DT
I am using Home Assistant a lot recently. On a dashboard showing the devices, I would like to show a link to the MSR rule that controls the devices. Is there a way to link directly into MSR?
Multi-System Reactor
Set Reaction > Script Action
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Wiring Samotech SM308-S into light fitting
F
Hi Smart Home Community. I have used a Sonos inline WiFi switch to make one of my light fittings smart, but it requires a hard reset for WiFi changes, plus it isn't zigbee compatible, which means I can't use the Hue app to control it with the rest of the lights. To that end I bought a Samotech SM308-S as it is recommended as the better than the Sonos equivalent. I am however not exactly sure how to wire it in. The manual is available here Can anyone help me by clarifying which ports I need to use, and whether I should be using the live or switched live line for live etc. I will be keeping using standard switches for a while, although hope to upgrade to tap dials once I have all the fittings upgraded. Thanks
Hardware
Errors after updating to MQTTController build 25139
tunnusT
I'm running MSR build 25139 on Docker, using MQTT controller 24293, and everything working as expected. But if I try to upgrade to MQTTController build 25139, I'm getting the following errors on MSR UI: An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.god Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.green Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.red Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto run" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.pump Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa watchdog" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.status Last 11:20:37 My MQTT configuration (local_mqtt_devices.yaml) for the related entity is: layzspa_message: type: ValueSensor capabilities: ["temperature_sensor", "value_sensor", "power_sensor"] primary_attribute: power_sensor.value events: "layzspa/message": "power_sensor.value": json_payload: true if_expr: '! isnull( payload?.PWR )' expr: "float(payload.PWR)" "value_sensor.air": json_payload: true if_expr: '! isnull( payload?.AIR )' expr: "float(payload.AIR)" "value_sensor.pump": json_payload: true if_expr: '! isnull( payload?.FLT )' expr: "float(payload.FLT)" "value_sensor.god": json_payload: true if_expr: '! isnull( payload?.GOD )' expr: "float(payload.GOD)" "value_sensor.lock": json_payload: true if_expr: '! isnull( payload?.LCK )' expr: "float(payload.LCK)" "value_sensor.unit": json_payload: true if_expr: '! isnull( payload?.UNT )' expr: "float(payload.UNT)" "value_sensor.error": json_payload: true if_expr: '! isnull( payload?.ERR )' expr: "float(payload.ERR)" "temperature_sensor.green": json_payload: true if_expr: '! isnull( payload?.GRN )' expr: "float(payload.GRN)" "temperature_sensor.red": json_payload: true if_expr: '! isnull( payload?.RED )' expr: "float(payload.RED)" "temperature_sensor.target": json_payload: true if_expr: '! isnull( payload?.TGT )' expr: "float(payload.TGT)" "temperature_sensor.value": json_payload: true if_expr: '! isnull( payload?.TMP )' expr: "float(payload.TMP)" "temperature_sensor.virtual": json_payload: true if_expr: '! isnull( payload?.VTM )' expr: "round(float(payload.VTM), 1)" "temperature_sensor.ambient": json_payload: true if_expr: '! isnull( payload?.AMB )' expr: "float(payload.AMB)" "layzspa/Status": "value_sensor.status": if_expr: '! isnull( payload )' expr: "payload" "layzspa/button": "value_sensor.button": if_expr: '! isnull( payload )' expr: "payload" and in reactor.yaml I have: "layzspa_states": name: "Lay-Z-Spa States" friendly_name: 'Lay-Z-Spa States' include: layzspa_message I realize my MQTT configuration might be a bit unorthodox, but could there still be something unintentional in the latest MQTTController build? If needed, I can provide detailed logs.
Multi-System Reactor
🎉 My very first MSR controller: OpenSprinkler
therealdbT
Since today is my birthday - and I still pretend to be unconventional - I'm giving away a present to this wonderful community and I'm releasing my first OpenSprinkler controller for MSR. It was real fun to code it - and while it's still WIP, it seems to work OK for me. It's polling-based at the moment, but I'll add support for updates via MQTT very soon (it's already partially coded). Get it at (install is similar to MQTTController and such): https://github.com/dbochicchio/reactor-opensprinkler Feel free to try it. It's beta software, but it's stable. I'll update it weekly until all the tasks from my todo list are empty. Since I've learnt a lot from this controller, I'll explore new controllers soon.
Multi-System Reactor
Advice reqeusted to migrate MSR from Bare Metal to Container
T
Good day all, I'm in the process of trying to shut down my 10 year old Linux home server that served many purposes, but primarily it's what I used for my NAS/Plex Media server. I migrated the NAS aspect of the server in November of last year to a true NAS solution (Ubiquti UNAS Pro), which is rack mount and much more efficient than my old tower, which it's only side benefit was heating my home office during the winter. Unfortunately it also means heating my home office during the summer, which were about to be in full swing. I have two things running on this 10 year old server at this point. MSR and pi-hole. I'm running Plex Media Server on Fedora Workstation in Podman on mini PC, which is much more energy efficient than my old tower. My next step is to migrate MSR. I know there are images of MSR out there, and creating it is well documented. I'm going to be using Podman instead of Docker for various reasons, but they work very similar. What I don't know, is what I need to do to migrate my existing Bare Metal installation over to a container. Has anyone done this? Any advice?
Multi-System Reactor
Reactor (Multi-System/Multi-Hub) Announcements
toggledbitsT
Build 21228 has been released. Docker images available from DockerHub as usual, and bare-metal packages here. Home Assistant up to version 2021.8.6 supported; the online version of the manual will now state the current supported versions; Fix an error in OWMWeatherController that could cause it to stop updating; Unify the approach to entity filtering on all hub interface classes (controllers); this works for device entities only; it may be extended to other entities later; Improve error detail in messages for EzloController during auth phase; Add isRuleSet() and isRuleEnabled() functions to expressions extensions; Implement set action for lock and passage capabilities (makes them more easily scriptable in some cases); Fix a place in the UI where 24-hour time was not being displayed.
Multi-System Reactor
Z-Wave Future....
DesTD
https://forum.z-wave.me/viewtopic.php?f=3417&t=36140 That's not a good thing I think Time to switch again?
Z-Wave.me
Can´t restart or upgrade/deploy MSR
F
Topic thumbnail image
Multi-System Reactor
[Solved] Limit HA Entity in MSR
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Disaster recovery and virtualisation
CatmanV2C
Following on from my last thread, some progress has been made over the weekend. With 18G of spanky RAM in my Synology DS224+. I've jumped into the murky world of virtualisation and already eliminated the need for two Raspberry Pi's from my system. Home Assistant: In theory they provide an OVA file which is supported by the Synology. I couldn't get it to work, however, so grabbed a copy of the .img file they supply, renamed it .iso and imported it as a VM. Restored from my full back up and that all seems fantastic. Minidnla Music server: Trivial. Grabbed a Debian .iso for Bookworm and copied that onto the NAS. Created a new machine which mirrored the specs of the Raspberry Pi, booted from the ISO then did an expert install. Once that was all stable with a basic core of stuff and networking, I've made a copy of that as a good base system. Then fired up minidnla on it, mounted my media and that's also woking. Not bad for a short weekend's work. Still not sure about the main NUC though. I'm thinking of buying a new USB stick so I can mess around getting it working on the Synology before I do anything drastic. Once that hurdle is sorted I'm torn between: Using a brand new install of Bookworm, re-installing Z-way server, OpenLuup, AltUI, MSR and HA bridge, then restoring across or Making an ISO of the current system, importing that and upgrading in place (which will be pretty risk free since I can snapshot everything before I make any changes.) Decisions, decisions. C
General Discussion
Remote access of Zwave stick from Z-wave server
CatmanV2C
Topic thumbnail image
Software
Organizing/ structuring rule sets and rules
R
Hi guys, Just wondering how you guys organize your rule sets and rules. I wish I had an extra layer to have some more granularity, but my feature request was not popular. Maybe there are better ways to organize my rule sets. I use the rule sets now primarily for rooms. So a rule set per room. But maybe grouping by functionality works better. Any examples/ suggestions would be appreciated.
Multi-System Reactor
Moving MSR from a QNAP container to RP 5 - some issues
Tom_DT
Topic thumbnail image
Multi-System Reactor
About
Posts
260
Topics
36
Shares
0
Groups
0
Followers
1
Following
0

Posts

Recent Best Controversial

  • AltUI sans internet connection
    A a-lurker

    Just on AltUI:

    The browser would be downloading any number of resources first time round from various servers. But I would have thought the majority of servers would be using some sort of cache control header combinations to the command the browser's caching. You don't need to be downloading jquery every time you hit a web page and I think it's unlikely that would be happening.

    So I would have thought that the browser (for AltUI) could have cached most of what AltUI needed? What resource is the browser calling up that it can't download with the internet connection down? Maybe AltUI could have functioned but in some sort of reduced capability mode?

    But yes the openLuup console, as I understand it, has been written to not rely overly on outside resources. Surprising akbooer could get it work!!

    Software

  • AltUI sans internet connection
    A a-lurker

    I had this problem a long time ago:

    You need to set up the required files locally somewhere. On a local directory, NAS, USB stick, web server etc. You then have the responsibility of keeping them up to date. Some things may still not work like Goggle charts.

    amg0 set up a variable in the AltUI plugin labelled "Local CDN ?" that can be used to point to the new local file source. So it's not hard to switch back and forth.

    In normal operation (ie using the internet) this variable is blank. You can read amg0's doco from here at GitHub

    The old forum discussion here.

    Software

  • openLuup email server
    A a-lurker

    "AK: Your best bet would surely be to register a callback handler to listen for messages on a specific address?"

    Yep - that seems the most obvious method - just wanted to make sure I hadn't missed some other turn of events. With your own callback handler, you can clearly sort out any email encodings, etc.

    On the Doco - Goggle doesn't seem to index github io pages. Seems to me you need to have some sort of URL redirect, that looks like say https://smarthome.community/openluup, that would get indexed? ie via the web server set up or similar.

    openLuup

  • openLuup email server
    A a-lurker

    Hello AK

    Have been writing about the openLuup email server as I was tinkering with it the other day. One minor problem: it looks like the domain part of the email address eg ...@openLuup.local is case sensitive in openLuup.

    Looking round the net, it suggests that the local part is case sensitive but the domain part is not meant to be. To keep things so they are more likely to work, it's suggested the email address should be totally case insensitive regardless. Refer to rfc2821 page 13 or search on the word "sensitive". Suffice to say I was using mail@openluup.local rather than mail@openLuup.local, so it didn't work for me.

    Next challenge was that the file saved in /etc/cmh-ludl/mail has "Content-Transfer-Encoding: base64" so the body of the email was encoded:

    Received: from ((openLuup.smtp) [ip_address_1]
     by (openLuup.smtp v18.4.12) [ip_address_2];
     Tue, 26 Nov 2024 14:21:22 +1000
    From: "dali@switchboard" <dali@switchboard>
    To: "mail@openLuup.local" <mail@openLuup.local>
    Subject: Warning form R2E.
    MIME-Version: 1.0
    Content-Type: text/plain
    Content-Transfer-Encoding: base64
    
    QXV0byBXYXJuaW5nOiBDb2xkIHN0YXJ0IGV2ZW50
    

    The above base 64 text translates to "Auto Warning: Cold start event".

    Is it your preference to leave the saved files in the raw mode or would you consider translating the base64 text in the openLuup code base?

    On a side note, does the reception of an email by openLuup generate some sort of trigger that can be watched. In the case above; the email represents the restoration of power after a power outage. I would like to know about that by the email triggering a "Telegram" notification on my mobile.

    I see that the images@openLuup.local images@openLuup.local can be associated with I_openLuupCamera1.xml, which spawns a movement detector child. Anything similar for the other email addresses?

    openLuup

  • openLuup_install.lua - URL changed?
    A a-lurker

    Now fixed in the Development branch.

    openLuup

  • Vera PushOver notification with image
    A a-lurker

    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)
    
    
    Vera

  • 20 amp smart physical switch (to control Infratech heater) - preferable to be outdoor rated, but any
    A a-lurker

    May be better to get a DIN rail high powered contactor and use a Shelly to flip that on & off.

    Hardware

  • openLuup_install.lua - URL changed?
    A a-lurker

    AK. Was doing an openLuup install and the installer errored with:

    openLuup_install   2019.02.15   @akbooer
    getting openLuup version tar file from GitHub branch master...
    un-zipping download files...
    getting dkjson.lua...
    lua5.1: openLuup_install.lua:45: GitHub download failed with code 500
    stack traceback:
            [C]: in function 'assert'
            openLuup_install.lua:45: in main chunk
            [C]: ?
    

    The installer code was executing this URL:

    http://dkolf.de/src/dkjson-lua.fsl/raw/dkjson.lua?name=16cbc26080996d9da827df42cb0844a25518eeb3
    

    Running it manually gives:

    dkolf.de
    
    The script could not be run error-free.
    Please check your error log file for the exact error message. You can find this in the KIS under "Product Management > *YOUR PRODUCT* > *CONFYGUAR* > Logfiles". Further information can be found in our FAQ.
    The script could not be executed correctly.
    Please refer to your error log for details about this error. You find it in your KIS under item "Product Admin > *YOUR PRODUCT* > *CONFIGURE* > Logfiles". Further information can also be found in our FAQ.
    

    I'm thinking the dkjson code URL has been changed. On dkolf.de there is a download link:

    http://dkolf.de/dkjson-lua/dkjson-2.8.lua
    

    and dkjson code also seems to be in GitHub (I presume this is the same code?):

    https://github.com/LuaDist/dkjson/blob/master/dkjson.lua
    

    I'm don't know what dkolf.de looked like previously but I do see the dkjson code has been updated as of 2024-06-17. Hope this helps.

    Oh - and by the way the dkjson.lua file seems to have been downloaded OK by the installer - error or no error, so go figure.

    openLuup

  • openLuup charting and forward slashes in variable names
    A a-lurker

    Tried out the above start up code and it has done the job. Now have lots of Shelly based files that can now be plotted using Grafana. They all have the same retentions but so far that's not a problem.

    Great - thanks very much.

    openLuup

  • openLuup charting and forward slashes in variable names
    A a-lurker

    Easily answered: Whisper Database Format

    OK

    You should absolutely not create any extra files in the Historian folder.

    OK - assume it's all meant to be private to openLuup. Best not to mess with its own little world.

    IIRC, the Historian substitutes / in the file names it creates.

    However whisper.create (filename,archives,0) does not. The string

    "whisper/0.10006.shellypro3em.em1/0/act_power.wsp"

    is used as is.

    Ultimately I would like to have openLuup save the data for any variable I nominate and it gets saved no matter what the variable is called. I imagime forward slashes could be replaced with say dashes (underscores are already in use by Shelly).

    The openLuup instance where I have the em1/0/act_power.wsp variable does not have DataYours installed. You have said however that any files in a whisper directory will get updated. Is that right? I though the whisper directory had be specified in DataYours?

    So a little confused on how "em1/0/act_power.wsp" or any other variable with slashes can be charted. I can see how having children set up for each device could be set to do this but ultimately you need to be able to plot any variable of ones choosing.

    For example the Shelly Pro 4pm also measures power (very useful) but the variable is "switch/0/apower" ie a completely different layout.

    Variables don't have to be picked off a list - they could just be manually set up by ruuning a snippet of code such as "whisper.create" as seen above.

    openLuup

  • openLuup charting and forward slashes in variable names
    A a-lurker

    Currently I have some Whisper files used by DataYours that been working well for ages and do what I want.

    One of the files is called Watts_L1.d.wsp and uses this retention from "storage_schemas_conf" in openLuup file virtualfilesystem.lua:

    [day]
    pattern = \.d$
    retentions = 1m:1d
    

    Inside the actual "Watts_L1.d.wsp" file is a header like so:

             1,      86400,          0,          1
             84,         60,       1440
    
    

    The 1, 86400 is one minute & one day (in minutes) as per the retention listed above. As a side issue I would like to know what the other header values mean ie what's the syntax here?

    New challenge: I now have three Shelly variables named:

    em1/0/act_power
    em1/1/act_power
    em1/2/act_power

    with a device ID of "10006" and a SID of "shellypro3em"

    And I would like to plot them using the Historian, just like I do with Watts_L1.d.wsp in DataYours. So I need a file in the history directory for the data. So I looked at doing this:

    local whisper = require "openLuup.whisper"
    
    -- Syntax:  history/0.deviceNumber.shortServiceId.variableName
    local filename = "history/0.10006.shellypro3em.em1/0/act_power.wsp"
    
    local archives = "1m:1d"
    
    whisper.create (filename,archives,0)
    

    Problem is that the variable names contains forward slashes, which are invalid filename characters. What to do?

    Also should the retentions now be (to suit the latest openLuup software)?:

    local archives = "1m:1d,10m:7d,1h:30d,3h:1y,1d:10y"
    

    Also "shellypro3em" is not a "shortServiceID" as per those listed in "servertables.lua". So can "shellypro3em" be used instead? ie can both short and long service IDs be used in the above call to whisper.create?

    openLuup

  • openLuup log files - LuaUPnP.log and LuaUPnP_startup.log
    A a-lurker

    Try getting the json and checking it here. Also may be a decoding problem for the currency symbol. Try changing the currency to one simple character. The a-circumflex symbol before the pound symbol looks odd. UTF-8 versus ISO-8859-1 ?

    openLuup

  • openLuup log files - LuaUPnP.log and LuaUPnP_startup.log
    A a-lurker

    The code above before it is reformatted has ", at the very end:

    Any other startup processing may be inserted here...\nluup.log "startup code completed"\n\n",

    openLuup

  • openweather plugin ?
    A a-lurker

    OpenWeatherMap's API changes: Some time back OpenWeatherMap decided to change their API billing practices. The old "One Call API" arrangements (1,000 API calls per day free) have now ended.

    You now have to provide your credit card details, so if you exceed the free 1,000 API calls per day you can be charged. The provided API keys don't work unless you provide these details. Returned error message:

    {
      "cod": 401,
      "message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info."
    }
    

    However, if you just want current weather with no forecasts, you can use the "weather" call:

    https://api.openweathermap.org/data/2.5/weather?lat=%s&lon=%s&units=%s&lang=%s&appid=%s

    It's possible the Multi Station Weather plugin could be modified to fall back to this call, if it fails on the first call. As suggested here.

    In my case, I've hacked the MultiStationWeather plugin code to use the "weather" URL at all times, as I don't use forecasts.

    Plugins

  • Migrating from Vera Plus to Home Assistant (or other?)
    A a-lurker

    I've got a lot of Zwave devices inside walls, so I'm being using a Vera Edge as a Zwave radio bridged to openLuup. Works perfectly once you move everything else to openLuup. Just leave the thermostats on Vera and bridge to openLuup. Makes the transition a lot easier.

    Hoping to see Zwavejs talking to openLuup via MQTT one day. It's certainly possible. In the interim it wouldn't be too hard to set up a couple of Zwave devices using the Virtual Devices plugin but thermostats may be a bit tricky.

    Also got ZigBee2MQTT talking to openLuup (mainly Hue devices) and some Shellies - all works nicely. You can also use Reactor with it.

    You can read the openLuup info here.

    Home Assistant vera home assistant open lua reactor

  • Chat seems broken (still)
    A a-lurker

    Have you seen this post?

    https://smarthome.community/topic/1525/forum-sysops/4?_=1713755285910

    Or is this in addition to the above?

    Comments & Feedback

  • openLuup: Shelly Bridge plugin
    A a-lurker

    Had a look at the latest development code. Got this:

    2024-04-20 18:51:28.519   openLuup.userdata:: [9111] LuaView (GitHub.master)
    2024-04-20 18:51:28.519   openLuup.userdata:: [9281] Virtual HTTP Devices (GitHub.master)
    2024-04-20 18:51:28.519   openLuup.userdata:: [4226] Sonos (GitHub.v2.0)
    2024-04-20 18:51:28.519   openLuup.userdata:: ...user_data loading completed
    2024-04-20 18:51:28.519   openLuup.init:: running _openLuup_STARTUP_
    
    2024-04-20 18:51:28.525   scheduler.context_switch::  ERROR: [dev #0] ./openLuup/luup.lua:1103: attempt to index field '?' (a nil value)
    2024-04-20 18:51:28.525   openLuup.init:: ERROR: ./openLuup/luup.lua:1103: attempt to index field '?' (a nil value)
    
    2024-04-20 18:51:28.525   openLuup.init:: init phase completed
    
    

    Had to get the house back up and running, so we could watch the TVeee.

    Commented out some code:

    local function log (msg, level) 
      local dno = scheduler.current_device()
      -- local mute = devices[dno].attributes.log_level    -- 2024.04.12  add "log_level" device attribute
      local mute = "something"
      if mute ~= "off" then
        logs.send (msg, level, dno) 
      end
    end
    

    Could look further but had to get the house back up and running, so we could watch the TVeee. So best I can do currently!

    Plugins

  • zigbee2mqtt and openLuup
    A a-lurker

    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.

    Plugins

  • openLuup: Shelly Bridge plugin
    A a-lurker

    Doco corrected.

    Plugins

  • openLuup: Shelly Bridge plugin
    A a-lurker

    I've got something about pretty printing here. No doubt in my writings, I have made a few errors here and there but that can happen. OK on the "Generic status update over MQTT" - I'll fix that in the paragraph immediately above here.

    Plugins
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved