paviro / mmm-syslog Goto Github PK
View Code? Open in Web Editor NEWAPI for sending notifications to your mirror.
API for sending notifications to your mirror.
{"messages":[{"type":"INFO","message":"Gardagens el:40.87 kWh","timestamp":"2016-10-09T20:00:51.972Z"},{"type":"INFO","message":"Gardagens el:34.96 kWh","timestamp":"2016-10-09T22:01:55.551Z"},{"type":"INFO","message":"Söndag el:34.96 kWh","timestamp":"2016-10-10T04:18:16.806Z"},{"type":"INFO","message":"Söndag el:34.96 kWh","timestamp":"2016-10-10T04:27:05.565Z"},{"type":"INFO","message":"Söndag el:34.96 kWh","timestamp":"2016-10-10T04:33:24.599Z"}]}
Can I remove the messages in realtime, just by sending a command in url?
Hi!
I'm very interested in this module. However, when I setup, MagicMirror doesn't start.
I've many others modules working fine.
My config:
{ module: 'MMM-syslog', position: 'top_right', config: { max: '5' } }
And path and permissions:
root@smartmirror:/home/pi/MagicMirror/modules # ls -la /home/pi/MagicMirror/modules/MMM-syslog/ total 24 drwxr-xr-x 3 pi root 4096 ene 14 16:30 . drwxr-xr-x 16 pi pi 4096 ene 14 16:15 .. drwxr-xr-x 8 pi root 4096 ene 14 16:15 .git -rw-r--r-- 1 pi root 3440 ene 14 16:15 MMM-syslog.js -rw-r--r-- 1 pi root 1966 ene 14 16:15 node_helper.js -rw-r--r-- 1 pi root 1286 ene 14 16:15 README.md
Thanks in advance.
Regards.
Is it possible to remove old messages by simply clearing the log.json file?
When I try to set the header in config it adds an header under the title 'MMM-syslog'.
It would be nice to be able to change 'MMM-syslog' into a custom title.
Hi, great module, I love it. I plan to use it with home automation.
Wondering is it possible to remove notifications, either automatically after some period or by triggering some url that will remove them?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.