I have 3 Wireless Weather Station Digital Thermometer Humidity Sensor 433MHz (5th in Radios section, purchased in banggood).
Each sensor is working on different channel (1,2 and 3) and pimatic debug say:
12:00:02debug [pimatic-homeduino]: weather5: { id: 154, lowBattery: false, temperature: -191.1, humidity: 87 }
12:00:00debug [pimatic-homeduino]: weather1: { id: 147, channel: 2, temperature: 28.6, humidity: 31, lowBattery: false }
12:00:00debug [pimatic-homeduino]: received: [ 492, 1952, 3905, 9220 ] 01020102020101020101020202010102010101020101010202020201010101020202020203
12:00:00debug [pimatic-homeduino]: data: "RF receive 492 1952 3905 9220 0 0 0 0 01020102020101020101020202010102010101020101010202020201010101020202020203"
11:59:50debug [pimatic-homeduino]: weather5: { id: 74, lowBattery: true, temperature: 115.7, humidity: 82 }
11:59:48debug [pimatic-homeduino]: weather1: { id: 40, channel: 3, temperature: 29.2, humidity: 27, lowBattery: false }
11:59:48debug [pimatic-homeduino]: received: [ 509, 1935, 3887, 9228 ] 01020102010102010201010102010201010101020101020101020101010101020201020203
11:59:48debug [pimatic-homeduino]: data: "RF receive 509 1935 3887 9228 0 0 0 0 01020102010102010201010102010201010101020101020101020101010101020201020203"
11:59:38debug [pimatic-homeduino]: weather5: { id: 138, lowBattery: true, temperature: -191.9, humidity: 83 }
11:59:38debug [pimatic-homeduino]: weather1: { id: 28, channel: 1, temperature: 28.4, humidity: 31, lowBattery: false }
11:59:38debug [pimatic-homeduino]: received: [ 494, 1949, 3905, 9220 ] 01020102010101020202010102010101010101020101010202020101010101020202020203
11:59:38debug [pimatic-homeduino]: data: "RF receive 494 1949 3905 9220 0 0 0 0 01020102010101020202010102010101010101020101010202020101010101020202020203"
As you can see, data to consider are:
weather1: { id: 28, channel: 1, temperature: 28.4, humidity: 31, lowBattery: false }
weather1: { id: 147, channel: 2, temperature: 28.6, humidity: 31, lowBattery: false }
weather1: { id: 40, channel: 3, temperature: 29.2, humidity: 27, lowBattery: false }
I set config.json as:
"id": "rf-banggood-1",
"name": "Remoto Banggood 1",
"class": "HomeduinoRFTemperature",
"protocols": [
{
"name": "weather1",
"id": 28,
"channel": 1
}
]
},
{
"id": "rf-banggood-2",
"name": "Remoto Banggood 2",
"class": "HomeduinoRFTemperature",
"protocols": [
{
"name": "weather1",
"id": 147,
"channel": 2
}
]
},
{
"id": "rf-banggood-3",
"name": "Remoto Banggood 3",
"class": "HomeduinoRFTemperature",
"protocols": [
{
"name": "weather1",
"id": 40,
"channel": 3
}
]
},
Then I can see 3 variables for each sensor:
$rf-banggood-1.temperature
$rf-banggood-1.humidity
$rf-banggood-1.lowBattery
$rf-banggood-2.temperature
$rf-banggood-2.humidity
$rf-banggood-2.lowBattery
$rf-banggood-3.temperature
$rf-banggood-3.humidity
$rf-banggood-3.lowBattery
And now, the problem:
value of the last sensor has been received is propagated to the three sensors:
$rf-banggood-1.temperature = $rf-banggood-2.temperature = $rf-banggood-2.temperature = last received
and the same with humidity and lowBattery.
There is any error in config.json devices?
Any bug?
Thank you for your help.