@MajorC
If you need the watchdog script let me known. Did not push it to any repository till now cause it is only a small bash script.
Read the statement by Michael Teeuw here.
Posts
-
RE: How to synchronize pictures from mobile to the MM?
-
RE: How to synchronize pictures from mobile to the MM?
@sdetweil
Correct.
You use the normal Telegram Messanger App but instead of sending pictures to somebody you send it to a bot (which is a supported feature of Telegram)The Teleframe acts as a Telegram Client, receives the pictures and saves them to a directory on the mirror.
As Teleframe creates a images.json file my watchdog only watches this file for changes and sends the notification to the module if needed. -
RE: How to synchronize pictures from mobile to the MM?
@sdetweil
Correct. It does not modify the pictures in any way.
You select the pictures you want to send like sending them via WhatsApp or any other messaging app.I forgot to mention that i wrote a small shell script which checks the the directory for new files periodically and sends a “BACKGROUNDSLIDESHOW_UPDATE_IMAGE_LIST” notification via the rest api of MMM-RemoteControl if new pictures are present.
-
RE: How to synchronize pictures from mobile to the MM?
@MajorC
Hi,i run a instance of TeleFrame in botonly mode to send pictures via Telegram to my mirror and save them to a directory.
Then i use MMM-BackgroundSlideshow to display.
TeleFrame supports setting a file limit so older files get deleted. But you can not remove pictures via Telegram (only with access to the mirror) if you send them accidently.Everybody with access to the bot can send pictures via Telegram app.
-
RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons
@Cr4z33
If you still want to move the content to the left you can try something like the following in your custom.css:.vbn .groupWrapper { border-style: none; padding: 0px; margin-left: 20px; } .vbn .groupsWrapper, .vbn .groupWrapper, .vbn .itemsWrapper, .vbn .valueWrapper { justify-content: left; align-items: unset; } -
RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons
@Cr4z33
No problem.
Simply add.vbn .groupWrapper { border-style: none; padding: 0px; }to your custom.css
Ps.: Try to never ever edit any files in the module directory (except mentioned in the documentation) as you will get problems with updates in the future otherwise!
-
RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons
@Cr4z33
sorry i do not understand exactly what you mean -
RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons
Just tested a view things.
If you like you can use font awesome icon instead of the title:{ module: "MMM-ValuesByNotification", position: "top_left", config: { updateInterval: 60, reuseCount: 5, groups: [ { items: [ { notification: "POWERMETER_VALUES", //itemTitle: "Power", values: [ { classes: "power", valueIcon: "fa fa-bolt", valueUnit: "W", jsonpath: "power", }, ] }, ] }, ] }, },custom.css:
.vbn .valueIcon.power { color: orange; }
-
RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons
@Cr4z33
Should be no problem:MMM-MQTTbridge/dict/mqttDictionary.js:
var mqttHook = [ { mqttTopic: "zigbee2mqtt/BTicino F20T60A", mqttPayload: [ { payloadValue: "", mqttNotiCmd: ["POWERMETER"], mqttPayload: "" }, ], }, ]; var mqttNotiCommands = [ { commandId: "POWERMETER", notiID: "POWERMETER_VALUES", }, ]; module.exports = { mqttHook, mqttNotiCommands};config.js:
{ module: "MMM-ValuesByNotification", position: "top_left", config: { updateInterval: 60, reuseCount: 5, groups: [ { items: [ { notification: "POWERMETER_VALUES", itemTitle: "Power", values: [ { valueUnit: "W", jsonpath: "power", }, ] }, ] }, ] }, },Will look like:

You may want to configure the updateInterval and/or reuseCount to your needs.
-
RE: [MMM-ValuesByNotification] Display the payloads of notifications with titles and icons
@Cr4z33
Hi,
the short answer: Yes it can, maaayyyybee?
Does your powermeter send the data via MQTT already?
Do you have the MMM-MQTTbridge module configured to connect to your MQTT broker, subscribe for the topic(s) and send the data via notification?
How does the data look like? Is it plain text or is it a JSON object?
If it is JSON how is the data structured and which values do you want to display?