Please help when using the node-red-contrib-xiaomi-ble node i am failing to pass it an address property correctly.
I am not a programmer only a user and a tinkerer..
I have been up all night with this, and cannot see trees for the wood in front of me. The project github page has no issues raised like this and the node is in use.. what am i missing?
I started trying using it like earlier versions i use and pass the address as the only payload. - NO
I then moved on to other things which led to the flow below, I could use a node dedicated to each sensor i have a flow tab that works that way but that approach is clunky and less suitable to avoiding scheduling conflicts with a queue.
Below is a list of the messages passed to the node which it ignores? OR that i have improperly formatted ?
10/03/2020, 10:17:18node: 374e1741.d34388
Readings/Mija/1 : msg.payload : Object
object
address: "4c:65:a8:d9:9e:64"
scan: 55
10/03/2020, 10:18:18node: 374e1741.d34388
Readings/Mija/2 : msg.payload : Object
{ address: "4c:65:a8:d0:40:7c", scan: 55 }
10/03/2020, 10:19:18node: 374e1741.d34388
Readings/Miflora/1 : msg.payload : Object
{ address: "C4:7C:8D:64:43:f5", scan: 55 }
here is the flow from which it was generated. Please overlook the excessive redundant fix nodes..
[{"id":"a743539a.94026","type":"inject","z":"b146f0c4.c13a9","name":"trigger","topic":"control","payload":"trigger","payloadType":"str","repeat":"60","crontab":"","once":true,"onceDelay":"5","x":160,"y":40,"wires":[["9cc265c1.95b718"]]},{"id":"f5d0c092.3b895","type":"inject","z":"b146f0c4.c13a9","name":"Mija1 Inject","topic":"Readings/Mija/1","payload":"{\"address\":\"4c:65:a8:d9:9e:64\",\"scan\":55}","payloadType":"json","repeat":"300","crontab":"","once":true,"onceDelay":0.1,"x":150,"y":100,"wires":[["9cc265c1.95b718"]]},{"id":"217e9b0.9813c66","type":"inject","z":"b146f0c4.c13a9","name":"Mija2 Inject","topic":"Readings/Mija/2","payload":"{\"address\":\"4c:65:a8:d0:40:7c\",\"scan\":55}","payloadType":"json","repeat":"300","crontab":"","once":true,"onceDelay":"60","x":150,"y":140,"wires":[["9cc265c1.95b718"]]},{"id":"bbcaa098.6019e","type":"inject","z":"b146f0c4.c13a9","name":"Miflora1 Inject","topic":"Readings/Miflora/1","payload":"{\"address\":\"C4:7C:8D:64:43:f5\",\"scan\":55}","payloadType":"json","repeat":"900","crontab":"","once":true,"onceDelay":"120","x":140,"y":200,"wires":[["9cc265c1.95b718"]]},{"id":"7a861b87.3b96c4","type":"inject","z":"b146f0c4.c13a9","name":"Miflora2 Inject","topic":"Readings/Miflora/2","payload":"{\"address\":\"C4:7C:8D:61:FF:7F\",\"scan\":55}","payloadType":"json","repeat":"900","crontab":"","once":true,"onceDelay":"180","x":140,"y":240,"wires":[["9cc265c1.95b718"]]},{"id":"7dcb0d79.91e2a4","type":"inject","z":"b146f0c4.c13a9","name":"Miflora3 Inject","topic":"Readings/Miflora/3","payload":"{\"address\":\"C4:7C:8D:64:43:C8\",\"scan\":55}","payloadType":"json","repeat":"900","crontab":"","once":true,"onceDelay":"240","x":140,"y":280,"wires":[["9cc265c1.95b718"]]},{"id":"ecd7fdd7.48f92","type":"inject","z":"b146f0c4.c13a9","name":"Miflora4 Inject","topic":"Readings/Miflora/4","payload":"{\"address\":\"C4:7C:8D:64:47:a7\",\"scan\":55}","payloadType":"json","repeat":"900","crontab":"","once":true,"onceDelay":"300","x":140,"y":320,"wires":[["9cc265c1.95b718"]]},{"id":"cbaff3c.3fd341","type":"inject","z":"b146f0c4.c13a9","name":"Miflora5 Inject","topic":"Readings/Miflora/5","payload":"{\"address\":\"C4:7C:8D:64:43:AE\",\"scan\":55}","payloadType":"json","repeat":"900","crontab":"","once":true,"onceDelay":"360","x":140,"y":360,"wires":[["9cc265c1.95b718"]]},{"id":"9a4af4f4.b4c158","type":"inject","z":"b146f0c4.c13a9","name":"Miflora6 Inject","topic":"Readings/Miflora/6","payload":"{\"address\":\"C4:7C:8D:64:43:61\",\"scan\":55}","payloadType":"json","repeat":"900","crontab":"","once":true,"onceDelay":"420","x":140,"y":400,"wires":[["9cc265c1.95b718"]]},{"id":"219dbb6f.ba5a34","type":"inject","z":"b146f0c4.c13a9","name":"Miflora7 Inject","topic":"Readings/Miflora/7","payload":"{\"address\":\"C4:7C:8D:62:10:AD\",\"scan\":55}","payloadType":"json","repeat":"900","crontab":"","once":true,"onceDelay":"480","x":140,"y":440,"wires":[["9cc265c1.95b718"]]},{"id":"f7b74698.c8f278","type":"inject","z":"b146f0c4.c13a9","name":"Miflora8 Inject","topic":"Readings/Miflora/8","payload":"{\"address\":\"C4:7C:8D:62:07:01\",\"scan\":55}","payloadType":"json","repeat":"900","crontab":"","once":true,"onceDelay":"540","x":140,"y":480,"wires":[["9cc265c1.95b718"]]},{"id":"882c26bc.853498","type":"inject","z":"b146f0c4.c13a9","name":"Miflora9 Inject","topic":"Readings/Miflora/9","payload":"{\"address\":\"C4:7C:8D:64:43:6F\",\"scan\":55}","payloadType":"json","repeat":"900","crontab":"","once":true,"onceDelay":"600","x":140,"y":520,"wires":[["9cc265c1.95b718"]]},{"id":"9cc265c1.95b718","type":"q-gate","z":"b146f0c4.c13a9","name":"BLE Sensor Query Queue","controlTopic":"control","defaultState":"queueing","openCmd":"open","closeCmd":"close","toggleCmd":"toggle","queueCmd":"queue","defaultCmd":"default","triggerCmd":"trigger","flushCmd":"flush","resetCmd":"reset","maxQueueLength":"100","keepNewest":true,"qToggle":false,"persist":false,"x":390,"y":520,"wires":[["85caa1b8.c4463"]]},{"id":"85caa1b8.c4463","type":"change","z":"b146f0c4.c13a9","name":"","rules":[{"t":"set","p":"SendTopic","pt":"flow","to":"topic","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":230,"y":620,"wires":[["3593708f.327f4","374e1741.d34388"]]},{"id":"3593708f.327f4","type":"Xiaomi BLE","z":"b146f0c4.c13a9","name":"BLE Query","address":"","scanningTimeout":"11","x":450,"y":600,"wires":[["bb26e9f3.525d68"]]},{"id":"bb26e9f3.525d68","type":"function","z":"b146f0c4.c13a9","name":"AddBack Topic","func":"msg.topic = flow.get('SendTopic')||'Readings/Miflora/X';\nreturn msg;","outputs":1,"noerr":0,"x":580,"y":620,"wires":[["7571b1f8.136e","c1c9378a.793968"]]},{"id":"7571b1f8.136e","type":"mqtt out","z":"b146f0c4.c13a9","name":"BLE Publish","topic":"","qos":"","retain":"","broker":"46c274c7.0d85dc","x":710,"y":480,"wires":[]},{"id":"374e1741.d34388","type":"debug","z":"b146f0c4.c13a9","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":550,"y":380,"wires":[]},{"id":"46c274c7.0d85dc","type":"mqtt-broker","z":"","name":"","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]
Thanks in advance for any and all help