If "message in log" then

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
User avatar
mvveelen
Posts: 697
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

If "message in log" then

Post by mvveelen »

Hi,

would it be possible / handy to implement something like this:

If in the logfile a message is written which contains: "NefitEasy: Invalid data received" (you should be able to edit the exact message), then set a certain parameter / switch to a certain value / on ?

@Gizmocuz: this way you could use this to make a relais or power switch to flip whenever there is a problem with reading data from the server, right?

In this case you could power off the device for 2 seconds and then power it on.

Same applies here: can't blame a guy for trying :lol:
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest