SpaceNanny: Difference between revisions

From NURDspace
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 10: Line 10:
== Whats the specs!11!!! ==
== Whats the specs!11!!! ==
The old pi broke, we installed a new one on september 6th 2017
The old pi broke, we installed a new one on september 6th 2017
* 1 Raspberry Zero W <s>(wifi not used for now)</s>
* 1 Raspberry Zero W
* 1 SD card
* 1 SD card
* Raspbian stretch
* Raspbian
* <s>Power over Ethernet with a setup alike https://www.ebay.com/itm/113530764123</s>
* <s>Power over Ethernet with a setup alike https://www.ebay.com/itm/113530764123</s>


Line 20: Line 20:
Code in /opt/doorsensor/doorsensor.py
Code in /opt/doorsensor/doorsensor.py
=== Doorbell ===
=== Doorbell ===
We are using a 433MHz doorbell set from the Action store. It consists of a button/sender thingie (outside) and a receiver (inside) that plays a sound when it receives a doorbell press.
<strike>We are using a 433MHz doorbell set from the Action store. It consists of a button/sender thingie (outside) and a receiver (inside) that plays a sound when it receives a doorbell press.
This works standalone, but:
This works standalone, but:


An arduino with a second 433MHz receiver is connected on USB to SpaceNanny to receive doorbell presses and send MQTT data. This way we can use the events to do things like playing a doorbell sound on the MPD, and show a message on [[Led ticker]].
An arduino with a second 433MHz receiver is connected on USB to SpaceNanny to receive doorbell presses and send MQTT data. This way we can use the events to do things like playing a doorbell sound on the MPD, and show a message on [[Led ticker]].</strike>
 
^ not entirely untrue; it is no longer a 433 MHz receiver but it still sends mqtt data.
 
It now (2024-05-15) also takes a picture from the frontdoorcam and stores that on harmony.lan.nurd.space:/volume1/voordeurcamera
 
Code is in /usr/local/sbin/deurbel.py.
Code is in /usr/local/sbin/deurbel.py.



Latest revision as of 19:37, 15 May 2024

SpaceNanny
SpaceNanny.jpg
Owner Petraea
Status Infra
Hostname spacenanny.dhcp.nurd.space
Location Closet near the door
Tool No
Tool category

SpaceNanny

SpaceNanny.jpg {{{InventoryOwner}}}Property "Tool Owner" (as page type) with input value "{{{InventoryOwner}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. Closet near the door

Whats the specs!11!!!

The old pi broke, we installed a new one on september 6th 2017

What doesit doooooooo

Space status switch

Reads the giant space status switch that is next to the door (cable on GPIO). This turns space status on and off. Code in /opt/doorsensor/doorsensor.py

Doorbell

We are using a 433MHz doorbell set from the Action store. It consists of a button/sender thingie (outside) and a receiver (inside) that plays a sound when it receives a doorbell press. This works standalone, but:

An arduino with a second 433MHz receiver is connected on USB to SpaceNanny to receive doorbell presses and send MQTT data. This way we can use the events to do things like playing a doorbell sound on the MPD, and show a message on Led ticker.

^ not entirely untrue; it is no longer a 433 MHz receiver but it still sends mqtt data.

It now (2024-05-15) also takes a picture from the frontdoorcam and stores that on harmony.lan.nurd.space:/volume1/voordeurcamera

Code is in /usr/local/sbin/deurbel.py.

It used to do

buZz has original image in case stuff is needed from the first incarnation yolo