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.
  1. Home
  2. General Discussion
  3. New to the forum
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
RFC: When disaster strikes (sorry it's a bit verbose)
CatmanV2C

Hi everyone. Thanks for all your input recently on the topic of local notifications. I think we got some really interesting solutions 🙂

Back to more prosaic matters. Most of you will know that I've been messing around with this stuff for some years. My last major change was when I migrated from Vera, which was something like 4-5 years ago.

While my system has grown, it's not really altered very regularly, although I try to keep most of it kind of up to date.

Current set up:
Intel NUC that runs:
Bare metal install of Debian
Z-way server with Z-wave.me USB stick
Openluup
Altui
Multi system reactor
HA Bridge
Mosquito

Raspberry Pi
Running Home Assistant

About 40 varied Z-wave and Wifi devices

I also have a Synology DS224+ which may inform some responses.

Home Assistant recovery is pretty simple. I get a full backup of the system every night dumped onto my SAN and I know from experience that it would simply be a case of booting up a new install and feeding it the backup.

The NUC on the other hand....
Coming from a commercial IT world, I am becoming more and more conscious that I don't really feel I have a suitable disaster recovery plan, and my core system is running on hardware heading for 10 years old.

My initial thought, which I've kept putting off as it's awkward would be to grab a nice SSD, reboot the NUC into Mint or something similar and simply do a dd copy onto a new drive. I can get a replacement NUC on ebay simply enough, and keep it in a cupboard if anything other than the hard drive fails on the existing one, but this feels rather like a stop gap. However one immediate question:

If I had to use the replacement NUC would all the Z-wave devices simply carry on talking to the stick, or would they all need to be re-paired?

How easy would it be to move everything the NUC does (as a start) onto the NAS? Create a VM and clone the disc onto it?

Should I move to Docker? Something else?

What are the hive mind's thoughts?

Apologies if we've done this before, but while it all just works...

Cheers!

C

General Discussion
Eachen No Neutral smart wall switch to lights and Sonoff Mini R4 switch for LEDs
R

Hi all. First post so please be gentle.

I have an Eachen two-gang smart wall switch wired no neutral (with capacitor) connected to existing bathroom lights which works perfectly. It's also wired to a Sonoff Mini R4 Extreme connected to LED lights. I want the LED lights to switch on when the bathroom lights switch on (and vice versa). The Mini R4 works separately on my phone via Ewelink as well as on the Mini R4 itself (physical button). The switch is installed inside the wall and the rest of the components are in the ceiling / attic / roof cavity. The Mini R4 is set to Edge switch mode which works in my example I wired.

How I wired it:

cb919874-6933-460a-8cd0-f063bac88674-image.png

I have a video showcasing the example I wired today works. I could share it if required. Ignore the white cable. I only used it to power the example.

77ebbc23-83de-48ee-a4bf-247bfd24f121-image.png

3827ede6-cf5c-47aa-8fdb-c75470101c4a-image.png

The wiring diagram I used for the mini R4.

485de912-e656-4da3-b6f6-81cb076e0261-image.png

I wired it together with the existing lights of the bathroom so that L1 switches on both the Mini R4 and the bathroom lights:

a3ea5c93-a9ae-4aaf-8dce-24018bcdb4d1-image.png

This is the wiring diagram for the Eachen switch:
b867a3c7-c1ac-428c-a90f-7f0f4b62a609-image.png

The Eachen's first gang (L1) doesn't trigger the Mini R4 in any way.

Any help or advice will be much appreciated.

Thanks,
R

General Discussion
Hello and first network question
D

Just bought a couple of generic smart plugs and set them up easily using SmartLife app in the house I then plugged one into a workshop over 100m away This workshop has a hardwired internet connection with a separate wireless access router (not mesh) after doing a reset on the device and pairing to the new router it actually works from the house when my phone is connected to a completely separate wifi network - how is that possible ?
I did read something about these devices connecting to a server somewhere in China similar to IP cameras but there is no lag

General Discussion
Lights switches for warehouse
S

I need to replace about 15 traditional wall light switches (no neutral wire) to turn on/off all lights with one operation inside the warehouse. And still maintain the ability to control each light individually.

The preference is not to set up a Wifi for each switch to reduce the number of devices connected to the network, and also, they change the Wifi password regularly, so they do not want to change all 15 switches.

I am looking for some solution that will achieve this with either Bluetooth/RF or any other technology.
The warehouse dimensions are about 100ftx100ft with sheetrock walls.

Please assist.

General Discussion
'Random' lights turning on
CatmanV2C

I thought I had created a topic on this some time back, but can't find it to close the loop.

The issue was the lights on my drive appeared to be randomly switching on, with nothing from MSR logging and just a simple 'turn this on' in Openluup logs.

Finally got to the bottom of it this morning, which might help someone.

Turns out that somehow Alexa has decided that my drive lights are part of my Living room. If I tell her 'Living room lights on' the drive lights also come on. And if I tell her to turn them off, they also go off.

Which is madness because they are NOT in the living room group.

Current solution is to disable the drive lights in the Alexa app, which is fine as I never need to voice control them.

C

General Discussion
New to Home Automation Looking for a Single app?
A

Hi All

Hopefully this place looks like a helpful forum as I’m quite new to all this!

I’ve had a few devices all working separately /through their proprietary apps but we’re just finishing off a large house extension and this has added to the list.

I’d ideally like to be able to view/switch a number of different devices on one screen/head end but have no idea where to start.

The devices we have/will have shortly are as follows;

Zigbee Smart Sockets
Zigbee smart switches (for lights)
Heatmiser Neo Underfloor Heating (this runs from a Samsung ASHP but that part is automatic)
Samsung VRF air conditioning (currently using Smart Things App)
Hive (2xLTHW heating circuits in the existing house and Hot Water)
Ring (doorbell!)
Hik Vision PoE CCTV

We have lots of appliances (Neff N70) which we can control remotely but not too fussed about controlling those at the
Moment)

Any help/recommendations would be appreciated!

Thanks

Adrian

General Discussion
Sending data to a USB port to interface with a wireless switch
F

I have a legacy home automation set-up running on Windows XP. the computer and software have now died.
I have written a very nice Excel VBA program to replace the software and it can run on any modern Windows system.
My only remaining problem is to output the correct signal to a USB port to trigger the wireless switches.
Has anybody done a similar exercise. Please help.

General Discussion
Looking for Remote Switch boxes that can also be used with a wireless Decora Style Switch.
V

Hi All,

Kind of new to Home Automation. Started off Using Amazon Echo units and added a Samsung SmartThings hub. I have mostly been using plug in modules for turning lights on and off. I live in a very rural area where the internet goes out a lot. I eventually want to change to to a non internet Hub so things will work without needing an internet connection. But I will post with those questions at a later date.

So, the task at hand is this: I have flood lights at each corner of my house. They are currently controlled by switches at the front and back doors. I would like to add Security Cameras to each corner also. I can easily find small Wifi switches to put into the electrical box where the flood lights are located, then I can terminate the leads together behind the Decora switch to have constant power. Then I can use the constant power up at the lights electrical box to power the security cameras. I would also like to have a wireless switch to take the place of the Decora switch to be able to turn the lights off and on.

I cannot seem to find a product like this. It seems I can find the small wired in switch boxes that will also come with external smart wall switches, but the wall switches are an external box that does not fit in or cover the existing Wall switch electrical box. I can also find Wireless Decora switches that come with a remote wired in small switch box , but they all seem to be RF and do not integrate with a Smart Hub.
I am hoping someone here knows of a product that matches what I am looking for. Any help would be appreciated.

Also any recommendations for Wireless Security cameras are welcome.

Thanks for any help.

General Discussion
Just starting what hub is best.
I

Dear Forum,

I am just starting a smart home system. I've wanted to do this for 10 years at most and really would like to get a start. What I have are a couple of SONOFF wifi relays, some 433 (Hz/mHz) switches ( not wifi ) a couple of wifi lightbulbs, and I'd like to expand wifi thermostat, leak/water detectors, garage door openers and what ever else I can think of.

In the SONOFF items I have it's a particular app, the wifi bulbs are another app, and if I do a thermostat there might be another app. My wife is not a Luddite but she damn sure doesn't want to have to trouble shoot if/why a particular app breaks down.

So in what I do understand about smart home things is that I need/want a HUB. I spent 15 years doing some programming so I do have some computer ability, though I'd prefer to stay away from HAVING to line command operate the hub.

I would like a list of HUB's that people have found to be the best. Even better are links to let's say Amazon for that hub.

Regards from Noob Smart Home,
Barry

General Discussion
Logitech logic
CatmanV2C

Hello lovely people. Long time and all that. Hope you're all doing OK.

Bit of a left field one here, looking for extra eyes more than an answer and you're the most logical bunch I know 🙂

Part of our HA system is a Logitech Elite hub and remote control.
This is programmed to control my Cyrus Stereo, our TV, and HDMI switch and our Virgin V6 box.

I've been away for a couple of days. Got back this evening to (eventually) work out that the V6 box appears to be not accepting any commands from the Logitech.

Everything has been rebooted.
Logitech uses IR to control
Cyrus: Fine
TV: Fine
HDMI: Fine

Remote control uses Bluetooth to control Hub.
All commands from the Remote to the hub are executed (one might assume correctly) as the activity LED responds, and if you're controlling (say) the Cyrus, all works fine.

iOS App can be used to control Hub over the WLAN:
All commands from the App re executed (one might assume correctly) as the activity LED responds, and if you're controlling (say) the Cyrus, all works fine.

Native remote (that uses as far as I know bluetooth) to control the V6 box works fine.

V6 box refuses to acknowledge any command other than from the native remote. Remote or app provoke absolutely zero response from the V6 box.

This is annoying, but damned if I can think of any logical reason. One might assume a firmware update on the V6 box, but given that the Hub simply emulates the native remote, that seems unlikely.

I'm struggling to think of where even to start troubleshooting this, so any random thoughts would be appreciated.

My initial approach is to buy another hub in case there's a different radio set that's failed in the hub...

TIA!

C

General Discussion
Recommendation for a smart in-wall plug
D

I currently have an HVAC system in the attic - for heating and A/C. 120v is supplied to the unit to run the gas heating. A/C uses 240v. I have an ecobee thermostat...which sometimes goes offline....not often. When it goes offline, I need to turn the 120v power to the HVAC system off and then back on (the ecobee gets its power from the HVAC system). That resets the ecobee and all is fine. I spend the summer away from this house and if the ecobee goes offine..I have no current method to reset the HVAC 120v power remotely. My idea is to replace the current 120v plug in the attic with a smart plug...then I can remotely turn the 120v power off and the ecobee will reset and come back online. I use Wyze and Lutron Casita in the house currently and was hoping I could find an in-wall smart plug from Wyze or Lutron. Obviously, I don't need diming, etc...just the ability to turn the plug power on/off. I've seen some options...but one problem I have is the attic can reach up to 135F in the summer...many of the smart plugs I've seen are not rated for that temperature. Might any of you have any thoughts on a smart plug I might want to look at? I don't want to invest in anything that would require a new hub - so either WiFi based or Casita HUB based. I need 120v and 15amp ratings. Thanks in advance.

General Discussion
Expression Evaluation - Last Seen Date/Time
S

I am trying to run a reaction that turns on lights if a sensor has not been tripped for 2 minutes. Basically, when a garage door is open, turn on inside lights if nothing has been sensed for 2 minutes. My question has to do with the expression/variable for "Last Seen". The variable never gets updated over time since the last seen event never changes.

Screenshot 2024-09-02 191632.png

In the screenshot above, the reaction checks for any garage door as well as the variable called "GarageLastEntry". The expression for this variable is displayed below:

Screenshot 2024-09-02 191651.png

The problem that I am experiencing is that the variable never changes over time. I understand that this is because the "last seen" variable does not change over time when there is no activity. In this screenshot, the value shows 0.029... This can also be seen as the current value in the original reaction screenshot above. After 10 minutes, this value should be 10. However, when a garage door is opened, the variable does not get updated and thus the rule does not become true since .029 is less than 2.

When I go to the variable and click on the > icon, the variable then gets updated as expected as seen below:
Screenshot 2024-09-02 191711.png

So the ultimate question is, how do I use a rule that can use a variable such as "last seen"? Do I need to create another variable or reaction that multiplies this by 1 every minute? From what I read in the manual, a variable is evaluated every time it is included in a reaction. But this is not what I am seeing.

I also want to ask another question related to this variable. It seems like Reactor continuously deletes this variable and I have to keep recreating it? I have never experienced this with MSR so wanted to ask if this is a common problem or if my definition is causing this.

Any info is appreciated!!!

General Discussion
UK - Yale Smart Locks and Wi-Fi Bridge
S

BACKGROUND

I have been using 4 x Yale Contactless Connected Door Locks for several years (they use either a rfid tag or code to enter)

I have also been using 1 x Yale L1 Door Lock on the main front door and this connects via Yale Software

Yale contacted me to advise the L1 Lock software was being withdrawn and I needed to install a Yale Access Module into the existing lock and a Wi-Fi Bridge to link it with the newly released software

ALL of the above was working just fine.

RECENT

Yale emailed to advise I should add a Yale Access Module to each of the 4 other locks as this would link with the updated software via the Wi-Fi Bridge.

They offered a deal of just £4 each for these Modules so I got them.

THE PROBLEM

I found that only 2 of these modules would slot easily into the locks - two of them bent the pins and one of those snapped the female part in a lock (I do have a spare lock but thats not the point).

Anyway, I began to set-up the two fitted Modules with the Wi-Fi Bridge and I eventually found (thanks Google, NOT Yale) that I now need 1 x Wi-Fi Bridge PER LOCK (£50 each).

QUESTION

Does anyone know of a compatible Wi-Fi Bridge which works with Yale AND can handle multiple connections (ie 5 all 5 of my locks) ?

THANK YOU

General Discussion
iCOMEN boiler switch
V

Hello,
I had an iCOMEN boiler switch that worked for many years. And I used iCOMEN app on my phone to manage it. Short time ago app started to have an error message that it cannot connect to the server, and after some time the device also stopped working.

General Discussion
Would you use a self-hosted geofencing solution?
toggledbitsT

Some of you may know that I took at shot at building an alternate geofencing solution for Vera. The core of it was system agnostic, using the OwnTracks application and AWS lambdas to track devices and keep a central data, then disseminate that to the Vera via a websocket-based plugin. It worked with other apps as well, including Tasker and GPSLogger, but of the dozen people that were testing it, most used OwnTracks.

A lot was learned in the process, not the least of which is that the success of any such solution is highly dependent on the phone and its settings. Phone manufacturers love to set things up for the longest battery life, of course, but that's usually very anti-geofencing behavior. In the case of at least one brand, it was unusable and the settings could not be modified. It was also cost-prohibitive to maintain on Amazon, as AWS grabs a dime here and a dollar there and before you know it, it added $100/month to my AWS bill, which my wife deducted from my Scotch budget. Unacceptable.

But it's quite reasonable to use OwnTracks to a local endpoint, and I could pretty easily replicate the functionality as a local application, or maybe even as an additional endpoint built into MSR's API (still separate port and process, but in the package).

So the question really is... would you do it, or would you be too concerned about the security risks associated (e.g., dynamic DNS and NAT mapping in the firewall necessary for the phone to contact the service when not on LAN)?

General Discussion
Forum sysops
A

Hello forum instigators.

Not sure who host/runs the forum software but a couple of challenges:

The chat is not currently usable, as the scrolling is all not right and it's not possible to read chats or send chats reliably.

There are a lot of female members that should perhaps be on another forum; where they can advertise their skills more appropriately. Note: I agree it's a job, like any other.

Whoever you are - thank you for your invaluable work.

General Discussion
looking for a light switch with presence sensor?
T

I run a B&B and am looking for a way to turn the lights off whenever a room is unoccupied for X amount of time. The guest should still be able to turn the lights on and off manually, but should not be able to disable the auto turn off feature if the room is unoccupied.

I guess I am looking for a light switch with a built in presence sensor? I guess a presence sensor would be better as if it is a motion sensor, the lights may go off unwanted if the guest fails to make sufficient movement e.g. if the guest is lying down watching a film.

Are there any products on the market that would work for my application?

General Discussion
Looking for Bluetooth device for smartphone audio transmission
M

Hello,

I am in search of a device capable of using Bluetooth to connect with a smartphone and serve as its primary sound source on demand. This device should function similarly to conventional Bluetooth headphones, which automatically become the phone's sound output upon activation. However, this device should differ in that it transmits the audio signal to an amplifier via a jack, SPDIF, or similar connection. Alternatively, it could be an integrated amplifier that directly sends the signal to passive speakers.

The control of this process should be manageable through an API such as MQTT, REST, MODBUS, or similar. Are you aware of any devices that operate in this manner?

The concept is as follows: upon entering the bathroom, I would press a wall-mounted switch. This switch would send a signal to the Bluetooth device, prompting it to connect to my smartphone and seamlessly continue playing the audiobook I am currently listening to. Instead of using the phone's speakers, it would seamlessly start playing through ceiling-mounted speakers.

Many thanks 🙂

General Discussion
Beginner assistance
R

Hi folks,

I currently have some cheap Zigbee hub and some Amazon Alexas running my smart home which mostly consists of Zigbee power strips and Zigbee battery powered switches.

It all worked OK originally, but now whenever I press a Zigbee switch the light in the corresponding plug switches on then immediately off again.

If I ask Alexa to turn the light on it works fine. Likewise if I switch it on from my phone.

Any ideas what the issue could be?

I've tried unplugging the hub a number of times but that doesn't seem to fix it.

I was thinking about getting a Homey Pro 2023 to speed things up (tmas the Zigbee hub seems to be really slow now as well, for some reason) but I'm not sure about that either.

Any suggestions greatly appreciated!

General Discussion

New to the forum

Scheduled Pinned Locked Moved General Discussion
81 Posts 6 Posters 11.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    Quixote
    replied to akbooer on last edited by
    #28

    My Locale is set to en_US.utf8, so I'm all good in that regard.

    @akbooer said in New to the forum:

    The JavaScript used by plugins for AltUI will not run in the openLuup console interface.

    Ok, and what's that in English? 😉

    1 Reply Last reply
    0
    • akbooerA Offline
      akbooerA Offline
      akbooer
      wrote on last edited by
      #29

      The openLuup console is not an all-singing and all-dancing UI, doesn’t support fancy browser-based extensions, and isn’t meant as an everyday replacement for AltUI, which remains the primary user-interface for openLuup. Indeed, it’s currently necessary for defining new scenes and variable-watch triggers.

      If it’s not running, there’s probably something wrong with your system configuration, although that may have something to do with not having a licence. On the scale of HA installations, it’s not a big cost.

      Q 1 Reply Last reply
      0
      • Q Offline
        Q Offline
        Quixote
        replied to akbooer on last edited by Quixote
        #30

        @akbooer fair enough, but, at the risk of sounding ungrateful, I've barely left the starting gate here -- no new scenes, "variable-watch triggers": I have no idea but probably since you brought them up.
        Not sure why I would need a license immediately, but in any case, to me it's like paying a yearly subscription for an Echo. When I bought it, it did what it did. Any other developments are the choice of the developer to invest the time into that in order to entice more clients and keep existing ones from leaving for something more appealing. Again, I'm not against a one time fee, but a reoccurring fee doesn't work for me. I also understand that it's in your best interest to have a developer that is well-versed in your project and fully capable of complimenting it on so many levels, however, a dependency on a commercial entity pretty much means that you are no longer "open".
        Am I way out of line here?
        Oh, and just by the way, if you need icons or anything, I'm willing to help you with that. I have a background in graphic design.

        1 Reply Last reply
        0
        • akbooerA Offline
          akbooerA Offline
          akbooer
          wrote on last edited by akbooer
          #31

          It’s a fact of history that openLuup would not have existed without AltUI. There’s no way I have the skills to make a modern web interface with asynchronous updates, etc. As my frustrations with Vera grew, AltUI was a huge innovation, which kept me with Vera. TBH, I can’t really imagine using Vera without it, now. After further frustration with the performance and behaviour of the Vera Luup engine, I realised that I did have the skills to develop openLuup.

          It’s entirely open, and so BTW is AltUI. Everything is available on GitHub. I don’t consider @amg0 to be a commercial entity, but I take your point, and eschew subscription arrangements for most things. But needs must.

          You can certainly continue up to a point with the openLuup interface, but I’m just pointing out that it has its limitations, and the LIFX interface is one such. I’m sure we can get around this, since you imply that you want to control this through one app or other. How is everything else working?

          Q 1 Reply Last reply
          1
          • PerHP Offline
            PerHP Offline
            PerH
            wrote on last edited by
            #32

            You don't have to pay for 95% of the functions of AltUI as long as you can live with an "unregistered" banner at the bottom. I did that for years, not sure if i actually had to register for how i use it. 🙂
            On the other side, i'm now so happy with it, that I thought a donation was in order.
            try this: [IP]:3480/data_request?id=lr_ALTUI_Handler&command=home&lang=en
            That forces use of english.

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              Quixote
              replied to akbooer on last edited by Quixote
              #33

              @akbooer Unfortunately, not great. I've been trying to set it up so that it will run on boot, but since I followed therealdb's advice and installed WSL on my Windows 10 installation, I've discovered that it doesn't use systemd and it appears I'm on my own in figuring this out now. At this point I'm feeling quite stupid and can't even figure out how to start openLuup again, but I must just be having a bad day.
              The other obstacle is that I really don't have that many Zwave devices and my alarm system isn't even set up at this point, so even if I were able to get some traction, every Zwave trigger I have (motion sensor, Wallmote quad) leads to a LIFX light action. I was not able to get those to work, so at this point my tests will generally be meaningless.
              @PerH thank you for the tip. I'll look at that once I can get it started again without following the install method all over again that's the only way I've seen in the manual, (aside from scripts for other system types).

              1 Reply Last reply
              0
              • akbooerA Offline
                akbooerA Offline
                akbooer
                wrote on last edited by
                #34

                There are three alternatives for starting at boot time documented in the User Guide. I don’t know if either of the alternatives are suitable for your use case. To run openLuup, you just need to run the openLuup_reload.bat file, which wraps Lua in a loop which allows Luup reloads to work.

                1 Reply Last reply
                0
                • Q Offline
                  Q Offline
                  Quixote
                  wrote on last edited by Quixote
                  #35

                  I thought batch files were exclusive to a DOS/Windows environment.
                  I had attempted to set up loading at boot using the the Systemctl approach listed in the appendix, but WSL rejects Systemctl/Stystemd. Everything I've read online states that it's not needed, however fails to mention what to do instead.

                  1 Reply Last reply
                  0
                  • akbooerA Offline
                    akbooerA Offline
                    akbooer
                    wrote on last edited by
                    #36

                    Sorry, you’re right, of course. I was beguiled by the fact that you were, in fact, using a Windows machine. It’s the.sh file.

                    For me, loading at boot time probably would have lower priority than getting the rest of it running to your satisfaction. How often does the host PC get rebooted anyway?

                    1 Reply Last reply
                    0
                    • Q Offline
                      Q Offline
                      Quixote
                      wrote on last edited by
                      #37

                      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.

                      1 Reply Last reply
                      0
                      • akbooerA Offline
                        akbooerA Offline
                        akbooer
                        wrote on last edited by
                        #38

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

                        The shell file you need is simply called openLuup_reload and should contain:

                        #!/bin/sh
                        #
                        # reload loop for openLuup
                        # @akbooer, Aug 2015
                        # you may need to change ‘lua’ to ‘lua5.1’ depending on your install
                        
                        lua5.1 openLuup/init.lua $1
                        
                        while [ $? -eq 42 ]
                        do
                           lua5.1 openLuup/init.lua
                        done
                        

                        My bad for calling it a .sh file.

                        Q 1 Reply Last reply
                        0
                        • therealdbT Offline
                          therealdbT Offline
                          therealdb
                          wrote on last edited by
                          #39

                          WSL.exe could be called via command line. So, call wsl via a schedule task on windows calling the openluup_reload script.

                          --
                          On a mission to automate everything.

                          My MS Reactor contrib
                          My Luup Plug-ins

                          1 Reply Last reply
                          0
                          • Q Offline
                            Q Offline
                            Quixote
                            replied to akbooer on last edited by
                            #40

                            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.

                            1 Reply Last reply
                            0
                            • akbooerA Offline
                              akbooerA Offline
                              akbooer
                              wrote on last edited by
                              #41

                              Well, then, you do already have openLuup running, and should be able to access it on port 3480.

                              1 Reply Last reply
                              0
                              • akbooerA Offline
                                akbooerA Offline
                                akbooer
                                wrote on last edited by
                                #42

                                ...or, something else is using the port.

                                1 Reply Last reply
                                0
                                • Q Offline
                                  Q Offline
                                  Quixote
                                  wrote on last edited by Quixote
                                  #43

                                  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.

                                  Q akbooerA 2 Replies Last reply
                                  0
                                  • Q Offline
                                    Q Offline
                                    Quixote
                                    replied to Quixote on last edited by
                                    #44
                                    This post is deleted!
                                    1 Reply Last reply
                                    0
                                    • Q Offline
                                      Q Offline
                                      Quixote
                                      wrote on last edited by Quixote
                                      #45
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • akbooerA Offline
                                        akbooerA Offline
                                        akbooer
                                        replied to Quixote on last edited by
                                        #46

                                        @quixote said in New to the forum:

                                        rm: cannot remove '/www/altui/altui*': No such file or directory

                                        An absolutely standard, if confusing, message from AltUI. So it must, at least, have started running.

                                        Is there something special about the VM environment which requires some configuration, perhaps? Way out of my league, there.

                                        But if you have access to the openLuup console menu, there’s much we can do to diagnose the system.

                                        • logs, both the standard one and the startup one.
                                        • openLuup > Scheduler pages, particularly startup and plugins pages
                                        • openLuup > Servers, particularly the http page.

                                        This should gives us some clues.

                                        Q 1 Reply Last reply
                                        0
                                        • Q Offline
                                          Q Offline
                                          Quixote
                                          replied to akbooer on last edited by Quixote
                                          #47

                                          @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!

                                          1 Reply Last reply
                                          0

                                          Recent Topics

                                          • Disaster recovery and virtualisation
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            5
                                            572

                                          • Remote access of Zwave stick from Z-wave server
                                            CatmanV2C
                                            CatmanV2
                                            0
                                            3
                                            296

                                          • Organizing/ structuring rule sets and rules
                                            G
                                            gwp1
                                            0
                                            5
                                            347

                                          • Moving MSR from a QNAP container to RP 5 - some issues
                                            G
                                            gwp1
                                            0
                                            5
                                            292

                                          • Widget deletion does not work and landing page (status) is empy
                                            G
                                            gwp1
                                            0
                                            4
                                            263

                                          • Need help reducing false positive notifications
                                            T
                                            tamorgen
                                            0
                                            7
                                            455

                                          • Reactor (Multi-System/Multi-Hub) Announcements
                                            toggledbitsT
                                            toggledbits
                                            5
                                            120
                                            35.1k

                                          • Deleting widgets
                                            toggledbitsT
                                            toggledbits
                                            0
                                            4
                                            440

                                          • MQTT configuration question
                                            tunnusT
                                            tunnus
                                            0
                                            11
                                            591

                                          • System Configuration Check - time is offset
                                            G
                                            gwp1
                                            0
                                            8
                                            587
                                          Powered by NodeBB | Contributors
                                          Hosted freely by 10RUPTiV - Solutions Technologiques | Contact us
                                          • Login

                                          • Don't have an account? Register

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