Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command for scanning 868 MHz sensors #25

Closed
matthias-bs opened this issue May 8, 2024 · 1 comment · Fixed by #79
Closed

Add command for scanning 868 MHz sensors #25

matthias-bs opened this issue May 8, 2024 · 1 comment · Fixed by #79
Assignees
Labels

Comments

@matthias-bs
Copy link
Owner

matthias-bs commented May 8, 2024

To find your sensors (or other sensors within range) you currently have to run BresserWeatherSensorBasic or BresserWeatherSensorLW with debugging enabled and USB connection to serial console for analysis .

This feature will allow to get the same information via LoRaWAN.

CMD_SENSORS_SCAN <scan_time>

Resonse:

<id0>, <decoder0>, <type0>, <ch0>[, <flags0>], <rssi0>
...
<idN>, <decoderN>, <typeN>, <chN>[, <flagsN>], <rssiN>
@matthias-bs matthias-bs self-assigned this May 8, 2024
@matthias-bs
Copy link
Owner Author

Request:

{"ws_scantime": 180}

Response (raw) - 48 bytes:

792882A211000C6422400873130100343958237611001F4E0000EEFB3900006B6756630014010060289667964503006A

Response (decoded):

"found_sensors": [
            {
              "ch": 0,
              "decoder": "6-in-1",
              "flags": "0x0c",
              "id": "0x792882a2",
              "rssi": -100,
              "type": "Weather Sensor"
            },
            {
              "ch": 1,
              "decoder": "6-in-1",
              "flags": "0x00",
              "id": "0x22400873",
              "rssi": -52,
              "type": "Pool / Spa Thermometer"
            },
            {
              "ch": 0,
              "decoder": "6-in-1",
              "flags": "0x1f",
              "id": "0x39582376",
              "rssi": -78,
              "type": "Weather Sensor"
            },
            {
              "ch": 0,
              "decoder": "Lightning",
              "flags": "0x00",
              "id": "0x0000eefb",
              "rssi": -107,
              "type": "Lightning Sensor"
            },
            {
              "ch": 1,
              "decoder": "6-in-1",
              "flags": "0x00",
              "id": "0x67566300",
              "rssi": -96,
              "type": "Soil Temperature and Moisture Sensor"
            },
            {
              "ch": 3,
              "decoder": "Leakage",
              "flags": "0x00",
              "id": "0x28966796",
              "rssi": -106,
              "type": "Water Leakage Sensor"
            }
          ]

@matthias-bs matthias-bs linked a pull request Jul 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant