Navigation

    Discussion Forum to share and further the development of home control and automation, independent of platforms.

    SmartHome Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Unsolved
    1. Home
    2. a-lurker
    • Dumb question about bulbs

      CatmanV2

      So my house only has 2 wire lighting and due to the way it's been installed, plus our flooring options, conversion to 3 wire is not practicable in any case that I want (hope I got those the right way around!)
      So it's only dimmer units for me (boo hiss!) even though I'm only ever using them as on and off.

      So what's going to happen if I put a non-dimmable LED bulb on a dimmer? is the dimmer going to get upset or will the bulb just come on at 100%? I'm never going to ask the bulb to actually dim, I only want on or off.

      Thoughts?

      Cheers

      C

      Hardware
    • Openluup control of Alexa

      CatmanV2

      Very happy getting Alexa to control Openluup devices. I'm wondering if there's any way to get Openluup to control Alexa only devices (such as wifi enabled light bulbs?

      TIA

      C

      openLuup
    • Adding Homeseer as a Controller

      Black Cat

      How can I do this?
      The topic in the instructions is very limited.

      Other Controllers
      Other controllers that you may find as add-ins will each have their own specific configuration instructions. Please refer to their accompanying documentation.

      What information should I be looking for?

      I've tried port 1880 which is used for node-red, assuming that this is a listening port - no go. Really not sure how to go about this as everything I do is mostly trial & error.

      BTW, I added my Vera Lite into the mix successfully, HS4 would make it a trifecta!

      Multi-System Reactor
    • Vera-openLuup Ecobee Plugin

      rafale77

      Latest Vera Ecobee Plugin:

      rafale77/vera-ecobee rafale77/vera-ecobee

      Vera Plugin for ecobee Thermostat. Contribute to rafale77/vera-ecobee development by creating an account on GitHub.

      Plugins
    • Caller ID in HA workflow

      LibraSun

      Has anyone successfully incorporated incoming call(er) information** within an automation workflow?

      I'm talking about having Alexa speak out the name and/or phone number of a caller, or activating a routine/scene based on that info.

      Always been a dream of mine. Wouldn't know how to achieve it! Do they make an Ethernet/WiFi-connected CallerID box?

      **from a LANDLINE, not a MOBILE PHONE (although in the case of my Google Voice #, both lines ring, and if my smartphone is home and turned on, I could see invoking Tasker somehow)

      REFERENCES:

      NCID - Network Caller ID

      [Please file under proper category, as you see fit]

      General Discussion
    • Messaging after VERA decoupling

      D

      First I want to say thank you to this group. You have given me ideas and help along the HA path for a long time.
      I'm an old Vera user and planning to decouple from MIOS cloud now or after 7.32 but I'm stuck at how to push messages out.
      I'm using Reactor and Scenes for Vera native messaging. What's a good solution going forward?

      Also want to mention that after reading the Decoupling document I have built a NTP GPS server on a Pi3B and enjoyed learning more about Linux along the way. I have it stabilized after learning 100 different ways.

      Thanks

      Vera
    • Vera vs MSR lock code logic

      MikeReadington

      Hi Everyone,

      In the Vera Reactor logic, I used to use the operator "updates" in a lock condition.

      If I entered the door and the code used was "Mike," it would hold the condition true indefinitely because "Mike" was the last stored value. Since it is held indefinitely, setting the condition to pulsed would not allow the condition to fire again because it never went false. If I entered a different code, the condition would go false, then entering "Mike" again would cause the condition to go true.

      I did this using the operator "updates" in an AND condition along with the lock code. The code condition would stay true with "Mike," and when "Mike" is entered consecutively, the "updates" condition will go true each time, and then the whole condition would go true, triggering the action.

      Since "updates" no longer appears to be an operator, how would I do this in the new logic? I think I remember a discussion about this, but I searched and can't seem to find it.

      I'm not a programmer, so I am probably missing the easy way to do this.

      Screen Shot 2021-04-18 at 4.54.27 PM.png

      Multi-System Reactor
    • Error updating reactor on Vera

      R

      Posted this in Vera forum with no response:
      Seeing this in reactor UI:
      A newer version of the device information database is available. Please use the update function on the Tools tab to get it. This process is quick and does not require a Luup reload or browser refresh–you can immediately come back here and go right back to work! The new version is 865.877, and you are currently using 557.352…

      Hit update in Tools and get an error: “The update could not be retrieved. If this problem persists, consult the documentation.”

      Looked through logs and not seeing anything specific. You have a keyword I should search for?

      Vera/openLuup plugins
    • Why can't I run this LUA code ?

      cw-kid

      I have created a Global Reaction with this LUA code for my Vera to run.

      However when I run the Reaction nothing happens. I can't see anything in the log file either about this rules ID number.

      If I run the same LUA code on Vera in the test window it works OK.

      OR any other suggestions how I can set this up in a global Reaction (Scene) in MSR ?

      Instead I could use the VeraScenes.lua file in the Vera startup library, but I am wondering why I can't just paste the LUA code directly in to the MSR rule.

      Thanks

      local status = luup.variable_get("urn:upnp-org:serviceId:SwitchPower1", "Status", 419) --Status of Safe to Arm virtual switch if status == "0" then --Safe to Arm luup.inet.wget("http://SOME-HTTP-REQUEST") luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1","SetHouseMode", {Mode = 2}, 0) --Set House Mode to Away luup.inet.wget('SOME-HTTP-REQUEST' ,5); else --Not Safe to Arm luup.inet.wget("SOME-HTTP-REQUEST") luup.inet.wget('SOME-HTTP-REQUEST' ,5); end
      Multi-System Reactor
    • Problems with Up grading existing MSR.

      Black Cat

      Followers will be aware of the problems I had setting up MSR, so it won;t come as a surprise that now I have problems Upgrading to the latest version. (How much I wish for a "Click to Upgrade" Button.....)
      I've been stuck on this for 6 days and am ready to throw in all into the to hard basket, surely HA shouldn't be this problematic?
      There, I've said it now I feel better....
      So what's the problem, I can upload the file using WINSCP but no matter what I've tried it won't un-tar and over write the existing files in the Reactor Directory.
      I receive the following error message which may as well be written in Martian 🙂 in my case.
      Command 'tar -xz --directory="reactor" -f "reactor-0.1-21101-0db64f0-generic.tar.gz"'
      failed with return code 2 and error message
      tar: reactor: Cannot mkdir: Permission denied
      tar: reactor: Cannot mkdir: Permission denied
      tar: reactor/INSTALL.md: Cannot open: No such file or directory
      tar: reactor: Cannot mkdir: Permission denied
      tar: reactor/LICENSE.md: Cannot open: No such file or directory
      tar: reactor: Cannot mkdir: Permission denied
      cut for sanity sake....

      This goes on for ad infinitum for every file.

      I tried with both users, no change, can anyone decipher this and explain why WINSCP won't untar the file?

      Multi-System Reactor
    • Replacing SiteSensor Plugin (Vera) with MSR

      LibraSun

      For MSR users with SiteSensor still installed back on Vera, you might want to consider letting MSR take over those duties. Here's a quick run-down of how I imported one of my SiteSensor recipes into a Rule on MSR, using OpenWeather API* as an example.

      STEP 1: Copy the Basics from Vera
      (a) Go to your Vera > Devices, locate SiteSensor (the main instance, not one of its children devices) and click ► for details then click SETTINGS.
      (b) Copy and paste (into Notepad or other text editor) the Request URL along with each of the defined expressions.

      STEP 2: Create a Rule on MSR
      (c) Jump into Rule Sets and click "Create Rule". Click its title to rename the rule 'OpenWeather (API)" and click 'Rename'.
      (d) Decide on appropriate Triggers (in my case, it's an OR group that includes an [INTERVAL] set to "Every 3 hours" plus a few [ENTITY ATTRIBUTE] entries reacting to things like entering/leaving home, waking up, etc.).
      (e) In Set Reacion, create an [HTTP REQUEST] > [GET] action.
      (f) Paste your old "Request URL" into the "Request URL" box.

      FYI GET calls to OpenWeather API* take the form:

      http://api.openweathermap.org/data/2.5/weather?zip=<your_ZIP_code>&id=<your_Wx_ID>&appid=<app-id>&units=imperial

      (g) Create four new blank Expressions (name them openWx, Tx, Hx and Rx).
      (h) Click SAVE & EXIT

      STEP 3: Process the Response
      (i) Re-open rule "OpenWeather (API)" by clicking the 'Edit' icon.
      (j) Within the [HTTP REQUEST] action, assign "Capture response to:" ► openWx
      (k) Down in Expressions, click "[+]Add Expresssion" then enter the following:
      Tx := round(openWx.main.temp,1)
      // yields current outdoor temperature
      Hx := round(openWx.main.humidity)
      // yields current humidity conditions
      Rx := openWx.rain ? ( openWx.rain['3h'] ? openWx.rain['3h'] : 0) : 0
      // yields predicted rainfall, if present; otherwise 0
      (l) Click SAVE & EXIT. Enjoy!

      Naturally, your specific needs and workflow will differ from the one I've outlined here. For instance, you may wish to explore the contents of the JSON object in openWx for additional data of interest to you, and define variables to match.

      My goal here has been to illustrate some key concepts needed for moving from SiteSensor over to MSR:

      Some syntax is the same, such as dot notation for object.item.access; Other syntax has changed, such as the use of ternary A ? B : C in place of IF (A, B, C); Manually setting an [INTERVAL] in lieu of SiteSensor's timed schedule;

      Pro tip: If your workflow demands that other Rules react to the output of the "OpenWeather (API)" rule, then be sure to create all of the aforementioned Expressions under "Global Expressions" instead, so they become accessible across all Rule Sets.

      Once the transition is complete, you can either DISARM SiteSensor on Vera or remove it entirely with "Remove Device" (which will automatically remove all of its child devices).

      *Additional reading:
      OpenWeather API : https://openweathermap.org/api
      FREE SUBSCRIPTION REQUIRED TO USE THIS SERVICE

      PRO TIP: See below for optimal way to incorporate OpenWeatherMap into your MSR workflow(s), by enabling the service directly in the reactor.yaml config file.

      Multi-System Reactor
    • openLuup: MQTT server

      akbooer

      Feedback / issues with openLuup's built-in MQTT server

      openLuup
    • Low-priority GUI feedback

      PerH

      Just thought i'd mention it, as I've walked into it multiple times when editing rules:
      dbc9e2c8-887e-46bd-8e3c-1364eb99bb03-image.png

      When I make/edit rules, i'm used to pressing "save" through the process, and when I do that, theres only the red one left to press. It does make sense, as its already saved, but I'll stop and think one more time when it says w/o saving.
      In my head, a exit button which causes a pop-up warning if changes are not saved makes more sense - like in vera reactor.

      Feel free to discard the idea, its just something to get used to mabye. 🙂

      Multi-System Reactor
    • Rethinking HVAC moving from Reactor (Vera) to MSR

      G

      In my Vera config I have two SiteSensors (one for Ambient Wx, one for OpenWxMap) that point to two unique Reactor devices for controlling HVAC in my home. This is done for redundancy - if the Ambient API drops it returns zero data which then triggers a standalone Master API Reactor device to flip on the OWM SiteSensor and corresponding HVAC Reactor device to continue controlling the house conditions.

      Once the Ambient API returns to available the Master API Reactor device flips back to the Ambient SiteSensor and corresponding HVAC Reactor device, turning OFF the SiteSensor for OWM to save on API calls.

      I've been able to duplicate one half of this, including the Master API role, in MSR. But... here's the tricky part... I can't turn "off" the MSR Rule Sets for the OWM version. As such, HVAC is sent conflicting data and doesn't know what to do.

      Before I go alls deep into explaining how all of this currently works, am I missing something somewhere that would allow me to trigger the on/off of MSR Rule Sets?

      Multi-System Reactor
    • openLuup: Tasmota MQTT Bridge

      akbooer

      Feedback / solutions for openLuup's built-in Tasmota MQTT bridge.

      Plugins
    • Vera firmware 7.32 beta

      LibraSun

      Anyone installed the new beta f/w on their Vera unit and liking it?

      Read https://community.ezlo.com/t/7-32-vera-firmware-beta-release/217060

      Vera
    • openLuup: Shelly Bridge plugin

      akbooer

      Feedback / solutions with openLuup's built-in Shelly bridge.

      Plugins
    • Expressions and LuaXP Functions

      LibraSun

      Knowing that MSR Preview may not yet fully implement LuaXP (CORRECTION: MSR uses a different language lexpjs), I could not resist whipping up some text expressions for fun. Whereupon two things popped out at me:

      The new scaling (0.00 - 1.00) of Dimming Level will require a rewrite of certain Expressions that I use to balance my light levels. For example, it was my custom to monitor one lamp's brightness (0 - 100) with Reactor Luup, then set another lamp to 93% of that level, using this Expression: floor(getstate( 9, "urn:upnp-org:serviceId:Dimming1", "LoadLevelTarget" ) * 0.93)

      Now, in MSR, it will become necessary to modify that to read:

      floor ((getEntity( "vera>device_9" ).attributes.dimming.level * 0.93)*100)/100

      which effectively scales the value up x 100 (so that floor() can act upon it correctly), then downscale it / 100. Just an FYI to ponder.

      I'm noticing that every edit, however minor, of an Expression in MSR requires an immediate SAVE click before the 'Run' button will become active. That is to say, I cannot repeatedly evaluate the Expression during editing, without clicking SAVE first.

      Only mentioning this latter behavior since it departs so dramatically from Reactor Luup's paradigm.

      Multi-System Reactor
    • MSR API functions and documentation

      cw-kid

      Hi

      I am assuming in time MSR will have some API documentation.

      I am going to ask Bill the developer of the Home Remote dashboard app if he can add support for MSR.

      Specifically support for MSR global Reactions (Scenes), where hopefully they can be imported in to the Home Remote Designer application and then we can more easily create dashboard tiles that when pressed would run a particular MSR global Reaction etc.

      Currently in Home Remote it's possible but not so easy to create a tile that runs a http request when pressed and I have tested this and it does work and will run an MSR global Reaction.

      But I'd much prefer if in the Home Remote Designer application MSR could be added as a device type and then all its global Reactions
      imported as it does with Vera and other systems.

      Multi-System Reactor
    • Global Reactions - Constraints ?

      cw-kid

      Hi

      Will Global Reaction rules have Constraints added at some point?

      And maybe the other functions like Reset Reaction and Expressions.

      Thanks

      Multi-System Reactor
    For those who registered but didn't received the confirmation email, please send an email to support@smarthome.community with the email you used
    A
    • Profile
    • Following 0
    • Followers 1
    • Topics 9
    • Posts 74
    • Best 9
    • Groups 0

    a-lurker

    @a-lurker

    16
    Reputation
    27
    Profile views
    74
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    a-lurker Follow

    Best posts made by a-lurker

    • RE: Sun position or light sensor for blinds?

      @akbooer said in Sun position or light sensor for blinds?:

      Yes, it's all been done. You need @futzle's Heliotrope plugin.

      Out of interest; I've modified/updated and re released Futzle's Heliotrope plugin in the AltApp store (with Futzle's permission).

      Likewise; I've modified/updated and re released Chris Jackson's EDS one wire server plugin in the AltApp store (with Chris's permission).

      posted in Code/Snippet library
      A
      a-lurker
    • List of plugins available at the Alternative App Store

      The plugins listed here are available via the Alternative App Store. The app store becomes accessible via a new menu item in the Alternative User Interface once configured.

      Both the Alternative User Interface (AltUI) and AltAppStore (AltAppStore) plugins need to be installed on Vera to access the store. With openLuup; this is all "automatically" set up and ready to go as part of the openLuup suite.

      The Alternative App Store can be found here.

      Publishing a plugin in the store is pretty easy. First your plugin code must be available in GitHub. Publish it, using the Publish command in the AltAppStore web page. You need to enter the salient information and it's ready to go.

      Plugin icons can be stored on GitHub eg like so. After a "few days" the raw json describing the plugin appears here.

      Vera 3 users should note the store will not work, as Vera 3 doesn't have the https capability required to access GitHub. However, the apps can always be downloaded from GitHub and manually installed.

      For those just interested in what the store contains; refer to the list below - as of 2021 Mar 22 there were about 74 plugins available:

      Plugin Comments
      Aeratron fans
      Alternative App Store built into openLuup
      ALTHue
      ALTUI
      Amcrest Dahua
      AutoVirtualThermostat
      BroadLink-Mk2
      Canal Plus not in GitHub
      Countdown Timer originated by Futzle
      DALI Planet
      DarkSky Weather
      DataYours
      DelayLight
      DeusExMachina
      Domoticz Bridge non functional: needs work check here
      Domoticz Bridge 2 originated by 999LV and updated by perhusaas
      DreamColorLedRGB
      Ecobee
      Edisio Gateway
      EDS One Wire Server originated by Chris Jackson
      EKM metering
      Emby Interface
      Enphase Envoy Solar Monitor
      EventWatcher
      Ezlo Bridge
      FritzBox Sensor
      Google Calendar 3
      Harmony Hub Control
      Heliotrope originated by Futzle
      Homebridge 2 openLuup
      HundredGraphs Logger
      IKEA Tradfri
      Image Map Remote
      Info Viewer for Vera only
      IPhone Locator
      IPX800
      Irrigation Caddy
      KSenia Lares 16 Bridge
      LuaView
      Multi Provider Weather Station
      Netatmo
      Network Monitor
      OpenSprinkler
      OpenTherm Gateway
      openWeather
      Paradox EVO IP150 web page scrapper
      Pioneer Receiver
      Rachio
      Rainforest Eagle based on robertmm's work
      RaZberry (ALPHA)
      Reactor
      RGB Controller
      Rules Engine
      SiteSensor
      SMA inverter
      Smartmeter Reader
      Solar Meter
      Sonos originated by lolomodo and updated by toggledbits.
      Sony Bravia IP
      Surveillance Station Remote (BETA)
      Switchboard
      Telegram
      Tesla Car
      UPS Sensor
      UPnP Event Proxy OpenWRT only - originated by Futzle
      VeraAlexa
      Virtual HTTP Devices
      Virtual Pronto Remote
      Virtual Sensor
      VW CarNet
      WES
      Xee
      Yamaha RX HTTP
      Z-Way
      ZiBlue Gateway
      ZiGate Gateway
      posted in Code/Snippet library
      A
      a-lurker
    • RE: DarkSky weather plugin...

      openweathermap looks good. You could probably get the DarkSky plugin to do both. They even have a mapping table already available:

      OpenWeather to DarkSky mapping

      posted in Plugins
      A
      a-lurker
    • RE: Yamaha Plugin

      Logs are are "good".

      posted in Vera/openLuup plugins
      A
      a-lurker
    • RE: Sun position or light sensor for blinds?

      Just tell him/her, I'm going to subscribe to this site using his or her users name if he/her isn't quick 🙂

      posted in Code/Snippet library
      A
      a-lurker
    • RE: Generic support for vacuums

      In 2017, bought a "Xiaomi Mi Robot Vacuum Cleaner Laser Distance Sensor NIDEC Brushless Motor, MPN: SDJQR01RR". Need to lift the smaller obstacles off the floor so it gets a good go at the floor and it can get stuck under some furniture. We have a mix of hard floor and carpet and it gets cleaned really well. Based on its work, it paid for itself very quickly. It maps the house with LIDAR and sends the map of my house back to China - no doubt there is some good data mining to be had in thousands of house plans!!! It vacuums in lines, up & down, rather than just bumping around randomly, like some of the older vacs do. Takes a while but that's only because it does a good job.

      posted in Plugins
      A
      a-lurker
    • RE: Using luup.call_delay() in the browser code test boxes

      @akbooer said in Using luup.call_delay() in the browser code test boxes:

      but have forgotten the details of how Vera behaved!

      Just to remind you; badly.

      OK not surprised I'm going around in circles - I should know better by now. I modified the example code to write to the log, instead of the UI. In Vera, in either Vera's UI or AltUI the log shows:

      LuaInterface::CallFunction_Timer-5 function delayTest failed [string "local altui_device = 5..."]:10: bad argument #1 to 'insert' (table expected, got string)
      

      Using AltUI with openLuup, I get similar, where 0x27151d0 is the called function (as printed by the test code):

      luup.delay_callback:: function: 0x27151d0 ERROR: [string "RunLua"]:10: bad argument #1 to 'insert' (table expected, got string)
      

      OK so then I test it in one of openLuup's three console test windows (I came across these just recently) and as expected with your code; it all works! I think I figured it had all failed because I never saw the test code printed in the log. Your console test windows just show this, rather than listing the code:

      openLuup.server:: POST /data_request?id=XMLHttpRequest&action=submit_lua&codename=LuaTestCode2 HTTP/1.1 tcp{client}: 0x33b3328
      

      So it can be made to work - looks like altUI and Vera UI need to pass the function reference, not the function name string? Or whatever is needed.

      Out of interest I have noted that luup.call_delay can use sub one second delays in openLuup as previously mentioned on the Vera forum. I'm unsure if Vera can or can't.

      I did some tests and found on a rasPi that occasionally, a one second delay could be well over one second on occasions (have seen two seconds). There could be any number of reasons for this - just measuring the time alone affects the timing (I used socket.gettime()). Plus with different things happening at the same time, it can get weird. But I do have a plugin that runs code every minute and receives/handles a lot of bytes, one by on, via the infamous Vera "'incoming" feature. I should probably rewrite that plugin code one day, if I can rember how it all worked.

      There may even be an argument to code a finite reduction in all delays by some fudge factor representing the delay processing time eg say 20 milliseconds but that's getting too pedantic.

      posted in General Discussion
      A
      a-lurker
    • RE: Openluup device compatability

      A plus for Telegram. Just a line like this will do it:

      luup.inet.wget('https://api.telegram.org/bot'..botID..'/sendMessage?chat_id='..chatID..'&text='..urlEncode(msg),5)
      
      posted in openLuup
      A
      a-lurker
    • RE: Status Board - What’s your HA Information Dashboard ?

      AK - have to say I've been a bit lazy on keeping up with openLuup's graphing ability (and reading the manual). I see I can graph virtually anything listed here: Console--> Historian-->Cache. There is also DataYours but currently I'm doing this (can't even remember how this works):

      http://openLuupIPaddress:3480/data_request?id=lr_render&target={cpu.d,memory.d}&title=CPU (%) Memory (Mb)&height=750&from=-y

      Unsure what's ancient technology or what each one entails eg AFAIK Grafana needs a Grafana server to be set up, etc. Presume that can be done on a RasPi.

      What URL shows what you have shown above.(may be we need a new thread for openLuup graphing techniques?)

      posted in General Discussion
      A
      a-lurker

    Latest posts made by a-lurker

    • RE: BroadLink Mark II plugin

      A few points:

      • My last mods to the Lua file would have no useful effect, so my bad. It's been a while since I looked at this code so my memory is a bit out of date.
      • No "RF child" is produced. You get one child per physical Broadlink device (if they are known to the plugin). That child handles both RF & IR, as the sent code is either an IR or RF code.
      • I see three IP addresses in the logs provided, which makes understanding the log a little tricky. Regardless the plugin knows the physical devices by their MAC address, so the IP address can change around. Have you fixed IP addresses for the BroadLink devices?
      • I probably need to make the logging a bit clearer on what's going on.

      On the aircon - the BroadLink protocol is not published and they change it from time to time so reverse engineering is always on going.

      On the RM4 Pro - this tells me its been discovered OK:

      {"a0:43:b0:18:de:8d":{"blInternalId":"00000001","blKey":"a7c5df0a9133f188c982a56dc8bcf9df","blDeviceType":25755,"blIp":"10.1.11.20","blDesc":"RM4 Pro"}}
      

      I assume here that the MAC listed above is the MAC address of the RM4 Pro? There is no list of found devices in the plugin's GUI representation (there probably should but I didn't do one). The json above is the "list" and it looks fine. Once a device is defined in the json it stays there; even if the device goes off line (for whatever reason) and therefore not discoverable. If the IP address changes the json is updated to match.

      The final problem is the "cloud bit". Some of the newer devices get this bit set when the app is used with the device and it causes issues. I have no experience of any of this, as I my devices don't have it. Need to read the thread at the other site, that talks about the reset/pairing procedure to avoid problems.

      Also is this is on a Vera or openLuup?

      Try relocating the Broadlink device closer to the WiFi connection. I still maintain the comms may be a bit flaky. If you send any IR code to the device the log will show what's happening and you can use a cellphone camera to see if the IR is coming out of the RM4 Pro.

      I have no plans to get this to work for the aircons - looks like a major effort; especially if you have no hardware to test the code on.

      posted in Plugins
      A
      a-lurker
    • RE: BroadLink Mark II plugin

      Second: EDIT: yes the Broadlink device was not producing an RF child. It should be fixed: see latest lua file in GitHub ver 0.57a. There are so many variations of all these devices it's hard to keep up.

      On this:

      2021-04-02 08:53:45.632   luup_log:82: BroadLink_Mk2 debug: This device is probably offline - mac address: a0:43:b0:18:de:8d
      

      The Broadlink device may be on the edge of its WiFi range.

      Note that the plugin now also allows you to send codes in base64 format. Just send them and the plugin will work out if they are base64 encoded.

      For reasons unclear Home Assistant seems to use them. However they have thousands available for Aircons

      posted in Plugins
      A
      a-lurker
    • RE: BroadLink Mark II plugin

      First on this:

      2021-04-02 08:53:44.604   luup_log:82: BroadLink_Mk2 debug: The BroadLink device at IP address 10.1.11.126 and of type 0x4e2a is not known to this plugin
      

      and

      Friendly name: e5a5a5e5858be696afe7a9bae8b083
      

      Getting the last bit and reformatting it a little:

      \xe5\xa5\xa5\xe5\x85\x8b\xe6\x96\xaf\xe7\xa9\xba\xe8\xb0\x83
      

      and sticking it into this UTF8 enc/dec you get the attached image. If someone knows what it means, I would be interested in knowing - I suspect it something to do with aircons.

      Friendly name 0x4E2a (20010).jpg

      It seems that a few air conditioners are now using the Broadlink protocol. They are controlled with a mobile app called AC freedom and they use the Broadlink devtype 0x4E2a (20010dec).

      So in short the plugin doesn't handle A/Cs. @ronluna can you tell us more about this Broadlink / Aircon device?

      More info here: on the A/Cs

      posted in Plugins
      A
      a-lurker
    • RE: Generic support for vacuums

      In 2017, bought a "Xiaomi Mi Robot Vacuum Cleaner Laser Distance Sensor NIDEC Brushless Motor, MPN: SDJQR01RR". Need to lift the smaller obstacles off the floor so it gets a good go at the floor and it can get stuck under some furniture. We have a mix of hard floor and carpet and it gets cleaned really well. Based on its work, it paid for itself very quickly. It maps the house with LIDAR and sends the map of my house back to China - no doubt there is some good data mining to be had in thousands of house plans!!! It vacuums in lines, up & down, rather than just bumping around randomly, like some of the older vacs do. Takes a while but that's only because it does a good job.

      posted in Plugins
      A
      a-lurker
    • RE: Ways to find controller's external IP address using MSR

      This also works but it does not return json: my ip address. There are a few others including this. EDIT: looking at this further; there are lots of site that will do this.

      posted in Multi-System Reactor
      A
      a-lurker
    • RE: Homebridge to Openluup

      Hi ronluna

      Great to see more stuff supporting openLuup and the like. If you feel like adding the plugin to the Alt App Store; I can add it to the list of available plugins:

      https://smarthome.community/topic/247/list-of-plugins-available-at-the-alternative-app-store?_=1615766458771

      posted in Plugins
      A
      a-lurker
    • RE: openLuup: Shelly Bridge plugin

      Mmm looked high and low for the Shelly bridge and can find no mention of it. Using openLuup ver 2021.03.01b. What's the trick?

      posted in Plugins
      A
      a-lurker
    • RE: openLuup: SmartSwitch plugin

      If you feel like linking it to the store I'll update the store list: List of plugins available at the Alternative App Store.

      We should round up as many old plugins that we find and get them into GitHub and the store (as long as they are not proprietary). eg I would like to see the Sonos app in the store (it's in GitHub) but togglebits seems to be busy on some other new fangled plugin.

      posted in Plugins
      A
      a-lurker
    • RE: Missing App store contents in openLuup

      WARNING: DO THIS WRONG AND IT ALL GOES BADLY WRONG.

      Following refers to openLuup running on Jessie, on a RasPi with openSSL version:

      OpenSSL 1.0.1t 3 May 2016
      

      I made the mistake of running this command in the hope of it fixing the Telegram and the GitHub app store access problems I was having:

      sudo luarocks install luasec
      

      No good - can't find what's needed. So do this:

      sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/arm-linux-gnueabihf/
      

      All goes OK - reboot the RasPi. And then errors:

      /etc/cmh-ludl$ /etc/cmh-ludl/openLuup_reload
      lua5.1: error loading module 'ssl.core' from file '/usr/local/lib/lua/5.1/ssl.so':
      	/usr/local/lib/lua/5.1/ssl.so: undefined symbol: X509_get_signature_nid
      stack traceback:
      	[C]: ?
      	[C]: in function 'G_require'
      	openLuup/init.lua:86: in function 'require'
      	/usr/local/share/lua/5.1/ssl.lua:8: in main chunk
      	[C]: in function 'G_require'
      	openLuup/init.lua:86: in function 'require'
      	/usr/local/share/lua/5.1/ssl/https.lua:10: in main chunk
      	[C]: in function 'G_require'
      	openLuup/init.lua:86: in function 'require'
      	./openLuup/client.lua:39: in main chunk
      	[C]: in function 'G_require'
      	openLuup/init.lua:86: in function 'require'
      	./openLuup/luup.lua:85: in main chunk
      	[C]: in function 'G_require'
      	openLuup/init.lua:86: in function 'require'
      	openLuup/init.lua:93: in main chunk
      

      Many hours later after much bashing of keyboard - removed luasec:

      luarocks remove luasec
      

      And install the most recent version of luasec version 0.7 that will work with the old openSSL version "OpenSSL 1.0.1t 3 May 2016":

      sudo luarocks install luasec 0.7 OPENSSL_LIBDIR=/usr/lib/arm-linux-gnueabihf/
      

      Note this this link where it says:

      Notice:

      • LuaSec 0.8 requires at least OpenSSL 1.0.2.
      • For old versions of OpenSSL, use LuaSec 0.7.

      Telegram and App Store access now fixed but I did so much messing around in between, it's hard to say if this is the actual fix!

      posted in openLuup
      A
      a-lurker
    • RE: Generic support for external plug-ins in different languages

      @akbooer said in Generic support for external plug-ins in different languages:

      I have, indeed, written a server, so you will not need Mosquitto, or any other server, installed anywhere

      Fantastic. Thanks for your efforts on this one ak. It should be a really good addition to openLuup.

      posted in openLuup
      A
      a-lurker