Probably not what you are thinking of, but I put an "Activity Scroll" on my main dashboard.
It is just one method in a custom driver that sets an attribute. I use a command in the driver to set the message, and it gets added to the css scroll using the marquee tag. I keep it at a fixed size, so old activity drops as new messages come in.
def setFrontActivityScroll(activity) {
// add to activity list
def size = settings?.numActivity.toInteger()
state?.activity.push(activity)
if (state?.activity.size() > size)
state.activity.removeAt(0)
String allActivity = ""
def arraySize = state?.activity.size()
for (int x=arraySize-1; x>=0; x--) {
allActivity = allActivity + state?.activity[x]
if (x != 0) {allActivity = allActivity+"<br>"}
}
String html = """<marquee scrolldelay="500" direction="up" style="font-size:11pt; text-align:center; height: 38px;">${allActivity}</marquee>"""
sendEvent(name: "frontActivityScroll", value: html, descriptionText: getDescriptionText("frontActivityScroll was set to ${html}}"),stateChange: true)
Good suggestion, but I have been down the grafana road and had a major issue which has scared me away for a while. I am now using Watchtower which is more lightweight. I was contemplating using that.
This might actually work, although I am probably looking to use a bigger window etc. I geuss I would need your custom driver as well as the code you post here? Only thing I see here is that it seems to show all logged devices, I would ideally only have a few of them in the list.
I installed your app yesterday, but unfortunately no data is coming in and no file is saved. I did have some OAuth issues in the beginning, but believe they were solved:
Did you trigger some of your chosen sensors (open doors, motion, etc) after installing app?
Not seeing that anything is in the Buffer.
You won't find the file until it has something to write to it. Once you see something in the Buffer, Hit the 'Flush Buffer' button or wait until either 1 hour passes or the buffer size reaches your 'max buffer size'.
Despite multiple triggers, nothing is going into the buffer. The devices are subscribed, but I can't get a log entry to be made (I added one) in eventHandler.
It works! Loving it in the first 2 minutes. I'm already thinking of the backlog of needs this will fill. THANK YOU!
Reconfigured with new event dropdown Buffer increase Manual flush to file. Logger data viewable.
One tiny issue: in the logger viewer -> select a device in the dropdown -> all of the other devices disappear from the dropdown. Need to choose All before the menu is repopulated again.