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: March 17, 2021)
    • Caller ID in HA workflow

      LibraSun

      Has anyone successfully incorporated incoming call(er) information** within an automation workflow?

      I'm talking about having Alexa speak out the name and/or phone number of a caller, or activating a routine/scene based on that info.

      Always been a dream of mine. Wouldn't know how to achieve it! Do they make an Ethernet/WiFi-connected CallerID box?

      **from a LANDLINE, not a MOBILE PHONE (although in the case of my Google Voice #, both lines ring, and if my smartphone is home and turned on, I could see invoking Tasker somehow)

      REFERENCES:

      NCID - Network Caller ID

      [Please file under proper category, as you see fit]

      General Discussion
    • MQTT – setup and use

      akbooer

      General discussion on all things MQTT.

      General Discussion
    • Homer Dashboard - Vera/OpenLuup

      parkerc

      Hi all

      I’ve recently started to build out my own ‘Homer’ dashboard (https://github.com/bastienwirtz/homer) and I must admit I really like what it’s given me.

      Thinking about future use-cases. I can see potential for this being an alternative (albeit simple ) UI for Vera/OpenLuup..

      Is anyone else using Homer ?

      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
    • Apple Homepod mini

      rafale77

      After having optimized my video processing integration of 8 cameras into my openLuup based automation, I have been wondering what I could possibly improve on my setup. Instead of pestering @akbooer with petty localized console optimizations I am looking at these Apple Homepod minis as a potential improvement from my alexa based voice command system. openLuup is presently already bridged to both platforms using habridge and homekitbridge.

      I am seeing two issues with Alexa:

      Speed. The cloud processing of the voice commands takes ~1s (I don't use anything cloud to cloud) and I would really prefer it to be local. These devices can go a bit crazy when they lose DNS connections and sometimes do random things. Privacy because all the recordings go to the amazon cloud all the time.

      I have been exploring open source solutions for this but I would lose the benefit of optionally being able to go to the cloud for search information.

      The downside of the homepods are that siri is not nearly as good in terms of helpfulness as alexa at this point. They also don't have a version with a screen which I found to be very useful at a couple of locations on the other hand, the sound quality of the homepod minis seem to be better than the echos...

      What do you guys think?

      This thread from longtime vera user @dJOS inspired me

      Feb 4 Hubitat + HomeKit + HomeBridge + HomePod Mini = WOW Hubitat + HomeKit + HomeBridge + HomePod Mini = WOW

      Howdy all, I got a HomePod Mini very recently for my study (the audio quality is great and hand-off is magical) and to replace my iPad as the main HomeKit controller for my house (we use HomeKit mainly for Presence detection which is IMO best in class). We also have a dozen Amazon Echo's of...

      General Discussion
    • Recover an ‘assumed bricked’ Vera Secure

      parkerc

      Hi

      Go with me here... I recently pick up a unresponsive Vera Secure from eBay for next to nothing, thinking I’d could have a go at trying to restore it, if only as a play thing..

      Situation - The power led comes on, but the internet and service leds just flash - no connection made (and even using a direct cable and Wireshark, I can’t see an arp request being made to see if it has a default in address) - I’ve also tried various reset button combinations - no luck.

      Perhaps this post is a long shot, but seeing so many familiar ex Micasaverde/Vera forum names - i thought I’d at least ask - just in case anyone had any guidance/advice etc. I could use ..

      General Discussion
    • ubiquiti breach

      rafale77
      Whistleblower: Ubiquiti Breach “Catastrophic” Whistleblower: Ubiquiti Breach “Catastrophic”

      On Jan. 11, Ubiquiti Inc. [NYSE:UI] — a major vendor of cloud-enabled Internet of Things (IoT) devices such as routers, network video recorders and security cameras — disclosed that a breach involving a third-party cloud provider had exposed customer account credentials. Now a source who...

      Reposting an article I got from a reddit thread.
      I won't stop advocating against cloud dependence and unnecessary cloud reliance especially in the field of smarthomes.
      I divested from a fairly large ubiquiti unifi system almost a year ago and I never connected my controller to their cloud service but as some may have sensed, it was a direction they were going towards. What got me off of it actually was the large disparity in product performance and a decreasing trust in the company with large amount of dubious advertising, inconsistent products for some of which the hardware could obviously not meet the marketing promises.

      General Discussion
    • Easy way to convert to SSD from SD card on Pi with MSR

      M

      So have been migrating a bunch of automations to MSR from Hubitat and no I feel like I want to have an SSD instead of SD card on my Pi3.What is an Easy way to convert to SSD from SD card on Pi with MSR. What files do I need to copy to keep my rules?

      /Mattias

      General Discussion
    • Vera watch variable / startup LUA how ?

      cw-kid

      I want to set something up natively if possible on Vera, so a virtual motion sensor device is tripped / not tripped by following the tripped variable state of a real device.

      This LUA code works if I run it manually but I don't know how to have this running all the time and watching for that "tripped" variable to change ?

      local istripped = luup.variable_get("urn:micasaverde-com:serviceId:SecuritySensor1", "Tripped", 100) --Real Device luup.variable_set("urn:micasaverde-com:serviceId:SecuritySensor1", "Tripped", istripped,101) --Virtual Motion Sensor Device return true

      How do you add something like this in to Vera's startup LUA feature ?

      Thanks

      General Discussion
    • Ezlo to openLuup to Homebridge

      Crille

      @mrFarmer I'm trying to add my Ezlo devices to Homebridge via openLupp Ezlobridge using the Vera plugin for Homebridge.
      Do you or anyone else know why they are ignored. My devices provisioned by Verabridge is visible in Homebridge but not those from Ezlobridge.

      General Discussion
    • Incrementing an outside awning with Reactor/MSR

      Black Cat

      I have a Reactor set up to extend an outside awning when the OAT reaches 26C and it's after 1100, that part is straightforward enough, however I wanted to take it one step further and rather than it being either fully out or the reverse I'd like to have the ability to increment it either In or Out by a certain distance (typically 500mm) every 120 secs or so.
      I had tried to do this with PLEG based on Sun position but failed miserably and never attempted to do this with distance and time.
      I have looked at adding it to the current Reactor but not being fully fluent in Reactor I've hit a brick wall and don't see if it can be done - anyone point me in the right direction is is this something that Reactor can't do?

      General Discussion
    • Need help backing up Raspberry Pi

      cw-kid

      Hello

      I have a 64GB SD card in my Raspberry Pi.

      I read some guides online and the ones that looked easy to follow use a program call Win32 Disk Imager to make an image of the entire SD card.

      I shutdown the Pi and when I insert the SD card in to my Windows 10 PC, I can see drive letter D:\ appear and its label is "boot"

      8094c349-baee-414a-b9e4-96f3d2e7c9c7-image.png

      Looking at this disk in Windows Disk management it looks a bit strange however as it has a massive unallocated area.

      f5eb87a7-cd83-4846-a7b6-c4315a691f58-image.png

      Anyway I proceeded to backup the disk D:\ using Win32 Disk Imager program.

      1d8e45d0-c38b-414f-b188-05d183d4baf4-image.png

      It took a long time but it has created an .img file which is 27.4GB in file size.

      57b59b29-1f56-4a54-923d-2b401129b3db-image.png

      I then put the SD card back in to the Pi and powered it on.

      Here is a "df" output from the Pi

      faaf5744-45c6-459c-a2c2-8b1c63ff3801-image.png

      Looks like I am not using the full 64GB of the SD card.

      When I first setup the Pi I was using a much smaller SD card and then I bought a decent Sandisk 64GB card and followed some other user guide found online to clone my original smaller card to the new card and expand etc.

      So have I actually just backed up the Pi's SD card and all its contents successfully ?

      General Discussion
    • My Turn! Suspended at Ezlo Forum

      M

      My turn now... Shit Ezlo CEO is really on slipper ice.

      I sak that in the thread that someone has contacted his wife and is Boeing concerened about his behavior.

      When you read the mail you clearly read that its someone close to him at the Company...

      Sad that he is ruining his Company and allt of peoples Jobs at risk.

      /M

      General Discussion
    • Voice Control and TTS Projects

      rafale77

      Some of my favorite projects I have been using on my setup for over 5 years:
      Bridge the vera or openluup to amazon echo through a local hue emulator. A much faster solution than the vera native bloatware as the only cloud service is used by this alternative is the voice recognition. It was initiated for vera control but later expanded to many other platforms like the logitech Harmony and other controllers. No cloud to cloud so no need for mios servers:

      bwssytems/ha-bridge bwssytems/ha-bridge

      Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp int...

      The equivalent for Apple Siri:

      Hackworth/VeraHomeKitBridge Hackworth/VeraHomeKitBridge

      Contribute to Hackworth/VeraHomeKitBridge development by creating an account on GitHub.

      Alternative SONOS TTS implementation from all the plugin versions applicable for any platform since it is an API you can call. It is run also locally on a MacOS desktop in my case but can run on anything running nodeJS. For the TTS to be fully local though, you will need a mac or bear with the robotic voice of maryTTS. I have been hesitant to move my TTS to the amazon echos (project by @therealdb), but the echos lack synchronization and are cloud dependent which causes a 3-5s delay I do not have with this local solution, so this remains my choice:

      jishi/node-sonos-http-api jishi/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. - jishi/node-sonos-http-api

      Use my fork if you need to install on Catalina because some fixes are needed and my pull request from months ago has not yet been merged.

      General Discussion
    • Not so quiet around here :)

      tunnus

      Got banned quite quickly from Vera/ezlo forum, without any warning. I was kinda asking for it, but still, they could have some sense of humour over there 🙂

      General Discussion
    • Starlink Available in Some Areas

      toggledbits

      This morning I signed up for Starlink internet. This is the Musk project that has been aboard many of the SpaceX launches for some time. I watched this morning's launch (60 additional Starlink satellites), and they announced that the Beta was open in some areas. I went to the site, and it was open in my area.

      The site (starlink.com) quoted $99/mo with $499 initial equipment and setup. I realize that's pretty pricey compared to Internet access in many areas, but I currently pay a fair amount more (monthly) to my current cable- (TV) based ISP, quality and speed are inconsistent, and every year I have to fight their customer retention staff to keep my pricing from nearly doubling as my "special offer" expires.

      Verizon, the dominant cellular carrier where I live, has been slow to roll out home-based Internet on 5G. This is another alternative I've been excited to investigate, but still waiting.

      I'm pretty excited. Yes, I'm a Musk fan-boy. Don't judge me. 🙂

      General Discussion
    • Controller shift - How do you do it ?

      parkerc

      A while back the z-wave module on my veraplus stopped working and as it couldnt be fixed, I bought an external usb z-wave dongle UZB1 (which I plugged in and setup on ‘port’ /dev/ttyACM0 ) which made it operational again, and I’ve been using it again since.

      Recently I picked up a new (well 2nd hand) VeraPlus unit and tried to do a full system/zwave network restore from the original one, but it didn’t work.

      The restore looked like it worked fine, as it brought everything over, but when nothing worked, I checked the z-wave ‘port’ settings on the new unit, and it too had been set to use an external usb (/dev/ttyACM0) which it obviously doesn’t have , but when I changed it back to the onboard zwave module (/dev/ttyS0) all the z-wave devices disappeared.

      To fix this, it sounds like I need to do a controller shift to get the details off the UZB1 key and onto the zwave chip on the veraplus board ?

      However not having done one before I’m not sure if the process is - any ideas ?

      General Discussion
    • Raspberry Pi - Cron Jobs for Lua scripts ?

      parkerc

      Hi,

      I’ve got a few Lua scripts that I’d like to run periodically on my Pi, and I’ve tried to get them to run via Cron, but I can’t seem to get them to work..

      Does anyone have anything similar set up that works ?

      Crontab -e

      I’ve tried it a couple of ways based on the forum posts I’ve read, but neither have worked..

      0 0 * * * home/pi/shared/TS_cabin_graph_email_24h.lua 0 0 * * * /usr/bin/lua /home/pi/shared/TS_cabin_graph_email_24h.lua
      General Discussion
    • SiteSensor triggered my both sirens

      S

      Installed Sitesensor yesterday. Defined a http request towards yr.no for the weather.
      Default it only sends requests when the device is armed. When I armed the sensor both of my sirens started bleeping. Not funny with at night with two kids asleep.

      Simultaneous with arming the device, the first http request probably is send and my first http request did not have the Useragent http header so the result was a 403; this probably made the sitesensor device being triggered.

      I unchecked the box "only send requests when armed" and disarmed the sitesensor. This works ok but only one slight mistake with thick fingers and I have armed it again.

      I see the sitesensor device is being configured as a SecuritySensor (as it implements the securitysensor serivce?). This makes that sirens react when the sitesensor trips. I have a leakage sensor as well and I know this one triggers the sirens as well. Do not have any doorsensors right now but hope these will not trigger sirens as well.

      Is there a way to tell Sirens to ignore Sitesensor and/or other specific devices. Or should sitesensor not be configured as a security device?
      Is there an easy solution?

      Grtz Swiddy

      Some details:
      -Vera Secure box with built in siren (siren is a separate device)
      -POPP Smokedetector with siren
      -Upto-date with Vera firmware and Not on Openluup yet but don't think this would make a difference here

      General Discussion
    • Connected Home Over IP. (CHIP)

      rafale77

      Yet another attempt to create the one standard to rule them all. "The ring of power".

      What Is “Project Connected Home Over IP” for Smart Homes? What Is “Project Connected Home Over IP” for Smart Homes?

      Project Connected Home over IP is a new industry group announced by Apple, Google, Amazon, and the ZigBee Alliance. The group will create a new unifying standard for smart home devices, and that’s a big deal. Here’s why.

      I am very skeptical about this. I don't feel it is needed and I think it will only add to the confusion but I am probably not a typical consumer. Thoughts? It seems to want to do the same thing as what a lot of us have already achieved through open source but commercializing it. It's not so different from Apple's HomeKit.

      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

    Voice Control and TTS Projects

    General Discussion
    6
    18
    168
    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

      Some of my favorite projects I have been using on my setup for over 5 years:
      Bridge the vera or openluup to amazon echo through a local hue emulator. A much faster solution than the vera native bloatware as the only cloud service is used by this alternative is the voice recognition. It was initiated for vera control but later expanded to many other platforms like the logitech Harmony and other controllers. No cloud to cloud so no need for mios servers:

      bwssytems/ha-bridge

      bwssytems/ha-bridge

      Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp int...

      The equivalent for Apple Siri:

      Hackworth/VeraHomeKitBridge

      Hackworth/VeraHomeKitBridge

      Contribute to Hackworth/VeraHomeKitBridge development by creating an account on GitHub.

      Alternative SONOS TTS implementation from all the plugin versions applicable for any platform since it is an API you can call. It is run also locally on a MacOS desktop in my case but can run on anything running nodeJS. For the TTS to be fully local though, you will need a mac or bear with the robotic voice of maryTTS. I have been hesitant to move my TTS to the amazon echos (project by @therealdb), but the echos lack synchronization and are cloud dependent which causes a 3-5s delay I do not have with this local solution, so this remains my choice:

      jishi/node-sonos-http-api

      jishi/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. - jishi/node-sonos-http-api

      Use my fork if you need to install on Catalina because some fixes are needed and my pull request from months ago has not yet been merged.

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

        My plug-in got device sync lately, but you're right, it's never really sync'ed, it depends on Amazon's servers. Overall I like it and I will move to a similar setup (ha-bridge) very soon, because I want blinds/temp sensors and I'm tired of writing scenes 🙂

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

          This is so much faster than the Vera skill

          C

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

            I know... now you understand what I was talking about when I was referring to cloud to cloud nonsense in the old place and my mehhh comments in the "Alexa turn on the Christmas lights on" thread... We have been doing it faster better in every way for over 5 years thanks to the community!

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

              Yep, In for a penny, as we say over here. It'll depend on when my UZB gets here, but I suspect I'll be Vera free by the end of the week.

              Is it possible to change the icons that Alexa shows for HA bridge devices? Not that I ever look, but....

              Thanks for all your help

              C

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

                Where's the best way to get help with creating the specific commands required for HA Birdge to control a thermostat? The build button has created on, off (not hugely useful) and 'Dim' URLs, but I don't see how you can pass a specific temperature to it? Also I'm pretty sure that SetLoadLevel is not the correct command. It should be something like SetCurrentSetpoint?

                Cheers

                C

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

                  As ever a voyage of discovery 🙂
                  So my logs show this when the temperature is changed automatically:

                  08	06/21/20 16:58:03.905	JobHandler_LuaUPnP::HandleActionRequest device: 80 service: urn:upnp-org:serviceId:HVAC_UserOperatingMode1 action: SetModeTarget <0x73c25520>
                  08	06/21/20 16:58:03.906	JobHandler_LuaUPnP::HandleActionRequest device: 80 service: urn:upnp-org:serviceId:TemperatureSetpoint1_Heat action: SetCurrentSetpoint <0x73c25520>
                  06	06/21/20 16:58:03.907	Device_Variable::m_szValue_set device: 80 service: urn:upnp-org:serviceId:TemperatureSetpoint1 variable: SetpointTarget was: 18.00 now: 21.00 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x73c25520>
                  

                  My new shiny HA Bridge command is this:

                  http://192.168.70.249:3480/data_request?id=action&output_format=json&DeviceNum=10080&serviceId=urn:upnp-org:serviceId:TemperatureSetpoint1_Heat&action=SetCurrentSetpoint&SetpointTarget=${intensity.byte}
                  

                  And the log shows this

                  08	06/24/20 12:17:39.117	JobHandler_LuaUPnP::HandleActionRequest device: 80 service: urn:upnp-org:serviceId:TemperatureSetpoint1_Heat action: SetCurrentSetpoint <0x724d1520>
                  08	06/24/20 12:17:39.118	JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=80 <0x724d1520>
                  08	06/24/20 12:17:39.118	JobHandler_LuaUPnP::HandleActionRequest argument SetpointTarget=57 <0x724d1520>
                  08	06/24/20 12:17:39.118	JobHandler_LuaUPnP::HandleActionRequest argument action=SetCurrentSetpoint <0x724d1520>
                  08	06/24/20 12:17:39.118	JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:upnp-org:serviceId:TemperatureSetpoint1_Heat <0x724d1520>
                  02	06/24/20 12:17:39.118	ZWaveNode::ReceivedMessage serv urn:upnp-org:serviceId:TemperatureSetpoint1_Heat action SetCurrentSetpoint unhandled <0x724d1520>
                  02	06/24/20 12:17:39.119	JobHandler_LuaUPnP::RunAction device 80 action urn:upnp-org:serviceId:TemperatureSetpoint1_Heat/SetCurrentSetpoint failed with -115/Device does not handle service/action <0x724d1520>
                  

                  So clearly I'm not quite there. Also my Set to 22 appears to have been converted to 57? In case that was out of range I tried to set to 10 and that logged a SetpointTarget of 26.

                  Any thoughts on that?

                  Cheers

                  C

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

                    This is likely a formatting problem just like your post 😉
                    I have not actually implemented voice control of my thermostat. I instead created a plugin to make it completely automated so I never have to touch it. It uses the room feature, combining data inputs from temperature sensors in each room and outdoor, motion and door/window sensors to set actions on register vent openings and the thermostat.
                    But back to topic: There maybe some conversion going on between temperature and percentage/hex. It looks like it is taking your input as a percentage (0-100) and outputting it as a byte (0-255), basically using a x2.55 factor. It is actyally in your code: "intensity.byte"
                    try "intensity.percent" which will not convert the numeral since the echo api uses percentages.

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

                      Fixed the formatting 😄

                      Thanks!

                      C

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

                        OK, thanks. intensity.percent worked perfectly in terms of passing the SetpointTarget to 22 👍

                        Can't figure out why SetCurrentSetpoint doesn't work though.

                        C

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

                          That's because the parameter you use is incorrect. The parameter for SetCurrentSetpoint is NewCurrrentSetpoint. You can see that by going into ALTUI, open the device, under the action menu... Look up SetCurrentSetpoint.

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

                            Wow that's a useful thing to learn.

                            Thanks so much!

                            C

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

                              It actually needs to be this:

                              http://127.0.0.1:3480/data_request?id=action&output_format=json&DeviceNum=10080&serviceId=urn:upnp-org:serviceId:TemperatureSetpoint1&action=SetCurrentSetpoint&NewCurrentSetpoint=${intensity.percent}
                              

                              C

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

                                Meanwhile (and PLEASE correct/guide me if I'm in the wrong sub-Topic to ask this), I'm back in the mid-2020 era of trying to get my Vera Plus back to doing TTS through my Sonos Beam device, with the help of @toggledbits latest hotfix 21314.1625 grafted onto the SONOS 2.0 plugin.

                                Thing is, I've gone through all the traditional routes:

                                • Ensured my MS Azure Cognitive account is up-to-date;
                                • Double-checked all settings* (IP, Volume, Zone, etc.) and keys are current;
                                • Checked Vera's LuaUPnP logs, and found:
                                50	03/16/21 17:45:17.880	luup_log:321: Sonos: (TTS) Engine "Azure Speech Service" created "http://192.168.86.30/port_3480Say.322.mp3" <0x773df320>
                                06	03/16/21 17:45:17.981	Device_Variable::m_szValue_set device: 322 service: urn:upnp-org:serviceId:AVTransport variable: TransportStatus was: ERROR_RESOURCE_NO_LONGER_AVAILABLE
                                

                                which to my eye indicates a pathname issue (after port_3480)?

                                But I can't find any current discussion among others having the same SILENCE problem.

                                Anyone in the same boat? Got a new list of Troubleshooting Steps for me to undertake?

                                THANKS! - Libra

                                OTHER SETTINGS TO NOTE, in case they matter:

                                TTS SETTINGS
                                Default Engine: Azure Speech Service
                                Region: southcentralus
                                Voice: engine default: Jessa
                                Endpoint: https://vera-tts.cognitiveservices.azure.com/
                                Requestor: automatic (recommended)
                                UPnP Proxy: Installed

                                SONOS VARIABLES
                                TTSBaseURL = (blank)
                                TTSBasePath = (blank)

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mrFarmer last edited by

                                  Hi Libra,

                                  In the file name for the mp3 the slash charter between port_3480 and Say is missing. I.e. it should read .../port_3480/Say...

                                  Cheers Rene

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

                                    It's not just the slash that's missing; there's a directory name before it as well. Really the only way that happens is a problem with the content of TTBaseURL. But, if during experimentation you have a problematic value, it's entirely possible that (broken) URL gets stored in the cache entry for the speech item, and then every time you speak it and it gets a cache hit, it will pull out that broken URL. So a few things to do here:

                                    First, let's disable the cache during testing/troublesheeting: set UseTTSCache to 0.

                                    Then, let's make sure TTSBasePath and TTSBaseURL get their default (computed) values, and not rely on the Vera UI to tell us they "look" blank:

                                    luup.variable_set( "urn:toggledbits-com:serviceId:SonosSystem1", "TTSBaseURL", "", sonos-master-device-num)
                                    luup.variable_set( "urn:toggledbits-com:serviceId:SonosSystem1", "TTSBasePath", "", sonos-master-device-num)
                                    

                                    Finally, debug on for "Plugin" and "TTS" in the master device settings, reload Luup, hard refresh browser.

                                    Getting as far as it did to see the error message you posted is a good sign. With this clean slate, if there's still something causing a problem, it will be easier to run down.

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

                                      YES! Did all the things, and voilà!! Didn't even have to check the logs... Sonos she talk to me now!! 🙂

                                      THANK YOU SO MUCH. I'll go turn off the extra logging now.

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

                                        OK. And you can probably turn the cache back on as well. I'm betting is just had some cached bad URLs, so before turning it back on, SSH into your Vera and rm -rf /www/sonos/ttscache to clear the cache entirely. It will be recreated as you go.

                                        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