Lua - Oil Tank Monitor query

Moderator: leecollings

Post Reply
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

Lua - Oil Tank Monitor query

Post by stuiow »

Hi all,
I've finally managed to fix my rtl_433 issue and its now getting its distance and temperature reading from my oil tank.

I've grabbed the LUA script from here ahttp://www.domoticz.com/wiki/Lua_-_Oil_ ... ticz_Setup

I've modified it with my tank dimensions and synced the collected data with some created sensors with the same names given in the script (Oil tank temp and Oil tank sensor).

What i have a query about is the next bit
-- Output devices: Percentage full, volume.
pct_sensor = 'Oil tank'
pct_sensor_id = 4
volume_sensor = 'Oil'
volume_sensor_id = 5

Where do i get the ****_sensor_id's from, as above, its quoted as 4 and 5.
Are these the IDX values as seen in the devices screen?
https://www.dropbox.com/s/ygdqicogz3iud ... .PNG?dl=0]
Any feedback would be appreciated.
Cheers
Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
Post Reply

Who is online

Users browsing this forum: hjzwiers and 1 guest