بلاگ

  • Using Home Assistant to integrate a Unifi Protect G4 Doorbell and Amazon Alexa to announce visitors

    Using Home Assistant to integrate a Unifi Protect G4 Doorbell and Amazon Alexa to announce visitors



    I am not a Home Assistant expert, but it’s clearly a massive and powerful ecosystem. I’ve interviewed the creator of Home Assistant on my podcast and I encourage you to check out that chat.

    Home Assistant can quickly become a hobby that overwhelms you. Every object (entity) in your house that is even remotely connected can become programmable. Everything. Even people! You can declare that any name:value pair that (for example) your phone can expose can be consumable by Home Assistant. Questions like “is Scott home” or “what’s Scott’s phone battery” can be associated with Scott the Entity in the Home Assistant Dashboard.

    I was amazed at the devices/objects that Home Assistant discovered that it could automate. Lights, remotes, Spotify, and more. You’ll find that any internally connected device you have likely has an Integration available.

    Temperature, Light Status, sure, that’s easy Home Automation. But integrations and 3rd party code can give you details like “Is the Living Room dark” or “is there motion in the driveway.” From these building blocks, you can then build your own IFTTT (If This Then That) automations, combining not just two systems, but any and all disparate systems.

    What’s the best part? This all runs LOCALLY. Not in a cloud or the cloud or anyone’s cloud. I’ve got my stuff running on a Raspberry Pi 4. Even better I put a Power Over Ethernet (PoE) hat on my Rpi so I have just one network wire into my hub that powers the Pi.

    I believe setting up Home Assistant on a Pi is the best and easiest way to get started. That said, you can also run in a Docker Container, on a Synology or other NAS, or just on Windows or Mac in the background. It’s up to you. Optionally, you can pay Nabu Casa $5 for remote (outside your house) network access via transparent forwarding. But to be clear, it all still runs inside your house and not in the cloud.

    Basic Home Assistant Setup

    OK, to the main point. I used to have an Amazon Ring Doorbell that would integrate with Amazon Alexa and when you pressed the doorbell it would say “Someone is at the front door” on our all Alexas. It was a lovely little integration that worked nicely in our lives.

    Front Door UniFi G4 Doorbell

    However, I swapped out the Ring for a Unifi Protect G4 Doorbell for a number of reasons. I don’t want to pump video to outside services, so this doorbell integrates nicely with my existing Unifi installation and records video to a local hard drive. However, I lose any Alexa integration and this nice little “someone is at the door” announcement. So this seems like a perfect job for Home Assistant.

    Here’s the general todo list:

    • Install Home Assistant
    • Install Home Assistant Community Store
      • This enables 3rd party “untrusted” integrations directly from GitHub. You’ll need a GitHub account and it’ll clone custom integrations directly into your local HA.
      • I also recommend the Terminal & SSH (9.2.2), File editor (5.3.3) add ons so you can see what’s happening.
    • Get the UniFi Protect 3rd party integration for Home Assistant
      • NOTE: Unifi Protect support is being promoted in Home Assistant v2022.2 so you won’t need this step soon as it’ll be included.
      • “The UniFi Protect Integration adds support for retrieving Camera feeds and Sensor data from a UniFi Protect installation on either an Ubiquiti CloudKey+, Ubiquiti UniFi Dream Machine Pro or UniFi Protect Network Video Recorder.”
      • Authenticate and configure this integration.
    • Get the Alexa Media Player integration
      • This makes all your Alexas show up in Home Assistant as “media players” and also allows you to tts (text to speech) to them.
      • Authenticate and configure this integration.

    I recommend going into your Alexa app and making a Multi-room Speaker Group called “everywhere.” Not only because it’s nice to be able to say “play the music everywhere” but you can also target that “Everywhere” group in Home Assistant.

    Go into your Home Assistant UI at http://homeassistant.local:8123/ and into Developer Tools. Under Services, try pasting in this YAML and clicking “call service.”

    service: notify.alexa_media_everywhere
    data:
      message: Someone is at the front door, this is a test
      data:
        type: announce
        method: speak

    If that works, you know you can automate Alexa and make it say things. Now, go to Configuration, Automation, and Add a new Automation. Here’s mine. I used the UI to create it. Note that your Entity names may be different if you give your front doorbell camera a different name.

    Binary_sensor.front_door_doorbell

    Notice the format of Data, it’s name value pairs within a single field’s value.

    Alexa Action

    …but it also exists in a file called Automations.yaml. Note that the “to: ‘on’” trigger is required or you’ll get double announcements, one for each state change in the doorbell.

    - id: '1640995128073'
      alias: G4 Doorbell Announcement with Alexa
      description: G4 Doorbell Announcement with Alexa
      trigger:
      - platform: state
        entity_id: binary_sensor.front_door_doorbell
        to: 'on'
      condition: []
      action:
      - service: notify.alexa_media_everywhere
        data:
          data:
            type: announce
            method: speak
          message: Someone is at the front door
      mode: single

    It works! There’s a ton of cool stuff I can automate now!


    Sponsor: Make login Auth0’s problem. Not yours. Provide the convenient login features your customers want, like social login, multi-factor authentication, single sign-on, passwordless, and more. Get started for free.




    About Scott

    Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

    facebook
    bluesky
    subscribe
    About   Newsletter

    Hosting By
    Hosted on Linux using .NET in an Azure App Service










    Source link

  • Effective Digital Marketing Strategies for Surrogacy Agencies


    In the competitive world of surrogacy, agencies seeking growth and visibility must leverage effective digital marketing strategies. The internet presents a wealth of opportunities to reach potential surrogates and intended parents alike. Through strategic approaches such as SEO, PPC advertising, and online reputation management, surrogacy agencies can gain a significant advantage. Understanding how to harness these digital tools can elevate a business to new heights, fostering trust and engagement. As technology continuously evolves, staying updated with digital trends is not just beneficial—it’s essential for sustained success and growth in the surrogacy field.

    Search Engine Optimization (SEO)

    Search Engine Optimization (SEO) is critical for surrogacy agencies aiming to increase their online visibility. Digital landscapes are crowded, and thousands of women apply to be surrogates every year, emphasizing the need for differentiation. Employing effective SEO strategies involves optimizing website content, utilizing relevant keywords, and ensuring a seamless user experience to attract more organic traffic.

    A comprehensive SEO strategy includes on-page and off-page optimization. On-page optimization focuses on content quality, meta tags, and URL structure to enhance relevance and authority. Off-page strategies, such as building backlinks and engaging in social media, further amplify a surrogacy agency’s online presence, building credibility and encouraging business growth.

    Maintaining an effective SEO campaign requires ongoing monitoring and analysis. Analyzing SEO metrics helps agencies identify successful strategies and areas needing improvement. By staying informed and responsive to changing SEO trends and algorithms, surrogacy agencies ensure that their web presence effectively reaches and resonates with their target audience.

    Pay-Per-Click (PPC) Advertising

    Pay-Per-Click (PPC) advertising offers surrogacy agencies immediate visibility through paid online campaigns. Utilizing PPC involves creating targeted ads that appear when potential clients search for related services. According to What to Expect, 75% of expecting parents create a baby registry, which highlights the necessity of understanding market behaviors.

    To optimize PPC campaigns, agencies need to carefully select keywords that resonate with both potential surrogates and intended parents. Crafting compelling ad copy that aligns with user intent can significantly enhance engagement and conversion rates. Furthermore, regular monitoring and optimization of PPC campaigns ensure better performance and return on investment.

    An effective PPC strategy is not a set-and-forget solution. Continuous adjustment and testing are necessary to align with evolving market demands and consumer interests. By refining strategies and implementing advanced targeting techniques, surrogacy agencies can maintain a competitive edge, contributing to overall business success.

    Online Reputation Management

    In the digital age, a surrogacy agency’s reputation is often synonymous with its success. Online reputation management revolves around controlling the narrative surrounding the agency. Proactively managing online reviews and engaging with clients can help build a positive reputation, fostering trust and reliability among prospective surrogates and parents.

    Statistics from High Rock Studios suggest that the most engaged audiences spend 76 times more on advertised products and services online. This fact underlines the importance of maintaining a stellar online reputation. Agencies must invest in monitoring their digital footprint, addressing negative feedback constructively, and celebrating positive testimonials to enhance their image.

    Reputation management is an ongoing effort that involves every department in the agency. Delivering excellent customer service, transparent communication, and honoring commitments are foundational to cultivating positive perceptions online. By prioritizing an exemplary reputation, surrogacy agencies can build longstanding relationships and trust, key elements in a sustainable business model.

    In conclusion, leveraging search engine optimization, pay-per-click advertising, and online reputation management are pivotal strategies for surrogacy agencies seeking success. Each tactic offers unique benefits that, when combined, result in a comprehensive digital marketing strategy. As the digital landscape continues to evolve, it is crucial for agencies to adapt their approaches accordingly. Continuous learning and adjustment of strategies ensure that the business remains relevant and competitive. Ultimately, a strategic focus on these areas empowers surrogacy agencies to thrive in an increasingly digital world.



    Source link

  • 6.38 Million Google Clicks! 🤑

    6.38 Million Google Clicks! 🤑


    Yesterday Online PNG Tools smashed through 6.37M Google clicks and today it’s smashed through 6.38M Google clicks! That’s 10,000 new clicks in a single day – the smash train keeps on rollin’!

    What Are Online PNG Tools?

    Online PNG Tools offers a collection of easy-to-use web apps that help you work with PNG images right in your browser. It’s like a Swiss Army Knife for anything PNG-related. On this site, you can create transparent PNGs, edit icons, clean up logos, crop stamps, change colors of signatures, and customize stickers – there’s a tool for it all. The best part is that you don’t need to install anything or be a graphic designer. All tools are made for regular people who just want to get stuff done with their images. No sign-ups, no downloads – just quick and easy PNG editing tools.

    Who Created Online PNG Tools?

    Online PNG Tools were created by me and my team at Browserling. We’ve build simple, browser-based tools that anyone can use without needing to download or install anything. Along with PNG tools, we also work on cross-browser testing to help developers make sure their websites work great on all web browsers. Our mission is to make online tools that are fast, easy to use, and that are helpful for everyday tasks like editing icons, logos, and signatures.

    Who Uses Online PNG Tools?

    Online PNG Tools and Browserling are used by everyone – from casual users to professionals and even Fortune 100 companies. Casual users often use them to make memes, edit profile pictures, or remove backgrounds. Professionals use them to clean up logos, design icons, or prepare images for websites and apps.

    Smash too and see you tomorrow at 6.39M clicks! 📈

    PS. Use coupon code SMASHLING for a 30% discount on these tools at onlinePNGtools.com/pricing. 💸



    Source link

  • I got tired – Scott Hanselman’s Blog

    I got tired – Scott Hanselman’s Blog



    I got tired - photo by Elisa VenturI have been blogging here for the last 20 years. Every Tuesday and Thursday, quite consistently, for two decades. But last year, without planning it, I got tired and stopped. Not sure why. It didn’t correspond with any life events. Nothing interesting or notable happened. I just stopped.

    I did find joy on TikTok and amassed a small group of like-minded followers there. I enjoy my YouTube as well, and my weekly podcast is going strong with nearly 900 (!) episodes of interviews with cool people. I’ve also recently started posting on Mastodon (a fediverse (federated universe)) Twitter alternative that uses the ActivityPub web standard. I see that Mark Downie has been looking at ActivityPub as well for DasBlog (the blog engine that powers this blog) so I need to spend sometime with Mark soon.

    Being consistent is a hard thing, and I think I did a good job. I gave many talks over many years about Personal Productivity but I always mentioned doing what “feeds your spirit.” For a minute here the blog took a backseat, and that’s OK. I filled that (spare) time with family time, personal projects, writing more code, 3d printing, games, taekwondo, and a ton of other things.

    Going forward I will continue to write and share across a number of platforms, but it will continue to start here as it’s super important to Own Your Words. Keep taking snapshots and backups of your keystrokes as you never know when your chosen platform might change or go away entirely.

    I’m still here. I hope you are too! I will see you soon.

    Related Links:




    About Scott

    Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

    facebook
    bluesky
    subscribe
    About   Newsletter

    Hosting By
    Hosted on Linux using .NET in an Azure App Service










    Source link

  • This Forgotten Python Command Makes Code 14,000 Times Faster



    This Forgotten Python Command Makes Code 14,000 Times Faster



    Source link

  • Online Signature Tools Now Have Neat Icons

    Online Signature Tools Now Have Neat Icons


    Last month, we added neat icons to Online JSON Tools, and today we have also added neat icons to Online Signature Tools. The new icons make it easier to find and use your favorite tools.

    What Are Online Signature Tools?

    Online Signature Tools, also known as Digital Signature Tools, are browser-based apps that help you edit and enhance your handwritten signature for digital use. They let you do things like remove the background, change the color, resize, rotate, and improve the quality of your scanned signature image. These tools are super useful for making your signature look clean and professional when signing PDFs, Word docs, or other digital documents.​

    What Are Online Signature Tool Synonyms?

    • E-signature tools
    • Digital signature makers
    • Online signing apps
    • Electronic signing software
    • Signature creator tools
    • Web signature generators
    • Digital signing tools
    • E-sign apps
    • Signature editor tools
    • Online signature generators
    • Digital signature software

    Who Created Online Signature Tools?

    Online Signature Tools were built by me and my team at Browserling. We wanted to create something simple and easy for people to use right in their browsers – no downloads, no installs, no complicated stuff. While we work on a bunch of handy online tools, we also do cross-browser testing to make sure everything works great no matter what browser you’re using. Our goal is to help regular users and developers save time and get things done without any tech headaches.

    Who Uses Online Signature Tools?

    Online Signature Tools and Browserling are used by everyone, including regular Internet users, freelancers, small business owners, and even Fortune 100 companies. They’re handy for signing documents, contracts, or forms quickly without printing or scanning. Everyday users use them for signing agreements or apartment leases, while professionals use them for signing NDAs and big contracts.

    Buy a subscription now at onlinePNGtools.com/pricing and use the coupon code SIGNLING for 30% off! 🤑



    Source link