Jarvis

From NURDspace
Revision as of 14:09, 7 May 2017 by Zarya (talk | contribs)
Jarvis
Jarvis.jpg
Participants Dennis
Skills Electronics, IoT
Status Production
Niche
Purpose Infra
Tool No
Location
Cost
Tool category

Jarvis Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

Jarvis is the VM running Home Assistant and is able to automate tasks in the space

See http://10.208.11.32/

Changelog

  • Added the EPC PDU's to HASS
  • Added the space state
  • Added power usage


Current Automations

  • Stop music on mpd when the space is closed
  • Start music on mpd when the space opens.


Custom stuff

EPC (PDU)

root@jarvis:/home/homeassistant/.homeassistant# cat switches.yaml - platform: command_line

 switches:
   epc2_1:
     command_on: "/usr/bin/curl http://<IP>/SWOV.CGI?s1=1"
     command_off: "/usr/bin/curl http://<IP>/SWOV.CGI?s1=0"
     command_state: "/opt/epc/epccontrol2.pl --host=<IP> | grep 1"
     value_template: 'Template:Value == "1 is ON"'
     friendly_name: epc2 1