BMP180 How to send only one value?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
wizworks
New user
Posts: 3
Joined: 03 Feb 2017, 06:03

BMP180 How to send only one value?

#1 Post by wizworks » 03 Feb 2017, 06:10

Hi all, sorry if this has been asked before. I did search, but could not find an answer.

My setup:

ESP8266 nodeMCU running espeasy
Domoticz on raspberry pi

sensor: BMP180 on ESP8266 I2C bus

Problem:

I create a dummy device called "Barometer" in Domoticz.
ESP8266 sends two values: Temperature & Pressure (I only want the pressure value to be transmitted - is there a way to "throw out" or omit the temperature value?)
Domoticz dummy barometer shows the value transmitted for the temperature (NOT THE PRESSURE).

Has anyone figured out how to do this? Is there a way to "turn off" a value (thereby omitting it from the pushed data?)

Ton_vN
Normal user
Posts: 303
Joined: 21 Oct 2016, 15:20
Location: Hengelo (Ov)/ NL
Contact:

Re: BMP180 How to send only one value?

#2 Post by Ton_vN » 03 Feb 2017, 09:56

Why the effort to suppress a value at the transmit side?
You have the much easier option to not-use the undesired value at the receiving side.

wizworks
New user
Posts: 3
Joined: 03 Feb 2017, 06:03

Re: BMP180 How to send only one value?

#3 Post by wizworks » 03 Feb 2017, 13:25

Because domoticz doesnt seem to allow me to throw oit the undesired value

hamster
Normal user
Posts: 62
Joined: 27 Sep 2015, 21:01
Location: UK

Re: BMP180 How to send only one value?

#4 Post by hamster » 03 Feb 2017, 19:05

you could always use node red to filter out the undesired value?

Set your ESP to send to mqtt

within node red use a 'switch node and apply a filter by using the contains option .. for instance contains idx":222
then add a change node, set the option to change and replace with what you require.

Post Reply

Who is online

Users browsing this forum: No registered users and 101 guests