[vz-users] Kanäle in Gruppe/Gebäude

Kermit frosch.kermit at web.de
Mon Oct 9 17:07:01 CEST 2017


Hallo zusammen,

noch ein Problem, welches nach dem letzten Update aufgetaucht ist...

Das Frontend zeigt nach einem reload nicht immer die Kanäle eines
"Gebäudes" an.
Ich habe diverse Kanäle in folgender Struktur verschachtelt:

- Gebäude
    - Verbauchswerte
         -> Strom
         -> Gas
     - Raumklima
         -> Temp Wohnzimmer
         -> Hydr. Wohnzimmer
....
Hier muss ich das Gebäude im Frontend neu auswählen (hinzufügen) und ich
bekomme alles angezeigt.


Gleiches gilt für den Aufruf über die middelware:

http://localhost/middleware.php/entity/*** UUID ***.json

Hier bekomme ich normalerweise folgende Antwort:

{"version":"0.3","entity":{"uuid":"*** UUUID
***","type":"building","color":"aqua","fillstyle":0,"public":true,"style":"lines","title":"Haus","yaxis":"auto","children":[{"uuid":"***
UUUID
***","type":"group","active":true,"color":"aqua","fillstyle":0,"public":false,"style":"lines","title":"Heizung
Temperatur","yaxis":"auto","children":[{"uuid":"*** UUUID
***","type":"temperature","active":true,"color":"#99ff33","fillstyle":0,"public":false,"style":"lines","title":"WW
R\u00fccklauf","yaxis":"auto"},{"uuid":"*** UUUID
***","type":"temperature","active":true,"color":"#33cc66","fillstyle":0,"public":false,"style":"lines","title":"Heizung
Vorlauf","yaxis":"auto"},{"uuid":"*** UUUID
***","type":"temperature","active":true,"color":"#ccffcc","fillstyle":0,"public":false,"style":"lines","title":"Kessel","yaxis":"auto"},{"uuid":"***
UUUID
***","type":"temperature","active":true,"color":"#339900","fillstyle":0,"public":false,"style":"lines","title":"Solar
Vorlauf","yaxis":"auto"},{"uuid":"*** UUUID
***","type":"temperature","active":true,"color":"#336600","fillstyle":0,"public":false,"style":"lines","title":"Gas
Zulauf Kessel","yaxis":"auto"},{"uuid":"*** UUUID
***","type":"temperature","active":true,"color":"#33cc00","fillstyle":0,"public":false,"style":"lines","title":"Heizung
R\u00fccklauf","yaxis":"auto"}]},{"uuid":"*** UUUID
***","type":"group","active":false,"color":"aqua","fillstyle":0,"public":false,"style":"lines","title":"Raumklima","yaxis":"auto","children":[{"uuid":"***
UUUID
***","type":"temperature","active":true,"color":"#99ff66","fillstyle":0,"public":false,"style":"lines","title":"Umgebung
Heizraum","yaxis":"auto"},{"uuid":"*** UUUID
***","type":"temperature","active":false,"color":"#66cc00","fillstyle":0,"public":false,"style":"lines","title":"Waschkeller","yaxis":"auto"},{"uuid":"***
UUUID
***","type":"humidity","active":true,"color":"#0000ff","fillstyle":0.05,"public":false,"style":"lines","title":"Waschkeller
Hyd.","yaxis":"auto"},{"uuid":"*** UUUID
***","type":"temperature","active":true,"color":"#669900","description":"DECT
200 Repeater
AVM","fillstyle":0,"public":false,"resolution":1,"style":"lines","title":"Treppenhaus
DG","yaxis":"auto"},{"uuid":"*** UUUID
***","type":"temperature","active":false,"color":"#33ff00","fillstyle":0,"public":false,"style":"lines","title":"Wohnzimmer","yaxis":"auto"},{"uuid":"***
UUUID
***","type":"humidity","active":true,"color":"aqua","fillstyle":0.05,"public":false,"style":"lines","title":"Wohnzimmer","yaxis":"auto"}]},{"uuid":"***
UUUID
***","type":"group","active":true,"color":"aqua","fillstyle":0,"public":false,"style":"lines","title":"!Verbrauchswerte","yaxis":"auto","children":[{"uuid":"***
UUUID
***","type":"power","active":true,"color":"#ffcc00","cost":0.2275,"description":"Strom\r\nInitialverbauch
10915","fillstyle":0.15,"initialconsumption":10944,"public":false,"resolution":75,"style":"lines","title":"Strom","yaxis":"auto"},{"uuid":"***
UUUID
***","type":"gas","active":true,"color":"#330066","cost":0.56638,"description":"Zusantdszahl:
0,896300\r\nBrennwert: 11,231000\r\n\r\nInitialverbrauch 4513\r\n5,10
ct\/kWh =
0,566ct\/m\u00b3","fillstyle":0.25,"initialconsumption":5426,"public":false,"resolution":100,"style":"lines","title":"Gas","yaxis":"auto"},{"uuid":"***
UUUID
***","type":"water","active":true,"color":"aqua","cost":0.00101,"fillstyle":0.35,"initialconsumption":569993,"public":false,"resolution":1,"style":"lines","title":"Kaltwasser","yaxis":"auto"}]},{"uuid":"***
UUUID
***","type":"group","color":"aqua","fillstyle":0,"public":false,"style":"lines","title":"Wetterstation","yaxis":"auto","children":[{"uuid":"***
UUUID
***","type":"temperature","active":true,"color":"#336600","fillstyle":0,"public":false,"style":"lines","title":"Aussentemperatur
(Garage)","yaxis":"auto"},{"uuid":"*** UUUID
***","type":"pressure","color":"aqua","fillstyle":0,"style":"lines","title":"Luftdruck","yaxis":"auto"},{"uuid":"***
UUUID
***","type":"temperature","active":true,"color":"#993366","fillstyle":0,"public":false,"style":"lines","title":"Aussentemperatur
(Netatmo)","yaxis":"auto"},{"uuid":"*** UUUID
***","type":"humidity","active":true,"color":"#6600cc","fillstyle":0,"public":false,"style":"lines","title":"Luftfeuchtigkeit
aussen","yaxis":"auto"}]}]}}

Im Fehlerfall schaut die Rückmeldung aber so aus:

{"version":"0.3","entity":{"uuid":"*** UUID
***","type":"building","color":"aqua","fillstyle":0,"public":true,"style":"lines","title":"Otterfing","yaxis":"auto"}}

Die Fehlerhaft antwort kommt zu 90%  - nur nach längerer Zeit kommt
die korrekte Antwort, was auf ein Cache/Buffer Problem deuten
könnte....

Habt ihr eine Idee woran das liegen kann?


Danke und Gruß,

Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20171009/33c11f71/attachment-0001.html>


More information about the volkszaehler-users mailing list