Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 06 19:03
    coveralls commented #803
  • Jan 06 18:57
    coveralls commented #803
  • Jan 06 18:48
    matthias-mw synchronize #803
  • Jan 06 18:47

    peuter on gh-pages

    Deploy to GitHub Pages: 4810cb5… (compare)

  • Jan 06 18:43
    matthias-mw synchronize #803
  • Jan 06 18:23
    ChristianMayer commented #625
  • Jan 06 18:19
    coveralls commented #806
  • Jan 06 18:17

    ChristianMayer on develop

    fix refreshing fix upnp controller to handle r… sedn initial request event when… and 2 more (compare)

  • Jan 06 18:17
    ChristianMayer closed #809
  • Jan 06 18:17

    ChristianMayer on develop

    fixes for calendarlist plugin t… - remove refresh mapping as its… Merge pull request #806 from pe… (compare)

  • Jan 06 18:17
    ChristianMayer closed #806
  • Jan 06 18:15
    peuter synchronize #809
  • Jan 06 18:10
    peuter commented #806
  • Jan 06 18:10
    peuter synchronize #806
  • Jan 06 18:01
    coveralls commented #809
  • Jan 06 17:49
    peuter commented #809
  • Jan 06 17:48
    peuter synchronize #809
  • Jan 06 17:28
    ChristianMayer commented #809
  • Jan 06 17:25
    ChristianMayer commented #809
  • Jan 06 17:10
    coveralls commented #809
Tobias Bräutigam
@peuter
Welcome to the CometVisu-Gitter developer chat
testing issue referencing #336
Christian Mayer
@ChristianMayer
@peuter Reply test
Other test text
f(x)=x2y1+y2dxf(x)=x^2 -y_1 + y_2 - \text{d}x LaTeX Test :)
Tobias Bräutigam
@peuter
Hm, just created an issue on github. Usually it should be shown here on the right side (Activity). It seems that it needs some additional configuration, thought it would work out of the box.
Christian Mayer
@ChristianMayer
Well, #336 referencing did work above.
But now I've replied to it and that isn't mentioned here
Tobias Bräutigam
@peuter
It should look like this alt
I don't know whats wrong.
Christian Mayer
@ChristianMayer
The CometVisu settings page did't contain Gitter at the Services. I've added it right now - let's see whether that helps
Tobias Bräutigam
@peuter
It doesn't seem so.
Christian Mayer
@ChristianMayer
no, strange
Tobias Bräutigam
@peuter
Ahh now I see something.
Christian Mayer
@ChristianMayer
yes, not it seem to get started
Tobias Bräutigam
@peuter
I guess we were a little bit to impatient ;-)
Christian Mayer
@ChristianMayer
dunno, I just readded the token to the CV setup
Tobias Bräutigam
@peuter
I just invited everyone from the contributers list: https://github.com/CometVisu/CometVisu/graphs/contributors to join this room
Christian Mayer
@ChristianMayer
I've just started gh-pages so that in the future we might get a beautiful start page (the real content can stay in the MediaWiki)
but I'm still a bit lost there...
Tobias Bräutigam
@peuter
I never really used gh-pages, so I can't really help you there. I just created a demo page once but that's all.
Christian Mayer
@ChristianMayer
The page is already here (http://cometvisu.github.io/CometVisu/ - domain stuff can be easily fixed later, let it get running first...)
but the point is to get a page that it beautiful but still simple to maintain
so I'm looking at getting Jekyll to run as I hope that it helps
Christian Mayer
@ChristianMayer
OK, it's getting too complicated for me for now. I'm giving up
Tobias Bräutigam
@peuter
It seems that the invitation did not work, or no one is interested in joining the chat.
Christian Mayer
@ChristianMayer
Probably we should advertise it in the forum first before we discard it
btw, channel #cometvisu on freenode is also extremely quiet...
but I keep it open as "kein Brot frisst" ;)
Florian Schirmer
@joltcoke
hey @peuter , quick (we'll see ;-)) question: I'm using mysql to persist my items in openHAB. Strategy is set to onChange, so unlike to rrd i only have records if the item really changed. When showing one of the rather stable items (not changing frequently) this looks a bit odd in the diagram, since often the beginning and end of the curves start/end somewhere in the middle of the diagram. This is because the is no matching event.
I'm wondering how to fix / workaround this issue. Ideally somewhere the whole tech stack could figure out if there is an event preceding the start point of the curve and add a fake event right on the start timestamp. If there is no event past the end date in the persistence storage, the last known value is still the most recent one and a fake entry with that value should be added and the endTimestamp. I hope you get what i have in mind.
Tobias Bräutigam
@peuter
Not really, could you add a screenshot here?
Florian Schirmer
@joltcoke
screenshot.jpg
The red line cuts out in the middle, reason is that the last value change was at 19:20
Since the strategy is onChance, we know that the value from 19:20 must be still valid for 21:10 (the end of the diagram), otherwise there would be a more recent value
Ideally the system would add a fake event in the result for 21:10 containing the last known value from 19:20
Tobias Bräutigam
@peuter
OK now I think I got it. From my point of view, this problem should be solved in the chart library, e.g. draw a flat line to the right end of the chart if there is no data. The data itself should not be manipulated. I am not really familiar with the charting engine used in the CometVisu (I think its flot?), maybe there is some kind of config option which does that.
Florian Schirmer
@joltcoke
This can be done for the end of the graph, however the same problem applies to the beginning. Since we're only getting all event > startTime and < endTime sometime the graph starts in the middle.
there is now way to guess the preceding value, which could be anything, drawing a flat line from the first known value to the left is certainly wrong
Tobias Bräutigam
@peuter
Adding a fake point somewhere at the beginning is wrong to. I don't see a feasible solution to fill the left side of the chart (and IMHO I don't really see a problem here, ok its not nice but better that faking something which might lead to a chart that does not show the reality).
Florian Schirmer
@joltcoke
To get the proper value you need to query the persistence storage again, this time with endTime=<startTime of diagram> count=1 order=desc
this should give the the last known value right before the startTime
This probably needs to be handled in the backend on the oh side of things
Tobias Bräutigam
@peuter
Yes but then you have at least one dataseries with a value before the requested startTime, wouldn't that lead the chart to augment to the right side and all other series would not not start at the first timestamp? The other problem is that you cannot query openHABs persistance service like an SQL Database it uses an own abstraction layer for the query. I don't know if a query like your suggestion is possible there, might be but not for sure.
Tobias Bräutigam
@peuter
@ChristianMayer I just added the svgmin task to the switch_icon_to_svg branch (from PR #345 ) which decreases the size to 3,7 MB. But how can I test if it did not break the icons? Is there any overview page where all icons can be shown?
Florian Schirmer
@joltcoke
http://<IP>/visu/icon/knx-uf-iconset/showicons.php
not sure if that still works with the svg versions
Tobias Bräutigam
@peuter
Nope thats for the PNG icons
Christian Mayer
@ChristianMayer
Where did you add the svgmin task? I can't see a commit on the branch