Page 1 of 1

Show RSSI-Level of all devices

Posted: Wednesday 30 September 2020 17:50
by groovesurfer
Hello everybody,

I was wondering if it´s possible to see the RSSI-Level of all devices.
I didn´t fins something.

Re: Show RSSI-Level of all devices

Posted: Thursday 01 October 2020 0:06
by waaren
groovesurfer wrote: Wednesday 30 September 2020 17:50 I was wondering if it´s possible to see the RSSI-Level of all devices.
Not sure if you are looking for a GUI answer or a script answer
(dzVents) script

Code: Select all

return
{
    on =
    {
        timer =
        {
            'every minute',
        },
    },

    logging =
    {
        level = domoticz.LOG_ERROR,
        marker = 'RSSI dumper',
    },

    execute = function(dz)
        dz.devices().filter(function(dv)
            return (dv.signalLevel and dv.signalLevel < 12)
        end).forEach(function(dv)
            dz.log('RSSI level of '..dv.name .. ' is ' ..  dv.signalLevel , dz.LOG_FORCE)
        end)
    end
}
GUI
rssi.png
rssi.png (160.12 KiB) Viewed 1123 times

Re: Show RSSI-Level of all devices

Posted: Thursday 01 October 2020 19:30
by kiddigital
groovesurfer wrote:Hello everybody,

I was wondering if it´s possible to see the RSSI-Level of all devices.
I didn´t fins something.
RSSI is something that only makes sense for wireless devices, but
A) not all wireless devices (either sender or receiver or both) measure AND report a rssi
B) even if they measure and report it, it is up to the Domoticz implementation to actually retrieve this value
C) not all Domoticz sensortypes support rssi as an input value at the moment, so even if the rssi is available it also depends on the Domoticz sensortype used.

In short; if you miss the rssi for your specific device, see if the device is capable to report the rssi and look at the implementation of the Domoticz hardwaremodule to check if such a value is used.

Re: Show RSSI-Level of all devices

Posted: Thursday 01 October 2020 22:34
by groovesurfer
Ok. In this case I think none of my sensors can transmit RSSI. I can´t see any value on any device in the GUI and when I use the script, I didn´t get something in the log.

Re: Show RSSI-Level of all devices

Posted: Thursday 01 October 2020 23:34
by waaren
groovesurfer wrote: Thursday 01 October 2020 22:34 Ok. In this case I think none of my sensors can transmit RSSI. I can´t see any value on any device in the GUI and when I use the script, I didn´t get something in the log.
Could well be.

The only devices from my system displaying a signal level are with RFXCOM - RFXtrx433 USB 433.92MHz or Evohome via WEB API hardware types.

Re: Show RSSI-Level of all devices

Posted: Friday 02 October 2020 19:23
by kiddigital
groovesurfer wrote:Ok. In this case I think none of my sensors can transmit RSSI. I can´t see any value on any device in the GUI and when I use the script, I didn´t get something in the log.
The GUI can only show a value if it has been implemented in the hardware module code of Domoticz AND the hardware is producing such a value.

So to know for sure if your device has a RSSI, you have to build and debug the hardware module source code yourself and look at the payload the device produces.

Not something you can find in the GUI or logs.

Just to be curious. What/which devices did you hope to find the rssi for?