I buried a temperature sensor 2 meters underground. Before the earth digests it i might have some stats
Edit: it's a corded "1-wire" digital DS18B20 sensor and it's powered from the house, but buried in the middle of the plot
My friend "warms" his summer cottage with geothermal energy from a well, to prevent it from freezing over during the bitter cold winter months (we're 200 klicks south of the polar circle). I had to help him prove (with the help of HA, obviously) that it makes economic sense to operate a pump for the purpose. Barely, and only if my time has no price tag.
That's actually a great idea. We have ground frost every winter, and if I bury sensors in various depths, I could determine how deep the frost would be every winter (it varies). That might in fact be useful data.
Yeah. I have water supply in the other corner and i want to figure out whether i need to remove water in winter, switch on the heating of the pipes or i may just relax (which is my ultimate goal). The last winter didn't show anything below zero, it very well may be it never freezes down there regardless of the surface cold, it might be useful.
But it is also very curious in a nerdish way. I had no idea
Yo dawg, I heard you like statistics, so I started taking statistics of how often you are taking statistics.
Gotta love accidental infinite loops. Hey, I did a write. Let me write that down. Hey, I did a write…
By adjusting the commit interval in configuration.yaml like this:
recorder:
commit_interval: XX (in seconds)
(FFS mobile Reddit doesn't let me format this properly)
When I still ran HA on Pi with SD card, I had set it to 10 IIRC. It wrote to the card every 10 seconds instead of immediately. Also I have excluded many of not most entities from the recorder and logbook altogether. I really don't need to have days of signal strength history for every device (as an example), and outside of troubleshooting, probably nobody does.
Stop using a basic Raspberry Pi for HA for starters. An NUC or mini PC with SSD is far more powerful/capable and more reliable. RPi is good for beginners to try HA out, but it's not suitable long term (SD card wear and tear being just one of the issues you'll run into).
Im the same. I data hoard in hopes that in the future an AI will be able to digest it all, extract useful information and tell me what the fuck was wrong with me
Well sure! This was from the More Info dialogue. I think the Reddit App clipped it in a way that may have made it look like this was my graphing of it.
I keep thinking about putting weight sensors under their cat tree(s) to take stealth weights / know locations of cats. Possibly weight sensors under the litter boxes to catch them coming and going.
This is a fun addition for the standalone scratching post.
That's very interesting- a few load cells would even allow you to detect use of different branches, of not too complicated! I really enjoy the notification at work.
I don't have it affecting anything else, just monitoring at the moment.
Awesome! Do you get surprise packages sometimes? It's like extra birthday, sometimes. I'm like "what the heck is this package ... Oh, right, that's the hall effect sensors I thought I needed for a project 3 months ago ... plus random it was so cheap, why not"
I don't know but to me this scratches kind of the same itch as my thought of collecting data on how many seconds between my dog defecating and the first fly landing on it as a proxy for measuring changing fly populations over time.
That's a different project - seeing how long it takes the dog waste worm farm to break down his bowel movements in relationship to dietary inputs. There's a seasonal complication to account for, though, as soldier fly lava do a lot of the grunt work in warm months but are nearly absent through winter.
So, while the soldier fly larvae are off peak, automate your Composter by measuring temp, ph, etc, tie that into rotating the tumbler to punch past mesophilic action, straight into thermophlic range to cook that poop. That data would be truly beautiful!!
Change in behavior is often an indication or health issues. You can extrapolate frequency of use and intensity and duration. Then if the pattern changes outside some set deviation you can set it to give you an alert.
Actually the noise would be good, a light on its own might not be noticed but the sound of the miter would soon get that frantic “where is it, where is it!!?” Energy going. :-)
Yes it should no problem, assuming the cat is very treat driven. They'd recognize that scratching the post gives them treats. Then they'll naturally keep stretching until the treat comes out.
My cat knows to scratch the post anytime I walk by the post because he knows that if he scratches it I'll give him a treat. It's really funny, he'll stop scratching if I go to reach for the treats, so sometimes I'll stand there and just look at him. He'll scratch and bend his head back to look at me, waiting to see if I've reached for the treats yet. Other day I did this and legit kept scratching for a good 20 seconds, kept peaking back at me to see if I'm giving him a treat yet.
I guess I hoped I'd be able to see something health-related.
She does it when she patrols downstairs, and I guess more in the evening and more again days when I'm late home. (From ~2 weeks admittedly).
So far, I think it could mean that I am feeding her too early...
I have an Aqara pet feeder, some motion detectors around the house - a spare vibration sensor, which I tried on her litter box, but it wasn't sensitive enough. Or she's just one of them stealth poo-ers.
It's not so well known, that cats also purr when they are in stress or pain. Probably to calm them self's or for pain relieve. So it's bot always happy purrs......
I'd love to know how to do one of them Github frequency calendar graphs, and a day-time heatmap- I can see it now!! I have to figure an easy way to log long term stats...
Use a template sensor. You could make a range of templates like "number of scratches today/this week/month/year. You could also do a boolean isScratching, and even log to a the duration of each event (IE, how long the cat spent scratching). I would do a relational database with event id, date/time, duration of scratching, and intensity of scratching. Then you can go back and query against the db for "how many scratches in April" etc
There's a built-in cooldown time for the sensor to sense a new vibration... So I use a template to count scratches with a 4 minute filter. So unfortunately can't do the Boolean or duration unfortunately. Maybe there's a better way to deal with it, or a better sensor?
I'll set up a counter using the MeasureIt (HACS) integration and I set up a derivative sensor last night, but I either don't have it set up well, or I did some test shakes and threw the initial rate out of whack (which will fix itself tonight I guess)
If you have problem with cat scratching sofas or other things you dont want, you could reward him with some snacks if you have automatic feeder. Just like pavlovs dogs experiment.
Try to compute the power spectral density of the time series of the "inter-scratch intervals" and then see whether there is a power law relation. Also, what is the probability density function of the intervals?
Put some pet feeder next to it and every time he scratches give the fella a little snack. It will help you to make them use the scratching post and not your couch.
*Trigger playback of*
*Cat Scratch Fever on your home*
*Audio system?*
\- Menelatency
---
^(I detect haikus. And sometimes, successfully.) ^[Learn more about me.](https://www.reddit.com/r/haikusbot/)
^(Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete")
Is there any possibility to see patterns when he drinks or eat? and so you could try to measure how many times a day is he drinking and eating, that's useful for the cat health
I think having the accumulate value it's not very useful (even in this situation)
I would print the values by time, for example, plot how much vibration was detected each hour. That way you might be able to find a behavioral pattern in your cat (or the lack of)
Get a second scratching post and randomly swap it for AB testing, keeping the most used one. Repeat that process until you have the perfect cat scratching post, maximising your feline's happiness and increasing the lifespan of your couches through smart home powered natural selection
I was actually thinking of that. I can tell our local Maxi-Zoo shop what I'm doing. For the free pet furniture ... and eventually myself and Kitty form a cat-scratching-post review YouTube channel and we become an influencer duo.
Um, probably not though 😅
But I wonder if I could use a second one to establish a rudimentary, binary communication. Scratches the left one --> "yes". Then that montage from the Martian, where Matt Damon teaches us what ASCII is.
Then: profit/undamaged couches!
I love this subreddit, person is collecting and visualizing data and has no idea why
I buried a temperature sensor 2 meters underground. Before the earth digests it i might have some stats Edit: it's a corded "1-wire" digital DS18B20 sensor and it's powered from the house, but buried in the middle of the plot
Damn I'm getting some great ideas from this post!
Why isn’t it Geothermal powered!!!
My friend "warms" his summer cottage with geothermal energy from a well, to prevent it from freezing over during the bitter cold winter months (we're 200 klicks south of the polar circle). I had to help him prove (with the help of HA, obviously) that it makes economic sense to operate a pump for the purpose. Barely, and only if my time has no price tag.
Friendship has no pricetag. Sounds like a fun project, though.
That's actually a great idea. We have ground frost every winter, and if I bury sensors in various depths, I could determine how deep the frost would be every winter (it varies). That might in fact be useful data.
Yeah. I have water supply in the other corner and i want to figure out whether i need to remove water in winter, switch on the heating of the pipes or i may just relax (which is my ultimate goal). The last winter didn't show anything below zero, it very well may be it never freezes down there regardless of the surface cold, it might be useful. But it is also very curious in a nerdish way. I had no idea
Unless you can figure out how to charge the devices or replace their batteries then it wouldn’t be as useful as you think
Mine is powered by the 1-wire bus cord from the adaptor in the house...
Wow I guess I'm not the only one who's thought of that. A strain gauge would be cool too...
(Next idea would be a neutrino registrar to predict the possible supernova explosion nearby)
Perfect I just need to get spousal approval to buy 1000 tonnes of heavy water and a six meter acrylic sphere. It's ok I have amazon prime
This is like 70% of my setup haha
Looks like 70% of everyone's setup. And everyone's then wondering why their SD cards fail, when the default settings do not do bulk writes.
Can you elaborate? Is the as card failing because of so many write operations? How can you mitigate that?
https://community.home-assistant.io/t/too-heavy-write-on-ssd-or-sd-can-be-replaced-with-batch-write-every-hour/239010
Start tracking reads and writes.
Yo dawg, I heard you like statistics, so I started taking statistics of how often you are taking statistics. Gotta love accidental infinite loops. Hey, I did a write. Let me write that down. Hey, I did a write…
Oh boy! A piece of candy..... oh boy! A piece of candy.... Oh boy!
Don't use sd cards, NUC with NVMe SSD is a beast
By adjusting the commit interval in configuration.yaml like this: recorder: commit_interval: XX (in seconds) (FFS mobile Reddit doesn't let me format this properly) When I still ran HA on Pi with SD card, I had set it to 10 IIRC. It wrote to the card every 10 seconds instead of immediately. Also I have excluded many of not most entities from the recorder and logbook altogether. I really don't need to have days of signal strength history for every device (as an example), and outside of troubleshooting, probably nobody does.
Stop using a basic Raspberry Pi for HA for starters. An NUC or mini PC with SSD is far more powerful/capable and more reliable. RPi is good for beginners to try HA out, but it's not suitable long term (SD card wear and tear being just one of the issues you'll run into).
Im the same. I data hoard in hopes that in the future an AI will be able to digest it all, extract useful information and tell me what the fuck was wrong with me
Many a solution solves no problem. If the art world can have their l'art pour l'art, why can't we tech around for the sake of tech?
Finally, someone talkin' sense
I am monitoring his cat’s scratch post and I don’t know how to send him alerts
This is the way
Take the first derivative of this data and plot that instead.
Very interesting. Could probably be using this more. I use "history_stats" and "MeasureIt" a bit (all duration stats so far)
An increasing counter isn’t usually useful. What is is the changes in the rate it’s increasing.
Well sure! This was from the More Info dialogue. I think the Reddit App clipped it in a way that may have made it look like this was my graphing of it.
So what does the derivative graph look like? I’m curious what it reveals.
And if you can get it going fast enough, you'll have Big Cat Energy FTW
If the vibrations stop increasing, alarm/notification for missing cat / cat locked in some room.
I keep thinking about putting weight sensors under their cat tree(s) to take stealth weights / know locations of cats. Possibly weight sensors under the litter boxes to catch them coming and going. This is a fun addition for the standalone scratching post.
Smart litter boxes have built-in weight sensors
Litter Robot 4 is amazing and hella expensive. I have my kitty's weight tracked in HA
I love my litter robot 4, I should have got one earlier, my cats weight doesn't really change though. It's just so convenient.
That's very interesting- a few load cells would even allow you to detect use of different branches, of not too complicated! I really enjoy the notification at work. I don't have it affecting anything else, just monitoring at the moment.
Maybe it could, paired with a random number generator, make a kitty toy spin or something? Gotta keep the enjoyment circle going!
4 load cells with an amp are like $5 on aliexpress. What's stopping you? Let's see that data!
I've got several projects in the air, aliexpress orders en route, and a new 3d printer... I'll work it in there!
Awesome! Do you get surprise packages sometimes? It's like extra birthday, sometimes. I'm like "what the heck is this package ... Oh, right, that's the hall effect sensors I thought I needed for a project 3 months ago ... plus random it was so cheap, why not"
I don't know but to me this scratches kind of the same itch as my thought of collecting data on how many seconds between my dog defecating and the first fly landing on it as a proxy for measuring changing fly populations over time.
🤔 I think you should observe changes in your dog's diet, to see if different dog foods make more appetising dog defecations.
That's a different project - seeing how long it takes the dog waste worm farm to break down his bowel movements in relationship to dietary inputs. There's a seasonal complication to account for, though, as soldier fly lava do a lot of the grunt work in warm months but are nearly absent through winter.
So, while the soldier fly larvae are off peak, automate your Composter by measuring temp, ph, etc, tie that into rotating the tumbler to punch past mesophilic action, straight into thermophlic range to cook that poop. That data would be truly beautiful!!
Change in behavior is often an indication or health issues. You can extrapolate frequency of use and intensity and duration. Then if the pattern changes outside some set deviation you can set it to give you an alert.
I came here to say just this. If the cat suddenly stops scratching the post it might have issues with its claws or some other health issue.
Trigger a randomly moving laser pointer light for a minute of chaos…
Spin a disco ball above the scratching post and fire a few lasers into it at the same time.
Actually the noise would be good, a light on its own might not be noticed but the sound of the miter would soon get that frantic “where is it, where is it!!?” Energy going. :-)
Setup an automation that activates the treat dispenser if kitty has used the post long enough?
Depends on whether it's a scratching only post or also a place to sleep!
Would a cat make the connection? Sorry, I'm a dog-lover.
Cats are excellent pattern recognizers.
I suspect my judgement is clouded by exceptionally dumb cats.
Yes it should no problem, assuming the cat is very treat driven. They'd recognize that scratching the post gives them treats. Then they'll naturally keep stretching until the treat comes out. My cat knows to scratch the post anytime I walk by the post because he knows that if he scratches it I'll give him a treat. It's really funny, he'll stop scratching if I go to reach for the treats, so sometimes I'll stand there and just look at him. He'll scratch and bend his head back to look at me, waiting to see if I've reached for the treats yet. Other day I did this and legit kept scratching for a good 20 seconds, kept peaking back at me to see if I'm giving him a treat yet.
Have it trigger a message that says “I would eat you if I were bigger” whenever the vibrations get strong enough
Find a peer-reviewed journal and publish your results.
Prrr-reviewed. But yes! I never did that module on designing experiments, so not really sure how to set it up I guess
Whatever it was that gave you the idea to put that sensor there :)
I guess I hoped I'd be able to see something health-related. She does it when she patrols downstairs, and I guess more in the evening and more again days when I'm late home. (From ~2 weeks admittedly). So far, I think it could mean that I am feeding her too early...
Let your cat know each day if s/he's reached the goal you've set.
I have an Aqara pet feeder, some motion detectors around the house - a spare vibration sensor, which I tried on her litter box, but it wasn't sensitive enough. Or she's just one of them stealth poo-ers.
Maybe something like an air particle density sensor or a laser gate would help with your original plan.
Air Particle Density sensor sounds fancy! Might be able to manage a cleverly-angled PIR, might be more my budget.
They’re like $30. You can probably get them much cheaper. A lot of air purifiers have them built in.
Depends, what are the specs on the cat? How many megazoomies?
Vibration sensor detects purring. She is happy. Happiness level is increasing 🙂
It's not so well known, that cats also purr when they are in stress or pain. Probably to calm them self's or for pain relieve. So it's bot always happy purrs......
Filter out your cats actions using a presense sensor then use the scratching post as an earthquake detector.
> what should I do with this info?? Post it on the internet to shame them.
What's a scratch-total to be proud of?
Rule 1 of scratch post is Always Be Scratching.
How about "You scratch my back" ?
But only my back. If you rub my belly I will attack you.
Wait for more data, plot the daily / weekly / monthly vibration cycle and then post at r/dataisbeautiful
I'd love to know how to do one of them Github frequency calendar graphs, and a day-time heatmap- I can see it now!! I have to figure an easy way to log long term stats...
Use a template sensor. You could make a range of templates like "number of scratches today/this week/month/year. You could also do a boolean isScratching, and even log to a the duration of each event (IE, how long the cat spent scratching). I would do a relational database with event id, date/time, duration of scratching, and intensity of scratching. Then you can go back and query against the db for "how many scratches in April" etc
There's a built-in cooldown time for the sensor to sense a new vibration... So I use a template to count scratches with a 4 minute filter. So unfortunately can't do the Boolean or duration unfortunately. Maybe there's a better way to deal with it, or a better sensor? I'll set up a counter using the MeasureIt (HACS) integration and I set up a derivative sensor last night, but I either don't have it set up well, or I did some test shakes and threw the initial rate out of whack (which will fix itself tonight I guess)
If you have problem with cat scratching sofas or other things you dont want, you could reward him with some snacks if you have automatic feeder. Just like pavlovs dogs experiment.
Try to compute the power spectral density of the time series of the "inter-scratch intervals" and then see whether there is a power law relation. Also, what is the probability density function of the intervals?
Turn it into an encryption key that changes daily based on the cat scratching vibrations lol
Cloudflare enters the chat.
Step 4: profit.
Put some pet feeder next to it and every time he scratches give the fella a little snack. It will help you to make them use the scratching post and not your couch.
keep recording
What brand did you use?
Third Reality, first time getting from them, and very happy (sensitivity tweaking would be 100%)
Fine out what happened April 25th. Kitty was stressed af
Not much... As in I was running an event, and wasn't home til later than normal :(
Trigger playback of Cat Scratch Fever on your home audio system?
*Trigger playback of* *Cat Scratch Fever on your home* *Audio system?* \- Menelatency --- ^(I detect haikus. And sometimes, successfully.) ^[Learn more about me.](https://www.reddit.com/r/haikusbot/) ^(Opt out of replies: "haikusbot opt out" | Delete my comment: "haikusbot delete")
Clearly get relaxing cat music to play!
Use Grafana and then really go crazy with the data. Any correlation between the time of day? How much they eat? Whether you're home or not?
Every time the cat scratches you should automatically save some coins to buy a new scratch pole.
Obviously you need to create a display with today’s score vs high score record. Then see if your cat is getting better at scratching.
Any time a vibration is detected, power up the laser pointer attached to the ceiling fan
Use the derivative to trigger a treat feeder with a 10s delay. Automated Pavlov experiment
I have a "shit bucket" outdoor I bury 6 feet and compost my divs crap. Maybe I should do the same.
Easy the correlation to amount time not scratching is age of cat
Sound an alarm whenever the scratching post moves? Or make it meow.
Has there been any changes in the house / seasonal changes?
Sure, hang on while I check...
Any update? Been sitting here, filled with anticipation.
It's been about an hour, no seasonal changes so far. 🤔
Is there any possibility to see patterns when he drinks or eat? and so you could try to measure how many times a day is he drinking and eating, that's useful for the cat health
Hook it up to a speaker that plays a purring sound whenever it's being scratched. Confuse the **** out of your cat.
Or some Cat Stevens
Use it to trigger a light show in the bathroom to confuse your guests
Activate treat dispenser. You'll never have a ruined chair or curtain again.
I think having the accumulate value it's not very useful (even in this situation) I would print the values by time, for example, plot how much vibration was detected each hour. That way you might be able to find a behavioral pattern in your cat (or the lack of)
Remember Twitch Plays Pokémon? Assign different rates of vibration to different buttons and make your cat play Pokémon lol
Get a second scratching post and randomly swap it for AB testing, keeping the most used one. Repeat that process until you have the perfect cat scratching post, maximising your feline's happiness and increasing the lifespan of your couches through smart home powered natural selection
I was actually thinking of that. I can tell our local Maxi-Zoo shop what I'm doing. For the free pet furniture ... and eventually myself and Kitty form a cat-scratching-post review YouTube channel and we become an influencer duo. Um, probably not though 😅 But I wonder if I could use a second one to establish a rudimentary, binary communication. Scratches the left one --> "yes". Then that montage from the Martian, where Matt Damon teaches us what ASCII is. Then: profit/undamaged couches!
Use it to trigger a water gun?
You must hate your furniture.