2017 © Pedro PelĂĄez
 

library qivicon-api

PHP-API to access a Qivicon Homebase.

image

riwin/qivicon-api

PHP-API to access a Qivicon Homebase.

  • Sunday, January 7, 2018
  • by riwin
  • Repository
  • 4 Watchers
  • 8 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

QiviconAPI

Homebase KompatibilitÀt:

QHB QHB2 SPS, (*1)

Status:

Packagist license GitHub issues GitHub repo size in bytes, (*2)

Installation:

composer require riwin/qivicon-api

oder, (*3)

{
    "require": {
        "riwin/qivicon-api": "1.*"
    }
}

API einbinden:

<?php
require_once 'vendor/autoload.php';
header("Content-Type: application/json");
$api = new \riwin\QiviconAPI\QiviconAPI("hostname-Homebase", "Serien-Nummer", "email@mein.qivicon", "Passwort");
print_r($api->execute());

Modul - AlarmSystem:

Alarm scharf schalten:

/index.php?module=AlarmSystem&cmd=activateAlarmSystem

Alarm unscharf schalten:

/index.php?module=AlarmSystem&cmd=deactivateAlarmSystem

Ausgelösten Alarm beenden:

/index.php?module=AlarmSystem&cmd=deactivateAlarm

Alarm System Eigenschaften anzeigen:

/index.php?module=AlarmSystem&cmd=getAlarmSystemProperties

Modul - Generic

Dashboard-Info:

/index.php?module=Generic&cmd=getDashboardInfo

Homebase Eigenschaften:

/index.php?module=Generic&cmd=getHomeboxProperties

RÀume mit GerÀten/KanÀlen:

/index.php?module=Generic&cmd=listRooms

Modul - Situation

HaushĂŒter an:

/index.php?module=Situation&cmd=activateVirtualResident

HaushĂŒter aus:

/index.php?module=Situation&cmd=deactivateVirtualResident

HaushĂŒter Ereignisse:

/index.php?module=Situation&cmd=getVirtualResidentProperties

Situationen auflisten:

/index.php?module=Situation&cmd=listSituations

Situation anzeigen:

/index.php?module=Situation&cmd=getSituation&param_id={situationId}

Situation de- / aktivieren:

/index.php?module=Situation&cmd=setSituationState&param_id={situationId}&param_active={true|false}

Situation löschen:

/index.php?module=Situation&cmd=removeSituation&param_id={situationId}

VerfĂŒgbare Soundfiles auflisten:

/index.php?module=Situation&cmd=listAvailableSoundFiles

Modul - Notification

Benachrichtigungen auflisten:

/index.php?module=Notification&cmd=listNotifications

Modul - Device

Anwesend einstellen:

/index.php?module=Device&cmd=setHomeStatePresent

Abwesend einstellen:

/index.php?module=Device&cmd=setHomeStateAway

Dimmer einstellen (0-100):

/index.php?module=Device&cmd=setDimmerCommand&param_uid={uid}&param_level={0-100}

setHueCommand

/index.php?module=Device&cmd=setHueCommand&param_uid={uid}&param_isCombinedBulb={true|false}&param_hue={0-360}&param_saturation={0-100}&param_brightness={0-100}

setJunkersHotWaterState

/index.php?module=Device&cmd=setJunkersHotWaterState&param_uid={uid}&param_state={0-1}

setMieleState

/index.php?module=Device&cmd=setMieleState&param_uid={uid}&param_active={true|false}

setPlugState

/index.php?module=Device&cmd=setPlugState&param_uid={uid}&param_state={0-1}

setShutterCommand

/index.php?module=Device&cmd=setShutterCommand&param_uid={uid}&param_level={0-100}

setSonosControlPlayer

/index.php?module=Device&cmd=setSonosControlPlayer&param_uid={uid}&param_control={PLAY,PAUSE,PREVIOUS,NEXT}

setSonosVolume

/index.php?module=Device&cmd=setSonosVolume&param_uid={uid}&param_volume={0-100}

setTunableWhiteValuesCommand

/index.php?module=Device&cmd=setTunableWhiteValuesCommand&param_uid={uid}&param_brightness={0-100}&param_colorTemperature={0-100}

setDeviceValue

Philips Hue White Ambiance:
/index.php?module=Device&cmd=setDeviceValue&param_uid={uid}&param_value={0-100@on|off}

Modul - Temperature

setDeviceTemperature:

/index.php?module=Temperature&cmd=setDeviceTemperature&param_uid={uid}&param_targetTemperature={0.0-35.0}

setJunkersHotWaterDeviceTemperature:

/index.php?module=Temperature&cmd=setJunkersHotWaterDeviceTemperature&param_uid={uid}&param_targetTemperature={temperature}

setRoomTemperature:

/index.php?module=Temperature&cmd=setRoomTemperature&param_room={room}&param_targetTemperature={temperature}

Sitzung beenden (logout):

/index.php?logout

The Versions

07/01 2018

dev-master

9999999-dev

PHP-API to access a Qivicon Homebase.

  Sources   Download

MIT

The Requires

 

by Richard Nahm

07/01 2018

1.0.6

1.0.6.0

PHP-API to access a Qivicon Homebase.

  Sources   Download

MIT

The Requires

 

by Richard Nahm

03/01 2018

1.0.5

1.0.5.0

PHP-API to access a Qivicon Homebase.

  Sources   Download

MIT

The Requires

 

by Richard Nahm