Plugins

Discuss your other openLuup plugins here

44 Topics 848 Posts
  • 2 Votes
    36 Posts
    1k Views

    @therealdb

    Really appreciate it!

    C

  • Vera-openLuup Ecobee Plugin

    28
    0 Votes
    28 Posts
    1k Views

    Just FYI, seems there's a nationwide outage in the OAuth system and/or ecobee server, such that Vera and the various plug-in editions are incapable of authenticating thermostats. Been like that for a few hours, according to https://downdetector.com/status/ecobee/

    RESOLVED as of 6pm CDT 4/20/21

  • BroadLink Mark II plugin

    8
    0 Votes
    8 Posts
    345 Views

    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.

  • Homebridge to Openluup

    41
    5 Votes
    41 Posts
    2k Views

    @ronluna Excellent work, the name is now persistent on reload, thank you!

  • upnp event proxy

    11
    0 Votes
    11 Posts
    367 Views

    @a-lurker

    In response to your question on another thread, you can start the upnp proxy from any lua platform in reality. The specific script you have for openWRT is specific only because it uses init.d and specific paths to find the daemon.

    For my installation the first step was to install lxp:

    sudo luarocks install LuaExpat

    This assumes you already have luarocks installed. Now I run luajit instead of lua5.1 but you can run either:

    luajit /etc/cmh-ludl/L_UPnPProxyDaemon.lua

    or

    lua5.1 /etc/cmh-ludl/L_UPnPProxyDaemon.lua

    This will start another instance of lua and the proxy daemon. You could even start it within openLuup as part of the startup lua I believe.
    To autostart it as a service you can just create the following service file in the /etc/systemd/system folder:

    [Unit] Description=upnp Wants=network.target After=network.target Before=screen.service [Service] Type=oneshot WorkingDirectory=/etc/cmh-ludl ExecStart=luajit /etc/cmh-ludl/L_UPnPProxyDaemon.lua -d Restart=on-failure [Install] WantedBy=multi-user.target

    I called this file upnp.service

    You then just have to enable it and start it.

    sudo systemctl daemon-reload sudo systemctl enable upnp && sudo systemctl start upnp

    checking status:

    Screen Shot 2021-03-22 at 21.36.10.png Screen Shot 2021-03-22 at 21.35.27.png

    Edit: As expected, the UPnP proxy replaced the the polling mechanism of the plugin and thereby dropped openLuup's CPU utilization by 0.1% from 1.4% to 1.3%.

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • Barometer

    1
    1 Votes
    1 Posts
    78 Views
    No one has replied
  • MQTT Plugin

    72
    0 Votes
    72 Posts
    4k Views

    @archers the error is related to openLuup HTTP server. the system can recover from faulty calls and re-try them again. Maybe I'll make the logs less verbose in the next iteration.

  • Iphone locator - Grafana?

    1
    0 Votes
    1 Posts
    98 Views
    No one has replied
  • 4 Votes
    41 Posts
    2k Views

    @archers glad it worked!

    I've added this sample to the docs, so future readers may find it useful too.

  • 0 Votes
    1 Posts
    172 Views
    No one has replied
  • iPhone Locator force refresh error

    11
    0 Votes
    11 Posts
    350 Views

    Got it! Deleted the device, re-created it and we are good. Blimey what a PITA.

    Only issue is it's not showing the map data so far.....

    C

  • iPhoneLocator: Alternate Map Servers

    38
    0 Votes
    38 Posts
    1k Views

    It could be. Should try with the vera unhooked. It looks like you are trying to run the plugin on both the vera and on openLuup. I would make a backup on the vera and delete the plugin from there and try again on openLuup.

  • More info about alarm devices/services

    3
    0 Votes
    3 Posts
    93 Views

    Yep, this is probably used by DSC/Caddy and many more. I found a thread where they started asking for unification and maybe MCV did the right thing, at the time, and provided this as standard way to implement the service. No device files, it seems.

  • create another countdown timer in openluup

    4
    0 Votes
    4 Posts
    167 Views

    Thanks! It works.....

  • AltUI Behaviour

    5
    0 Votes
    5 Posts
    167 Views

    Nothing I can see apart from some cross site cookie warnings about Cloudflare and Google. Getting similar on the working browser as well.

    Cache(s) cleared. Cookies deleted. Very odd

    C

  • DarkSky weather plugin...

    5
    1 Votes
    5 Posts
    175 Views

    @a-lurker said in DarkSky weather plugin...:

    It's good to see there now 65 plugins in the store.

    The native openLuup Alt App Store page says 60. I think the difference is that some plugins in the AltUI visualisation of the Store don’t have GitHub repositories and are only downloadable from MiOS.

  • Alarm Clock

    44
    0 Votes
    44 Posts
    2k Views

    @therealdb said in Alarm Clock:

    maybe you can create something using this => https://blueprints.amazon.com/

    Never tried with it directly, but it should be doable.

    Homewave and Telegram I suspect first...

    C

  • This topic is deleted!

    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Colour Wheel

    10
    0 Votes
    10 Posts
    259 Views

    I confess my boat is mostly floated by being able to see stuff 😉 So white 100% is my normal operation but I try and work stuff out for myself (sometimes, I know right now it probably doesn't seem like it)
    So the solution I came up with was to use the plugin, and copied over to Openluup.

    For reference if I created a devices with that RGB dimmable light would it effectively be the controller (the module) , or a a replacement for the virtual RGB that I now have that I can configure to have each of the sub devices in?

    Cheers!

    C

Recent Topics