Afleveringen

  • Shout out to Noodles thanks again for responding to my previous post#4045 it was awesome to get feedback.

    Being able to upgrade my 2010 Macbook which is an Apple device andhow impressive that was. Sadly that upgradability is a thing of thepast.

  • Zijn er afleveringen die ontbreken?

    Klik hier om de feed te vernieuwen.

  • I will talk about information feeds from web sites delivered to mycomputer device. I use the term feeds and by that I mean both RSS feedsand Atom feeds, the two feed protocols which are very similar.

    I believe it is very likely you as listener to Hacker Public Radioknow about feeds. Not unlikely you even know the technical details farbetter than I do.

    Nowadays many of us use feeds very often without thinking of them asfeeds, when we subscribe to podcasts.

    But feeds have been around for many years. Back in the days, I usedfeeds for websites I was interested in. But somehow I forgot about itand web browsers stopped to support feed subscriptions.

    A year or two ago I started my new journey into feeds. Although it isnot so much talk about feeds nowadays, very many web sites have supportfor feed subscriptions.

    To start, at my own personal web site (https://www.hemrin.com/)many of the pages have feeds, typically those that are blog-like pages,and you can subscribe to several feeds on my site.

    From Hacker Public Radio I subscribe to a feed for all show comments.So when you write a comment regarding my show today, I will get notifiedin my feed manager.

    I primarily use Thunderbird to manage my feeds. I do not need myfeeds to be synced to other devices. I use Thunderbird daily for e-mailsand it is therefore very practical and natural for me to use it also forfeeds. In addition I use the Feeder app on my Android-based phone forsome feeds.

    I do not use feeds for web sites I anyway will visit often or thathave a lot of news. I would be overwhelmed of feeds. Instead I use feedsfor web sites which are not updated so frequently but are sites I wantto keep an eye on. But some are updated daily, like from theparliament.

    In some cases, feeds are an alternative to subscribe to e-mailnotifications and e-mail newsletters.

    The beauty with feeds is that I am in charge and without giving oute-mail or anything - the site owner do not know I subscribe.Subscription starts so simple as I type the feed-url into my Thunderbirdfeed manager. And when I want to end a subscription, I simply deleteit.

    Furthermore I subscribe to Status pages. I get notifications forexample from my internet service provider for their planned andunplanned maintenance.

    Several authorities have interesting feeds.

    I have feeds from some companies and organizations.

    I have feeds from many software developers, for example Thunderbirdand Linux Mint.

    I have feeds from some journalists and politicians and alike.

    I have feeds from persons with competence in various areas I aminterested in. And other persons who are interesting for the personsthey are and their thoughts.

    So, this show is to tell you that I have rediscovered feeds and foundthem useful for me. Maybe you already use feeds. Maybe this show willinspire you to have a look into feeds as a useful tool for your personalor professional life.

  • I have been struggling with my body weight since I was 35, and I’mnow 60.
    I know that not all listeners are familiar with the kilogram as unit ofmeasurement, but we can use the BMI (Body Mass Index) formula to discussthis. It should be somewhere between 22 and 25 and mine has been 33 fora long time. A very long time. No matter what I tried.

    Yes, I tried some diets but they only work if you keep doing them. Soif something does not become normal or easy than at some inevitablepoint you will stop and gain weight again.
    Yes, they talk about changing your life style but any change that is toodrastic is bound to fail in the end.

    And then recently I read this book. This absolutely changed my lifeand that is why I am so motivated to tell you all about it.

    Book obesity code, Jason Fung, a Canadian nephrologist (kidneyspecialist).
    He is also a functional medicine advocate who promotes alow-carbohydrate high-fat diet and intermittent fasting. But we comeback to that later.

    Not another diet hype. That is an industry on its own.
    This is scientific stuff. With lots of links to research papers.
    With large groups and thoroughly peer reviewed.

    And this does not mean that this story is for everyone.
    There exist other medical reasons why people gain weight.
    But, assuming most people start out in life being healthy, then mostpeople gaining weight are not ill.
    So, if you gain weight, consult your doctor first to rule out anymedical reasons.

    Jason Fung noticed that practice didn't match with theory.

    Everybody who is given insulin gains weight.
    Even diabetes type 2 people.
    There are even several scientific studies that proves this. Give peopleinsulin and they will gain weight.

    So what if insulin is the culprit for gaining weight?
    Insulin is a hormone. Its job is to send signals through the body.
    Its use is to allow body cells to absorb nutrients in the bloodstream.

    Every time you eat the insulin peaks and subsides normally threetimes a day.

    Body process called gluconeogenesis. Making fat in the liver for oneday storage.

    If you eat the body makes insulin. That is normal.
    If you eat more, the body makes more insulin.
    Body cells adjust to the higher level and become tone deaf to insulin:Insulin resistant.
    This means next time the insulin level needs to be higher.
    And higher levels of insulin mean you will gain weight.

    If you eat sugar, it is so easy to break down that it goesimmediately into storage, e.g. body fat.

    The thing is, wheat is chemically a long string of sugars. So thebody will break it down into sugar and send that too to storage.

    And almost any food we buy these days contains sugar.
    Except unprocessed foods like vegetables.

    How to lose weight? Well, the body needs to access the fat instorage. So we need to extend not eating until the liver has run dry ofthe daily dose of liver fat.

    This is very easy. Just extend the daily period that you do noteat.
    When do you not eat? When you sleep. So, skip breakfast. The name saysit all, you are breaking your fast.

    Drink some coffee (no sugar of course), or tea, or water and try tostart eating later in the day.

    And another word for not eating is fasting. But it is a voluntaryfast!

    So I tried this for one day. Skip breakfast and try to eat it atnoon. I mean, what could possibly go wrong, right? The next day I hadlost some weight. And it was sooo easy! I could say 300 grams but again,your mileage may vary or you have no clue what one gram is, let alone300. But that is not the point. The point is that I lost weight! And tome this has been super easy.

    So the solution turns out to be:

    extend the time your insulin levels are low. 16, 24 or 36hours.eat as little sugar as possible.

    Which brings me to food categories.

    carbohydrates. Sugars, wheat, flourproteins.fats. Oil, etc.vitamins and mineralsfibers

    Average digestion times of

    carbohydrates. 30 minutes. After which you will be hungry againproteins: 3-5 hoursfats. Oil, etc. up to 40 hoursvitamins and minerals. neededfibers. Leave the body

    How has all this theory changed my life and diet?

    I try to start eating at noon, sometimes an hour earlierI eat as little carbohydrates as possible. Little to no bread,definitely no sugar, avoid artificial sweetenersmy meal at noon is most of the times quark with some fruit forflavoringevening food:Vegetables are good.Some meat is good.I try to avoid dessertsNo eating between meals (this will cause an extra insulin peak Iwant to avoid)

    Since I started 2 month ago I have on average lost 4 kilograms. Itcould have been more but then there’s the occasional dinner with friendsand what is bad, but soo good, is unavoidable.

    So, some other stuff that is good to know:

    What’s that about exercising?

    Well, we humans, excel at walking and thus wearing out our prey. Sowalking is good. Everyday for half an hour is great.Doing an intensive workout for a minimum of 10 minutes per week isgood to keep our cardiovascular system and our brain up to speedCan you compensate cookies with sports. Well, every cookie wouldtake you about 2.5 hours of intensive sports, so no, you can notcompensate bad eating with sports.

    What’s with the calories in are calories out? Studies have proventhat this is a false claim. It just doesn't work that way.

    What about stress. Well, it turns out that stress leads to heightenedlevels of the hormones adrenaline and cortisol. And when cortisol rises,so too does the insulin levels in your body. So, this simply means thatstress will lead to weight gain.

    Can I simply drink diet sodas. Well, bummer there, because althoughit diet sodas do not contain calories nor sugars, they will result in arise in your insulin level, so they are not good for loosing weight.

    [The Diary Of A CEO with Steven Bartlett] The Fasting Doctor:“Fasting Cures Obesity!”, This Controversial New Drug Melts Fat, FastingFixes Hormones! Skip Breakfast!

    https://podcasts.apple.com/gb/podcast/the-fasting-doctor-fasting-cures-obesity-this/id1291423644

    Jason Fung YouTube channel, https://www.youtube.com/watch?v=8RuWp3s6Uxk

    I hope you found this explanation helpful. Have a nice day.

  • Introduction

    This is the start of a short series about the JSON data format, and howthe command-line tool jqcan be used to process such data. The plan is to make an open series towhich others may contribute their own experiences using this tool.

    The jq command is described on the GitHub page as follows:

    jq is a lightweight and flexible command-line JSON processor

    …and as:

    jq is like sed for JSON data - you can useit to slice and filter and map and transform structured data with thesame ease that sed, awk, grep andfriends let you play with text.

    The jq tool is controlled by a programming language(also referred to as jq), which is very powerful. Thisseries will mainly deal with this.

    JSON (JavaScript ObjectNotation)

    To begin we will look at JSON itself. It is defined onthe Wikipedia pagethus:

    JSON is an open standard file format and datainterchange format that uses human-readable text to store and transmitdata objects consisting of attribute–value pairs and arrays (or otherserializable values). It is a common data format with diverse uses inelectronic data interchange, including that of web applications withservers.

    The syntax of JSON is defined by RFC 8259 and byECMA-404.It is fairly simple in principle but has some complexity.

    JSON’s basic data types are (edited from the Wikipedia page):

    Number: a signed decimal number that may contain afractional part and may use exponential E notation, but cannot includenon-numbers. (NOTE: Unlike what I said in the audio,there are two values representing non-numbers: 'nan' andinfinity: 'infinity'.

    String: a sequence of zero or more Unicode characters.Strings are delimited with double quotation marks and support abackslash escaping syntax.

    Boolean: either of the values true orfalse

    Array: an ordered list of zero or more elements, each ofwhich may be of any type. Arrays use square bracket notation withcomma-separated elements.

    Object: a collection of name–value pairs where the names(also called keys) are strings. Objects are delimited with curlybrackets and use commas to separate each pair, while within each pairthe colon ':' character separates the key or name from itsvalue.

    null: an empty value, using the wordnull

    Examples

    These are the basic data types listed above (same order):

    42"HPR"true["Hacker","Public","Radio"]{ "firstname": "John", "lastname": "Doe" }nulljq

    From the Wikipedia page:

    jq was created by Stephen Dolan, and released in October2012. It was described as being “like sed for JSON data”. Support forregular expressions was added in jq version 1.5.

    Obtaining jq

    This tool is available in most of the Linux repositories. Forexample, on Debian and Debian-based releases you can install itwith:

    sudo apt install jq

    See the downloadpage for the definitive information about available versions.

    Manual for jq

    There is a detailed manual describing the use of the jqprogramming language that is used to filter JSON data. It can be foundat https://jqlang.github.io/jq/manual/.

    The HPR statistics page

    This is a collection of statistics about HPR, in the form of JSONdata. We will use this as a moderately detailed example in thisepisode.

    A link to this page may be found on the HPR Calendar pageclose to the foot of the page under the heading Workflow.The link to the JSON statistics is https://hub.hackerpublicradio.org/stats.json.

    If you click on this you should see the JSON data formatted for youby your browser. Different browsers represent this in differentways.

    You can also collect and display this data from the command line,using jq of course:

    $ curl -s https://hub.hackerpublicradio.org/stats.json | jq '.' | nl -w3 -s' ' 1 { 2 "stats_generated": 1712785509, 3 "age": { 4 "start": "2005-09-19T00:00:00Z", 5 "rename": "2007-12-31T00:00:00Z", 6 "since_start": { 7 "total_seconds": 585697507, 8 "years": 18, 9 "months": 6, 10 "days": 28 11 }, 12 "since_rename": { 13 "total_seconds": 513726307, 14 "years": 16, 15 "months": 3, 16 "days": 15 17 } 18 }, 19 "shows": { 20 "total": 4626, 21 "twat": 300, 22 "hpr": 4326, 23 "duration": 7462050, 24 "human_duration": "0 Years, 2 months, 27 days, 8 hours, 47 minutes and 30 seconds" 25 }, 26 "hosts": 356, 27 "slot": { 28 "next_free": 8, 29 "no_media": 0 30 }, 31 "workflow": { 32 "UPLOADED_TO_IA": "2", 33 "RESERVE_SHOW_SUBMITTED": "27" 34 }, 35 "queue": { 36 "number_future_hosts": 7, 37 "number_future_shows": 28, 38 "unprocessed_comments": 0, 39 "submitted_shows": 0, 40 "shows_in_workflow": 15, 41 "reserve": 27 42 } 43 }

    The curl utility is useful for collecting informationfrom links like this. I have used the -s option to ensureit does not show information about the download process, since it doesthis by default. The output is piped to jq which displaysthe data in a “pretty printed” form by default, as you see. In this caseI have given jq a minimal filter which causes what itreceives to be printed. The filter is simply '.'. I havepiped the formatted JSON through the nl command to get linenumbers for reference.

    The JSON shown here consists of nested JSON objects. Thefirst opening brace and the last at line 43 define the whole thing as asingle object.

    Briefly, the object contains the following:

    a number called stats_generated (line 2)an object called age on lines 3-18; this objectcontains two strings and two objectsan object called shows on lines 19-25a number called hosts on line 26an object called slot on lines 27-30an object called workflow on lines 31-34an object called queue on lines 35-42

    We will look at ways to summarise and reformat such output in a laterepisode.

    Next episode

    I will look at some of the options to jq next time,though most of them will be revealed as they become relevant.

    I will also start looking at jq filters in thatepisode.

    LinksJSON (JavaScript Object Notation):Wikipedia page aboutJSONStandards:RFC8259: TheJavaScript Object Notation (JSON) Data Interchange FormatECMA-404:The JSON data interchange syntaxjq:GitHub pageDownloadingjqThe jqmanualWikipediapage about the jq programming languageMrX’sshow on using the HPR statistics in JSON: Modifying aPython script with some help from ChatGPT
  • MPV resources

    Awesome mpv resources onGithub

    MPV folder history onGithub

    My github

    MPV History using Lua onmy Github page

    hpr3133 ::Quick tip - Using MPV with Youtube links

    I give a quick tip on shortcut keys for watching Youtube or othervideo sites in MPV

    hpr3133 :: Quick tip - UsingMPV

    My MPV History excerpt

    My MPV History excerpt

  • https://docs.google.com/document/d/17z3i5VlRzEn2tYPfb-Cx0LYpdKkbL-6svIzp7ZQOvX8

    Resume Update Tips

    I use Kagi.com pro $300 / year but you get access to much moreSearch+AI but not plugins like ChatGPT so if you MUST have ChatGPTplugins you will need OpenAI Premium account but if you don't I highrecommend Kagi.com Pro account with access to Assistant Beta !!!

    Land a Job using ChatGPT: The Definitive Guide!
    https://youtu.be/pmnY5V16GSE?t=192

    Extensive Resume Notes
    https://drive.google.com/file/d/1zeYIG7tTE0BUqbRM7-hpk3VdTRc35ZkL/view?usp=sharing

    Ripped cybersn
    https://rmccurdy.com/.scripts/downloaded/knowmore.cybersn.com_20220811.txt

    Perfect ChatGPT Prompt
    https://www.youtube.com/watch?v=jC4v5AS4RIM

    Summary

    There is a formula consisting of 6 building blocks that can helpgenerate high quality outputs from ChatGPT and Google Bard: task,context, exemplars, persona, format, and tone.

    The order of importance for the building blocks is task first, thencontext, with the others being optional but helpful.

    The task should clearly articulate the end goal using an action verblike "generate" or "analyze".

    Context provides relevant background information to constrainpossibilities.

    Exemplars like examples or frameworks included in the prompt canimprove output quality.

    The persona allows specifying who ChatGPT should be, like a jobrecruiter.

    The format specifies how the output should be structured, like anemail or bullet points. Tone provides keywords to set the feeling, like"friendly" or "serious".

    Example

    You are a senior product marketing manager at Apple and you have justunveiled the latest Apple product in collaboration with Tesla, the AppleCar, and received 12,000 pre-orders, which is 200% higher than target.Write an email to your boss, Tim Cookie, sharing this positive news. Theemail should include a tl;dr (too long, didn't read) section,project background (why this product came into existence), businessresults section (quantifiable business metrics), and end with a sectionthanking the product and engineering teams. Use clear and conciselanguage and write in a confident yet friendly tone.

    Example 2 ( mine )

    I want you to act as a cyber security specialist for a leadingconsumer products company and you want to relay the importance of peopleunderstanding their data and have some idea what they want to do with itbefore we spend hours for the onboarding effort. Write an email to yourboss, Joey , sharing this critical component of the SIEM. The emailshould include a tl;dr (too long, didn't read) section, exampleof how the team can spend many cycles onboarding data only to find therequester has no idea what they want to do with the data or it does notsatisfy their use case. Use clear and concise language and write in aconfident yet friendly tone.

    Response Subject: Streamlining SIEM Onboarding withClear Data Objectives
    Hi Joey,

    I hope this email finds you well. I wanted to touch base on acritical aspect of our Security Information and Event Management (SIEM)process that could significantly enhance our efficiency.

    TL;DR: We need to ensure that stakeholders understand their data andhave clear objectives before we initiate the SIEM onboarding process.This will prevent the team from spending excessive time onboarding datathat may not meet the intended use cases or for which the requester hasno actionable plan.

    During our recent SIEM onboarding efforts, we've encountered severalinstances where considerable time and resources were invested inintegrating data sources, only to discover that the requesters wereunclear about their objectives or the data did not fulfill theiranticipated needs. For example, last month, the team dedicated over 40hours to onboarding a new data source for the marketing department.After completion, it became apparent that the marketing team was unsurehow to leverage this data for threat detection or compliance reporting,rendering the effort less effective.

    To address this, I propose we implement a preliminary consultationphase for each SIEM onboarding request. In this phase, requesters mustarticulate: - The specific security or compliance questions they aim toanswer with the data. - How they intend to use the data within the SIEMenvironment. - Any particular data formats or schemas they anticipatewill be necessary.

    By doing so, we can align our onboarding efforts with the actualneeds and ensure that every hour spent is towards enhancing our securityposture and providing actionable insights.

    I believe this approach will not only save time but also empower ourstakeholders to make better-informed decisions regarding their securitydata needs.

    Looking forward to your thoughts on this.

    Best regards,
    [Your Name]
    Cyber Security Specialist

    AI Agents

    ProfSynapse AI Agent
    Video: https://www.youtube.com/watch?v=BL9x1SuNLRo&t=137s

    ( if you have Openai Premium it will use [tools(Vision, Web Browsing,Advanced Data Analysis, or DALL-E],
    ( https://raw.githubusercontent.com/ProfSynapse/Synapse_CoR/main/GPTprompt.txt)

    GPT Agents (old)
    https://godmode.space/needs openai key and gpt4 also enable auto approval it may go in loopsjust watch for that

    AutoGPT ( OLD )

    Image
    I have a stupid amount of kudos

    https://tinybots.net/artbot

    Use my key under the settings for any of the web UI's for fasterrenders:

    https://rentry.org/RentrySD/#x-table-of-contents https://rentry.org/sdhypertextbook

    https://github.com/C0untFloyd/bark-gui ( Audio Clone)

    Example 1

    Photorealistic, best quality, masterpiece, raw photo of upper bodyphoto, Swordsman woman, soldier of the austro-hungarian empire clothes,double breasted jacket with stripes, extremely detailed eyes and face,long legs, highest quality, skin texture, intricate details, (cinematiclighting), RAW photo, 8k

    Negative prompt: airbrush, photoshop, plastic doll, plastic skin,easynegative, monochrome, (low quality, worst quality:1.4),illustration, cg, 3d, render, anime

    Text Generation

    Example Open source Projects:
    my hord key : l2n6qwRBqXsEa_BVkK8nKQ ( don't abuse but I have a crazyamount of kudos don't worry )

    https://tinybots.net/Image Text etc ..

    Text adventures etc (Click the horde tab and use my key) https://agnai.chat/settings?tab=0 https://lite.koboldai.net

    Need a 24G NVRAM card really..you can load 7b with my 8G card justfine. ollama run wizard-vicuna-uncensored, falcon, Mistral 7B

    "You should have at least 8 GB of RAM to run the 3B models, 16 GB torun the 7B models, and 32 GB to run the 13B models."

    https://ollama.ai/

    https://writings.stephenwolfram.com/2023/03/chatgpt-gets-its-wolfram-superpowers/

    https://github.com/xtekky/gpt4free https://www.thesamur.ai/autogpt https://poe.com/universal_link_page?handle=ChatGPT https://camelagi.thesamur.ai/conversation/share?session=6040

    Prompt Agent Persona example 1
    Pinky from the TV Series Pinky and the Brain

    I find it easiest to understand responses when the text is written asif it was spoken by a Pinky from the TV Series Pinky and the Brain.Please talk like Pinky from the TV Series Pinky and the Brain as much aspossible, and refer to me as "Brain"; occasionally, ask me "What are wegoing to do tonight Brain ?"

    Prompt Agent Persona example 2

    Use with prompts to create a persona take Myers-Brigg personality andtritype Enneagram quiz:

    Example Prompt:

    Help me Refine my resume to be more targeted to an informationsecurity engineer. Be sure to be clear and concise with with bulletpoints and write it in the style of MBTI Myers-Brigg personality ENFJand tritype Enneagram 729

    Prompt Agent Persona example 3 I find it easiest to understandresponses when the text is written as if it was spoken by a dudebro.Please talk like a dudebro as much as possible, and refer to me as"Brah"; occasionally, yell at your dorm roommate Jake about beingmessy.

    Training (OLD OLD OLD )

    3 photos of full body or entire object + 5 medium shot photos fromthe chest up + 10 close ups astria.ai

    https://github.com/TheLastBen/fast-stable-diffusion/issues/1173

    colab: https://github.com/TheLastBen/fast-stable-diffusion
    pohtos: 21
    resolution: 768
    merged with ##### 1.5 full 8G
    UNet_Training_Steps: 4200
    UNet_Learning_Rate: 5e-6
    Text_Encoder_Training_Steps: 2520
    Text_Encoder_Learning_Rate: 1e-6

    Variation is key - Change body pose for every picture, use picturesfrom different days backgrounds and lighting, and show a variety ofexpressions and emotions.

    Make sure you capture the subject's eyes looking in differentdirections for different images, take one with closed eyes. Everypicture of your subject should introduce new info about yoursubject.

    Whatever you capture will be over-represented, so things you don'twant to get associated with your subject should change in every shot.Always pick a new background, even if that means just moving a littlebit to shift the background.

    Here are 8 basic tips that work for me, followed by one supersecret tip that I recently discovered.

    Consistency is important. Don’t mix photos from 10 years ago withnew ones. Faces change, people lose weight or gain weight and it alljust lowers fidelity.

    Avoid big expressions, especially ones where the mouth isopen.

    It is much easier to train if the hair doesn't change much. Itried an early model of a woman using photos with hair up, down, inponytail, with a different cut, etc. It seems like it just confusedSD.

    Avoid selfies (unless you ONLY use selfies.) There is MUCH moreperspective distortion when the camera is that close. For optimalresults, a single camera with a fixed lens would be used, and all photosshould be taken at the same distance from the subject. This usuallyisn't possible, but at least avoid selfies because they cause major facedistortion.

    Full body shots are not that important. Some of the best models Itrained used only 15 photos cropped to the head / shoulder region. Manyof these were full body shots, but I cropped them down. SD can guesswhat the rest of the body looks like, and if not, just put it in theprompts. The only thing hard to train is the face, so focus onthat.

    I no longer use any profile shots as they don’t seem to addvalue. I like to have a couple looking slightly left and a couplelooking slightly right (maybe 45 degrees.) All the rest can be straightat the camera. Also, try to avoid photos taken from really high or lowangles.

    If possible, it’s good to have some (but not all) of the photosbe on a very clean background. On my last batch, I used an AI backgroundremoval tool to remove the background from 1/4 of the photos andreplaced it with a solid color. This seemed to improve results.

    Careful with the makeup. It should be very consistent across allthe photos. Those cool “contour” effects that trick our eyes, also trickSD.

    Interview from a very smart autodidact

    https://youtu.be/AaTRHFaaPG8?t=3279

    Canva AI Presentation generator
    https://www.youtube.com/watch?v=Nl2gLi1MD04

  • Charleston, South Carolina is a classic Southern city which had apast as a wealthy city, in large part due to slavery, and was active inthe American Revolution before becoming the starting place of the CivilWar.

    Linkshttps://flic.kr/s/aHBqjAvQKRhttps://flic.kr/s/aHBqjAvQY6https://flic.kr/s/aHBqjAvS82https://www.palain.com/travel/rv-trip-2022-2023-southeast-us/charleston-south-carolina/
  • Home Automation, TheInternet of things.

    This is the first episode in a new series calledHomeAutomation. The series is open to anyone and I encourage everyone tocontribute.

    https://en.wikipedia.org/wiki/Home_automation FromWikipedia, the free encyclopedia

    Home automation or domotics is building automation for a home. A homeautomation system will monitor and/or control home attributes such aslighting, climate, entertainment systems, and appliances. It may alsoinclude home security such as access control and alarm systems.

    The phrase smart home refers to home automation devices that haveinternet access. Home automation, a broader category, includes anydevice that can be monitored or controlled via wireless radio signals,not just those having internet access. When connected with the Internet,home sensors and activation devices are an important constituent of theInternet of Things ("IoT").

    A home automation system typically connects controlled devices to acentral smart home hub (sometimes called a "gateway"). The userinterface for control of the system uses either wall-mounted terminals,tablet or desktop computers, a mobile phone application, or a Webinterface that may also be accessible off-site through the Internet.

    Now is the time

    I tried this out a few years ago, but after a lot of frustration withconfiguration of esp32 arduinos, and raspberry pi's I left it be.Recently inspired by colleagues in work, I decided to get back into itand my initial tests show that the scene has much improved over theyears.

    Youtube PlaylistTheHook Up,RSSHomeAutomation Guy,RSSEverythingSmart Home,RSSSmartSolutions for Home,RSSSmartHome Circle,RSSSmartHome Junkie,RSSHome Assistant

    The first thing we'll need is something to control it all. Somethingwill allow us to control our homes without requiring the cloud.

    https://en.wikipedia.org/wiki/Home_Assistant FromWikipedia, the free encyclopedia

    Home Assistant is free and open-source software for home automation,designed to be an Internet of things (IoT) ecosystem-independentintegration platform and central control system for smart home devices,with a focus on local control and privacy. It can be accessed through aweb-based user interface, by using companion apps for Android and iOS,or by voice commands via a supported virtual assistant, such as GoogleAssistant or Amazon Alexa, and their own "Assist" (built-in local voiceassistant).

    The Home Assistant software application is installed as a computerappliance. After installation, it will act as a central control systemfor home automation (commonly called a smart home hub), that has thepurpose of controlling IoT connectivity technology devices, software,applications and services from third-parties via modular integrationcomponents, including native integration components for common wirelesscommunication protocols such as Bluetooth, Thread, Zigbee, and Z-Wave(used to create local personal area networks with small low-powerdigital radios). Home Assistant as such supports controlling devices andservices connected via either open and proprietary ecosystems as longthey provide public access via some kind of Open API or MQTT forthird-party integrations over the local area network or theInternet.

    Information from all devices and their attributes (entities) that theapplication sees can be used and controlled from within scripts triggerautomation using scheduling and "blueprint" subroutines, e.g. forcontrolling lighting, climate, entertainment systems and homeappliances.

    SummaryOriginal author(s): Paulus SchoutsenDeveloper(s): Home Assistant Core Team and CommunityInitial release: 17 September 2013Repository:https://github.com/home-assistantWritten in: Python (Python 3.11)Operating system: Software appliance / Virtual appliance(Linux)Platform: ARM, ARM64, IA-32 (x86), and x64 (x86-64)Type: Home automation, smart home technology, Internet of things,task automatorLicense: Apache License (free and open-source)Website:https://www.home-assistant.io

    The following is taken from theConceptsand terminology on the Home Assistant website. It is reproduced hereunder thecreativecommons Attribution-NonCommercial-ShareAlike 4.0 InternationalLicense

    Integrations

    Integrations are pieces of software that allow Home Assistant toconnect to other software and platforms. For example, a product byPhilips called Hue would use the Philips Hue term integration and allowHome Assistant to talk to the hardware controller Hue Bridge. Any HomeAssistant compatible term devices connected to the Hue Bridge wouldappear in Home Assistant as devices.

    For a full list of compatible term integrations, refer to the integrationsdocumentation.

    Once an term integration has been added, the hardware and/or data arerepresented in Home Assistant as devices andentities.

    Entities

    Entities are the basic building blocks to hold data in HomeAssistant. An term entity represents a term sensor, actor, or functionin Home Assistant. Entities are used to monitor physical properties orto control other term entities. An term entity is usually part of a termdevice or a term service. Entities have term states.

    Devices

    Devices are a logical grouping for one or more term entities. A termdevice may represent a physical term device, which can have one or moresensors. The sensors appear as entities associated with the term device.For example, a motion sensor is represented as a term device. It mayprovide motion detection, temperature, and light levels as termentities. Entities have states such as detected when motion isdetected and clear when there is no motion.

    Devices and entities are used throughout Home Assistant. To name afew examples:

    Dashboardscan show a state of an term entity. For example, if a light is on oroff.An automation can be triggered from astate change on an term entity. For example, a motion sensor entitydetects motion and triggers a light to turn on.A predefined color and brightness setting for a light saved as a scene.Areas

    An area in Home Assistant is a logical grouping of term devices andterm entities that are meant to match areas (or rooms) in the physicalworld: your home. For example, the living room area groupsdevices and entities in your living room. Areas allow you to targetservice calls at an entire group of devices. For example, turning offall the lights in the living room. Locations within your home such asliving room, dance floor, etc. Areas can be assigned to term floors.Areas can also be used for automatically generated cards, such as the Area card.

    Automations

    A set of repeatable term actions that can be set up to runautomatically. Automations are made of three key components:

    Triggers - events that start an term automation. For example, whenthe sun sets or a motion sensor is activated.Conditions - optional tests that must be met before an term actioncan be run. For example, if someone is home.Actions - interact with term devices such as turn on a light.

    To learn the basics about term automations, refer to the automationbasics page or try creatingan automation yourself.

    Scripts

    Similar to term automations, scripts are repeatable term actions thatcan be run. The difference between term scripts and term automations isthat term scripts do not have triggers. This means that term scriptscannot automatically run unless they are used in an term automations.Scripts are particularly useful if you perform the same term actions indifferent term automations or trigger them from a dashboard. Forinformation on how to create term scripts, refer to the scriptsdocumentation.

    Scenes

    Scenes allow you to create predefined settings for your term devices.Similar to a driving mode on phones, or driver profiles in cars, it canchange an environment to suit you. For example, your watchingfilms term scene may dim the lighting, switch on the TV andincrease its volume. This can be saved as a term scene and used withouthaving to set individual term devices every time.

    To learn how to use term scenes, refer to the scenedocumentation.

    Add-ons

    Depending on your installation type,you can install third party add-ons. Add-ons are usually apps that canbe run with Home Assistant but provide a quick and easy way to install,configure, and run within Home Assistant. Add-ons provide additionalfunctionality whereas term integrations connect Home Assistant to otherapps.