Show RSSI-Level of all devices

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
groovesurfer
Posts: 8
Joined: Monday 28 September 2020 22:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany
Contact:

Show RSSI-Level of all devices

Post by groovesurfer »

Hello everybody,

I was wondering if it´s possible to see the RSSI-Level of all devices.
I didn´t fins something.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Show RSSI-Level of all devices

Post 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 1116 times
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Show RSSI-Level of all devices

Post 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.
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
groovesurfer
Posts: 8
Joined: Monday 28 September 2020 22:47
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany
Contact:

Re: Show RSSI-Level of all devices

Post 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.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Show RSSI-Level of all devices

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
kiddigital
Posts: 438
Joined: Thursday 10 August 2017 6:52
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Show RSSI-Level of all devices

Post 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?
One RPi with Domoticz, RFX433e, aeon labs z-wave plus stick GEN5, ha-bridge 5.4.0 for Alexa, Philips Hue Bridge, Pimoroni Automation Hat
One RPi with Pi foundation standard touch screen to display Dashticz
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest