kiboost / php-qivivoapi Goto Github PK
View Code? Open in Web Editor NEWphp API providing control over Smart Qivivo Thermostat
License: MIT License
php API providing control over Smart Qivivo Thermostat
License: MIT License
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
Hello, this is not a bug report but actually 2 questions :
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 ?
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 !
hello,
I cannot get my previous php program to work. I receive an "authentification error" when I run the following code :
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 !
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.