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
    • Unsolved
    (Last Updated: May 30, 2021)
    • Status of SMARTHOME and SwitchLinc products

      D

      Is the Smarthome company still existent? If so, are SwitchLinc switched still available?

      General Discussion
    • Smart door lock

      D

      Hi! I want to install a smart lock on my front door, but I don't know which one to choose. There are many different models available on the market. Do you have a reliable model to recommend?

      General Discussion
    • Lua - Code to encrypt / decrypt with AES 128 CBC

      parkerc

      Hi

      I’m looking to rework some code I found online so I can use it on Vera, and while I’ve managed to translate / convert a number of things, I’ve got stuck on a few things it does, around encryption/decryption etc.

      All the original Lua code is here - > (https://forum.logicmachine.net/showthread.php?tid=232&pid=16580#pid16580 )

      Plus there looks to be a python version too here - > (https://github.com/florianholzapfel/panasonic-viera/issues/9#issuecomment-476919658)

      Here’s an extract of the code where AES 128 CBC is required?

      function encrypt_soap_payload(data, key, hmac_key, iv) payload = '000000000000' n = #data payload = payload .. string.char(bit.band(bit.rshift(n, 24), 0xFF)) payload = payload .. string.char(bit.band(bit.rshift(n, 16), 0xFF)) payload = payload .. string.char(bit.band(bit.rshift(n, 8), 0xFF)) payload = payload .. string.char(bit.band(n, 0xFF)) payload = payload .. data aes_cbc, err = aes:new(key, nil, aes.cipher(128, 'cbc'), { iv = iv }, nil, 1) ciphertext = aes_cbc:encrypt(payload) sig = encdec.hmacsha256(ciphertext, hmac_key, true) encrypted_payload = encdec.base64enc(ciphertext .. sig) return encrypted_payload end function decrypt_soap_payload(data, key, hmac_key, iv) aes_cbc, err = aes:new(key, nil, aes.cipher(128, 'cbc'), { iv = iv }, nil, 0) decrypted = aes_cbc:decrypt(encdec.base64dec(data)) decrypted = string.gsub(string.sub(lmcore.strtohex(decrypted), 33), '%x%x', function(value) return string.char(tonumber(value, 16)) end) return decrypted end

      I can get to the point where I can create the parameters for the payload encrypt request (example below), it’s just the encryption/decryption I cant do..

      data="1234" key="\\S„ßÍ}/Ìa5!" hmac_key="¹jz¹2¸F\r}òcžÎ„ 臧.ª˜¹=¤µæŸ" iv=" {¬£áæ‚2žâ3ÐÞË€ú "

      I’ve found this aes.lua (https://github.com/openresty/lua-resty-string/blob/master/lib/resty/aes.lua ) module online, but that requires loads of others modules too, most notably ffi.lua. Which I’d ideally like to avoid.

      I also came across this aes128.lua (https://github.com/somesocks/lua-lockbox/blob/master/lockbox/cipher/aes128.lua ) but i’m not sure how that handles all the other parameters e.g specify the cbc aspect etc.

      Finally there’s this aes256ecb.lua script (https://github.com/idiomic/Lua_AES/blob/master/AES.lua) , could that be converted to aes 128 cbc and then used in the above?

      Any help/advice on this would be appreciated..

      General Discussion
    • Seeking experts for implementing Modbus TCP

      Crille

      I just upgraded the firmware for the inverter for my solar panels and that made it possible to enable Modbus TCP.
      At a glance that would be perfect for live production data fed into my home automation environment but my lack of knowledge about the protocol and how to put the data where I want it failed me.

      What I have:

      MSR
      openLuup
      Vera Secure
      Ezlo Plus
      Mosquitto
      Homebridge
      Windows Server
      Ubuntu Server
      Quite decent PowerShell skills
      Enough Lua knowledge to write my own functions and handlers
      The inverters Modbus interface definitions

      What I want to achive:

      Something that can be run by systemd och anything else monitoring the status and keeping the Modbus connection alive.
      Publish readings over MQTT or whatever fits my setup, the goal is to feed the data into openLuup in someway so Historian can log the data for Grafana and display current production to HomeKit (as a mqttthing light sensor, since there is no other accessory suitable at the moment).

      Anyone implemented Modbus TCP in similar projects or have any guidance on how to reach my goal?

      Open for alternative solutions as well, all suggestions are appreciated!

      General Discussion
    • http relay activate with username and password authentication

      D

      Hi to all,
      I am user of vera controller. I have a dahua door intercom with relay. Relay activates with username and password authentication. I can activate the relay http://admin:a1234567@192.168.1.111/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=101&Type=Remote

      As you can see intercom username admin and password is a1234567 I build a scene with luup code luup.inet.wget( "http://admin:a1234567@192.168.1.111/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=101&Type=Remote" ) But can not activate relay. Is there any idea?

      General Discussion
    • Vera Secure usage without mios

      D

      Hi to all, I have a bricked vera secure that is replaced with new one. Old vera secure serial numbers are deleted from vera servers so I cannot use it. Vera secure's are orginally Sercomm's NA502 model devices. Recently I install openwrt to the old vera secure unit without problem. Is there any way to use it any automation system with internal z-wave. I install domoticz but I cannot setup internal z-wave unit, it only accept usb zwave radios. Is there any ideas?

      General Discussion
    • An electricians or wiring experts here?

      cw-kid

      I ordered a Fibaro Dimmer 2 and Bypass device for my upstairs landing / hallway lights.

      I have 2 light switches one at the bottom of the stairs and another one upstairs on the landing.

      But I am struggling to make sense of my current wiring, more details / photos on the Vera forum.

      Jan 27 Anyone good at electrical wiring for light switches? Anyone good at electrical wiring for light switches?

      Hi I ordered a Fibaro Dimmer 2 and Bypass device for my upstairs landing / hallway lights. I have 2 light switches one at the bottom of the stairs and another one upstairs on the landing. I have no neutral wires in the house behind the light switches. These are photos of the light switch...

      Thanks

      General Discussion
    • Looking for ideas on how to implement an automation.

      R

      Hello,
      Looking to all the dev's and tinkerers on this community for ideas on how to implement a solution to my problem. Kind of a long intro, sorry.

      Problem statement:
      I have a geothermal heat pump that has a loop that is slightly undersized. During the cold weather months in the Pacific Northwest (one or two months of the year), the loop can get below 32 degrees. If it goes on for a few days, it can generate significant frost heaving in my yard and under the flagstone deck, Actually fixing the issue is cost prohibitive.

      Current mitigation:
      I have DS18B20 tied into Home Assistant and monitoring the temp of the fluid coming out of the loop and if it drops below 35 degrees, MSR triggers a Fibaro Implant to add a resister into the external temp circuit and fool the Venstar to think the outside temp is below 32 degrees and issue a Heat Pump lockout and switch to AUX heat. While this is working fine and the AUX heat is only coming on once or twice a day, I would like to simplify the setup so it runs on something other than HA and MSR. I think they are overkill for my issue. Also want this to be independent of anything else in the house so it can stay behind if I am not around to maintain.

      I only have two inputs and one output:
      Inputs: Loop temp, Furnace running
      Outputs: Switch relay to drop resistance to external thermostat connection on thermostat.
      Logic is super simple:
      If temp is below 36 degrees and furnace is running, turn on relay
      If furnace stops, turn off relay.
      I am sure even I can figure that out on Python.

      Trying to determine the best platform for a set it and forget it black box that works with as close to zero maintenance as possible.

      Options I have thought of are:

      Pi zero with a GPIO controlled relay ESPHome (Not very knowledgeable about that platform, but willing to explore) Arduino Anything anyone else suggests

      Any ideas are appreciated.

      General Discussion
    • Is Hubitat to HA Bridge possible?

      D

      Greetings,

      I’m researching a migration from Vera+ to Hubitat C7 and want to know if anyone has successfully connected the Hubitat to the “HA Bridge” for local Alexia calls.
      The HA Bridge does not callout Hubitat natively from what I see.

      Thanks for your assistance.

      General Discussion
    • New Developer - What I should know/do ? (Vera/OpenLuup)

      parkerc

      Hi all

      Having some time off i’ve been able to invest a chunk in creating some plug-ins for Vera/OpenLuup, and will do what I can to post them in GitHub and add links on the Vera Community and here, for anyone who is interested.

      But, being knew to any of this, I wanted to ask for any guidance on how and when I should share stuff ? How best do I share it ? Am I liable for anything I share? Is GitHub the best place ? What licenses should I associate with them ?

      The latter is a strange one, as I don’t see how I can have any claim over the content/code itself, as I’ve learnt and leveraged so much from others..

      To get the ball rolling I posted this on the ezlo/Vera site..

      Jan 4 Luup Plugin - Energenie PMS LAN Switch Luup Plugin - Energenie PMS LAN Switch

      Hi To ensure I give back to this community, which has been educating me in all things Lua and Luup over the years (12+) I wanted to share some of the plugins I’ve built recently to see if any are of use/interest to others. The first one is for the Energenie PMS LAN Switch where I have built two...

      General Discussion
    • New to Smart Home

      M

      Hey guys,

      I just registered here in the forum and honestly… I’m new to the whole topic. I‘m a web developer, so I‘ve quite a bit experience with java, js, sql and so on. But that may not help a lot in this new field.

      I‘m looking forward to develop my own smart home device and I‘m looking for starting point. In General the specs are like:

      The device should work with WiFi, I want to integrate it into my network I want to write an own app to control it, it may find the device in my network I want the device to be offline usable, if possible (without internet connection) I want the device to broadcast information in my network like „water is empty“, so I can use push messaging in the App it should be ready to as well work with Alexa or Apple Home Kit or Google Assistant as I Plan to develop a skill for them.

      Can someone provide me with some information I could start with? Like - are there microcontrollers I could go with or is it to complex and I need a raspy? Which frameworks / languages / libs could I use? I know how to do the things on the app side but not on the device side.

      General Discussion
    • Amazon Alexa hosts

      CatmanV2

      Vainly trying to get to the bottom of the 10 - 15 second delay for TTS with the Alexa plugin (still) anyone have a list of the possible Alexa hosts? Just wonder if the one I have (layla.amazon.co.uk) could just be slow.

      Any thoughts?

      C

      General Discussion
    • Merry Christmas/Happy Holidays

      toggledbits

      Just wanted to wish everyone a very Merry Christmas (or Happy Holidays, if that's your preferred salutation, or...?), and also a very happy, healthy and prosperous New Year 2022.

      General Discussion
    • Very newbie man looking for help

      P

      Hello. First, excuse my english, please. I bought a Vera Edge looking for some way to make a digital ambient thermostat that I could manage remotely without a phone home from the device side. I am very disappointed with that device because all the "official" help of the brand goes in the way of to sign in an account and work with their cloud. I have some computer, network and linux knowledge but all my tests with the hub and a Qubino Flush 1D Relay has been unsuccessful. I connected both and I got to make some basic functions but I see myself very far to get my target. This is my last try to get something before I log in an account in getvera.com and look if I can make some progress in my project following that way.

      Can somebody tell me some place where I can learn the basic concepts of this system? Guides, books, videos... Whatever it can help me in my project.

      Thank you.

      General Discussion
    • Help please with Node-Red "Lost connection to server"

      cw-kid

      Node-Red on my Linux Debian box seems to be having issues now. It keeps saying repeatedly "Lost connection to server, reconnecting..." in the web browser.

      I recently updated nodejs for MSR, I wonder if that might be related:

      "Bump recommended nodejs version to 16.13.0; versions 14 and 15 will continue to be supported through March 31, 2022"

      Nodejs version = v16.13.1

      I have tried updating Node-Red that is now version v2.1.4

      I also updated npm to version v8.2.0

      I am not sure how or where to look at the log file for node red?

      This is the contents of the nodered.service file in this directory:
      /etc/systemd/system/multi-user.target.wants

      # systemd service file to start Node-RED [Unit] Description=Node-RED graphical event wiring tool Wants=network.target Documentation=http://nodered.org/docs/hardware/raspberrypi.html [Service] Type=simple # Run as normal pi user - change to the user name you wish to run Node-RED as User=stuart Group=stuart WorkingDirectory=/home/stuart Environment="NODE_OPTIONS=--max_old_space_size=1024" # uncomment and edit next line if you need an http proxy #Environment="HTTP_PROXY=my.httpproxy.server.address" # uncomment the next line for a more verbose log output #Environment="NODE_RED_OPTIONS=-v" # uncomment next line if you need to wait for time sync before starting #ExecStartPre=/bin/bash -c '/bin/journalctl -b -u systemd-timesyncd | /bin/grep -q "systemd-timesyncd.* Synchronized to time server"' ExecStart=/usr/bin/env node-red-pi $NODE_OPTIONS $NODE_RED_OPTIONS #ExecStart=/usr/bin/env node $NODE_OPTIONS red.js $NODE_RED_OPTIONS # Use SIGINT to stop KillSignal=SIGINT # Auto restart on crash Restart=on-failure RestartSec=20 # Tag things in the log SyslogIdentifier=Node-RED #StandardOutput=syslog [Install] WantedBy=multi-user.target

      Thanks

      General Discussion
    • Goodbye Brothers in crime!

      S

      Hi @ll, last days I migrated my last zwave device from Vera to zwave js in homeassistant. Out of 150 devices 1 did not go well initially but reinterviewing did it directly. Most work was to find the ex and inclusion procedure, 3 times, click, clack, whatever. I must admit that Vera is Lighting fast!!!!! With only 3 devices left, those were my under the floor switches I had to do last.

      Now I am totally gone from Vera, altui, luup, etc. There's nothing more left for me on this forum. And since it was one of my "routine sites" reading I will save a few minutes a day skipping it.

      I thank you all for all the kind help, warm words and laughter about the ezlo flop :-).

      I hooe you all will be safe and healthy and whish you all the best!

      I will stay on the homeassistant forum.

      Goodbye!

      General Discussion
    • Re-number on OpenLuup

      CatmanV2

      Morning all. Hope all are well. Been a bit of a trying time here, but nothing we can't deal with....
      .....apart from this!

      My coffee grinder went punk yesterday (wasn't even being used) and took out the main breakers. Once it was isolated I got everything back on line, except on TKB smart plug which was in the same double socket as the grinder.

      OpenLuup claims it's failed. Z-wave server can't see it but it responds to the button pushes physically as I'd expect. (i.e. the socket turns on and off, and the LED flashes to indicate it's in inclusion / exclusion mode)

      My plan is to see if I can exclude it then re-include it in z-wave server. If that doesn't work then I'll bin it, but if it does work can I then re-number it to match the original device ID and not have to trawl through my reactors? Any chance?
      TIA

      C

      General Discussion
    • Would you use a self-hosted geofencing solution?

      toggledbits

      Some of you may know that I took at shot at building an alternate geofencing solution for Vera. The core of it was system agnostic, using the OwnTracks application and AWS lambdas to track devices and keep a central data, then disseminate that to the Vera via a websocket-based plugin. It worked with other apps as well, including Tasker and GPSLogger, but of the dozen people that were testing it, most used OwnTracks.

      A lot was learned in the process, not the least of which is that the success of any such solution is highly dependent on the phone and its settings. Phone manufacturers love to set things up for the longest battery life, of course, but that's usually very anti-geofencing behavior. In the case of at least one brand, it was unusable and the settings could not be modified. It was also cost-prohibitive to maintain on Amazon, as AWS grabs a dime here and a dollar there and before you know it, it added $100/month to my AWS bill, which my wife deducted from my Scotch budget. Unacceptable.

      But it's quite reasonable to use OwnTracks to a local endpoint, and I could pretty easily replicate the functionality as a local application, or maybe even as an additional endpoint built into MSR's API (still separate port and process, but in the package).

      So the question really is... would you do it, or would you be too concerned about the security risks associated (e.g., dynamic DNS and NAT mapping in the firewall necessary for the phone to contact the service when not on LAN)?

      General Discussion
    For those who registered but didn't received the confirmation email, please send an email to support@smarthome.community with the email you used

    Alexa TTS is sloooooooow

    General Discussion
    4
    35
    137
    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.
    • CatmanV2
      CatmanV2 last edited by

      Morning, gurus. Hope all is well.

      Recently some of my voice activated actions have felt very laggy. Digging into it reveals that it's not the action that's slow, but the response from Alexa, To test I ran a simple speak from Reactor by pressing the 'play' button and there's a 10+ second lag between the command being queued and the voice confirmation in Alexa.

      While this is not critical in terms of operation it is making some of my activities with multiple voice feedbacks take enough time to think stuff is broken 🙂

      Quick log snippet (which I hope is enough shows the lag:

      2021-05-28 09:46:43.371   openLuup.server:: POST /data_request HTTP/1.1 tcp{client}: 0x55fc83df7e28
      2021-05-28 09:46:43.372   luup.call_action:: 22.urn:bochicchio-com:serviceId:VeraAlexa1.Say 
      2021-05-28 09:46:43.373   luup_log:22: VeraAlexa: addToQueue: added to queue for 22
      2021-05-28 09:46:43.373   luup_log:22: VeraAlexa(addToQueue@226): addToQueue: before: 0
      2021-05-28 09:46:43.373   luup_log:22: VeraAlexa(addToQueue@243): addToQueue: after: 1
      2021-05-28 09:46:43.374   luup_log:22: VeraAlexa(checkQueue@200): checkQueue: 22 - 1 in queue
      2021-05-28 09:46:43.374   luup_log:22: VeraAlexa(checkQueue@208): checkQueue: 22 - play next
      2021-05-28 09:46:43.374   luup_log:22: VeraAlexa(setVar@115): setVar("urn:bochicchio-com:serviceId:VeraAlexa1","OneTimePassCode","",22) old value ""
      2021-05-28 09:46:43.374   luup_log:22: VeraAlexa(sayTTS@313): Executing command [TTS]: "-e speak:'<s>Sirens would be firing</s><break time=\"0s\" />' -d \"Everywhere\""
      2021-05-28 09:46:54.309   luup_log:22: VeraAlexa(setVar@115): setVar("urn:micasaverde-com:serviceId:HaDevice1","CommFailure","0",22) old value "0"
      2021-05-28 09:46:54.309   luup_log:22: VeraAlexa(setVar@115): setVar("urn:bochicchio-com:serviceId:VeraAlexa1","LatestResponse","sending cmd:speak:<s>Sirens would be firing</s><break time=\"0s\" /> to dev:Everywhere type:A3C9PE6TNYLTCH serial:de3b4a21ca844817bc180e826e636425 customerid:A1CVTZEBJIUFJI",22) old value "sending cmd:speak:<s>Sonic Deadline is down</s><break time=\"0s\" /> to dev:Everywhere type:A3C9PE6TNYLTCH serial:de3b4a21ca844817bc180e826e636425 customerid:A1CVTZEBJIUFJI"
      2021-05-28 09:46:54.309   luup.variable_set:: 22.urn:bochicchio-com:serviceId:VeraAlexa1.LatestResponse was: sending cmd:speak:<s>Sonic Deadline is down</s><break time="0s" /> to dev:Everywhere type:A3C9PE6TNYLTCH serial:de3... now: sending cmd:speak:<s>Sirens would be firing</s><break time="0s" /> to dev:Everywhere type:A3C9PE6TNYLTCH serial:de3... #hooks:0
      2021-05-28 09:46:54.309   luup_log:22: VeraAlexa(nil@270): Response from Alexa.sh: "sending cmd:speak:<s>Sirens would be firing</s><break time=\"0s\" /> to dev:Everywhere type:A3C9PE6TNYLTCH serial:de3b4a21ca844817bc180e826e636425 customerid:A1CVTZEBJIUFJI"
      2021-05-28 09:46:54.310   luup_log:22: VeraAlexa(sayTTS@327): Queue will be checked again in "3" secs
      

      Any ideas on cause / troubleshooting / resolution?

      TIA

      C

      The Ex-Vera abuser know as CatmanV2.....

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

        If you haven't changed anything in your setup, I am guessing it is some random lag in the cloud? I don't believe you want me to get on my soap box and recommend my local approach... 😆

        CatmanV2 1 Reply Last reply Reply Quote 2
        • CatmanV2
          CatmanV2 @rafale77 last edited by

          @rafale77 said in Alexa TTS is sloooooooow:

          If you haven't changed anything in your setup, I am guessing it is some random lag in the cloud? I don't believe you want me to get on my soap box and recommend my local approach... 😆

          Nope, that's good :). That was my feeling as well, but to be clear this is NOT Alexa executing commands, that's still real quick. This is only TTS via Alexa. Which makes it a little more confusing.

          However, does Google home do local TTS as well?

          C

          The Ex-Vera abuser know as CatmanV2.....

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

            Google?? Nahh nothing will really be local with Google. It goes against their personal data collection business model. Our data on their cloud is their primary source of revenue. My approach to TTS has been to use the "say" command built in macOS from my desktop and sends it to my sonos speakers. I run a little node.js server which offers an http API which openLuup uses as I wrote a tiny function in the startup lua. It works without the hands (I mean the internet) and is instantaneous.

            rafale77/node-sonos-http-api

            rafale77/node-sonos-http-api

            An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar. - rafale77/node-sonos-http-api

            1 Reply Last reply Reply Quote 1
            • CatmanV2
              CatmanV2 last edited by

              Sure someone had done some analysis. Maybe it was Homekit.....

              C

              The Ex-Vera abuser know as CatmanV2.....

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

                @toggledbits , any chance at all that MSR could one day gain a TTS-like facility on board? At least to the point that MP3 files could be stored in /storage/tts awaiting a "Play" command of some sort. I'm sure doing literal TTS locally is too big an ask, but gosh... what wouldn't we all give to gain at least some freedom from the cloud-based likes of Azure, Alexa, etc.

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

                  Actually I somewhat did this for myself watching traffic going through my local DNS (pihole) and firewall. I started doing this because of the recent QNAP ransomware attacks leading me to deploy more drastic DPI and IPS reporting. Boy, Android is nasty... The amount of data and frequency of calling home is amazing. I ended taking down wifi on my oven (which runs android) and my one android tablet (alexa/echo) which was the most unreliable piece of hardware I had. I also notice a similar behavior on iOS devices but unlike Android, you could disable it. Most of the data is about location on iOS. They data packets are much smaller and are much less frequent. Disabling them means disabling some services. Apple uses your data for relative localization: devices scan for one another MAC addresses over BT and wifi and they keep a registry of it on their cloud. This way based on triangulation of what devices one given device sees, it is able to better estimate its location even without GPS as it uses the other device's GPS. I think Google does the same but more frequently and collects a lot more data while preventing you from disabling. Honestly the data was too much for me to figure out what it was for Android.
                  I also have relatives who work in marketing companies who freaked me out when they told me what data they have access to from Google... Just piecing things together and is a bit of a leap since I don't have any Google home device. I had some nest ones though which moved to very restrictive cloud only API when they got bought by Google and lead me to get rid of them.

                  Edit: Someone in Ireland has done a much deeper study on the topic than I:

                  Dan Goodin  /  Mar 30, 2021  /  Tech

                  Android sends 20x more data to Google than iOS sends to Apple, study says

                  Android sends 20x more data to Google than iOS sends to Apple, study says

                  Google contests the estimate, saying it's based on flawed methodology.

                  https://www.scss.tcd.ie/doug.leith/apple_google.pdf

                  The only thing I would add is that I think the author missed a setting in iOS which I found to completely disable all data sending. Also note the attitude of Google towards the whole thing is pretty comical but at the same time it is all very understandable since it is their business model to collect and sell data since they do not sell their OS and don't make a profit on the devices they sell. They make profit on their true products... our data.

                  Now Amazon is (was?) different. They are actually selling products and making a profit from them, not so much from the smart devices but more from the echo/eco system to get us to shop on their sites. It is a different business model. How long before it changes? I don't know. At least the example of how they handled the Philips hue API drastically from Google is a sign that they are not as laser focused on forcing a cloud approach.

                  1 Reply Last reply Reply Quote 1
                  • therealdb
                    therealdb @CatmanV2 last edited by

                    @catmanv2 yep, same for me yesterday. Today it seems to be back to normal latency.

                    --
                    Vera+MQTT+HomeAssistant+my own framework all orchestrated via MSR
                    70+ Zwave Devices, a bunch of ZigBee light strips and a lot of code

                    My Luup Plug-ins => https://github.com/dbochicchio/vera

                    CatmanV2 1 Reply Last reply Reply Quote 1
                    • CatmanV2
                      CatmanV2 @therealdb last edited by

                      @therealdb said in Alexa TTS is sloooooooow:

                      @catmanv2 yep, same for me yesterday. Today it seems to be back to normal latency.

                      Mine's been like this for some time. Just checking again and the same 10 second delay somewhere

                      C

                      The Ex-Vera abuser know as CatmanV2.....

                      therealdb 1 Reply Last reply Reply Quote 0
                      • therealdb
                        therealdb @CatmanV2 last edited by

                        try to update the .sh script. They released a new version yesterday, and they specifically changed the TTS part. It's working good for me, even if they removed announcements, it's still working with announcements for me 🙂

                        --
                        Vera+MQTT+HomeAssistant+my own framework all orchestrated via MSR
                        70+ Zwave Devices, a bunch of ZigBee light strips and a lot of code

                        My Luup Plug-ins => https://github.com/dbochicchio/vera

                        CatmanV2 1 Reply Last reply Reply Quote 1
                        • CatmanV2
                          CatmanV2 @therealdb last edited by

                          @therealdb said in Alexa TTS is sloooooooow:

                          try to update the .sh script. They released a new version yesterday, and they specifically changed the TTS part. It's working good for me, even if they removed announcements, it's still working with announcements for me 🙂

                          Do you have a link perchance? I can't find anything newer than Jan..

                          Cheers

                          C

                          The Ex-Vera abuser know as CatmanV2.....

                          therealdb 1 Reply Last reply Reply Quote 0
                          • therealdb
                            therealdb @CatmanV2 last edited by

                            @catmanv2 https://github.com/thorsten-gehrig/alexa-remote-control

                            --
                            Vera+MQTT+HomeAssistant+my own framework all orchestrated via MSR
                            70+ Zwave Devices, a bunch of ZigBee light strips and a lot of code

                            My Luup Plug-ins => https://github.com/dbochicchio/vera

                            CatmanV2 1 Reply Last reply Reply Quote 2
                            • CatmanV2
                              CatmanV2 @therealdb last edited by

                              @therealdb said in Alexa TTS is sloooooooow:

                              @catmanv2 https://github.com/thorsten-gehrig/alexa-remote-control

                              My thanks, as ever

                              C

                              The Ex-Vera abuser know as CatmanV2.....

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

                                Announcements still work fine, but still 10 second delay <shrug>

                                C

                                The Ex-Vera abuser know as CatmanV2.....

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

                                  And as anticipated, my system remains completely silent. I did update the .SH file just now to v.0.18, but no change.

                                  However, I am noticing some (potential) weirdness in Vera Log which perhaps are not anomalies, but I'm pasting below just in case. I just leave VeraAlexa in 'Debug' mode all the time now. The command I had issued (from MSR) was:

                                  luup.call_action("urn:bochicchio-com:serviceId:VeraAlexa1","RunCommand",{Command="-e textcommand:'tune in wwoz' -d 'Living Room'"}, 366)
                                  

                                  Log contained the following, and I'm wondering why, for starters, most (not all) of my Echo devices are listed twice? why the response from .SH is ""? why the setVar/Devices line references a device other than Living Room? why LatestResponse appears empty? etc.:

                                  08	05/29/21 9:40:44.577	JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:HomeAutomationGateway1 action: RunLua <0x70dc2520>
                                  08	05/29/21 9:40:44.577	JobHandler_LuaUPnP::HandleActionRequest argument Code=luup.call_action("urn:bochicchio-com:serviceId:VeraAlexa1","RunCommand",{Command="-e textcommand:'tune in wwoz' -d 'Living Room'"}, 366) <0x70dc2520>
                                  08	05/29/21 9:40:44.577	JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=0 <0x70dc2520>
                                  08	05/29/21 9:40:44.577	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1 <0x70dc2520>
                                  08	05/29/21 9:40:44.578	JobHandler_LuaUPnP::HandleActionRequest argument action=RunLua <0x70dc2520>
                                  08	05/29/21 9:40:44.578	JobHandler_LuaUPnP::HandleActionRequest argument _r=1622299244559 <0x70dc2520>
                                  08	05/29/21 9:40:44.578	JobHandler_LuaUPnP::HandleActionRequest device: 366 service: urn:bochicchio-com:serviceId:VeraAlexa1 action: RunCommand <0x70dc2520>
                                  08	05/29/21 9:40:44.579	JobHandler_LuaUPnP::HandleActionRequest argument Command=-e textcommand:'tune in wwoz' -d 'Living Room' <0x70dc2520>
                                  50	05/29/21 9:40:44.580	luup_log:366: VeraAlexa[0.97@366](setVar@120):setVar("urn:bochicchio-com:serviceId:VeraAlexa1","OneTimePassCode","",366) old value "" <0x70dc2520>
                                  50	05/29/21 9:40:44.581	luup_log:366: VeraAlexa[0.97@366](runCommand@395):Executing command [runCommand]: "-e textcommand:'tune in wwoz' -d 'Living Room'" <0x70dc2520>
                                  50	05/29/21 9:40:44.601	luup_log:366: VeraAlexa[0.97@366](setVar@120):setVar("urn:micasaverde-com:serviceId:HaDevice1","CommFailure","0",366) old value "0" <0x70dc2520>
                                  50	05/29/21 9:40:44.602	luup_log:366: VeraAlexa[0.97@366](setVar@120):setVar("urn:bochicchio-com:serviceId:VeraAlexa1","LatestResponse","",366) old value "" <0x70dc2520>
                                  50	05/29/21 9:40:44.603	luup_log:366: VeraAlexa[0.97@366](@308):Response from Alexa.sh: "" <0x70dc2520>
                                  50	05/29/21 9:40:44.622	luup_log:366: VeraAlexa[0.97@366](setVar@120):setVar("urn:bochicchio-com:serviceId:VeraAlexa1","Devices","Anne's Alexa Apps, false,2f69293cc2c749f6854ad6c5b41aef43,MSHOP\
                                  Kitchen, true,F00718703203T4,ECHO\
                                  Yoga Room, true,90LF1071750H8V,ECHO\
                                  Hall Bathroom, true,90LF1071750H7N,ECHO\
                                  Everywhere, true,56c846877e416eaa3425d163619011,WHA\
                                  Downstairs, false,095239c8124c46834ded97b5c947b7,THIRD_PARTY_AVS_MEDIA_DISPLAY\
                                  Master Bedroom, true,70RR138143018W,ROOK\
                                  Workshop, true,90LF1071750H4G,ECHO\
                                  Guest Room, false,90U50991541T31,ECHO\
                                  Alexa App for PC, false,0CE90F27F69FFF703570DE6C20E7BA,REAVER\
                                  Fire Tablet, true,W0TC039353F2SX,TABLET\
                                  Libra's Sonos Beam, true,89f9dcc0ab4085bcb59494f81c3726,THIRD_PARTY_AVS_SONOS_BOOTLEG\
                                  Living Room, true,48978706f5459f890ef0ec5aa9fce9,THIRD_PARTY_AVS_MEDIA_DISPLAY\
                                  Libra's Ezlo Voi, false,eea63a85e2419498871004faca7e4d,UNKNOWN\
                                  This Device, true,60b747dc4ce292626be49b7c3d41,VOX\
                                  Libra's Alexa Apps, false,56FEC32487,AMAZONMOBILEMUSIC_ANDROID\
                                  ",366) old value "Anne's Alexa Apps, false,69293cc2c749f6854ad6c5b41aef43,MSHOP\
                                  Kitchen, true,F00718703203T4,ECHO\
                                  Yoga Room, true,90LF1071750H8V,ECHO\
                                  Hall Bathroom, true,90LF1071750H7N,ECHO\
                                  Everywhere, true,56c846877e416eaa3425d163619011,WHA\
                                  Downstairs, false,095239c8124c46834ded97b5c947b7,THIRD_PARTY_AVS_MEDIA_DISPLAY\
                                  Master Bedroom, true,70RR138143018W,ROOK\
                                  Workshop, true,90LF1071750H4G,ECHO\
                                  Guest Room, false,90U50991541T31,ECHO\
                                  Alexa App for PC, false,0CE90F27F69FFF703570DE6C20E7BA,REAVER\
                                  Fire Tablet, true,W0TC039353F2SX,TABLET\
                                  Libra's Sonos Beam, true,89f9dcc0ab4085bcb59494f81c3726,THIRD_PARTY_AVS_SONOS_BOOTLEG\
                                  Living Room, true,48978706f5459f890ef0ec5aa9fce9,THIRD_PARTY_AVS_MEDIA_DISPLAY\
                                  Libra's Ezlo Voi, false,eea63ae2419498871004faca7e4d,UNKNOWN\
                                  This Device, true,60b747dc4ce292626be49b7c3d41,VOX\
                                  Libra's Alexa Apps, false,56FEC32487,AMAZONMOBILEMUSIC_ANDROID\
                                  " <0x70dc2520>
                                  08	05/29/21 9:40:58.658	JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:HomeAutomationGateway1 action: RunLua <0x6d5c2520>
                                  08	05/29/21 9:40:58.658	JobHandler_LuaUPnP::HandleActionRequest argument Code=luup.call_action("urn:bochicchio-com:serviceId:VeraAlexa1","RunCommand",{Command="-e weather -d 'Living Room'"}, 366) <0x6d5c2520>
                                  08	05/29/21 9:40:58.658	JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=0 <0x6d5c2520>
                                  08	05/29/21 9:40:58.659	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1 <0x6d5c2520>
                                  08	05/29/21 9:40:58.659	JobHandler_LuaUPnP::HandleActionRequest argument action=RunLua <0x6d5c2520>
                                  08	05/29/21 9:40:58.659	JobHandler_LuaUPnP::HandleActionRequest argument _r=1622299258640 <0x6d5c2520>
                                  08	05/29/21 9:40:58.660	JobHandler_LuaUPnP::HandleActionRequest device: 366 service: urn:bochicchio-com:serviceId:VeraAlexa1 action: RunCommand <0x6d5c2520>
                                  08	05/29/21 9:40:58.660	JobHandler_LuaUPnP::HandleActionRequest argument Command=-e weather -d 'Living Room' <0x6d5c2520>
                                  50	05/29/21 9:40:58.661	luup_log:366: VeraAlexa[0.97@366](setVar@120):setVar("urn:bochicchio-com:serviceId:VeraAlexa1","OneTimePassCode","",366) old value "" <0x6d5c2520>
                                  50	05/29/21 9:40:58.662	luup_log:366: VeraAlexa[0.97@366](runCommand@395):Executing command [runCommand]: "-e weather -d 'Living Room'" <0x6d5c2520>
                                  

                                  NOTE: All names and S/N's redacted for privacy (so may appear inconsistent in listing)

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

                                    Hmmm, I have debug set to one and my log looks nothing like that....

                                    This is the LuaUPnP.log yes?

                                    C

                                    The Ex-Vera abuser know as CatmanV2.....

                                    LibraSun 1 Reply Last reply Reply Quote 0
                                    • LibraSun
                                      LibraSun @CatmanV2 last edited by

                                      @catmanv2 said in Alexa TTS is sloooooooow:

                                      This is the LuaUPnP.log yes?

                                      Yes. I get a very verbose response set like that in Vera's LuaUPnP Log every time I attempt one of the Lua commands I use for testing. Some worked with previous revisions, others not, but right now ... literally nothing works for me.

                                      I'm wondering if maybe I have too many Alexa devices defined in my account... or something else unique to "me" that's causing VeraAlexa to choke.

                                      Whenever I update any component of the VeraAlexa plug-in (whether through WinSCP or by dragging files into App > Develop), I always set "Configured" back to 0 and restart Vera, so things have a chance to settle. The cookie is safely there, and "Configured" always sets to 1 without any trouble.

                                      It's as if the plug-in wants to work, but simply doesn't, for me. 😕

                                      CatmanV2 1 Reply Last reply Reply Quote 0
                                      • CatmanV2
                                        CatmanV2 @LibraSun last edited by

                                        @librasun are you on Vera or OpenLuup?

                                        What's in your .alexa.devicelist.all? If you've got duplicate entries it's probably worth deleting it and letting it re-create.

                                        I've just realised my 'new' Echo is not listed, but it's in the guess bedroom so doesn't get used.

                                        C

                                        The Ex-Vera abuser know as CatmanV2.....

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

                                          To answer your question, I inspected the contents of my .alexa.devicelist.json file (I see no 'all' file like you mentioned), and found -- after putting it through a JSON Pretty Print converter and filtering for accountName -- just a single copy of each device on my account.

                                          Egads, though, the file is 931 lines long, lol!

                                          If you're suggesting I delete that file, I'm game, but am generally loath to take stabs in the dark like that until I have more data.

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

                                            AFAIK you should have:
                                            .alexa.devicelist.txt
                                            .alexa.devicelist.all
                                            .alexa.cookie
                                            .alexa.devicelist.json

                                            I think the lack of some or more of these could be part of your issue. Are you on Vera still? I forget

                                            Totally get what you mean about deleting stuff. I tend to rename ;). My understanding is they should be created automagically.

                                            C

                                            The Ex-Vera abuser know as CatmanV2.....

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Welcome. If you’d like to participate in the discussion, rather than just read, then you can join the forum. As a member, you can interact with others here to share your experience and ask the questions you need answered.

                                            Powered by NodeBB | Contributors
                                            Hosted freely by PointPub Media Communications Inc. | Contact us