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
    1. Home
    2. a-lurker
    For those who registered but didn't received the confirmation email, please send an email to support@smarthome.community with the email you used
    • Domoticz Bridge

      PerH

      While i wait for MSR to arrive, i'm trying to get better control over my zigbee devices. Looked over the fence to Domoticz, and they have a really good plugin for Zigate, and as there was a domoticz bridge here, i thought i'd use that instead..

      This plugin have bben abandoned for some years though, and when I installed it, it won't start properly.. looking at the startup log, it looks like OpenLuup might have had some changes that needs to be handled in the plugin? (@akbooer ?)

      2021-01-26 22:31:37.457 luup.create_device:: [833] D_DomoticzBridge.xml / I_DomoticzBridge.xml / D_DomoticzBridge.json (DomoticzBridge) 2021-01-26 22:31:37.457 openLuup.chdev:: [string "L_DomoticzBridge.lua"]:59: module 'openLuup.rooms' not found: no field package.preload['openLuup.rooms'] no file './openLuup/rooms.lua' no file '/usr/local/share/lua/5.1/openLuup/rooms.lua' no file '/usr/local/share/lua/5.1/openLuup/rooms/init.lua' no file '/usr/local/lib/lua/5.1/openLuup/rooms.lua' no file '/usr/local/lib/lua/5.1/openLuup/rooms/init.lua' no file '/usr/share/lua/5.1/openLuup/rooms.lua' no file '/usr/share/lua/5.1/openLuup/rooms/init.lua' no file '../cmh-lu/openLuup/rooms.lua' no file 'files/openLuup/rooms.lua' no file 'openLuup/openLuup/rooms.lua' no file './openLuup/rooms.so' no file '/usr/local/lib/lua/5.1/openLuup/rooms.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.1/openLuup/rooms.so' no file '/usr/lib/lua/5.1/openLuup/rooms.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './openLuup.so' no file '/usr/local/lib/lua/5.1/openLuup.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.1/openLuup.so' no file '/usr/lib/lua/5.1/openLuup.so' no file '/usr/local/lib/lua/5.1/loadall.so'
      Plugins
    • Starting with smart home development

      H

      Hi,

      I hope this is the correct place to ask. I wanted to start with developing smart home systems where I use a raspberry pie as a server and communicate through a phone or tablet.
      But I do not know where to and how to start, I have knowledge in developing Web Application, Java and a bit react native.

      But which Development Language is good for smart home development? Would it be possible to achieve smart home projects with Webapplication and smarthphone app if they communicate with the same server?

      Which additional knowledge do I need except development language? I looked on the internet a bit, but kinda got lost with all the information in it right now about smart home.

      General Discussion
    • Object Recognition

      rafale77

      Sharing a few options for object recognition which then can be used as triggers for home automation.
      My two favorites so far:

      asmirnou/watsor asmirnou/watsor

      Object detection for video surveillance. Contribute to asmirnou/watsor development by creating an account on GitHub.

      skvark/opencv-python skvark/opencv-python

      Automated CI toolchain to produce precompiled opencv-python, opencv-python-headless, opencv-contrib-python and opencv-contrib-python-headless packages. - skvark/opencv-python

      IPCam
    • How can I remove old devices that are no longer in VERA

      H

      I have read this someone before but I cannot find the answer again. I have several devices and scenes in Vera which have been deleted so now the issue is to identify which ones they are in openluup ALTUI and remove them. I thought there was a process where you would delete the bridge and then add it again but I cant remember. Can anyone point me in the right direction?
      Thanks

      Vera Bridge
    • TRVs and heating

      C

      Hi folks

      Hope you're all keeping well.

      Working as we are in lockdown has shown some issues in the heating of our house. Basically we have a Horstmann SRT321 in the Hallway with its partner connected to the boiler. That bit all works wonderfully.
      Problem is when I'm up in the office, it gets a bit chill unless I turn the the Secure in the hallway up. But then the rest of the house get OTT.
      So I thought perhaps I could fit TRVs to all the rads (probably a good idea anyway) but unless I'm wrong, unless the SRT321 has a call for heat, there's going to be no hot water for the rads when the TRV opens.
      So I'm still cold.
      Can I associate each of the TRVs to the boiler control (in the same way the SRT321 is) and get a call for heat directly, or am I going to have to do this programatically.
      Or am I completely wrong in how to approach this?

      TIA

      C

      Hardware
    • Grafana on Docker

      akbooer

      As part of my hardware infrastructure revamp (a move away from 'hobby' platforms to something a bit more solid) I've just switched from running Grafana (a very old version) on a BeagleBone Black (similar to RPi) to my Synology NAS under docker.

      Despite the old system being on the same platform as my main openLuup instance (or, perhaps, because of this) and now with the new system the data has to be shipped across my LAN, this all seems to work much faster.

      I had been running Grafana v3.1.1, because I couldn't upgrade on the old system, but now at 7.3.7, which seems to be the latest Docker version. It's a bit different UI from the old one, and needed next to no configuration, apart from importing the old dashboard settings.

      One thing I'm missing is that the old system had a pull-down menu to switch between dashboards, but the new one doesn't seem to have that, since it switches to a whole new page with a list of dashboards. This doesn't work too well on an iPad, since it brings up the keyboard and obscures half the choices. Am I missing something obvious here?

      Thanks for any suggestions.

      Docker
    • Another transition from Vera to OpenLuup - PerH

      PerH

      So cool to find the forum of all the banned vera gurus!

      I've had a Vera Plus for about 6 years now, and have had a fairly problem free time with it compared to many other stories. The last years have however been lacking in progression in many fields i'd like to explore, so now i'm looking closely at Openluup.
      Other systems have been tested as well, but i find that the community and plugins made for vera is kind of special, and something i'd like to contribute to as well. (getting older and not wanting to change to new stuff probably plays a part too!)

      So, my stab at opeluup starts with an HP Chromebox 1 i got for free. Its a fairly powerfull thing, but as google wants to sell new ones, its now EOL.
      I wiped it clean and installed debian, as it seems to be the closest thing to raspberry which many use for openluup.

      Openluup installed fine, and i got the vera bridge working fairly well by bothering ppl at the vera forum with questions. Its now running OK, but there seems to be an issue with Icons?

      f0e29622-0397-4b84-819c-f1b632daab41-image.png

      Also at the devices tab:
      2892faff-a3ee-4f21-9db8-2a03f604fc74-image.png

      I did the "GetFiles", and I see the /icons/ is populated, but no icons. In the luup log says that its trying to GET the icon, but returns no packages.

      2020-09-15 17:04:30.818 openLuup.server:: GET /cmh/skins/default/img/devices/device_states/dimmable_light_off.png HTTP/1.1 tcp{client}: 0x55eca8d90cb8 2020-09-15 17:04:30.819 openLuup.server:: request completed (0 bytes, 0 chunks, 0 ms) tcp{client}: 0x55eca8d90cb8

      I do have a UZB stick on the way, but before i go down that road i'd like to be sure that the installation is stable and sound.. Do I have all the nessecary packages/background processes? I did install cjson which helped on some things..

      Also fairly new at linux in general, so bear with me. 😉

      Roadmap:

      Get the openluup/AltUI running smoothly
      Transfer Z-wave devices
      Transfer 433 devices (RFXtrx plugin)
      Transfer Zigbee devices (Vera or mabye ezlo plus? zigbee stick?)

      more questions will follow!

      Blogs
    • z-way-server 3.1.0 release

      rafale77

      Just upgraded to 3.1.0 and am happy to report that it has not impacted the z-way bridge for openLuup.

      I am now seeing the SDK version for firmware 5.39

      Screen Shot 2020-09-03 at 09.23.54.png

      Z-Wave.me
    • Z-way token Expiration

      rafale77

      @akbooer, I just woke up to a z-way bridge token expiration again forcing me to login again and reload openluup. It appears to happen once a week. It doesn't appear that the auto renewal of the token is working?

      Zway Bridge
    • New pi - clone existing image?

      P

      Hello - the new pi has arrived with uzb. As an installation shortcut is there a way of 'factory resetting' openluup if I cloned the working image on my other pi ... or is that a really bad idea?

      openLuup
    • UZB Long Range

      R

      Hi guys,

      Does anyone know if the UZB supports Long Range already? I can't find which chip is in there.

      Z-Wave.me
    • io.popen: cannot allocate memory error

      therealdb

      I have a script calling io.popen to get the file system partition info, running on the Vera to check for space, and it's getting "cannot allocate memory error".

      Any suggestions, beside doing a luup.reload?

      Code/Snippet library
    • Switched from RaZberry to UZB

      K

      Night and day difference for me. I think I was getting a lot of interference in my media closet. Devices were very slow to respond and sometimes not at all. Switched to UZB and used a USB extender to place it a good 5 ft from the location of my pi. Now things are fast and reliable.

      Z-Wave.me
    • Amcrest/Dahua Camera Plugin streaming and PTZ for openLuup/ALTUI

      rafale77
      rafale77/Amcrest-Dahua-Openluup rafale77/Amcrest-Dahua-Openluup

      Plugin for Amcrest/Dahua Cameras on openLuup. Contribute to rafale77/Amcrest-Dahua-Openluup development by creating an account on GitHub.

      Plugins
    • MQTT Plugin

      rafale77

      I am looking at making openLuup to act as an MQTT client for a variety of applications. I may write a plugin for it myself based on either of these two libraries:

      xHasKx/luamqtt xHasKx/luamqtt

      luamqtt - Pure-lua MQTT v3.1.1 and v5.0 client. Contribute to xHasKx/luamqtt development by creating an account on GitHub.

      Yongke/luamqttc Yongke/luamqttc

      A lua mqtt client which support MQTT version 3.1.1 - Yongke/luamqttc

      Still have to learn the details of how it would work. If people have ideas, feel free to post here!

      Plugins
    • Z-way backup strategy

      A

      For all systems backup is a vital part of the long-term usability.

      I thought that I describe my set up with Z-way so far. Hopefully others can fill in with their backup thoughts as well. I am sure that there are much more streamlined ways of doing this and hope to learn from you all.

      I run Z-way on a Raspberry Pi 3B+ with a daughter RaZberry card. In order to reduce the risk of getting corrupt SD cards I have it running off an SSD. So far this works very well. Setting it up was really easy just reading a standard Raspbian image onto the SSD. The only minor obstacle was that I had to test a few old 2.5" enclosures to find one that the Pi liked.
      The Pi is then also powered via an UPS, hopefully this will avoid problems in the event of power outages.

      In order to backup Z-way I have so far done manual backups from the regular Smarthome backup & restore function creating .zab files and from the Expert UI creating .zbk files. As far as I have understood the .zab files which are bigger contain more information than the .zbk files. The strategy so far has been to make backup files after each inclusion/exclusion. Also before updating Z-way. I have yet to test restoring from these files.

      From Smarthome it is also possible to set up cloud backup. I have not yet set up this as I need to decide that it is safe enough to do so. On the other hand I had this set up on my two Veras.
      It would have been nice to be able to schedule a local backup of Z-way instead of having to put them in the cloud, perhaps from OpenLuup via the Z-way bridge?

      In addition to the built in backup function I try to do complete image copies of the SD cards on my Pi's with Win32DiskImager. When I moved to an SSD the image file grew to the size of the SSD since it is a raw copy including all the empty space. Image files of 160GB are not practical to handle so I found a good instruction on how to shrink the .img file with Gparted in Linux: https://steemit.com/raspberrypi/@wizzle/shrink-raspberry-pi-images-using-windows-virtualbox-running-raspberry-pi-desktop
      By shrinking the .img file with Gparted it is now a more reasonable 4GB. These file are stored on my NAS for safekeeping. The strategy here so far is to make a new image file before updating Z-way and to use these in combination with more frequent Z-way backups.

      I have tested restoring a Gparted shrinked .img file to the SSD when my Z-way for some strange reason became unreachable through the regular UI but remained reachable through the Expert UI. Always good to test the restore function and to see that it works. 🙂

      The downside of the .img strategy is that I need to power-off the Pi for a while when making the backup. However if the Z-way backup files work then the complete .img backup need not be done so very often.

      //ArcherS

      Z-Wave.me
    • Iphone locator - Grafana?

      PerH

      Anyone here that has visualized the location from iphone locator in grafana?

      found the "World Map" panel for grafana, but haven't figured out how to make it display yet..

      Plugins
    • Getting status update from device

      DesT

      Probably @rafale77 will jump on this question first 😉

      I'm using the new model of GE/Jasco switch (they replaced the dead one I got) and the new model is having also S2 security and send instant status update BUT,

      And probably @rafale77 will say yes, is it possible that interference can do that I'm missing some instant update status ?

      Often, I'm having the wrong status in the zwave.me web interface...and even clicking the icon, the status didn't changed to right one.

      I also try to do some "On/Off" using the web interface, and the device itself physically, toggle without a problem, but the web interface is still no correct.

      Z-Wave.me
    • FAN dimmer device

      DesT

      @akbooer

      Do you think it could be possible to have a custom device for "dimmer" that instead of having the slider from 0 to 99 will give us Off/Low/Medium/High and will send 0,30,60,90 ?

      openLuup
    • Sudden offset in temperature reading

      PerH

      One of my aqara sensors suddenly stated that the temperature in the garage passed +650 degrees.. I checked, and it wasn't. 😉

      Both humidity and pressure is reading normal levels - i guess this must be a HW error?

      Its not dead either, just severely offset:
      13d464d7-8a77-4740-95bf-6ed3a59515b8-image.png

      Zigbee
    A
    • Profile
    • Following 0
    • Followers 1
    • Topics 8
    • Posts 60
    • Best 8
    • Groups 0

    a-lurker

    @a-lurker

    15
    Reputation
    23
    Profile views
    60
    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.

      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 Jan 27 there were 69 plugins available:

      ALTHue
      ALTUI
      Aeratron fans
      Amcrest Dahua
      AutoVirtualThermostat
      BroadLink-Mk2
      Countdown Timer - originated by Futzle
      DALI Planet
      DarkSky Weather
      DataYours
      DelayLight
      DeusExMachina
      Domoticz Bridge - non functional: needs work check here
      DreamColorLedRGB
      EDS One Wire Server - originated by Chris Jackson
      EKM metering
      Ecobee
      Emby Interface
      Enphase Envoy Solar Monitor
      EventWatcher
      Ezlo Bridge
      FritzBox Sensor
      Google Calendar 3
      Harmony Hub Control
      Heliotrope - originated by Futzle
      HundredGraphs Logger
      IKEA Tradfri
      IPX800
      IPhone Locator
      Image Map Remote
      Info Viewer for Vera only
      Irrigation Caddy
      KSenia Lares 16 Bridge
      LuaView
      Netatmo
      Network Monitor
      OpenSprinkler
      OpenTherm Gateway
      openWeather
      Paradox EVO IP150 web page scrapper
      Pioneer Receiver
      RGB Controller
      RaZberry (ALPHA)
      Rachio
      Rainforest Eagle - based on robertmm's work.
      Reactor
      Rules Engine
      SMA inverter
      SiteSensor
      Smartmeter Reader
      Solar Meter
      Sony Bravia IP
      Surveillance Station Remote (BETA)
      Switchboard
      Telegram
      Tesla Car
      UPS Sensor
      UPnP Event Proxy - OpenWRT only - originated by Futzle
      VW CarNet
      VeraAlexa
      Virtual HTTP Devices
      Virtual Pronto Remote
      Virtual Sensor
      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: 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: 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: Yamaha Plugin

      Logs are are "good".

      posted in Plugins
      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: Domoticz Bridge

      Does all this, which is no longer usable:

      local chdev		= require "openLuup.chdev"
      local json		= require "openLuup.json"
      local rooms		= require "openLuup.rooms"
      local userdata	= require "openLuup.userdata"
      local loader	= require "openLuup.loader" -- thank @akbooer for the hint about device file info
      
      posted in Plugins
      A
      a-lurker
    • RE: How can I remove old devices that are no longer in VERA

      Devices and scenes have hopefully been moved to openLuup. Least stuff on Vera the better and every thing starts to work.

      If I remember correctly unused devices and scenes end up in the dreaded "Room 101", where they can be deleted.

      posted in Vera Bridge
      A
      a-lurker
    • RE: Tinkering with Tasmota sensors

      @archers said in Tinkering with Tasmota sensors:

      One possible upside with Tasmota is that it does not suffer from the lock-in problems that I have understood that e.g. Broadlink does from time to time when the manufacturers want to keep the users in their cloud

      Yes - it's a problem and your solution is a good Broadlink replacement for IR. Tosmota also has a very capable IR send library, including some excellent Aircon drivers. The library that's being used, can send Pronto as well, so I'm unsure why it's not made available. May be it is but just not documented. It can also do Global Caché. Would be good to ask the question on that forum.

      void sendPronto(uint16_t data[], uint16_t len, uint16_t repeat = kNoRepeat);
      void sendGC(uint16_t buf[], uint16_t len);
      void sendRaw(const uint16_t buf[], const uint16_t len, const uint16_t hz);
      
      

      If you post some pronto codes that you know definitely work on your AV device/s (NOT aircons) and you say what they do and what manufacturer and type of device eg TV, DVD, etc than I could have a look supporting Tasmota IR. Assuming you are in position to test the result.

      Learned codes are OK but you need to learn every single one of interest, which is a pain. If the codes are generated you can use what's already known.

      IR database

      It's just a matter of identifying the correct code set and using the associated pronto codes. Hope this makes some sense.

      posted in Hardware
      A
      a-lurker
    • RE: Tinkering with Tasmota sensors

      I like the Tasmota stuff but the devices would probably become a management nightmare as time goes on, or as the number of devices is increased. However, is it worthwhile me having a look at supporting the Tasmota IR device with this plugin or maybe not?

      The Tasmota interface is a bit lacking as it follows no standard. This list

      "Protocol" or "Vendor" (select one of the following):
      RC5, RC6, NEC, SONY, PANASONIC, JVC, SAMSUNG, WHYNTER, AIWA_RC_T501, LG, MITSUBISHI, DISH, SHARP, DENON, SHERWOOD, RCMM, SANYO_LC7461, RC5X, NEC (non-strict), NIKAI, MAGIQUEST, LASERTAG, CARRIER_AC, MITSUBISHI2, HITACHI_AC1, HITACHI_AC2, GICABLE, LUTRON, PIONEER, LG2, SAMSUNG36, LEGOPF, INAX, DAIKIN152
      

      includes duplicates, as some such as LG, are based on NEC format. Formats have already been well defined here.

      Also listing out working codes like this will become untenable in the long term. It's already been done here.

      Perhaps the Virtual Pronto Remote plugin could also produce raw "Tasmota" codes, so they could be used through this Tasmota interface?

      I don't have the hardware, so can't test it. Might also have to rename the plugin as it will do output more than pronto codes.

      It would be easier to encourage the Tasmota people to allow Pronto codes to be sent, which is an extremely popular format?

      posted in Hardware
      A
      a-lurker
    • RE: Cloning scenes in openLuup and AltUI

      People tell me all the time I'm on the artistic spectrum. Regardless looking forward to everything being lined up from lowest to highest with no holes. And it's surely AltUI not ALTUI. 🤨

      posted in openLuup
      A
      a-lurker
    • RE: Cloning scenes in openLuup and AltUI

      @rafale77 said in Cloning scenes in openLuup and AltUI:

      Idea for a feature request of the openLuup console maybe?

      I thought it did this already but if not, that's what I was suggesting in this post way back:

      See at the other place

      posted in openLuup
      A
      a-lurker
    • Cloning scenes in openLuup and AltUI

      I was trying to change the ID of a couple of scenes and came to the conclusion you can't do this without stopping openLuup, hacking user_data.json and restarting openLuup, which is a pain. (May be this could be added to openLuup ie be able change any scene ID to a non used one.)

      So I figured I would try and clone some of the scenes with the idea that I could then manually swap their contents around. Why would I want to do this? Just to make my scene management a bit more simple as all my scenes call the one pile of Lua code. I also wanted to make use of unused scene IDs sprinkled through the scene ID list.

      My understanding was the clone would occupy the first unused scene ID. Using AltUI, it just adds the clone on to the end of the list of scene IDs. In openLuup using the console page it failed to create the clone. Hits the URL OK:

      http://openLuup:3480/console?action=clone&scene=14
      

      Says this in the log:

      GET /console?action=clone&scene=14 HTTP/1.1 tcp{client}: 0x2c05008
      

      Searched high and low and no clones to be found.

      I see that AltUI does a create when it clones:

      openLuup.server:: GET /data_request?id=scene&action=create&json=WITH_ALL_THE_SCENE_INFO_HERE
      

      Any ideas?

      posted in openLuup
      A
      a-lurker
    • Virtual Pronto Remote plugin

      Well, I disappeared down a rabbit hole on a different mission and resurfaced with this monstrosity.

      What does it do?

      It translates button functions for various (certainly not all) IRP protocols to Pronto codes. These can then be sent by a plugin that sends Pronto Codes to IR transmitters - such as the BroadLink Plugin or the GC100 Plugin (or similar).

      The IRP protocol "Device", "Subdevice" and "Function" numbers are stored in a json file as buttons for "virtual remotes".

      So you could have say three physical IR transmitters and want to command different AV devices (ie TVs, AVR, Xmas tree, etc) in the vicinity of those various IR emitters.

      The button codes are far less cumbersome than heaps of pronto codes. You can set up a virtual remote for each AV device in the json file. Each physical emitter can be assigned to any virtual remote. And away you go!

      Well - you already have a pile of pronto codes already running just fine? However, as the plugin "manufacturers" pronto codes, you could also use it to scan/search for functions for any AV device you may have. GitHub has an example for Pioneer: SearchForButtonCodes.lua

      Read about the IRP protocol

      Find "Device", "Subdevice" and "Function" codes:

      IR database

      Plugin details in:

      GitHub

      Install via AltUI:

      Plugins available via AltUI

      Panasonic plasma TV json.jpg

      Panasonic plasma TV web page.jpg

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

      Logs are are "good".

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

      The DebugEnabled flag should be available in the variables section. Have you restarted openluup and your browser a couple of times? In openLuup you can see the log(s) easy enough:

      http://your_openLuup_IP:3480/console?page=home

      Even without the debug enabled, the logs should tell you something. Make your you check the "startup_log" as well as the others.

      posted in Plugins
      A
      a-lurker