thegillion

Members
  • Content count

    774
  • Joined

  • Last visited

  • Days Won

    69

thegillion last won the day on January 6

thegillion had the most liked content!

About thegillion

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    Be hide a computer

Recent Profile Visitors

2,392 profile views
  1. thegillion

    The math behind the AI.

    As many of you know I am working on the website smarthomeportal.net and it is using Iris right now. I am wanting to show others how the AI works. If you are reading this post and working on AI for your smart home project you are welcome to use this. You may ask why I am giving everything away. Simple I want to see a true "Smart" home not just one with rules that you have to write. One that works out of the box. A.I. Sensitivity is just a scale of 1 - 10 and turned into a percent. This runs everything and is the core for it all. Devices left on (I fire this if all keyfobs are gone) Get all switches and lights left on (I filter via device type) and if that is greater then the A.I. sensitivity then let the user know. MATH TotalSwitchDevON / TotalSwitchDev = TotalPercentON then TotalPercentON x 100 = TotalPercentONAI then you can see if TotalPercentONAI <= A.I. sensitivity Over Power Usage Keep max power usage and pull power usage of the device. Then take device power usage and multiply is by A.I. sensitivity and if this is greater then the max let the user know. MATH device power usage x A.I. sensitivity = device power AI then IF device power AI >= max power let the user know. Over temperature Usage Keep max temperature usage and pull temperature usage of the device. Then take device temperature usage and multiply is by A.I. sensitivity and if this is greater then the max let the user know. MATH device temperature usage x A.I. sensitivity = device temperature AI then IF device temperature AI >= max temperature let the user know. If a user isn't home on time You need to keep times on when keyfobs or devices check-in. Now if a user doesn't come in on time let the user know. MATH normal time - device time = difference then (difference ÷ normal time) x 100 = time percent. IF time percent >= A.I. sensitivity let the user know. Room temperature is off This takes a bit more work. Have a premade list of rooms and then see if device names match that name and group then in that room. Get the average temperature of all the devices in that room then get the home and then get the comfort temperature I use a thermostat for this. MATH We are going to use the Master bedroom here. Master bedroom average x A.I. sensitivity = Master bedroom AI then IF Master bedroom AI >= comfort temperature let the user know. This will help with many these things like insulation of rooms. Show basic things like devices offline or low batteries. Other notes. Simple things that will help out your user. Welcoming the user home by seeing when the keyfob/device if back. Tell them basic things let power usages when they were gone or the news. I hope this helps someone. I will still work on smarhomeportal.net.
  2. thegillion

    Shut Down?

    Well click the "Learn More"
  3. thegillion

    Something new is coming

    Here is something funny.
  4. thegillion

    Hubitat

    Look into openhab I am looking into it right now.
  5. thegillion

    Something new is coming

    @sparc OK, if it's not real time is it NRT? The A.I. scans for problems with your place every 2 mins and data is logged every 5 mins for the power and temp How long does it take to process the data and formulate the response and how will this performance be impacted when 1000 people are using it and it is being fed data from 50,000 devices. for my place with 75 devices, the query took 0.0002 seconds with A.I. in the mix its taken about 0.0010 seconds. The A.I. doesn't pull the history of the devices. This is built as the data is put in E.X. doing an average on power with 10 data points 8 + 9 + 11 + 25 + 8 + 9 + 2 + 5 + 9 + 10 = 96 SUM Sum/Total = Average : 96/10 = 9.6 Average So all that really needs to be done to add a new data point is pulling the sum and total and adding to them the new data point is 6 Old Sum + New number = new sum : 96 + 6 = 102 Old total + 1 = new total : 10 + 1 = 11 New Sum/New Total = New Average : 102/11 = 9.28 This makes things a lot faster so systems like this are what I am using. And does everything need to be NRT? Is it possible to classify responses with a priority ranking so that important responses are delivered ASAP and others may not be delivered for a couple minutes. Or maybe a user selectable filter on what messages they want. I feel real-time warnings are where Iris is far behind.No things do not need to be real-time but within a few minutes is great. I just got done with the problem system. You can remove or hide problems. Hidden problems: Once you hide a problem they will never show back up but can be unhidden later. Removed problems: Once you remove a problem if the A.I. find them again they will come back up. Can you give us a list of the keywords? That would help me figure out what I might want to the AI to say and how to phrase it. What the A.I. looks for right now is. NOTE: All underlined AI triggers are affected by AI sensitivity power warning (Overpower usage) Overpower is defined by devices max power and average power. temperature warning (Over temperature) Over temperature is defined by devices temperature power and average temperature. House power saving (Number of devices still on when the user is not home) Not Home is defined by keyfobs and/or IFTTT webhooks Device Offline House not secure (Doors not shut or locks unlocked) AI will look for keywords in names for this trigger EX Front Door is an exterior door and Cabinet Door is not You can also hide devices from AI in the settings tab. To the AI the device will not be in the system but will still be listed in both charts.
  6. thegillion

    V3 Smart Plug

    I think everyone is on the same page with power usage. We all want it. I am going to add a way to my portal to add power listing to none reporting devices. So if you know a device is going to use 9 watts like a light then you can give it 9 watts and that's what it will report when turned on.
  7. thegillion

    Something new is coming

    @Vettester It is not "Real-time" but a lot faster than Iris lol. If you want you can also hide devices from the A.I. and also hide problems so they never so again. Thank you for the input I will add it.
  8. thegillion

    Something new is coming

    I am needing you guys to help with this project. I am just looking for things for the A.I. to say. It's super easy to make them. *NAME* the *DEVNAME* is using a lot of power at *PLACE* today. I would look into that. turns into John the Spectrum Bridge-it is using a lot of power at WPBK transmitter today. I would look into that. This is for power warning but you the same tags are for all warning.
  9. thegillion

    Something new is coming

    It's getting there.
  10. thegillion

    Something new is coming

    Building the A.I. is what I am working on now. I also have 2 ways of having Shane monitor your home. You can keep a webpage open or invite him in with the Iris app. More to come on this later.
  11. thegillion

    Something new is coming

    Okay so this has taken a lot longer to make work then I wanted. Here is the daily watt-hour usage of my devices that report power usage. How it does this is simple. It plots the data every 5 mins. Then average the plots to make watt-hour. Then add every hour together for daily watt-hour. Saves all of them to a new table in the database for faster access.
  12. thegillion

    Signs of a buyer?

    00:16:A2 Centrali CentraLite Systems, Inc. << V2 Hub3C:71:BF Espressi Espressif Inc. << V3 smart wifi plug74:C2:46 AmazonTe Amazon Technologies Inc. << The mac address listed aboveD0:C5:D3 Azurewav AzureWave Technology Inc. << V3 Hub Looks like it may be something to do with that router or maybe this is an update. What you see is the info I found.
  13. thegillion

    Signs of a buyer?

    Yeah domain names are not redirecting now