Hi,
I tried to use 2 pyb-d, each one with a ble temperatre sensor and one pyb-d like station...
The ble station no check the second ble sensors...
Is it possible to find a way for doing that?
Thanks.
ble 2 sensors and 1 station?
Re: ble 2 sensors and 1 station?
I am not able to understand your question, unfortunately. Could you please try to re-write it with more details?
Re: ble 2 sensors and 1 station?
Hi Lofer,
Thanks for your attention,
Bluetooth works fine with one pyb-d wich have a sensor, and one other pyb-d wich receive data from the first one pyb-d.
I would like use 2, or more, pyb-d wich one with a sensor, and one pyb-d wich receive all data from others pyb-d.
For moment when I tried to do it, the station no check a second pyb-d...
My phone and my computer could have more than just one bluetooth connection... I suppose that it could be possible too with a pyb-d...
A part of the "ble library" wich could be change (the stop scanning):
Thanks,
Thanks for your attention,
Bluetooth works fine with one pyb-d wich have a sensor, and one other pyb-d wich receive data from the first one pyb-d.
I would like use 2, or more, pyb-d wich one with a sensor, and one pyb-d wich receive all data from others pyb-d.
For moment when I tried to do it, the station no check a second pyb-d...
My phone and my computer could have more than just one bluetooth connection... I suppose that it could be possible too with a pyb-d...
A part of the "ble library" wich could be change (the stop scanning):
Code: Select all
# Found a potential device, remember it and stop scanning.
self._addr_type = addr_type
self._addr = bytes(
addr
) # Note: addr buffer is owned by caller so need to copy it.
self._name = decode_name(adv_data) or "?"
self._ble.gap_scan(None)
Re: ble 2 sensors and 1 station?
Hi,
Is there an other way for make a station with a classical computer (like a raspberry for example) wich can received data from several pyb-d ?
Thanks a lot.
Is there an other way for make a station with a classical computer (like a raspberry for example) wich can received data from several pyb-d ?
Thanks a lot.
- OlivierLenoir
- Posts: 126
- Joined: Fri Dec 13, 2019 7:10 pm
- Location: Picardie, FR
Re: ble 2 sensors and 1 station?
Did you look for MQTT and MQTT Mosquito server?
MicroPython implement umqtt/simple and umqtt/robust.
Oups, I thought it was ESP32.
MicroPython implement umqtt/simple and umqtt/robust.
Oups, I thought it was ESP32.
Olivier Lenoir
https://gitlab.com/olivierlenoir
https://gitlab.com/olivierlenoir