GithubHelp home page GithubHelp logo

kiboost / php-qivivoapi Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 1.0 423 KB

php API providing control over Smart Qivivo Thermostat

License: MIT License

PHP 100.00%
qivivo thermostat smarthome automation domotic php php-api

php-qivivoapi's Issues

Erreur température temporaire

Bonjour,
Cette instruction $tempOrder = $_qivivo->setTemperature(18, 60); retourne une erreur chez moi Warning: Undefined array key "result" in /volume1/script/class/comapAPI.php on line 390 et l'ordre temporaire ne se fait pas.
Je suis en monozone, un seul thermostat.
j'ai modifié la ligne 390 par if (isset($hasTimeOrder['result'])) qui fonctionne chez moi, plus d'erreur et l'instruction de chauffe temporaire est éffectuée.
idem ligne 452
Merci

ways to get the heating duration and the user defined temperatures

Hello, this is not a bug report but actually 2 questions :

  1. on the COMAP web site in the user interface there is a [Statistiques] tabs with very interesting data. Among them the duration time of eating (per day, weeks,...). Do you know if there is a way to get this value ?

  2. is there a way to read the temperature settings ? (I can get the temperature of the sensor module, the temperature I am setting but not the ones that I programmed)

And again and above all thank you and congratulations for your amazing work !

"authentification error" when calling "qivivoAPIv2.php"

hello,

I cannot get my previous php program to work. I receive an "authentification error" when I run the following code :


$qivivo_user="[email protected]";
$qivivo_pass="************";
require($_SERVER['DOCUMENT_ROOT'].'/qivivoAPIv2.php');
$_qivivo = new qivivoAPI($qivivo_user, $qivivo_pass);
if (isset($_qivivo->error)) echo $_qivivo->error;

my php version is :
PHP 7.4.3

needless to say that I checked the login and password (I even changed it to make sure it wasn't a mistake on may own)

Is there anything that might have change since last year ? (especially since they upgraded their platform)

thank you for your wonderful work, a true fan !

Cannot declare class qivivoAPI, because the name is already in use

Hello

I used to be a real fan of your previous achievment with Qivivo and I was delighted to realize you already had released a new version. Unfortunately I cannot manage to get this one work. The error I came accross is way beyond my ability to correct it in php.

php version is : PHP 7.4.10

here is the file I tried to get to work (I just omited the php tags at the beginning and the end )

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
// require_once('qivivoAPI.php');
echo "1";
$qivivo_user="XXXXXXXXXXXXXXX";
$qivivo_pass="XXXXXXXXXXX";
require($_SERVER['DOCUMENT_ROOT'].'/qivivoAPIv2.php');
echo "2";
$_qivivo = new qivivoAPI($qivivo_user, $qivivo_pass);
if (isset($_qivivo->error)) echo $_qivivo->error;
echo "fini";

I tried with and without including the line :
require_once('qivivoAPI.php');

but I always get the same php error which is :

Fatal error: Cannot declare class qivivoAPI, because the name is already in use in /var/www/html/qivivoAPIv2.php on line 8

thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.