Maximun range of a device

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
sbhc68
Posts: 4
Joined: Wednesday 25 February 2015 10:15
Target OS: Linux
Domoticz version: latest
Location: France
Contact:

Maximun range of a device

Post by sbhc68 »

Hello,

I wanted to know if it was not possible in domoticz, to add minimum and maximum ranges for the devices in order to avoid the incorrect data transfer (Either by device or by type of device)?

For example, for a temperature device, the user would define a range between +60 and -40 deg.

Cordially.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Maximun range of a device

Post by waaren »

sbhc68 wrote: Tuesday 15 October 2019 13:44 I wanted to know if it was not possible in domoticz, to add minimum and maximum ranges for the devices in order to avoid the incorrect data transfer For example, for a temperature device, the user would define a range between +60 and -40 deg.
This functionality is not available in domoticz. Closest you can get is to set a notification for when temperature is out of range.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: Maximun range of a device

Post by ben53252642 »

I think this really should be done before sending the data to Domoticz,

Eg I have an electricity meter that I read data from and I use a bash script to sort and transfer the reading into Domoticz via JSON.

The bash script is setup to check that the data is valid (it is a number and between x and y range) before sending it to Domoticz.
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
sbhc68
Posts: 4
Joined: Wednesday 25 February 2015 10:15
Target OS: Linux
Domoticz version: latest
Location: France
Contact:

Re: Maximun range of a device

Post by sbhc68 »

Yes, indeed, the ideal is to do it before sending the data in Domoticz.

But, it seems to me, that in some cases this is not feasible (eg device on RFXCOM or Zigate or Zwave).
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest