Version: 2024.7
Platform: Raspbian
I made a virtual alert sensor which shows when my doorbell is pressed using rfxcom - nodered - mqtt.
The sensor shows when de doorbell is pressed, but there is no history in the log.
Is there a way to solve this, or is there anonther way to display the history of alerts?
Log/ history of virtual alert sensor
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
-
- Posts: 26
- Joined: Monday 13 November 2017 19:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: Belgium
- Contact:
Re: Log/ history of virtual alert sensor
Hi,
I also have a doorbell via rfxcom, mine keeps a log in domoticz.
Why you using node red and mqtt for this?
You could link an action or send a notification from within the domoticz doorbell switch.
Stephan
I also have a doorbell via rfxcom, mine keeps a log in domoticz.
Why you using node red and mqtt for this?
You could link an action or send a notification from within the domoticz doorbell switch.
Stephan
-
- Posts: 269
- Joined: Sunday 11 May 2014 11:09
- Target OS: Windows
- Domoticz version: 2023.1+
- Location: NL
- Contact:
Re: Log/ history of virtual alert sensor
Hi
You wrote in the title you use an alert sensor. (Ignore this message if this a false observation)
Alert sensor can be a bit tricky as you need to set the triangle color to ánd its a text sensor...
see : https://wiki.domoticz.com/Domoticz_API/ ... ert_sensor
the best way in lua is by setting : commandArray[#commandArray + 1]={['UpdateDevice']='IDX'..'|'..Alevel..'|'..textvalue
(Note on this that ON/OFF is a binary state and not a text value)
If your set an alert sensor by an on/off doorbell device it probably wont work as it is it cannot handle this.
In lua you can receive the signal from the on/off doorbell and set (with lua) the alert sensor as you wish with the above statement.
Hope this helps.....
As for notifications : test if it works on another sensor as expected and try to find the differences, maybe its not about the doorbel but about the general notification settings ?
You wrote in the title you use an alert sensor. (Ignore this message if this a false observation)
Alert sensor can be a bit tricky as you need to set the triangle color to ánd its a text sensor...
see : https://wiki.domoticz.com/Domoticz_API/ ... ert_sensor
the best way in lua is by setting : commandArray[#commandArray + 1]={['UpdateDevice']='IDX'..'|'..Alevel..'|'..textvalue
(Note on this that ON/OFF is a binary state and not a text value)
If your set an alert sensor by an on/off doorbell device it probably wont work as it is it cannot handle this.
In lua you can receive the signal from the on/off doorbell and set (with lua) the alert sensor as you wish with the above statement.
Hope this helps.....
As for notifications : test if it works on another sensor as expected and try to find the differences, maybe its not about the doorbel but about the general notification settings ?
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
Who is online
Users browsing this forum: No registered users and 0 guests