pimatic-easybox

Detects presense of wlan devices via logging in to an easybox router. It's designed for an Easybox 904x, maybe others work, too

Usage no npm install needed!

<script type="module">
  import pimaticEasybox from 'https://cdn.skypack.dev/pimatic-easybox';
</script>

README

pimatic-easybox

A plugin for detecting devices and missed calls through an Easybox 904x router (maybe other work, too)

Configuration Plugin

You can load the backend by editing your config.json to include:

{
  "plugin": "easybox",
  "ip": "192.168.158.1",
  "password": "xxx",
  "interval": "120"
}

My router hangs after some time, if I lower the interval, so be careful.

Configuration Devices

WLAN-Devicepresence:

{
  "id": "iPhone",
  "name": "iPhone",
  "class": "EasyBoxDevicePresence",
  "hostname": "Mein iPhone"
}

You can detect your device via, hostname, ip or mac

Phonedevice for missed calls:

{
  "id": "Phone",
  "name": "Phone",
  "class": "EasyBoxPhone"
}

For all configuration options see [device-config-schema.coffee] [easybox-config-schema.coffee]

Example:

if call missed  then pushover title:"Missed call" message:"$Phone.contact $Phone.number"

if devicename is present then ...