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.
Q

Quixote

@Quixote
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
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
Widget deletion does not work and landing page (status) is empy
M
Topic thumbnail image
Multi-System Reactor
About
Posts
36
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • New to the forum
    Q Quixote

    Well, that may be true for you, but as we've seen with the Cyberpunk 2077 launch, different systems seem to yield different results. 😉

    General Discussion

  • New to the forum
    Q Quixote

    I had no idea you had put so much effort into this. I'll give it one last try.
    You didn't take my time -- I took my own. We were trying something unconventional and I knew that even before attempting this, so don't worry about it. Sorry if I was snarky but it seems like everything I've been trying relating to HA in the last year or so has gone dreadfully wrong.
    I'll try it out when I feel up to it and let you know how things go.
    Thanks

    General Discussion

  • New to the forum
    Q Quixote

    I'm not an idiot, and I've installed and worked on several complicated systems, both hard and software related, but it seems that I have some sort of technological curse. I'm not even kidding -- I can follow directions to the tee without a single deviation, it will fuck up. Ok, so I misspelled "openLuup" once, but I assure you, I've been super attentive to every instruction and somehow things just aren't gelling. I understand case-sensitive commands, etc.
    I wish I were a Linux nerd. Too bad gaming pulled me into Micro$oft Winblows as a kid. It is what it is.
    So, I've literally followed "the idiot proof" instructions, changed my Linux distribution according to instruction, reinstalled multiple times, ... I guess that's it then?
    I'm sorry for taking up so much of you guys' time. 😞

    General Discussion

  • New to the forum
    Q Quixote

    ah shit. I see it now.
    Think I'm just worn down at this point. That''s embarrassing.

    General Discussion

  • New to the forum
    Q Quixote

    @akbooer Sorry... I'm just kind of at the end of my rope here, other stuff included. My apologies.
    So please explain to me how I misspelled openLuup when I've been meticulously spelling it over and over like literally hundreds of times in the last week or two. I must be losing it. Perhaps a sign for me to take up another hobby? 😕

    General Discussion

  • New to the forum
    Q Quixote

    @akbooer
    alt text Can't even get a f*****g image to display here. I think I'm about done here.

    General Discussion

  • New to the forum
    Q Quixote

    Yes, multiple times. Like, multi multi times.

    General Discussion

  • New to the forum
    Q Quixote

    Welp, I'm not getting anywhere with this. I tried installing over my previous install once again and then navigating to the address provided (http://172.31.206.111:3480/data_request?id=altui ). If anything, things are getting worse. The openLuup page is no longer formatted properly and lacks the graphic element that was there the first time around.
    Here's my latest log:

    2020-12-14 01:54:34.563   :: openLuup LOG ROTATION :: (runtime 0.0 days) 
    2020-12-14 01:54:34.563   openLuup.init:: init phase completed
    2020-12-14 01:54:34.563   openLuup.io.server:: starting HTTP:3480 server on port: 3480 tcp{server}: 0x557ccbcb5a68
    2020-12-14 01:54:34.563   openLuup.io.server:: starting SMTP server on port: 2525 tcp{server}: 0x557ccbd381c8
    2020-12-14 01:54:34.563   openLuup.io.server:: starting POP3 server on port: 11011 tcp{server}: 0x557ccbd141c8
    2020-12-14 01:54:34.563   openLuup.historian:: starting data historian
    2020-12-14 01:54:34.563   openLuup.historian:: using memory cache size (per-variable): 1024
    2020-12-14 01:54:34.563   openLuup.scheduler:: starting
    2020-12-14 01:54:34.563   openLuup.scheduler:: [2]     openLuup device startup
    2020-12-14 01:54:34.563   luup_log:2: v20.5.22
    2020-12-14 01:54:34.563   luup_log:2: sync in 85.4 s
    2020-12-14 01:54:34.563   luup.variable_watch:: callback=housemode_watcher, watching=2.openLuup.HouseMode
    2020-12-14 01:54:34.563   luup.register_handler:: global_function_name=openLuup_email, request=openLuup@openLuup.local
    2020-12-14 01:54:34.563   luup.register_handler:: global_function_name=openLuup_images, request=images@openLuup.local
    2020-12-14 01:54:34.564   luup.register_handler:: global_function_name=openLuup_events, request=events@openLuup.local
    2020-12-14 01:54:34.564   luup.register_handler:: global_function_name=openLuup_mailbox, request=mail@openLuup.local
    2020-12-14 01:54:34.564   luup.chdev.append:: [AltAppStore] Alternate App Store
    2020-12-14 01:54:34.564   luup.chdev.sync:: [2]     openLuup, syncing children
    2020-12-14 01:54:34.564   luup_log:2: 1Mb, 0%cpu, 0.0days
    2020-12-14 01:54:34.564   openLuup.scheduler:: [2]     openLuup device startup completed: status=true, msg=sync in 85.4 s, name=L_openLuup
    2020-12-14 01:54:34.564   openLuup.scheduler:: [3] Alternate App Store device startup
    2020-12-14 01:54:34.564   luup_log:3: AltAppStore : starting...
    2020-12-14 01:54:34.564   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine1 was: EMPTY now: AltAppStore #hooks:0
    2020-12-14 01:54:34.564   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was: EMPTY now:  #hooks:0
    2020-12-14 01:54:34.564   luup.variable_set:: 3.urn:upnp-org:serviceId:AltAppStore1.Version was: EMPTY now: v20.3.30 #hooks:0
    2020-12-14 01:54:34.564   luup_log:3: AltAppStore : v20.3.30
    2020-12-14 01:54:34.564   luup.set_failure:: status = 0
    2020-12-14 01:54:34.564   luup.variable_set:: 3.urn:micasaverde-com:serviceId:HaDevice1.CommFailure was: EMPTY now: 0 #hooks:0
    2020-12-14 01:54:34.564   luup.variable_set:: 3.urn:micasaverde-com:serviceId:HaDevice1.CommFailureTime was: EMPTY now: 0 #hooks:0
    2020-12-14 01:54:34.564   openLuup.scheduler:: [3] Alternate App Store device startup completed: status=true, msg=OK, name=AltAppStore
    2020-12-14 01:56:00.050   luup_log:2: synchronising to on-the-minute
    2020-12-14 01:56:00.050   luup.call_timer:: interval: time=2m, days={}
    2020-12-14 01:56:00.050   luup_log:2: 2 minute timer launched
    2020-12-14 01:56:00.050   luup_log:2: 2Mb, 0%cpu, 0.0days
    2020-12-14 01:57:09.812   openLuup.io.server:: HTTP:3480 connection from 172.31.192.1 tcp{client}: 0x557ccbe5faf8
    2020-12-14 01:57:09.814   openLuup.server:: GET / HTTP/1.1 tcp{client}: 0x557ccbe5faf8
    2020-12-14 01:57:09.814   openLuup.server:: request completed (194 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe5faf8
    2020-12-14 01:57:10.466   openLuup.server:: GET /data_request?id=lr_ALTUI_Handler&command=home HTTP/1.1 tcp{client}: 0x557ccbe5faf8
    2020-12-14 01:57:10.466   openLuup.servlet:: No handler for data_request?id=lr_ALTUI_Handler
    2020-12-14 01:57:10.466   openLuup.server:: request completed (153 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe5faf8
    2020-12-14 01:57:10.524   openLuup.server:: GET /favicon.ico HTTP/1.1 tcp{client}: 0x557ccbe5faf8
    2020-12-14 01:57:10.524   openLuup.servlet:: file not found:favicon.ico
    2020-12-14 01:57:10.525   openLuup.server:: request completed (126 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe5faf8
    2020-12-14 01:58:00.133   luup_log:0: 2Mb, 0%cpu, 0.0days
    2020-12-14 01:58:24.472   openLuup.server:: GET /data_request?id=altui HTTP/1.1 tcp{client}: 0x557ccbe5faf8
    2020-12-14 01:58:24.473   luup.call_action:: 3.urn:upnp-org:serviceId:AltAppStore1.update_plugin 
    2020-12-14 01:58:24.473   luup_log:3: AltAppStore : starting <run> phase...
    2020-12-14 01:58:24.473   luup_log:3: AltAppStore : downloading amg0/ALTUI [master] to trash/AltAppStore/
    2020-12-14 01:58:24.473   luup_log:3: AltAppStore : GitHub request: https://api.github.com/repos/amg0/ALTUI/contents?ref=master
    2020-12-14 01:58:25.268   luup_log:3: AltAppStore : GitHub request: https://api.github.com/repos/amg0/ALTUI/contents/blockly?ref=master
    2020-12-14 01:58:25.678   luup_log:3: AltAppStore : getting contents of version: master
    2020-12-14 01:58:25.678   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine1 was: AltAppStore now: Downloading... #hooks:0
    2020-12-14 01:58:25.678   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was:  now: Alternate UI #hooks:0
    2020-12-14 01:58:25.678   luup_log:3: AltAppStore : scheduling <job> phase...
    2020-12-14 01:58:25.678   openLuup.requests:: 
    2020-12-14 01:58:25.678   openLuup.server:: request completed (0 bytes, 0 chunks, 1205 ms) tcp{client}: 0x557ccbe5faf8
    2020-12-14 01:58:30.958   luup_log:3: AltAppStore : starting <job> phase...
    2020-12-14 01:58:30.958   luup_log:3: AltAppStore : download failed, status: wantread
    2020-12-14 01:58:30.958   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was: Alternate UI now: Alternate UI failed #hooks:0
    2020-12-14 01:59:56.243   openLuup.io.server:: HTTP:3480 connection closed EXPIRED tcp{client}: 0x557ccbe5faf8
    2020-12-14 02:00:00.051   luup_log:0: 2Mb, 0.1%cpu, 0.0days
    2020-12-14 02:02:00.110   luup_log:0: 2Mb, 0%cpu, 0.0days
    2020-12-14 02:04:00.062   luup_log:0: 3Mb, 0%cpu, 0.0days
    2020-12-14 02:06:00.116   luup_log:0: 2Mb, 0%cpu, 0.0days
    2020-12-14 02:07:33.504   openLuup.io.server:: HTTP:3480 connection from 172.31.192.1 tcp{client}: 0x557ccbe8a1f8
    2020-12-14 02:07:33.504   openLuup.server:: GET / HTTP/1.1 tcp{client}: 0x557ccbe8a1f8
    2020-12-14 02:07:33.504   openLuup.server:: request completed (194 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe8a1f8
    2020-12-14 02:07:33.575   openLuup.server:: GET /data_request?id=lr_ALTUI_Handler&command=home HTTP/1.1 tcp{client}: 0x557ccbe8a1f8
    2020-12-14 02:07:33.576   openLuup.servlet:: No handler for data_request?id=lr_ALTUI_Handler
    2020-12-14 02:07:33.576   openLuup.server:: request completed (153 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe8a1f8
    2020-12-14 02:07:33.647   openLuup.server:: GET /favicon.ico HTTP/1.1 tcp{client}: 0x557ccbe8a1f8
    2020-12-14 02:07:33.647   openLuup.servlet:: file not found:favicon.ico
    2020-12-14 02:07:33.647   openLuup.server:: request completed (126 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe8a1f8
    2020-12-14 02:07:33.647   openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x557ccbe8a1f8
    2020-12-14 02:08:00.103   luup_log:0: 2Mb, 0%cpu, 0.0days
    2020-12-14 02:08:01.193   openLuup.io.server:: HTTP:3480 connection from 172.31.192.1 tcp{client}: 0x557ccbe949c8
    2020-12-14 02:08:01.194   openLuup.server:: GET /openLuup HTTP/1.1 tcp{client}: 0x557ccbe949c8
    2020-12-14 02:08:01.194   openLuup.wsapi:: using openLuup/console.lua for openLuup
    2020-12-14 02:08:01.196   openLuup.wsapi:: using REQUIRE to load CGI openLuup/console.lua
    2020-12-14 02:08:01.206   openLuup.server:: request completed (8063 bytes, 0 chunks, 12 ms) tcp{client}: 0x557ccbe949c8
    2020-12-14 02:08:01.819   openLuup.server:: GET /w3.css HTTP/1.1 tcp{client}: 0x557ccbe949c8
    2020-12-14 02:08:01.819   openLuup.server:: request completed (0 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe949c8
    2020-12-14 02:08:01.821   openLuup.server:: GET /icons/openLuup.svg HTTP/1.1 tcp{client}: 0x557ccbe949c8
    2020-12-14 02:08:01.821   openLuup.server:: request completed (458 bytes, 0 chunks, 0 ms) tcp{client}: 0x557ccbe949c8
    2020-12-14 02:08:01.821   openLuup.io.server:: HTTP:3480 connection from 172.31.192.1 tcp{client}: 0x557ccbeddd88
    2020-12-14 02:08:06.822   openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x557ccbeddd88
    2020-12-14 02:08:13.090   openLuup.server:: GET /openLuup?page=log HTTP/1.1 tcp{client}: 0x557ccbe949c8
    

    @therealdb What is the difference between Windows Terminal and PowerShell? Are you suggesting that I type my commands into Terminal instead of Ubuntu Bash?

    Thanks

    General Discussion

  • New to the forum
    Q Quixote

    @therealdb but that's literally what I just did. What would be the changing factor?

    General Discussion

  • New to the forum
    Q Quixote

    Ok, this is getting ridiculous.
    I uninstalled Kali as a Windows app, installed Ubuntu 20.04 LTS instead, reinstalled Lua 5.1 and all dependencies, reinstalled openLuup.
    After all that, I try to open http://172.22.154.28:3480 as prompted and get nothing but "No handler for data_request?id=lr_ALTUI_Handler" at the top of the page.
    aaaarrrrgh!!! No idea what I could be doing wrong here.

    General Discussion

  • New to the forum
    Q Quixote

    @akbooer Thanks!
    I imagine that will be quite easy from my past experience (with Lua for Windows, I mean). My worry is only that running plugins, etc. may not translate well when ported from a Linux/Unix environment. Guess there's only one way to find out!

    General Discussion

  • New to the forum
    Q Quixote

    @therealdb Hi, sorry, could you spell it out for me so that there's no way I'll mess it up? I'd like to delete the files I've installed and wipe the Kali installation before I give this one last go with Ubuntu. I only initially installed Kali because I thought it could come in handy were I to install Wireshark, etc.
    Thanks for your assistance

    General Discussion

  • New to the forum
    Q Quixote

    @akbooer Here are the log entries:

    2020-12-11 01:16:03.648   openLuup.io.server:: HTTP:3480 connection from 172.19.112.1 tcp{client}: 0x55cdaf32ae08
    2020-12-11 01:16:03.649   openLuup.server:: POST /openLuup? HTTP/1.1 tcp{client}: 0x55cdaf32ae08
    2020-12-11 01:16:03.649   luup.call_action:: 3.urn:upnp-org:serviceId:AltAppStore1.update_plugin 
    2020-12-11 01:16:03.649   luup_log:3: AltAppStore : starting <run> phase...
    2020-12-11 01:16:03.650   luup_log:3: AltAppStore : downloading amg0/ALTUI [master] to trash/AltAppStore/
    2020-12-11 01:16:03.650   luup_log:3: AltAppStore : GitHub request: https://api.github.com/repos/amg0/ALTUI/contents?ref=master
    2020-12-11 01:16:12.565   luup_log:3: AltAppStore : GitHub request: https://api.github.com/repos/amg0/ALTUI/contents/blockly?ref=master
    2020-12-11 01:16:16.980   luup_log:3: AltAppStore : getting contents of version: master
    2020-12-11 01:16:16.980   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine1 was: Downloading... now: Downloading... #hooks:0
    2020-12-11 01:16:16.980   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was: Alternate UI failed now: Alternate UI #hooks:0
    2020-12-11 01:16:16.982   luup_log:3: AltAppStore : scheduling <job> phase...
    2020-12-11 01:16:16.982   openLuup.requests:: 
    2020-12-11 01:16:16.983   openLuup.server:: request completed (16694 bytes, 0 chunks, 13334 ms) tcp{client}: 0x55cdaf32ae08
    2020-12-11 01:16:24.034   luup_log:3: AltAppStore : starting <job> phase...
    2020-12-11 01:16:24.034   luup_log:3: AltAppStore : download failed, status: wantread
    2020-12-11 01:16:24.034   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was: Alternate UI now: Alternate UI failed #hooks:0
    2020-12-11 01:16:24.034   openLuup.server:: GET /openLuup?page=devices HTTP/1.1 tcp{client}: 0x55cdaf32ae08
    2020-12-11 01:16:24.035   openLuup.server:: request completed (9499 bytes, 0 chunks, 1 ms) tcp{client}: 0x55cdaf32ae08
    2020-12-11 01:16:24.379   openLuup.server:: GET /icons/zwave_default.png HTTP/1.1 tcp{client}: 0x55cdaf32ae08
    2020-12-11 01:16:24.379   openLuup.server:: request completed (0 bytes, 0 chunks, 0 ms) tcp{client}: 0x55cdaf32ae08
    2020-12-11 01:16:24.379   openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x55cdaf32ae08
    2020-12-11 01:16:29.954   openLuup.io.server:: HTTP:3480 connection from 172.19.112.1 tcp{client}: 0x55cdaf4dbe78
    2020-12-11 01:16:29.955   openLuup.server:: GET /openLuup?page=log HTTP/1.1 tcp{client}: 0x55cdaf4dbe78
    

    Yes, this setup is showing itself to be quite problematic. I'll try for a while longer before giving up. That would be really disappointing. I was getting really hyped to get back into automating things around here, and Alexa routines just don't cut it.

    General Discussion

  • New to the forum
    Q Quixote

    @therealdb thank you, I'll try that.
    @akbooer The download fails every time. It'll hit 3%, maybe 12% once, then fail.
    Sorry, but WSL is my only option at present. I did have the VeraBridge functioning (at least in part) because I could see devices from the Vera in openLuup. Don't ask me what the heck happened overnight the other night, though! I swear, I have some sort of technology curse!!
    How about using the github repository with the icon? Is that possible and how?
    Thanks

    General Discussion

  • New to the forum
    Q Quixote

    @akbooer I have no idea about configuring WSL in Windows. All I did was install it along with Kali Linux, and then Lua 5.1 and the other dependencies from the Bash prompt. I'm guessing that therealdb would probably have mentioned any setup procedures specific to this particular arrangement that I may have missed, but it seemed fairly straightforward. Here are the logs:

    logs/LuaUPnP_startup.log
    
    2020-12-10 05:10:17.519   :: openLuup STARTUP :: /etc/cmh-ludl
    2020-12-10 05:10:17.519   openLuup.init::        version 2020.05.01  @akbooer
    2020-12-10 05:10:17.527   openLuup.scheduler::   version 2020.01.25  @akbooer
    2020-12-10 05:10:17.531   openLuup.wsapi::       version 2019.08.12  @akbooer
    2020-12-10 05:10:17.531   openLuup.servlet::     version 2020.01.29  @akbooer
    2020-12-10 05:10:17.531   openLuup.client::      version 2019.10.14  @akbooer
    2020-12-10 05:10:17.532   openLuup.io::          version 2019.11.29  @akbooer
    2020-12-10 05:10:17.532   openLuup.server::      version 2020.03.20  @akbooer
    2020-12-10 05:10:17.533   openLuup.scenes::      version 2020.03.16  @akbooer
    2020-12-10 05:10:17.534   openLuup.chdev::       version 2020.03.07  @akbooer
    2020-12-10 05:10:17.534   openLuup.userdata::    version 2020.03.31  @akbooer
    2020-12-10 05:10:17.534   openLuup.requests::    version 2020.04.15  @akbooer
    2020-12-10 05:10:17.535   openLuup.gateway::     version 2020.03.08  @akbooer
    2020-12-10 05:10:17.535   openLuup.smtp::        version 2018.04.12  @akbooer
    2020-12-10 05:10:17.536   openLuup.historian::   version 2020.02.12  @akbooer
    2020-12-10 05:10:17.536   openLuup.luup::        version 2020.03.21  @akbooer
    2020-12-10 05:10:17.537   openLuup.pop3::        version 2018.04.23  @akbooer
    2020-12-10 05:10:17.537   openLuup.compression:: version 2016.06.30  @akbooer
    2020-12-10 05:10:17.537   openLuup.timers::      version 2019.05.03  @akbooer
    2020-12-10 05:10:17.537   openLuup.logs::        version 2018.03.25  @akbooer
    2020-12-10 05:10:17.537   openLuup.json::        version 2020.05.20  @akbooer
    2020-12-10 05:10:17.537   openLuup.init:: Cjson not installed - using openLuup.json.Lua.decode() instead
    2020-12-10 05:10:17.548   luup.create_device:: [1] D_ZWaveNetwork.xml / I_ZWave.xml /    (urn:schemas-micasaverde-com:device:ZWaveNetwork:1)
    2020-12-10 05:10:17.552   luup.create_device:: [2] D_openLuup.xml / I_openLuup.xml / D_openLuup.json   (openLuup)
    2020-12-10 05:10:17.552   openLuup.init:: loading configuration user_data.json
    2020-12-10 05:10:17.552   openLuup.userdata:: loading user_data json...
    2020-12-10 05:10:17.553   luup.variable_set:: 2.openLuup.HouseMode was: EMPTY now: 1 #hooks:0
    2020-12-10 05:10:17.553   openLuup.userdata:: loading rooms...
    2020-12-10 05:10:17.553   openLuup.userdata:: ...room loading completed
    2020-12-10 05:10:17.553   openLuup.userdata:: loading devices...
    2020-12-10 05:10:17.554   luup.create_device:: [1] D_ZWaveNetwork.xml / I_ZWave.xml /    (urn:schemas-micasaverde-com:device:ZWaveNetwork:1)
    2020-12-10 05:10:17.557   luup.create_device:: [3] D_AltAppStore.xml / I_AltAppStore.xml / D_AltAppStore.json   (urn:schemas-upnp-org:device:AltAppStore:1)
    2020-12-10 05:10:17.557   openLuup.userdata:: loading scenes...
    2020-12-10 05:10:17.557   openLuup.userdata:: number of scenes = 0
    2020-12-10 05:10:17.557   openLuup.userdata:: ...scene loading completed
    2020-12-10 05:10:17.557   openLuup.userdata:: loading installed plugin info...
    2020-12-10 05:10:17.557   openLuup.userdata:: [openLuup] openLuup (20.5.22)
    2020-12-10 05:10:17.557   openLuup.userdata:: [AltAppStore] Alternate App Store (20.3.30)
    2020-12-10 05:10:17.557   openLuup.userdata:: [VeraBridge] VeraBridge (not.installed)
    2020-12-10 05:10:17.557   openLuup.userdata:: [8246] Alternate UI (not.installed)
    2020-12-10 05:10:17.557   openLuup.userdata:: [Z-Way] Z-Way (not.installed)
    2020-12-10 05:10:17.557   openLuup.userdata:: [Arduino] MySensors (not.installed)
    2020-12-10 05:10:17.557   openLuup.userdata:: ...user_data loading completed
    2020-12-10 05:10:17.557   openLuup.init:: running _openLuup_STARTUP_
    2020-12-10 05:10:17.557   luup_log:0: startup code completed
    2020-12-10 05:10:17.557   openLuup.init:: init phase completed
    2020-12-10 05:10:17.557   :: openLuup LOG ROTATION :: (runtime 0.0 days) 
    
    logs/LuaUPnP.log
    
    2020-12-10 05:10:17.557   :: openLuup LOG ROTATION :: (runtime 0.0 days) 
    2020-12-10 05:10:17.557   openLuup.init:: init phase completed
    2020-12-10 05:10:17.557   openLuup.io.server:: starting HTTP:3480 server on port: 3480 tcp{server}: 0x55cccfabb738
    2020-12-10 05:10:17.557   openLuup.io.server:: starting SMTP server on port: 2525 tcp{server}: 0x55cccfb272f8
    2020-12-10 05:10:17.557   openLuup.io.server:: starting POP3 server on port: 11011 tcp{server}: 0x55cccfa9c848
    2020-12-10 05:10:17.557   openLuup.historian:: starting data historian
    2020-12-10 05:10:17.557   openLuup.historian:: using memory cache size (per-variable): 1024
    2020-12-10 05:10:17.557   openLuup.scheduler:: starting
    2020-12-10 05:10:17.557   openLuup.scheduler:: [2]     openLuup device startup
    2020-12-10 05:10:17.557   luup_log:2: v20.5.22
    2020-12-10 05:10:17.557   luup_log:2: sync in 102.4 s
    2020-12-10 05:10:17.558   luup.variable_watch:: callback=housemode_watcher, watching=2.openLuup.HouseMode
    2020-12-10 05:10:17.558   luup.register_handler:: global_function_name=openLuup_email, request=openLuup@openLuup.local
    2020-12-10 05:10:17.558   luup.register_handler:: global_function_name=openLuup_images, request=images@openLuup.local
    2020-12-10 05:10:17.558   luup.register_handler:: global_function_name=openLuup_events, request=events@openLuup.local
    2020-12-10 05:10:17.558   luup.register_handler:: global_function_name=openLuup_mailbox, request=mail@openLuup.local
    2020-12-10 05:10:17.558   luup.chdev.append:: [AltAppStore] Alternate App Store
    2020-12-10 05:10:17.558   luup.chdev.sync:: [2]     openLuup, syncing children
    2020-12-10 05:10:17.558   luup_log:2: 2Mb, 0%cpu, 0.0days
    2020-12-10 05:10:17.558   openLuup.scheduler:: [2]     openLuup device startup completed: status=true, msg=sync in 102.4 s, name=L_openLuup
    2020-12-10 05:10:17.558   openLuup.scheduler:: [3] Alternate App Store device startup
    2020-12-10 05:10:17.558   luup_log:3: AltAppStore : starting...
    2020-12-10 05:10:17.558   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine1 was: AltAppStore now: AltAppStore #hooks:0
    2020-12-10 05:10:17.558   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DisplayLine2 was:  now:  #hooks:0
    2020-12-10 05:10:17.558   luup_log:3: AltAppStore : v20.3.30
    2020-12-10 05:10:17.558   luup.set_failure:: status = 0
    2020-12-10 05:10:17.558   luup.variable_set:: 3.urn:micasaverde-com:serviceId:HaDevice1.CommFailure was: 0 now: 0 #hooks:0
    2020-12-10 05:10:17.558   luup.variable_set:: 3.urn:micasaverde-com:serviceId:HaDevice1.CommFailureTime was: 0 now: 0 #hooks:0
    2020-12-10 05:10:17.558   openLuup.scheduler:: [3] Alternate App Store device startup completed: status=true, msg=OK, name=AltAppStore
    2020-12-10 05:10:17.816   openLuup.io.server:: HTTP:3480 connection from 172.19.112.1 tcp{client}: 0x55cccfa9e8f8
    2020-12-10 05:10:17.817   openLuup.server:: GET /w3.css HTTP/1.1 tcp{client}: 0x55cccfa9e8f8
    2020-12-10 05:10:17.817   openLuup.server:: request completed (23661 bytes, 2 chunks, 0 ms) tcp{client}: 0x55cccfa9e8f8
    2020-12-10 05:10:17.820   openLuup.server:: GET /icons/openLuup.svg HTTP/1.1 tcp{client}: 0x55cccfa9e8f8
    2020-12-10 05:10:17.820   openLuup.server:: request completed (458 bytes, 0 chunks, 0 ms) tcp{client}: 0x55cccfa9e8f8
    2020-12-10 05:10:17.821   openLuup.io.server:: HTTP:3480 connection from 172.19.112.1 tcp{client}: 0x55cccfaade28
    2020-12-10 05:10:23.085   openLuup.io.server:: HTTP:3480 connection closed openLuup.server.receive closed tcp{client}: 0x55cccfaade28
    2020-12-10 05:10:29.799   openLuup.server:: GET /openLuup?page=system HTTP/1.1 tcp{client}: 0x55cccfa9e8f8
    2020-12-10 05:10:29.799   openLuup.wsapi:: using openLuup/console.lua for openLuup
    2020-12-10 05:10:29.799   openLuup.wsapi:: using REQUIRE to load CGI openLuup/console.lua
    2020-12-10 05:10:29.807   openLuup.server:: request completed (11022 bytes, 0 chunks, 7 ms) tcp{client}: 0x55cccfa9e8f8
    2020-12-10 05:12:00.085   luup_log:2: synchronising to on-the-minute
    2020-12-10 05:12:00.085   luup.call_timer:: interval: time=2m, days={}
    2020-12-10 05:12:00.085   luup_log:2: 2 minute timer launched
    2020-12-10 05:12:00.085   luup_log:2: 3Mb, 0%cpu, 0.0days
    2020-12-10 05:12:03.091   openLuup.io.server:: HTTP:3480 connection closed EXPIRED tcp{client}: 0x55cccfa9e8f8
    2020-12-10 05:14:00.124   luup_log:0: 2Mb, 0%cpu, 0.0days
    2020-12-10 05:15:13.997   openLuup.io.server:: HTTP:3480 connection from 172.19.112.1 tcp{client}: 0x55cccfc0ffa8
    2020-12-10 05:15:13.998   openLuup.server:: GET /openLuup?page=startup_log HTTP/1.1 tcp{client}: 0x55cccfc0ffa8
    2020-12-10 05:15:13.998   openLuup.server:: request completed (11674 bytes, 0 chunks, 0 ms) tcp{client}: 0x55cccfc0ffa8
    2020-12-10 05:16:00.088   luup_log:0: 4Mb, 0%cpu, 0.0days
    2020-12-10 05:16:44.180   openLuup.io.server:: HTTP:3480 connection closed EXPIRED tcp{client}: 0x55cccfc0ffa8
    2020-12-10 05:17:16.830   openLuup.io.server:: HTTP:3480 connection from 172.19.112.1 tcp{client}: 0x55cccfb14ab8
    2020-12-10 05:17:16.831   openLuup.server:: GET /openLuup?page=log HTTP/1.1 tcp{client}: 0x55cccfb14ab8
    

    I'm assuming that logs .1 to .5 are just previous sessions being pushed through the line?

    Scheduler: Startup

    Plugin Startup Jobs CPU usage (in startup order)
    # 	date / time 	device 	priority 	status 	hh:mm:ss.sss 	job # 	info 	notes
    1 	2020-12-10 05:10:18.058 	2 	1 	Done 	0.000 	1 	plugin: openLuup 	sync in 102.4 s
    2 	2020-12-10 05:10:18.058 	3 		Done 	0.000 	2 	plugin: Alternate App Store 	OK
    

    Scheduler: Plugins

    Plugin CPU usage (0.0% system load)
    # 	device 	status 	hh:mm:ss.sss 	name 	message
    1 	2 	-1 	0.001 	openLuup 	
    2 	3 	-1 	0.000 	Alternate App Store 
    

    Servers: http

    request 	#requests 	status
    /openLuup 	26 	200
    icons/openLuup.svg 	1 	200
    w3.css 	1 	200
    

    I hope this will help!

    General Discussion

  • New to the forum
    Q Quixote

    I see nothing running on that port. Also, it still doesn't work even after using "http://172.25.26.14:3480/data_request?id=exit" and attempting to initialize the program again afterwards.
    I'm starting to think this may be firewall related, though I'm unsure as to how that would just manifest itself out of nowhere when I had it running fine last week.

    Update 1: After rebooting, it just gives me this message:
    rm: cannot remove '/www/altui/altui*': No such file or directory
    and then hangs.

    Update 2: Ok, so I tried running the install again and it seemed to work, but opening the IP address did not. I went and browsed the web for a good hour and then tried again for the hell of it and, lo and behold -- it worked. It no longer has VeraBridge installed or any devices that I had imported last week. AltUI still refuses to load.
    Interesting.

    General Discussion

  • New to the forum
    Q Quixote

    Thanks for bearing with me here.

    @akbooer said in New to the forum:

    Sorry to sound daft, but I have absolutely no idea where you got that file from. What does it contain?

    The file "run_openLuup.sh" was the only file I saw with the extension ".sh" in the directory /etc/cmh-ludl. I found the correct file you mentioned, and tried:
    sudo ./openLuup_reload
    and I get this:

    lua5.1: openLuup/init.lua:291: openLuup - is another copy already running? Unable to start HTTP server on port 3480
    stack traceback:
    [C]: in function 'error'
    openLuup/init.lua:291: in main chunk
    [C]: ?

    @therealdb Thanks. I'll revisit that once I can get things going again.

    General Discussion

  • New to the forum
    Q Quixote

    Thank you so much for your assistance. I'm sure it can be an eye-rolling experience to help out newbies like me.
    You are accurate that loading at boot is not a priority since I often run this machine for weeks art a time before rebooting. I was just trying to start from zero while considering certain factors such as security since I used to rely on my system to text me on my phone (using an email plugin) if something needed my attention.
    Definitely not a top priority, so thanks for snapping me back to reality. lol I tend to get side-tracked.
    So I tried:
    sudo ./run_openLuup.sh
    and a get:

    Starting openLuup server
    To see tail of logfile: tail -f ./out.log

    Navigating to any variation of http://172.25.26.14:3480 fails.
    http://172.25.26.14:3480/data_request?id=exit does nothing, either.

    General Discussion
  • Login

  • Don't have an account? Register

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