Skip to main content

This Months Best CCTV Captures

New video by CCTV Camera Pros on YouTube

Tesla API Security Alarm Project with Raspberry Pi
https://www.cctvcamerapros.com/TeslaPi - This video shows how to create a security alarm that uses an outdoor motion detector to trigger the headlights and horn of a Tesla car. A Raspberry Pi is used to integrate the motion sensor with the Tesla API. Basically, the Tesla’s headlights and horn become security alarm outputs. A Model 3 Tesla is used in the video, but Model S and Model X Teslas will also work with the same software code. The application is written in the Python programming language and is available to download on GitHub. https://github.com/mikehaldas/TeslaPi The logic of the TeslaPi alarm application works as follows. The concept of an “alarm cycle” is used. A cycle is defined by a duration (in seconds) and five escalation levels. The number of levels can be changed. The duration is checked against a timer to keep track of how long motion has been continuously detected or if motion has been detected again within a time threshold. The default threshold is one minute. When motion is detected by the sensor, the “alarm cycle” is started. This does two things. The alarm cycle timer starts and the alarm actions defined by the first escalation level begin. Programmers can define their own alarm escalation rules. These are the default 5 levels. Level 1: Flash Tesla headlights 3 times. Level 2: Flash Tesla headlights 3 times. Level 3: Flash Tesla headlights 3 times. Honk horn 1 time. Level 4: Flash Tesla headlights 3 times. Honk horn 2 times. Level 5: Flash Tesla headlights 3 times. Honk horn 3 times. When Escalation Level 5 is reached or if more time has passed then what is defined in the alarm cycle timer, the Escalation Level is reset and starts over. You can learn more about this project here. https://videos.cctvcamerapros.com/i/tesla-api-security-alarm-raspberry-pi.html


View on YouTube CCTV Installers

Comments

Popular posts from this blog

Tom Price flies out of Trump’s White House, and everybody’s making fun of him

Another one bites the dust at the White House. Tom Price, now the former Secretary of Health and Human Services, resigned from his position in the Trump administration on Friday, after Politico reported last week that the cabinet secretary had been flying in private charter planes on the taxpayers' dime.  SEE ALSO: Tom Price probably wishes he could take back these tweets on 'reckless' government spending President Trump was not amused with the outrage that erupted surrounded Price's swampy behavior , telling reporters on Wednesday that he was looking into the scandal and "not happy about it," according to Politico . Read more... More about Twitter , Donald Trump , Tom Price , Culture , and Web Culture from Mashable http://mashable.com/2017/09/29/tom-price-twitter-jokes/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial via CCTV Installers in Thirsk

Monumentally stupid tweet blows up in blockchain company's face

The blockchain can't solve for stupid.  That painful truth hit the internet-of-things blockchain project Waltonchain hard today, with one Twitter huge fuck up leading to the erasure of tens of millions of dollars in the market cap of its associated Walton Coin . And people are pissed .  Here's what went down: On Feb. 8, the team behind Waltonchain posted a contest to Medium with the goal of spreading awareness about the platform. If you followed the @Waltonchain Twitter account, quote retweeted a specific tweet, dropped #WaltonchainLove in your comment, and tagged someone, then you were eligible to split a pot of 564.96 Walton Coins (WTC) with 213 other people.  Read more... More about Twitter , Scams , Cryptocurrency , Tech , and Other from Mashable https://mashable.com/2018/02/28/waltonchain-twitter-scam-wtc/?utm_campaign=Mash-Prod-RSS-Feedburner-All-Partial&utm_cid=Mash-Prod-RSS-Feedburner-All-Partial via CCTV Installers in Thirsk

Cruise in style on this mini smart Segway that's 38% off

Just to let you know, if you buy something featured here, Mashable might earn an affiliate commission. Segways don't have to be just for rich CEOs and mall cops. You can cruise around on your own smart mini Segway for 38% off the regular price. SEE ALSO: This glowing charger makes the perfect stocking stuffer This mini Segway boasts 700 watts of engine power, which can provide 11 miles of range on a single charge and a top speed of 10mph. It also supposedly charges in three hours. It works with a free mobile app that can control the segue remotely and even lock it for a bit of anti-theft functionality.  Read more... More about Gifts , Gift , Gift Ideas , Segway , and Gift Guide from Mashable http://mashable.com/2017/11/30/segway-minilite-hoverboard-sale/ via CCTV Installers in Thirsk