Items tagged with: surveillance
HN Discussion: https://news.ycombinator.com/item?id=19985581
Posted by mcone (karma: 7008)
Post stats: Points: 121 - Comments: 32 - 2019-05-22T21:14:27Z
#HackerNews #china #high-tech #minorities #subdue #surveillance #uses
HackerNewsBot debug: Calculated post rank: 91 - Loop: 43 - Rank min: 80 - Author rank: 103
After Google halts relationship with Huawei, US gov't considers blacklisting Hikvision
Hikvision shares opened 10% lower but an executive in the company’soffice told Reuters the company had not been informed of the possible U.S. blacklisting.Wait, this paragraph left me wondering - does the US government really insist to harden the US-CHN trade relationship because the politburo actively and consciously commits crimes against humanity to accelerate the economic prosperity? This, frankly, would be the first time I see an American president doing something almost rationale like this. Of course it will cause a severe crackdown in US economy, but you have to maintain your priorities. Let's see how this will continue, since Trump is interested in renegotiating a trade deal with Xi Jinping, so it will possibly lose momentum.
The lawmakers said China’s actions in its western region of Xinjiang “may constitute crimes against humanity” and urged tighter U.S. export controls to ensure that U.S. companies are not assisting the Chinese government’s crackdown there.
#US #USA #China #PRChina #News #Politics #ForeignAffairs #ForeignPolicy #Trump #Donaldtrump #WhiteHouse #Economics #HumanRights #Surveillance #1984 #Jinping #XiJinping #Politburo
A page called "Purchases " shows an accurate list of many — though not all — of the things I've bought dating back to at least 2012. I made these purchases using #online services or apps such as #Amazon, DoorDash or Seamless, or in stores such as Macy's, but never directly through Google. But because the digital receipts went to my Gmail account, Google has a list of info about my buying habits.#news #tracking #privacy #surveillance #internet
Build a Raspberry Pi door / window sensor with Reed Relais
#alarm system #hardware & gpio #home automation #projects #reed switch #surveillance
In addition to a surveillance camera and motion sensors, information about open windows and doors is also of interest to a self-built surveillance system. A check with infrared light barriers or other methods would certainly be possible, but in this case, that is much more complicated.
In this tutorial, it will be shown how to easily check the e.g. status of the window with a magnetic switch.
Required Hardware Parts
Luckily, not much is needed to attach the switch, and most parts are likely already present in most hobbyists crates. I have used these components:
The setup is as shown in the picture. As input pin I used GPIO 17 (board pin 11):
The wired module allows the voltage to flow through the associated magnet.
It does not matter which of the two cables of the magnetic switch is connected to the base of the transistor. The free end should be attached to the window/door and the one with cable best to the fixed door/window frame.
If the two parts are too far apart, it is possible that only a very small amount of electricity will flow through the transistor, which is insufficient to switch. In this case, you can try making a Pi’s connection 5V instead of 3.3V, but then you should definitely set a resistance between the transistor emitter and GPIO.
Of course, you could build this circuit as a pull-up resistor and thus would have a HIGH signal only when the window is open.
The controls are very simple and can be used in this form in many projects. Instead of my subsequent Python code, similar code can also be used e.g. in C ++ (using WiringPi).
But now to the code:
sudo python import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) # GPIO Numbers instead of board numbers MAGNET_GPIO = 17 GPIO.setup(MAGNET_GPIO, GPIO.IN) # GPIO Assign mode print GPIO.input(MAGNET_GPIO)
As long as the window and thus also the magnetic switch is closed, a 1 is displayed on the pin. As soon as the contact is interrupted, the transistor no longer switches and a zero is displayed on the GPIO. This will allow you to query if a window/door is opened or not.
If you want to wait for the state to change, you can use the following function:
GPIO.add_event_detect(MAGNET_GPIO, GPIO.BOTH, callback=my_callback)
In this case, a function called
my_callback()must be present, which is then called. Here are the states
Bild: Toby Golding/Flickr(CC BY 2.0)
Der Beitrag Build a Raspberry Pi door / window sensor with Reed Relais erschien zuerst auf Raspberry Pi Tutorials.
#anonymity #dataprivacy #infosec #opsec #privacy #security #snooping #spying #surveillance #zombieload
#intel #cloud #linux #mac #windows
Nothing Is Truly Secure...
Zombieload affects almost every Intel chip since 2011
and only new CPUs can truly fix it!
ZombieLoad attack lets hackers steal data from Intel chips