Opened 7 months ago

Closed 8 weeks ago

#162 closed enhancement (done)

have a staleness signal on the website

Reported by: m@… Owned by:
Priority: major Milestone:
Component: Cyberspace Keywords:
Cc:

Description

We want to be able to signal that our calendar is up to date and there are people in the space keeping it alive & lived in somehow.

other hackerspaces that stagnate / go into hibernation sometimes keep their website up and it looks like they're doing things but in reality they aren't.

Attachments (2)

photo_5046673958660845317_y.jpg (92.3 KB ) - added by m@… 8 weeks ago.
screenshot of main site
photo_5044422158847159946_y.jpg (172.7 KB ) - added by m@… 8 weeks ago.
techinc's spaceapi button

Download all attachments as: .zip

Change History (13)

comment:1 by m@…, 7 months ago

this could be done with spaceAPI occupancy sensors hooked up to CO2 or bluetooth or wifi or something within homeassistant. or javascript checking webpage last modified / deployed date.

comment:2 by m@…, 7 months ago

I've added spaceapi to homeassistant via https://www.home-assistant.io/integrations/spaceapi/. can't figure out how to expose the http://homeassistant.devhack.net/api/spaceapi endpoint successfully.

need to figure out what a good presence detection is. either front door opened, carbon dioxide. or a physical action. see: #164

comment:3 by ellie, 6 months ago

bluetooth device presence detection might work? like ESPresense. “last time an abnormal amount of bluetooth devices showed up at the space: 3h ago (165 devices)”

comment:4 by m@…, 2 months ago

Got stuff up and running at https://devhack.net/spaceapi.json, although not committed yet because I need to store homeassistant tokens somewhere for the nginx config.

Gonna make a widget for the front page to pull from that & add it to the spaceapi directory

Last edited 8 weeks ago by m@… (previous) (diff)

comment:5 by m@…, 2 months ago

Technologia Incognita has a physical button to control their spaceapi state. this probably makes the most sense? Let people manually say the space is open? (picture attached of their button)

comment:6 by m@…, 8 weeks ago

Updated website to display with commit 8c462507b60b33f2cbb4f4f07a04be892a785c4c (attaching screenshot)

by m@…, 8 weeks ago

screenshot of main site

by m@…, 8 weeks ago

techinc's spaceapi button

comment:8 by m@…, 8 weeks ago

current spaceapi hass config looks like this, needs work since our door state controller went down:

spaceapi:
  space: /dev/hack
  logo: https://devhack.net/favicon.ico
  url: https://devhack.net
  location:
    address: "4534½ University Way NE, Seattle WA"
  contact:
    email: hello@devhack.net
  issue_report_channels:
    - email
  state:
    entity_id: binary_sensor.front_door

comment:9 by maia, 8 weeks ago

i've changed it to use lights for now (the way that the Telegram bot works):

  state:
    entity_id: binary_sensor.all_lights_helper
  sensors:
    temperature:
        - sensor.median_temperature

comment:11 by m@…, 8 weeks ago

Resolution: done
Status: newclosed
Note: See TracTickets for help on using tickets.