Comments (18)
Sorry, I've written in French.
Since I took my vacation, I don't have anymore gas and elctricity consumption. Do anybody have the same problem ?
What are solutions ?
from viessmann-api.
It seems that codification of electricity consumption has changed. For gas, it's ok.
I got the following message for daily consumption :"Message: Unable to get data for feature heating.power.consumption Reason: No such Feature".
from viessmann-api.
Viessmann changed many features since august. I'm working on fixing it. I'll need some time for this.
from viessmann-api.
Viessmann changed many features since august. I'm working on fixing it. I'll need some time for this
Thank you for taking the time to fix this since I don't have the time to do this.
An api is supposed to have some stability but viessman doesn't seem to follow that basic rule
from viessmann-api.
I have merged the change from the pr of rogrun. @TricloFL78 Could you test ?
from viessmann-api.
Thanks @thetrueavatar.
I will test as soon as I can and I will give the answer if it's working or not.
from viessmann-api.
Hi @thetrueavatar,
I've done the test. It doesn't work and I have the following message "Résultat de la commande : Message: Unable to get data for feature heating.burners.0.heating.burners Reason: No such Feature Code: 0" for day, week, month and year.
Tests are done in my Jeedom docker.
from viessmann-api.
Did you upgrade your bootstrap.php to use the new phar ? I don't quite understand why the method getHeatingPowerConsumption would try to use heating.burners.0.heating.burners
Wich method are you using ?
from viessmann-api.
I used the bootstrap.php and phar 2.1.1 from "develop" and "example".
from viessmann-api.
I'm in the hospital right now. a routine intervention. I'll check it out as soon as possible when I'm home. Normally getHeatingPowerConsumption should call the correct feature.
from viessmann-api.
I used the bootstrap.php and phar 2.1.1 from "develop" and "example".
Can you provide me the exact code you're using to get that error ? Just to reproduce the problem.
@rogrun take your time to have a rest. This is far more important than providing a support for this.
from viessmann-api.
En pièce jointe le zip avec les 2 fichiers utilisés.
Env.zip
from viessmann-api.
ok mais c'est quelle fonction ?
exemple:
print_r( $viessmannApi->getHeatingPowerConsumption('day') );
from viessmann-api.
Voilà l'extrait de mon PHP :
//Consommation électrique
$cmd = cmd::byId(CMD_CONSO_EL_DAY);
$virtual->checkAndUpdateCmd($cmd, $viessmannApi->getHeatingPowerConsumption('day')[0]);
$cmd = cmd::byId(CMD_CONSO_EL_WEEK);
$virtual->checkAndUpdateCmd($cmd, $viessmannApi->getHeatingPowerConsumption('week')[0]);
$cmd = cmd::byId(CMD_CONSO_EL_MONTH);
$virtual->checkAndUpdateCmd($cmd, $viessmannApi->getHeatingPowerConsumption('month')[0]);
$cmd = cmd::byId(CMD_CONSO_EL_YEAR);
$virtual->checkAndUpdateCmd($cmd, $viessmannApi->getHeatingPowerConsumption('year')[0]);
from viessmann-api.
Chez moi ce code fonctionne parfaitement tout en ayant pris ton fichier env.zip. Je pense qu'il y a quelque chose de pas net dans ton installation jeedom.
from viessmann-api.
Noté.
J'ai 2 Jeedom. Je viens de tester sur le 2ième et j'obtiens le même résultat. Toutes les autres "features" de tes développements fonctionnent parfaitement. Pourquoi pas pour l'électricité si ça marche chez toi ? Mystère !
J'ai installé le plugin Jeedom de PhilippeJ et j'ai bien les valeurs des consommations électriques qui remontent. Là est l'essentiel.
Merci pour ta super implication.
from viessmann-api.
from viessmann-api.
Je viens de charger la nouvelle version.
Les informations remontent.
Je ferme ce fil.
from viessmann-api.
Related Issues (20)
- Is it possible to read the values of the energy balance? HOT 6
- Action activat et désactivate sur programme externe (external progams).
- API officiel Viessmann HOT 1
- Does setDhwTemperature2() for oneTimeCharge-Temp exist? HOT 1
- Install composer HOT 1
- Issues with new Viessmann API authentication HOT 3
- Unable to get token with 2.0.0 HOT 10
- for information, futures not working in new api for my OPT1 (Vitoconnect 100) but before working fine HOT 12
- getRawJsonData / setRawJsonData don't work with new V api? HOT 5
- The feature getDhwTemperature() is no longer working HOT 4
- from yesterday - Error during authentication process HOT 2
- Some features broken (?) HOT 8
- Query zigbee devices -> room temp. HOT 9
- PHP Warning: Argument #2 ($key) must be passed by reference,
- $viessmannApi->getHeatingSolarStatistics() not working.
- Invalid REDIRECT_URL in ViessmannOauthClientImpl
- Error installation HOT 2
- Update to Version 2.0 pour novice
- Could not get the API work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viessmann-api.