What’s the difficulty? Does your switch wiring have a neutral? What country are you in?

akbooer
Posts
-
Wiring Samotech SM308-S into light fitting -
Disaster recovery and virtualisationImpressive.. great when it all works too!
I’ve been very happy since I moved everything I could to Synology.
A
K -
AltUI sans internet connectionYes, if it’s openLuup, then I was going to suggest that… rather depends on what you were trying to do.
-
'Random' lights turning onBizarre! … but good catch.
I’m a Siri user, myself. How do you link Alexa to openLuup? My link to Siri is via HomeKit (of course) for Hue and Shelly devices.
-
openLuup email server@a-lurker said in openLuup email server:
To keep things so they are more likely to work, it's suggested the email address should be totally case insensitive regardless.
Yes. I see from the ource code comments tht eraly-on I removed address wrapping to lower case. It's an easy change, but I'm going to find out why I did that in the first place, before reverting.
@a-lurker said in openLuup email server:
Is it your preference to leave the saved files in the raw mode or would you consider translating the base64 text in the openLuup code base?
Don't see why not. Again, I need to dig in to see why that isn't working out of the box. There's plenty Base64 decoding going on within the server anyway.
@a-lurker said in openLuup email server:
On a side note, does the reception of an email by openLuup generate some sort of trigger that can be watched.
Your best bet would surely be to register a callback handler to listen for messages on a specific address?
I have another big project ongoing with some sort of a deadline at the start of December, so I'll need to leave things until then before I can get back to this code.
Thanks again for your documentation efforts. I did say I would provide a link from the openLuup app... perhaps in the footer, like there is for the forum?
-
openLuup email serverYou have been doing your homework!
I need to remind myself of what I did way back when before being able to reply sensibly.
But thanks for the excellent analysis.
-
Looking for Remote Switch boxes that can also be used with a wireless Decora Style Switch.Not sure if your controller handles WiFi controlled devices?
-
Looking for Remote Switch boxes that can also be used with a wireless Decora Style Switch.As it says, this will need a Zwave hub to work.
-
Looking for Remote Switch boxes that can also be used with a wireless Decora Style Switch.Not quite clear on what you’d need, but have you looked at the Shelly range of products for remote switching?
-
Why different types of Triggers within openLuup & ALTUII should have thought so.
Can you post the JSON for the scene from the console scene page?
-
Why different types of Triggers within openLuup & ALTUIGo to the AltUI Attibutes page and enter 1 into the disabled attribute box.
Restart Lua.
Everything will still be there in case you want to reactivate it.
-
Why different types of Triggers within openLuup & ALTUIYou’ll note from your first attached image that there are three types of trigger recognised by openLuup:
- openLuup Variable watches
- AltUI variable watches
- Luup UPnP
#3, as noted in that image, are all ignored by openLuup. This system was hopelessly flawed, which prompted @amg0 to create variable watches (#2).
When I removed all AltUI dependencies from openLuup (my operational system doesn’t even have AltUI installed) I needed a replacement for those variable watches, hence #1.
The openLuup watches are recognised by AltUI as a form of #3, because the Vera-compatible data structures are used, in a very limited way, to implement them, and save them in the JSON file.
So with AltUI installed, both will work (if enabled.)
-
Just starting what hub is best.Hi there.
'Best', of course, is subjective. What are your needs/wants really?
Also, what type of IT infrastructure do you have, or are you used to? Apple, PC, Linux, ...?
Lots of choice, to be sure.
-
OpenLuup : Loading Global ModulesYes.
An alternative is to create the module table at the start, and define the functions directly as module components…
local _M = {} function _M.myfunction(…) — whatever end function _M.anotherFunction(…) — whatever end return _M
-
OpenLuup : Loading Global ModulesThe module call is, for good technical reasons, set to a no-op in openLuup.
It’s also an outmoded/deprecated pattern in newer Lua versions.
You should, instead, ensure that the module itself ends with a return statement, with a table including the required module contents.
There’s several ways to accomplish this. In openLuup itself I’ve generally done something like this:
— my module local function f1() whatever end local function f2() whatever end return { f1 = f1, f2 = f2, }
-
DIY HomeKey locks via ReactorThanks for this fabulous hardware “how to” !
-
Scene Controllers -- What are you using?For Zwave, I used to love the 4 button MiniMote, but for similar functionality (non Zwave) I now use Philips Hue smart switches (detachable for hand held.) Labelling the buttons in either of the cases is a non-starter, really.
For voice control, I can use an Apple HomePod Mini, through HomeKit, but for single buttons I’ve also got some Shelly devices.
For wall-mounted buttons, I use the MK Grid system, with Shelly i4 or relays in the wall box. This has the advantage of being available in 1, 2, 3, 4, 6, and 8 wallplate configurations with interchangeable toggle or push buttons, and you can get buttons with etched labels for common functions (fan, etc.)
No really good winning solution here.
-
20 amp smart physical switch (to control Infratech heater) - preferable to be outdoor rated, but anyShelly produce 2/3/4 channel DIN rail devices which handle up to 16A per channel. WiFi / Bluetooth controllable with external smart switch or anything doing HTTP / MQTT.
-
openLuup_install.lua - URL changed?Thanks for that! Not tried a new install recently, so will give it a go.
-
openweather plugin ?I've just tried AltUI on my development system running openLuup, and access to the AltAppStore appears to work just fine.
When hitting the Publish button, I had to go through some authentication step that I've never seen before, but ended up with this from Google:
Screenshot 2024-08-12 at 15.01.53
then went back to AltUI to see this page:
...so all seems good to me.