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
    (Last Updated: January 18, 2021)
    For those who registered but didn't received the confirmation email, please send an email to support@smarthome.community with the email you used
    • 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
    • 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
    • New plug-in: Vera-HABridge to sync HA-Bridge status from Vera to Alexa

      therealdb

      So, I was bored to see all those "device not responding" banners in the Alexa app and I created a new plug-in:

      dbochicchio/Vera-HABridge dbochicchio/Vera-HABridge

      Luup plugin to syncronize Vera/openLuup status to HA-Bridge and Alexa. - dbochicchio/Vera-HABridge

      This will update your devices' status to HA-Bridge and Alexa will finally reflect the correct status!

      Just install, insert the HA-Bridge IP and port and you're done. It will work with lights and scenes (scene just to update the status and remove the "device not responding" banner). Colors are not supported, because

      It will work with Vera bridged on openLuup, but HA-Bridge accessing the Vera's device directly (there's a special variable, look at the logs).

      Very beta, feedback appreciated as always 🙂

      I hope they'll add a way to query the status via voice soon 😉

      Plugins
    • OpenSprinkler

      DesT

      The latest/working version of OpenSprinkler for openLuup, is it the one from @therealdb ?

      Plugins
    • Virtual Pronto Remote plugin

      A

      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

      Plugins
    • Alexa guard via Vera-Alexa and spoken command support

      therealdb

      So, Amazon recently released the ability to execute spoken commands.

      dbochicchio/VeraAlexa: Alexa plug-in for Vera and openLuup. (github.com)

      Using my plug-in, you could just do something like this:

      luup.call_action("urn:bochicchio-com:serviceId:VeraAlexa1", "RunCommand", {Command="-e textcommand:'Alexa, I’m leaving' -d 'Bedroom'"}, 666)

      Or any spoken command that's not directly accesible via routines. Something like

      "Play music everywhere"
      "TV volume to 32"
      "Pause TV"

      and much more 🙂

      Give it a try!

      Plugins
    • Telegram Plug-in to send text, images and video notifications

      therealdb

      As another one asked for it on the other forum, I finally created a new plug-in for Telegram notifications: https://github.com/dbochicchio/vera-Telegram/

      You can:

      send text messages send (still) images send videos (gif or mp4) send silent notifications

      I remember @CatmanV2 was searching for something similar (maybe?).

      I'm using it to send push notifications to me and my wife, using a group. I have my own code streaming my cameras and sending a video as gif based on certain events (ie motion sensors or door/entryways left open). While this part is not included into the plug-in, if you're able to get a video yourself (by pointing to a URL), you'd good to go. Still images from cams (or, let's say, your favorite weather map, or any video/gif/image on the Interner ot local) are supported as well.

      100% compatible with bot Vera and openLuup (where it was developed, anyway).

      Feel free to ask questions or suggest new features.

      Plugins
    • Yamaha Plugin

      C

      Anyone using the Yamaha plugin currently? I installed it from the AltAppStore and put in the IP in the Attribute field but it never connects to it. This was working fine on the Vera side.

      Plugins
    • Setting up RFXCom Plugin in standalone OpenLuup

      PerH

      Currently there's no beginners guide to installing RFX plugin on OpenLuup without Vera that i could find, so i'd thought i'd make one.

      This is made on Debian 10.6 (Buster).

      First: Download the files. The thread on the Vera forum is the place to find the newest version (Currently 1.96), but i found it to have several issues in Openluup.
      Auto create makes multiple instances of sensors, and I had a couple of "all sensors disappeared" instances!

      I use 1.41, which works perfectly as long as you can use Type1/Type2/ext/ext2 FW.
      Download from this thread

      Once you got the files into /cmh-ludl/ you can proceed to create the device in OpenLuup. In devices - click "Create".

      2fd93a27-c760-49bd-b984-9443a905837e-image.png

      Sometimes its nessecary to move the RFX..Png file to /cmh-ludl/icons/ to get the correct icon in OpenLuup.

      Next is to get the RFX up and running, for that you need ser2net. Installation instructions

      Ser2net needs to find the USB, and to fint the address, do this:

      user@device:~$ cd /dev/serial/by-id/ user@device:/dev/serial/by-id$ ls usb-0658_0200-if00 usb-RFXCOM_RFXtrx433_A118TU8K-if00-port0 user@device:/dev/serial/by-id$

      this ID can be used in the /etc/ser2net.conf, at the end of the file:

      # found in /usr/share/doc/ser2net/examples BANNER:banner:\r\nser2net port \p device \d [\s] (Debian GNU/Linux)\r\n\r\n 2000:telnet:600:/dev/ttyS0:9600 8DATABITS NONE 1STOPBIT banner ... 3001:telnet:600:/dev/ttyS1:19200 8DATABITS NONE 1STOPBIT banner 3485:raw:0:/dev/serial/by-id/usb-RFXCOM_RFXtrx433_A118TU8K-if00-port0:38400 8DATABITS NONE 1STOPBIT

      The port can be whatever you want (almost), the default in the RFX plugin is 10000
      Save and restart ser2net.

      Back in OpenLuup, go to the "Attributes" tab of the RFX Plugin,and ensure that the IP address is correct:
      6391e20b-6f4c-4101-8633-6ee1e01fb905-image.png I'm using a local USB, but this might as well be on a different device on your network.

      Now, go to the "Variables", and insert the correct port number in "IPPort" variable.

      If all goes well, the plugin should be good to go after a Luup Reload!

      Plugins
    • Virtual Devices Plug-in update (with async HTTP support)

      therealdb

      I just published an update to my Virtual Devices Plug-in.

      What's new in version 1.5:

      support for async HTTP (out of the box on openluup, just download https://github.com/akbooer/openLuup/blob/master/openLuup/http_async.lua and copy with the plug-in files on Vera) experimental support for setpoints management in Virtual Heaters (you know, the device will turn itself off if temperature is reached, and automatically on when temperature is not beyond the setpoint) external device for temperature in Virtual Heaters (just set urn:bochicchio-com:serviceId:VirtualHeater1/TemperatureDevice variable) small fixes, stabilization

      Grab your copy from https://github.com/dbochicchio/vera/tree/master/VirtualDevices

      As always, 100% local, 100% apps friendly, 100% supported by Alexa (and Google Home, I guess).

      Plugins
    • iPhone Locator force refresh error

      C

      Anyone any idea what this might mean? We have two iPhones. Mrs C's and mine. Mine is totally fine. Mrs C's says 'forceRefresh error, check logs / 300 s' and refuses to tell me where she is 😉

      Same settings in both instances (in fact I have created a second instance for Mrs C and that does the same). I know the username / password are correct, and the iCloud list populates in the right manner.

      The log has this:

      2020-07-05 11:58:55.866 luup_log:25: IPhoneLocator: loop: an error occurred during execution of forceRefresh():[string "L_IPhone.lua"]:639: attempt to index local 'obj' (a nil value) 2020-07-05 11:58:55.866 luup.variable_set:: 25.urn:upnp-org:serviceId:IPhoneLocator1.MsgText was: 2020-07-05 11:58 now: forceRefresh error, check logs / 300 s #hooks:0

      Any ideas?

      Cheers

      C

      Plugins
    • iPhoneLocator: Alternate Map Servers

      rafale77

      Replacing Google Map with

      Bing Map
      rafale77/IPhoneLocator rafale77/IPhoneLocator

      IPhone Locator plugin for Micasaverde VERA and openLuup - rafale77/IPhoneLocator

      Here Map
      rafale77/IPhoneLocator rafale77/IPhoneLocator

      IPhone Locator plugin for Micasaverde VERA and openLuup - rafale77/IPhoneLocator

      Both tested on openLuup

      Plugins
    • More info about alarm devices/services

      therealdb

      So, I want to expand my Virtual Devices Plugin, and add support for alarms.

      I recently reverse engineered my own alarm panel (it exposes an HTTP server, so I just watched their app and rebuilt the login), so I want to expose its event better. Right now, I just added a new security sensor in order to understand when alarm is active, and a couple of notifications to send via Telegram who activated/deactivated the alarm.

      It will probably be cool to provide something representing an alarm panel, or an alarm partition, or a security key (to log/show who activated/deactivated the alarm, in which mode and when). Right now I'm tracking this thing via various zwave/wifi sensors, but I wanted to improve and maybe benefit others.

      I searched a bit and I founded S_AlarmPartition2.xml and a plethora of very old forum posts, very old plug-ins and I'm not sure where to start. Thanks!

      Plugins
    • upnp event proxy

      A

      I've made some mods to Futzle's upnp event proxy and placed it in the AltApp store (with her permission). ie it's here in GitHub.

      Now it seems some people say it works with openLuup already. However the version released by Futzle required two things in order to function:

      the file L_UPnPProxy1.lua was expected to be compressed, as it would be on a Vera eg: L_UPnPProxy1.lua.lzo

      the hardware needs to be running OpenWrt; ie as per Vera does.

      I modified the code to fix point 1) (see the script below) but I would like to see point 2) resolved, so a RasPi can be used. That is modify the script to allow a deamon to be run on a RasPi without fiddling around with say "/etc/rc.local".

      So has any one got the proxy going on any hardware that is NOT using OpenWrt ? I'm unsure how to do it.

      Basically this script and/or the script it includes needs to be modified or even merged to suit. You'll note that after the shebang, it requires the file "etc/rc.common" (reproduced further below). The latter appears to be some sort of template file that is overriden as required by the first script. It cites "$IPKG_INSTROOT", whatever that is. However it may be possible to make use of it somehow on a RasPi?

      #!/bin/sh /etc/rc.common # Copyright (C) 2007 OpenWrt.org START=80 PID_FILE=/var/run/upnp-event-proxy.pid PROXY_DAEMON=/tmp/upnp-event-proxy.lua start() { if [ -f "$PID_FILE" ]; then # May already be running. PID=$(cat "$PID_FILE") if [ -d "/proc/$PID" ]; then COMMAND=$(readlink "/proc/$PID/exe") if [ "$COMMAND" = "/usr/bin/lua" ]; then echo "Daemon is already running" return 1 fi fi fi # openLuup: Look for the uncompressed proxy daemon Lua source. if [ -f /etc/cmh-ludl/L_UPnPProxyDaemon.lua ]; then PROXY_DAEMON_UC=/etc/cmh-ludl/L_UPnPProxyDaemon.lua elif [ -f /etc/cmh-ludl/files/L_UPnPProxyDaemon.lua ]; then PROXY_DAEMON_UC=/etc/cmh-ludl/files/L_UPnPProxyDaemon.lua # Vera 3: Else look for the compressed proxy daemon Lua source. elif [ -f /etc/cmh-ludl/L_UPnPProxyDaemon.lua.lzo ]; then PROXY_DAEMON_LZO=/etc/cmh-ludl/L_UPnPProxyDaemon.lua.lzo elif [ -f /etc/cmh-lu/L_UPnPProxyDaemon.lua.lzo ]; then PROXY_DAEMON_LZO=/etc/cmh-lu/L_UPnPProxyDaemon.lua.lzo fi if [ -n "$PROXY_DAEMON_UC" ]; then cp "$PROXY_DAEMON_UC" "$PROXY_DAEMON" elif [ -n "$PROXY_DAEMON_LZO" ]; then /usr/bin/pluto-lzo d "$PROXY_DAEMON_LZO" "$PROXY_DAEMON" fi # Close file descriptors. for fd in /proc/self/fd/*; do fd=${fd##*/} case $fd in 0|1|2) ;; *) eval "exec $fd<&-" esac done # Run daemon. /usr/bin/lua "$PROXY_DAEMON" </dev/null >/dev/null 2>&1 & echo "$!" > "$PID_FILE" } stop() { if [ -f "$PID_FILE" ]; then PID=$(cat "$PID_FILE") if [ -d "/proc/$PID" ]; then COMMAND=$(readlink "/proc/$PID/exe") if [ "$COMMAND" = "/usr/bin/lua" ]; then /bin/kill -KILL "$PID" && /bin/rm "$PID_FILE" return 0 fi fi fi echo "Daemon is not running" return 1 }

      And here is "etc/rc.common" as found in OpenWrt initscripts. Note the command actions it implements - in particular disable & enable, which set up Sxxy (start) & Kxxy (stop) files in the directory "etc/rc.d", which is not found in the RasPi directory structure:

      #!/bin/sh # Copyright (C) 2006-2009 OpenWrt.org . $IPKG_INSTROOT/etc/functions.sh initscript=$1 action=${2:-help} shift 2 start() { return 0 } stop() { return 0 } reload() { return 1 } restart() { trap '' TERM stop "$@" start "$@" } boot() { start "$@" } shutdown() { stop } disable() { name="$(basename "${initscript}")" rm -f "$IPKG_INSTROOT"/etc/rc.d/S??$name rm -f "$IPKG_INSTROOT"/etc/rc.d/K??$name } enable() { name="$(basename "${initscript}")" disable [ "$START" ] && ln -s "../init.d/$name" "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}" [ "$STOP" ] && ln -s "../init.d/$name" "$IPKG_INSTROOT/etc/rc.d/K${STOP}${name##K[0-9][0-9]}" } enabled() { name="$(basename "${initscript}")" [ -x "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}" ] } depends() { return 0 } help() { cat <<EOF Syntax: $initscript [command] Available commands: start Start the service stop Stop the service restart Restart the service reload Reload configuration files (or restart if that fails) enable Enable service autostart disable Disable service autostart $EXTRA_HELP EOF } . "$initscript" ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}" list_contains ALL_COMMANDS "$action" || action=help [ "$action" = "reload" ] && action='eval reload "$@" || restart "$@" && :' $action "$@"
      Plugins
    • create another countdown timer in openluup

      E

      On my VeraPlus I use the Countdown timer plugin. If I click on details via my apps, I can create multiple timers. Now I want to switch to openluup and have installed the Countdown timer plugin via appstore. Only 1 timer is visible. Is it possible to create more timers

      Plugins
    • BroadLink Mark II plugin

      A

      The plugin has been updated to ver 0.56 which improves the RF learning procedure. It also recognises some of the newer RM4 devices (thanks Bruce Lacey).

      Existing uses just need to upload the "L_BroadLink_Mk2_1.lua" file.

      RF learning has been improved but is never particularly reliable. You can invoke testing by executing this code in the Lua Test box:

      local DeviceID = the_id_of_the_IR_child_device luup.call_action('urn:a-lurker-com:serviceId:IrTransmitter1', 'LearnRFCode', {}, DeviceID) return true

      Running the code illuminates the LED on the BroadLink device. If you do nothing at this point, the learning times out after about 24 seconds and the result is "No RF code was learnt".

      While in the learning mode, tap the remote button to be learnt, every 2/3 of a second or so. If the LED goes out (typically after about say 5 seconds) some result was learnt.

      The result can be found in the parent device by looking at the variable "LearntRFCode". However, it is far easier to look at the log file, which logs the process as it proceeds and also the result. You need to learn a few results to try and determine if the results are at all consistent.

      Plugins
    • AltUI Behaviour

      C

      Hi
      I've got a licence for AltUI. On my laptop, it's shown and my configuration of favourites etc is saved.
      On my desktop, there's a licensing message and none of my favourites are there.
      Are licences per machine or per instances of AltUI?

      Cheers

      C

      Plugins
    • DarkSky weather plugin...

      DesT

      As @mrFarmer aka Reneboer is here..

      Are you thinking to remove darksky API and use something else as Apple take over DarkSky 😉

      Plugins
    • Alarm Clock

      C

      Morning, all

      Not sure if there's an alarm clock currently available for Openluup? While not perfect, it wasn't too bad for use.

      Might it just be a case of extracting the files from Vera and creating a new device?

      Cheers

      C

      Plugins

    Amcrest/Dahua Camera Plugin streaming and PTZ for openLuup/ALTUI

    Plugins
    3
    40
    336
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rafale77
      rafale77 last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • R
        RHCPNG last edited by

        Hi @rafale77,

        This is great! I have some Amcrest camera’s. Why isn’t this in the AltUI store? Any pointers on how to set this up?

        1 Reply Last reply Reply Quote 0
        • rafale77
          rafale77 last edited by rafale77

          Good question. I never thought about putting it up there because nobody asked. I certainly could post it there.
          The setup is very straightforward. Just put in the IP of the camera (it's a device attribute) and the credentials (these are variables) and it should work after a luup reload:
          I am using it to control preset positions PTZ so it changes position depending on time of the day.

          Screen Shot 2020-10-19 at 13.24.18.png

          Screen Shot 2020-10-19 at 13.24.46.png

          Screen Shot 2020-10-19 at 13.27.11.png

          1 Reply Last reply Reply Quote 0
          • R
            RHCPNG last edited by

            Great! I should put the files on openluup and then create a device, right?

            1 Reply Last reply Reply Quote 0
            • rafale77
              rafale77 last edited by

              Correct! Just the same way as the vera.

              R 1 Reply Last reply Reply Quote 0
              • R
                RHCPNG @rafale77 last edited by

                @rafale77 How do I install the plugin? I have created the device, but I don't have any variable "DirectStreamingURL" and where do I put in the username and password?

                1 Reply Last reply Reply Quote 0
                • rafale77
                  rafale77 last edited by

                  Bear with me a couple of days... I think I have learned enough lua now to be able to do a much better job and will rewrite it is such a way that will be easier to install.

                  1 Reply Last reply Reply Quote 0
                  • R
                    RHCPNG last edited by

                    Ok, that's cool. No hurry!

                    1 Reply Last reply Reply Quote 0
                    • rafale77
                      rafale77 last edited by rafale77

                      Ohh my gosh, shame on me... It turns out the version posted on github is not even the latest version I am running. I will be reposting in a few minutes.

                      Edit: And now it should be much better. I also published the plugin on the AltAppStore.

                      R 1 Reply Last reply Reply Quote 1
                      • R
                        RHCPNG @rafale77 last edited by

                        @rafale77 Thanks for that! I have installed the plugin from the AltAppStore, but I'm getting the same result. No URL variable.

                        And also the files on github seem to be the same (looking at the date).

                        1 Reply Last reply Reply Quote 0
                        • rafale77
                          rafale77 last edited by

                          You should only need to update 2 files (the I_ and the L_ files) which are 3 days old on GitHub? The url and username/password variables should all be autocreated upon luup reload.

                          1 Reply Last reply Reply Quote 0
                          • R
                            RHCPNG last edited by

                            I can't get it to work, the variables don't show up. I have even removed all files from openluup and started over, but same result every time. Any ideas?

                            1 Reply Last reply Reply Quote 0
                            • rafale77
                              rafale77 last edited by rafale77

                              Ok, I think I have now a pretty good idea of what happened. It would be helpful if you could look at your logs to find out what the error is though.
                              The issue seems to be that my installation of openLuup is not quite "vanilla" as I have made a few minor modifications to it and am also running it on LuaJIT along with some additional libraries instead of the standard Lua5.1 interpreter. I will make a minor edit to try to fix it.
                              Please try it and report back with what error you see in the logs if any.

                              You can look into the openLuup section of the forum to see what changes I made to my openLuup installation. I basically decreased the CPU load by >75%

                              https://smarthome.community/topic/151/rapidjson-instead-of-cjson-and-dkjson
                              https://smarthome.community/topic/179/luajit

                              Only change is to the L_Amcrest.lua file so you can just replace that file in your installation and reload.

                              akbooer R 2 Replies Last reply Reply Quote 0
                              • akbooer
                                akbooer @rafale77 last edited by

                                @rafale77 said in Amcrest/Dahua Camera Plugin streaming and PTZ for openLuup/ALTUI:

                                I basically decreased the CPU load by >75%

                                ...although, it has to be said, from a pretty small starting level anyway?

                                rafale77 1 Reply Last reply Reply Quote 0
                                • rafale77
                                  rafale77 @akbooer last edited by

                                  @akbooer

                                  Yes, indeed:
                                  My setup with all the plugins and bridges was hovering around 6-8% CPU load with spikes to 14-18% when I opened an ALTUI page.
                                  Now I hover between 1.5-2.5% with spikes to 4-4.5% with ALTUI opened.

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    RHCPNG @rafale77 last edited by

                                    @rafale77 Thanks, I will test it tomorrow.

                                    1 Reply Last reply Reply Quote 0
                                    • rafale77
                                      rafale77 last edited by

                                      Released version 0.3 in the App store.
                                      I realized much simplification was possible with the newer versions of openLuup and that digest actually works with luajit.

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        RHCPNG last edited by RHCPNG

                                        Ok, we are a step further. All variables are there now. Firstly, there is a small error in the DirectStreamingURL though. The brackets should not be there.

                                        5acf4d18-5c1a-40d2-8b57-95b33d78c17e-image.png

                                        I have removed them, but still no image.

                                        This is the only thing I get in the log:

                                        2020-11-22 09:56:05.011   luup.variable_set:: 93.urn:micasaverde-com:serviceId:HaDevice1.CommFailureTime was: 0 now: 0 #hooks:0
                                        2020-11-22 09:56:05.011   openLuup.scheduler:: [93] Lobo device startup completed: status=true, msg=Ready, name=Lobo
                                        2020-11-22 09:56:05.011   openLuup.scheduler:: [297] Amcrest Dahua device startup
                                        2020-11-22 09:56:05.011   luup.set_failure:: status = false
                                        2020-11-22 09:56:05.011   luup.variable_set:: 297.urn:micasaverde-com:serviceId:HaDevice1.CommFailure was: false now: false #hooks:0
                                        2020-11-22 09:56:05.011   luup.variable_set:: 297.urn:micasaverde-com:serviceId:HaDevice1.CommFailureTime was: 1606035145 now: 1606035365 #hooks:0
                                        2020-11-22 09:56:05.011   luup.variable_set:: 297.urn:micasaverde-com:serviceId:HaDevice1.Commands was: camera_full_screen,camera_left,camera_right,camera_up,camera_down,camera_preset,camera_zoom_in,camera_zoom_out now: camera_full_screen,camera_left,camera_right,camera_up,camera_down,camera_preset,camera_zoom_in,camera_zoom_out #hooks:0
                                        2020-11-22 09:56:05.011   openLuup.scheduler:: [297] Amcrest Dahua device startup completed: status=, msg=, name=
                                        2020-11-22 09:56:05.012   luup_log:3: ALTUI: UPNPregisterDataProvider(3,Vera@192.168.1.14,http://127.0.0.1:3480/data_request?id=lr_HTTP_VeraBridgeMirror_192.168.1.14,[{
                                          "default":"device.serviceId.name",
                                          "key":"mirror",
                                          "label":"Mirror",
                                          "type":"text"
                                        }])
                                        2020-11-22 09:56:05.012   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.DataStorageProviders was: {"emoncms":{"url":"","callback":"sendValueToStorage_emoncms","parameters":[{"default":1,"type":"number","key":"node... now: {"Vera@192.168.1.14":{"url":"http://127.0.0.1:3480/data_request?id=lr_HTTP_VeraBridgeMirror_192.168.1.14","callback... #hooks:0
                                        2020-11-22 09:56:05.012   luup_log:3: ALTUI: UPNPregisterPlugin(3,urn:schemas-toggledbits-com:device:SiteSensor:1,J_SiteSensor1_ALTUI.js,SiteSensor_ALTUI.DeviceDraw,,,,SiteSensor_ALTUI.Favorite)
                                        2020-11-22 09:56:05.016   luup.variable_set:: 3.urn:upnp-org:serviceId:altui1.PluginConfig was: {"urn:schemas-micasaverde-com:device:PowerMeter:1":{"DeviceDrawFunc":"ALTUI_PluginDisplays.drawPowerMeter","ScriptF... now: {"urn:schemas-micasaverde-com:device:PowerMeter:1":{"ScriptFile":"J_ALTUI_plugins.js","DeviceDrawFunc":"ALTUI_Plugi... #hooks:0
                                        2020-11-22 09:56:05.017   luup_log:3: ALTUI: UPNPregisterPlugin(3,u
                                        

                                        BTW I have tried the complete URL in the browser and that works.

                                        1 Reply Last reply Reply Quote 0
                                        • rafale77
                                          rafale77 last edited by rafale77

                                          Good news is that the plugin code is executing.
                                          Stating the obvious but, did you check that the ip address and the credentials are setup?
                                          It is working fine here (with the brackets). The display of the stream/snapshot is actually done by ALTUI. depending on the browser you use, it may buffer a bit strangely.

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            RHCPNG last edited by RHCPNG

                                            I've put the ip-address in the attributes and the username and password in the variables yes. Maybe add the port? It doesn't need it when I put the URL directly in the browser, so probably not.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB | Contributors
                                            Hosted freely by PointPub Media Communications Inc. | Contact us