Ah yes the extensions field. I forgot this.
-
Hidden attribute and show sparkline
pimatic rocks!!!
-
display sparkline dont work for weather1 and logwatcher protocol.
15:56:56.390 [pimatic] warn: Device configuration of Wohntemperatur: Unknown config entry with name xAttributeOptions.
-
any news about that ? or am i do something wrong in the device section
-
could someone please change it into the weather and log reader plugin?
that would be awesome.
thanks in advance. -
I created a pull request for attribute options. You can try it yourself editing the file: https://github.com/pimatic/pimatic-homeduino/pull/39
-
i have added this in my file and restart pimatic, but no succes.
-
Did you get an error now? if not then it should work, but you have to refresh the cache of your browser.
-
yes this is the error:
20:28:53.824 [pimatic] warn: Device configuration of Kuehlschrank: Unknown config entry with name xAttributeOptions.
and this my file device-config-schema.coffee from homeduino
HomeduinoRFWeatherStation: { title: "HomeduinoRFWeatherStation config options" type: "object" extensions: ["xLink", "xAttributeOptions"] properties: values: type: "array" default: ["temperature", "humidity"] format: "table" items: type: "string" protocols: description: "The protocols to use." type: "array" default: [] format: "table" items: type: "object" properties: name: type: "string" options: description: "The protocol options" type: "object" required: ["protocols"] }
edit: i find out that it is the rftemperature device. now it works. thanks could also add a pull request for that ?
ive added it also for the log reader, but i get this error:
20:13:50.315 [pimatic] warn: Can't apply xAttributeOptions for "verbrauch letzter". Device Verbrauch letzter Monat has no attribute with this name
-
@p4co86 yes, ill add it to my pull request.
the error for log reader is that the attribute name is not the one you set in the config?
-
@p4co86 Did you add xAttributeOptions for all devices types defined in device-config-schema.coffee? The snippet you have included is for a HomeduinoRFWeatherStation, but the error messages presumably originate from other device types. Please also note that PR#39 does not add xAttributeOptions for all device types.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
log reader works too. the letter first letter was small.
thanks for the hint.
AWWWWESOOOMMMEEE
@mwittig it works now for both. rfTemp and log reader.
-
Is it possible to hide the attribute but show the sparkline?
-
@Anduril said:
Is it possible to hide the attribute but show the sparkline?
No, this is currently not possible.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Now we have pimatic 0.9 and my question is: How can i hide the sparkline? I will use it with the mySensors plugin
Thanks for support!Pimatic 0.9 i love it!
-
@PiWolf Generally, you can disable the sparkline for a given attribute by adding xAttributeOptions to the device configuration as shown in the following example for attribute “responseTime”. You can also use Device Editor to do so.
"xAttributeOptions": [ { "name": "responseTime", "displaySparkline": false } ]
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law