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. RogerO
    3. Followers
    For those who registered but didn't received the confirmation email, please send an email to support@smarthome.community with the email you used
    • 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
    • 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
    • Facial recognition triggering automation

      rafale77

      I have optimized my facial recognition scheme and discovered a few things:

      My wifi doorbell, the RCA HSDB2, was overloaded by having to provide too many concurrent rtsp streams which was causing the streams themselves to be unreliable:
      Cloud stream
      stream to QNAP NVR
      stream to home assistant (regular)
      stream to home assistant facial recognition.

      I decided to use the proxy function of the QNAP NVR to now only pull 2 streams from the doorbell and have the NVR be the source for home assistant. This stabilized the system quite a bit.

      The second optimization was to find out that by default home assistant processes images every 10s. It made me think that the processing was slow but it turns out that it was just not being triggered frequently enough. I turned it up to 2s and now I have a working automation to trigger an openLuup scene, triggering opening a doorlock with conditionals on house mode and geofence. Now I am looking to offload this processing from the cpu to an intel NCS2 stick so I might test some other components than Dlib to make things run even faster.

      IPCam
    • Ideas of project...

      DesT

      Curious to know if anyone play with Z-Uno to create some "z-wave sensors"

      Z-Uno
    • (Need Help) Migrate off Vera

      M

      Current Hardware: Vera Plus, HA in Synology Docker
      Firmware: v.7.0.31
      Available SW / HW: Multiple RPi's, Z-Way UZB w/lic, Z-Way Razberry board
      ZWave Devices: 30-ish early gen GE/Jasco light switches

      Issue: I've gotten myself into a spot that I'm not quite sure how to safely get out of, and I'm hoping someone on this forum can help me. I would ultimately like to get to a point where I'm using Home Assistant in Docker on my Synology as my UI for turning on/off lights, but I've read the "Pyramid" post and am open to other options. I can currently ssh to my Vera Plus, but cannot access the web UI (get a 403).

      How I Got Here:

      Back in Feb'19, I followed @rafale77's instructions to take my Vera off the grid. At the time, it looks like I was running version 7.0.26. This worked great.

      I installed HA in Docker w/socat on my Synology NAS, and things were running perfectly for a long time, but I was forced to upgrade HA in tandem with an upgrade to the iOS app. So, I chose to use a Docker build that already had socat built in.

      Then, I saw that there was a new version of firmware for Vera, and decided to upgrade to Firmware v.7.0.31 around Apr'20. This was a mistake in a big way, and I sought help on the new version of the Vera forums, which eventually led me here. I also re-ran @rafale77's mod files on the newer firmware version, and I think I shot myself in the foot there. I knew it was gamble, and take full responsibility. I've learned a lot and have benefitted greatly from his work.

      I tried to run the Nuke Vera script, as that sounded exactly what I needed my Vera to do - take commands from HA and nothing else. This seems to be working, but I'm unable to control my network with HA.

      Additional things I've done / tried / worry about:

      Validated that HA is sending and receiving responses via socat from the Vera in the HA openzwave logs. I see logs that seem to indicate that a message is sent, and a message comes back from the Vera, but lights don't turn on/off. I've clicked the Heal Network, Test, Network, and Soft Reset buttons in the HA UI too.

      I purchased a razberry. Then, I ordered a UZB, after seeing this post about migrating, assuming that it was best to try to follow that guide verbatim and not have to exclude / include a bunch of devices. I'm leaning towards completely divorcing myself from Vera.

      I'm not 100% sure I have a valid backup of my zwave config. There are no dongle.dump files in /etc/cmh whch may make sense, as I was using after an external drive w/extroot. I do have some in ./mnt/sda2/etc/cmh/. It looks like I've got extra, actually, as it looks like I probably made backup copies some where along the way.

      I shutdown the Vera and removed the extroot drive, reversed all of the changes Nuke-Vera made to the init.d start up files, and rebooted. I did this because the migration guide mentions to set the path of the z-way UZB in the UI settings, and I couldn't find how do this over ssh. I also don't know how to backup the zwave config from the CLI and was going to do this via the UI. As mentioned previously, I'm getting a 403 "Access Denied" message. Looking at logs and the config for lighthttpd, I think it is trying to follow some symbolic links that no longer exist, but I'm hoping I can get out of the mess I've made without troubleshooting and solving the HTTPD issues. I think I just need to know how to follow the steps to clone the Vera to the UZB via the CLI?

      I found a command online method that allows me to view the zwave keys with hexdump. The keys on the device are different than the keys in on the drive that i was using for extroot, and that concerns me a bit.

      If you've made this far, thanks for your time! Does anyone know the best way for me to get myself out of the mess I've got myself into?

      All the best,
      Michael

      Vera
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 25
    • Best 2
    • Groups 0

    People who follow RogerO

    This user doesn't have any followers :(
    • 1 / 1