General Discussion

A place to talk about whatever you want

159 Topics 1.6k Posts
  • 0 Votes
    24 Posts
    1k Views

    @toggledbits Interesting, when you are ready for Alfa or Beta I am ready to test it out.

  • z-way device removal

    5
    0 Votes
    5 Posts
    156 Views

    It's in both of them....

    C

  • Discover IR codes for lost remote

    49
    0 Votes
    49 Posts
    5k Views

    Well, they say in life "nothing ventured, nothing gained" and thanks to this forum and stackoverflow, I’ve got a working solution.

    Code is below, any feedback on optimisation is always appreciated.

    local lfs = require "lfs" local read_file_path = "/mnt/nas/vera/text1.txt" -- # path to your file here local write_file_path = "/mnt/nas/vera/text2.txt" -- # path to your file here local pattern1 = "^.*Power.*$" -- # your pattern to find local pattern2 = "^.*0000.*$" -- # your pattern to find io.open("/mnt/nas/vera/text5.txt", 'a'):close() --local logFile = io.open(write_file_path, 'w') local logs = {} -- We will use this to log the messages to log.txt later local i = 1;for line in io.lines(read_file_path) do if (line:find(pattern1) or not line:find('%A')) and line:len() > 1 then local powerref = line logs[#logs+ 1] = 'Command: ' .. powerref elseif line:find(pattern2) then local prontoCode = line local x = 1 do x = x + 1 local pause = os.clock() print('"' ..prontoCode..'"') luup.call_action('urn:a-lurker-com:serviceId:IrTransmitter1', 'SendProntoCode', {ProntoCode = prontoCode}, 49) -- x = x + 1 -- local pause = os.clock() repeat until os.clock() > pause + 3 local time = os.date("%Y-%m-%d %H:%M:%S") local xfile = io.open("/mnt/nas/vera/text5.txt", 'a') xfile:write(time .. " - " .. prontoCode .. "\n") xfile:close() end logs[#logs + 1] = 'Sequence: ' .. line end; i = i + 1 -- Raise the line number end local logFile = io.open(write_file_path, 'w') logFile:write(table.concat(logs, '\n')) logFile:flush()
  • HTTP 400 error with Telegram

    7
    0 Votes
    7 Posts
    266 Views
  • Smart home startup looking for cofounder

    4
    0 Votes
    4 Posts
    158 Views

    Just sent you a chat....
    C

  • I'm bored :D

    10
    0 Votes
    10 Posts
    322 Views

    Finally fixed Mrs C's iPhone locator. Adding some more logic now we're actually going out of the house (for a while)

    What I'm toying with now is some ideas for
    a) Smart shower (assuming I get another job that means I need to get up and get in the shower)
    b) IR control for scene setting per my old Philips Pronto and (to a lesser extent) my Harmony. The Harmony hub is the obvs choice, and given my Harmony One is on its last legs this may be first.

    C

  • Alexa skill for Open Luup / Zway

    8
    0 Votes
    8 Posts
    278 Views

    Yes, I grouped a couple of roller shutters and lights. Plus, I can call my own http modules. Wonderful piece of tech.

  • Can't mount CIFS with Vera

    5
    0 Votes
    5 Posts
    151 Views

    Happy days.

  • Home Automation Serial Server (Raspberry Pi)

    7
    0 Votes
    7 Posts
    326 Views

    I would like to see a zigbee stick (deconz) announced. Is this usb server works I would like to use it as a hub and connect to the usb devices over ip from home assistant.

  • 0 Votes
    2 Posts
    131 Views

    The price is crazy to $120 a year, That's more than netflix or amazon prime. I moved most of my IFTTT functions to Node-red 6 months ago, never looked back, now 1 second response rather than 3 seconds to when ever.

  • 0 Votes
    1 Posts
    189 Views
    No one has replied
  • 3 Votes
    6 Posts
    243 Views

    It was in the wrong time zone for me, middle of the night. Sounds like I didn't miss much.
    I use RaspPi's a lot and like the flexibility they have.
    With the price of SSD's now it's more feasible to ditch the SD Card and boot from it.
    I have a 340GB that cost me next to nothing which I plan to add to my test Homeseer Controller after our lockdown ends.

  • MyCroft: The localized voice assistant

    11
    0 Votes
    11 Posts
    361 Views

    @therealdb

    I tend to have mixed feelings about this. The voice processing I think could definitely be localized with even more customized functions like voice recognition. This would greatly improve privacy and security.
    There are however a lot of things these devices do which makes a lot of sense for them to reside in the cloud. At the end it is really about design purpose. If it is only for home control, I think localized is better. If it is to go much further then, cloud makes more sense.

  • replacing SDC on Raspi with SSD

    2
    0 Votes
    2 Posts
    107 Views

    There is a whole thread on this on the H-A forum depending on what version of the rPi you have, it is more or less difficult.

    May 27, 2020 Error - Native USB Boot without SD card for the Raspberry Pi4 (SSD Boot) Error - Native USB Boot without SD card for the Raspberry Pi4 (SSD Boot)

    Hi guys, I am trying to boot home assistant in Raspberry PI 4 from a SSD. I installed raspbian in the SD, I followed the steps in these posts - post 2 and got the same result after executing the vcgencmd bootloader_vertion and bootloader_config. The diference is that I am not using the same...

  • 0 Votes
    2 Posts
    147 Views

    Hi a-lurker,

    This is a pesty problem with the LuaSocket lib that has been fixed years ago, but for some reason is not in the latest GA packages. The problem is in buffer.c, the timeout is only handled correctly if it is compiled with debug flags. Look at about line 80, and if that shows a compiler flag it will have the problem you see. You can install the luarocks scm-2 version and it should work as expected. I have the running with openLuup without any problems.

    Cheers Rene

  • Z-Wave.me forum.

    7
    0 Votes
    7 Posts
    366 Views

    Just remove the repo from your apt list.

    How to apt-delete-repository? How to apt-delete-repository?

    I would like to run the reverse of this command to remove the non-compatible repository in Debian 8.1 sudo add-apt-repository -y ppa:nemh/systemback where the command add-apt-repository is in the

    I recommend not using apt to install z-way anyway. It is never quite up to date.

  • zwave 700 series

    7
    0 Votes
    7 Posts
    261 Views

    Yes, there was a couple of thread discussing the boosting of the signal strength using an external antenna mod.
    The FCC rule is indeed there because these equipments are certified for interferences and health safety as tested. Such modifications negates their certification. What you don't want to have is a signal which is so strong that it covers over all the other signals in the mesh. I remember having some strange issues with the vera switching zwave light but not knowing that the command succeeded, having to move the vera one centimeter here or one centimeter there to fix the problem. zwave 700 will allow for a stronger signal without antenna mod which again will mostly beneficial when used on the devices. Another illustration of this is my recent report of use of zniffer which enabled me to find out that I was receiving my neighbor's hub's signal without CRC error when I decreased RD noise around my own uzb. He is pretty far away... So don't rush to get a 700series controller. It is a moot upgrade for the most part for which the main benefit could be cost reduction. The technical benefit is in upgrading the devices.

  • Ooops

    14
    0 Votes
    14 Posts
    249 Views

    Though not very surprising at this point, it is still pretty weird of them to miss the point by this much...

    We are not a competitor. We sell nothing. We are just users sharing our experiences in developing our smart homes. The existence of this forum is a direct consequence of the blind and sly behavior of Ezlo, misleading the entire vera community like lemmings into a dead end.
    A customer base which is complaining is actually good for a company. It means that the customers care and still have hope in you. What you need to worry about is when you only get praises or the customers are quiet... It means that they give up. One would have thought that a little competitive intelligence would have been beneficial but no they chose the ostrich option of sticking their head in cow byproducts. I feel really bad for the old community but even more so for the employees who don't have a choice. That's really the only reason for this post. This is really more their loss than ours.
    As I have predicted, given their methodology, they will have a product which would have been competitive 5 years ago in a couple of years and it is really a downgrade compared to the old vera. There is only so much one can do... bringing a thirsty horse to the river.
    I am still a vera user and I made it work perfectly... by bringing it back to its OEM state of being a Sercomm device and integrated back into a vera like environment called openLuup.

    It's beyond time to move on... My system has never been working this well... wow my door locks have not seen a new battery in 6 months now! new record and we are using it every day, multiple times a day. This was impossible with the vera.

  • VeraAlexa icon

    7
    0 Votes
    7 Posts
    166 Views

    @therealdb great stuff!

    C

  • 0 Votes
    9 Posts
    365 Views

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

    This variation in delays is to be expected, since the system IS doing other things.

    Yep - appreciate that. I did a few tests and found a plugin that was being accessed very regularly and was doing this in a for loop of varying loop count/length - and then the json then being processed by openLuup:

    lul_json = lul_json .. '{"Id":'..v.Id..',"LastRec":'..v.LastRec..',"LastVal":"'..v.LastVal..'"}'

    and changed it to this and then a table.concat later:

    table.insert(lul_json, '{"Id":') table.insert(lul_json, v.Id) table.insert(lul_json, ',"LastRec":') table.insert(lul_json, v.LastRec) table.insert(lul_json, ',"LastVal":"') table.insert(lul_json, v.LastVal) table.insert(lul_json, '"}')

    Made a substantial difference as we know a dot dot string concat is very slooow; especially when chained from one string to the next. It may be even faster to not use table.insert but a straight

    lul_json[count] = xyz count = count+1

    So the luup.call_delay() test routine above can be helpful in finding errant plugins, etc.

    Roger on the test window and using require: I have my thousand lines in the test window and another 500 line coming in from a require and all works fine!!

Recent Topics