Problem with conditions filtering #279
Replies: 26 comments 36 replies
-
Hi @jeremyarnoux, please make sure you are using the latest development branch of Decoder, as the condition you are stating only has the length 10, but not 12 as you Curtain data has. |
Beta Was this translation helpful? Give feedback.
-
ok normally I installed the last version, but I will check.
According to the filter, the first 10 digits are analyzed.
the value to be found and well within the first 10 digits.
so the condition is ok.
no ?
Le ven. 3 févr. 2023 à 10:33, DigiH ***@***.***> a écrit :
… Hi @jeremyarnoux <https://github.com/jeremyarnoux>,
please make sure you are using the latest development branch of Decoder,
as the condition you are stating only has the length 10, but not 12 as you
Curtain data has.
—
Reply to this email directly, view it on GitHub
<#279 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R737HVH6U7Y2GV7RXL3WVTGGDANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I just updated my development version. here is some info about the Switchbot hardware switchbot remote switchbot humidifier switchbot lock switchbot motion sensor switchbot contact sensor Hope it can help you :-) j'essaie d'envoyer une commande via bleak |
Beta Was this translation helpful? Give feedback.
-
Last scan result: DA:FC:51:4F:39:4B RSSI: -60 AdvertisementData(local_name='WoBlindTilt', manufacturer_data={2409: b"\xda\xfcQO9K\r'd\x14"}, service_data={'0000fd3d-0000-1000-8000-00805f9b34fb': b'x\x00<'}, service_uuids=['00001800-0000-1000-8000-00805f9b34fb', '00001801-0000-1000-8000-00805f9b34fb', 'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-60) |
Beta Was this translation helpful? Give feedback.
-
Hi :-)
goooooooooooooood job !
[image: image.png]
Le lun. 6 févr. 2023 à 15:45, DigiH ***@***.***> a écrit :
… Hi @jeremyarnoux <https://github.com/jeremyarnoux>,
I have created a branch with the following new SwitchBot devices
preliminarily included - *Remote*, *Humidifier*, *Blind Tilt*, *LED Strip*
and *Color Bulb* - at this stage mainly with correct model conditions
only, as further detailed properties decoding still need to be refined.
For the Remote the battery should already be fine, and for the LED Strip
and Color Bulb the on/off state and the level.
https://github.com/DigiH/decoder/tree/new-switchbot
—
Reply to this email directly, view it on GitHub
<#279 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R76WB45HJKXT66C2YWTWWEE75ANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I have just installed the switchbot version that you have just created, so
the latest modifications must be there ;-)
I am in contact with Switchbot directly, but the development department is
very unresponsive... The api is also incomplete and I struggled to get some
improvements (3 months for an intervention lol)
For the dev branch I just do git clone https://github.com/DigiH/decoder.git
(which is the default branch)
You are progressing well on the project, I wanted to congratulate you! I am
now working on the control part of the Switchbot devices, not easy...
I manage to make the Bot work but impossible for the moment to pair the
others devices.
tests with bluez: BleakClient and write_gatt_char
I am interested in all information concerning the control of devices if you
have it :-)
I will let you know as soon as I have succeeded on my side
Le sam. 4 févr. 2023 à 20:32, DigiH ***@***.***> a écrit :
… With pybluez and bluepy did you make sure you had *active scanning*
enabled? As with passive scanning you will only get the manufacturerdata,
but no uuids and servicedata. So that might have been the issue for not
getting the uuids/servicedata for you.
Did you also get additional new information from SwitchBot about the
device encoding for devices which are not listed on their API pages yet,
and about the additional data for devices which are listed but haven't been
updated with firmware update changes etc., e.g. Curtain with the additional
octet to previous firmware versions?
Or do you need to reverse engineer them as well?
it's ok ?
Yes, that is the link to the development branch of Decoder, but with your
Last scan result:
something is still not right, as all your *Curtain,* *Motion* and
*Contact* Sensors
should all be decoded with the development branch, and not have
TheengsDecoder found device: None
I also see with
CB:AC:B0:D9:7B:5C RSSI: -78 AdvertisementData(manufacturer_data={2409:
b'\xcb\xac\xb0\xd9{\x03.\x10Z\xff\xffB'},
service_data={'0000fd3d-0000-1000-8000-00805f9b34fb':
b'd\x00dD\x10\x0e\xff\xffB'}, rssi=-78)
data sent to decoder: {"servicedatauuid": "fd3d", "servicedata":
"64006444100effff42", "manufacturerdata": "6909cbacb0d97b5c032e105affff42"}
TheengsDecoder found device: {"brand":"SwitchBot","model":"Meter
(Plus)","model_id":"THX1/W230150X","tempc":-16.4,"tempf":2.48,"hum":14,"batt":100}
{"properties":{"tempc":{"unit":"°C","name":"temperature"},"hum":{"unit":"%","name":"humidity"},"batt":{"unit":"%","name":"battery"}}}
brand: SwitchBot , model: Meter (Plus)
that it doesn't have the newly introduced …"acts":true… property, which
also only was added to the development branch recently. So for whatever
reason you are not using the latest development branch.
Not knowing your setup and how you check out Decoder it's hard for me to
say why you are not on the development branch you think you are.
Could you explain how you check it out, so we can find the issue together?
—
Reply to this email directly, view it on GitHub
<#279 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R72E5PGDFGVT7MK2TFDWV2VDNANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yes with pleasure
Le lun. 6 févr. 2023 à 16:42, DigiH ***@***.***> a écrit :
… If you want to collaborate on this we could go through the new devices one
by one to complete each device decoder by confirming and
reverse-engineering the required ones with your actual devices.
—
Reply to this email directly, view it on GitHub
<#279 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R76OKMKUMWJAVFD5CBLWWELWTANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
No need to pair the device to send commands. it works perfectly without I
tested Bot and Bulb successfully!
Le lun. 6 févr. 2023 à 16:42, DigiH ***@***.***> a écrit :
… If you want to collaborate on this we could go through the new devices one
by one to complete each device decoder by confirming and
reverse-engineering the required ones with your actual devices.
—
Reply to this email directly, view it on GitHub
<#279 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R76OKMKUMWJAVFD5CBLWWELWTANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yes, I only got the new longer Curtain servicedata and new (hardware revision ??) uuid through user reports as well. But they seem to add some more documentation, like with the addition of the Lock 3 weeks ago :) I'm sure we can reverse-engineer at least some of the functionality together, probably best to start with the remote, as it should be the most simple.
Have a look at this Curtain discussion, with the control commands for the functionality with OpenMQTTGateway, so it should be working the same with your implementation 1technophile/OpenMQTTGateway#1412
Correct, pairing is not needed.
Could you post some examples of the Remote with no key clicked, then either key clicked? Do you know if the Remote only recognises single clicks, or does it actually differentiate between short click, long click and possibly double click for each of the two keys? I'm sure we can finish the Remote easily together as a start. |
Beta Was this translation helpful? Give feedback.
-
yes,
time to install OMG and jmqtt ;-)
Le lun. 6 févr. 2023 à 16:56, DigiH ***@***.***> a écrit :
… I am in contact with Switchbot directly, but the development department is
very unresponsive... The api is also incomplete and I struggled to get some
improvements (3 months for an intervention lol)
Yes, I only got the new longer Curtain servicedata and new (hardware
revision ??) uuid through user reports as well. But they seem to add some
more documentation, like with the addition of the Lock 3 weeks ago :)
I'm sure we can reverse-engineer at least some of the functionality
together, probably best to start with the remote, as it should be the most
simple.
I manage to make the Bot work but impossible for the moment to pair the
others devices.
tests with bluez: BleakClient and write_gatt_char
I am interested in all information concerning the control of devices if you
have it :-)
Have a look at this Curtain discussion, with the control commands for the
functionality with OpenMQTTGateway, so it should be working the same with
your implementation
1technophile/OpenMQTTGateway#1412
<1technophile/OpenMQTTGateway#1412>
Yes with pleasure
Could you post some examples of the *Remote* with no key clicked, then
either key clicked? Do you know if the Remote only recognises single
clicks, or does it actually differentiate between short click, long click
and possibly double click for each of the two keys?
I'm sure we can finish the Remote easily together as a start.
—
Reply to this email directly, view it on GitHub
<#279 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R77QZFFIMFLZEGLO2O3WWENK7ANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Non j'ai installé la version python, les commandes remontent actuellement
Le lun. 6 févr. 2023 à 17:43, DigiH ***@***.***> a écrit :
… time to install OMG and jmqtt ;-)
Do you have an ESP32 to install it on?
—
Reply to this email directly, view it on GitHub
<#279 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R77L5JKAOFMJQ6ZYMTDWWES3TANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
No I installed the python version, the commands are currently going up
Le lun. 6 févr. 2023 à 17:43, DigiH ***@***.***> a écrit :
… time to install OMG and jmqtt ;-)
Do you have an ESP32 to install it on?
—
Reply to this email directly, view it on GitHub
<#279 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R77L5JKAOFMJQ6ZYMTDWWES3TANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
yes for theengs gateway, I don't have esp32 :-\
the rise in temperatures is not just apparently for the sensors
Le lun. 6 févr. 2023 à 18:23, DigiH ***@***.***> a écrit :
… No I installed the python version, the commands are currently going up
So Theengs Gateway and not OpemQTTGateway, correct?
Theengs Gateway does not however support WRITE commands yet, so the
control commands will not work with the default Theengs Gateway.
—
Reply to this email directly, view it on GitHub
<#279 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R77PEJNXEBVZUONUBOTWWEXRZANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Le lun. 6 févr. 2023 à 19:43, DigiH ***@***.***> a écrit :
… the rise in temperatures is not just apparently for the sensors
I'm sorry, I don't quite understand what you mean with that.
—
Reply to this email directly, view it on GitHub
<#279 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R726HDGI5P46PKUHYHTWWFA35ANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@evlo I saw your postingss in the SwitchBotAPI-BLE issues. Do you have any more information about what BLE data is being broadcast when the two different buttons are pressed on the Remote? Thanks |
Beta Was this translation helpful? Give feedback.
-
I will try this theeng https://github.com/theengs/app but I think it will crash same as the one i posted screen from |
Beta Was this translation helpful? Give feedback.
-
With the prebuild binaries this is only really possible after setting up the WiFi and MQTT credentials during the initial OpenMQTTGateway setup. Direct serial monitoring would be possible after that though.
I'm not quite sure which nRF app this is, what I was thinking about was the nRF Connect app for mobile phones, similar to the one you pooseted the sceenshots above. In this app you shouldn't even have to connect to the Remote, but again only view its Advertising Data which is presented on the main list, along with other devices around you. For Android For iOS There it is also indicated in what interval the Remote is broadcasting its advertising data. … |
Beta Was this translation helpful? Give feedback.
-
@jeremyarnoux could you update your Decoder to the latest development branch and give some more scan results please? They should all be fine now with known devices decoded properly, and now unknown devices not producing any false positives, after I implemented the findings from your previous scans. Thanks |
Beta Was this translation helpful? Give feedback.
-
I'll take care of it this afternoon...
I will try to sniff the remote
what were you using to sniff the frames? an advice ?
Le mar. 7 févr. 2023 à 02:01, DigiH ***@***.***> a écrit :
… @evlo <https://github.com/evlo> I saw your postingss in the
SwitchBotAPI-BLE issues.
Do you have any more information about what BLE data is being broadcast
when the two different buttons are pressed on the Remote?
Thanks
—
Reply to this email directly, view it on GitHub
<#279 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R75JFN5RCDQFKCTWD63WWGNF7ANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
sorry for the delay, I was very busy yesterday.
The SensorTH is missing, MAC: FE:9A:13:69:32:96 (Meters plus)
Here is the result of the scan (with the branch update):
***@***.***:~/bluetooth/decoder-switchbot/decoder/examples/python$ python3
ScanAndDecode.py
A8:03:2A:C3:91:3A RSSI: -66 AdvertisementData(local_name='WoHumi',
manufacturer_data={741: b'\xa8\x03*\xc3\x91:'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-66)
data sent to decoder: {"manufacturerdata": "e502a8032ac3913a", "name":
"WoHumi", "id": "A8:03:2A:C3:91:3A", "rssi": -66}
TheengsDecoder found device: None
00:00:00:00:00:00 RSSI: -66 AdvertisementData(rssi=-66)
00:7F:01:00:00:7F RSSI: 81 AdvertisementData(rssi=81)
00:00:00:00:00:DE RSSI: -127 AdvertisementData(rssi=-127)
C6:8A:0E:B8:51:72 RSSI: -64 AdvertisementData(local_name='WoCurtain',
manufacturer_data={89: b'\xc6\x8a\x0e\xb8Qr'},
service_data={'00000d00-0000-1000-8000-00805f9b34fb': b'c@>\x00\x11\x04'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-64)
data sent to decoder: {"servicedatauuid": "0d00", "servicedata":
"63403e001104", "manufacturerdata": "5900c68a0eb85172", "name":
"WoCurtain", "id": "C6:8A:0E:B8:51:72", "rssi": -64}
TheengsDecoder found device: None
DA:FC:51:4F:39:4B RSSI: -48 AdvertisementData(local_name='WoBlindTilt',
manufacturer_data={2409: b"\xda\xfcQO9K\r'd\x14"},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-48)
data sent to decoder: {"manufacturerdata": "6909dafc514f394b0d276414",
"name": "WoBlindTilt", "id": "DA:FC:51:4F:39:4B", "rssi": -48}
TheengsDecoder found device: None
DF:3A:05:45:33:F6 RSSI: -66 AdvertisementData(local_name='WoLinkMini',
manufacturer_data={2409: b'\xdf:\x05E3\xf6\x00\xffc\xe3"\\'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-66)
data sent to decoder: {"manufacturerdata": "6909df3a054533f600ff63e3225c",
"name": "WoLinkMini", "id": "DF:3A:05:45:33:F6", "rssi": -66}
TheengsDecoder found device: None
A6:D7:3C:2F:58:DB RSSI: -98 AdvertisementData(local_name='ET-2810 Series',
manufacturer_data={64: b'\x00m\x02'},
service_uuids=['802a0000-4ef4-4e59-b573-2bed4a4ac159'], rssi=-98)
data sent to decoder: {"manufacturerdata": "4000006d02", "name": "ET-2810
Series", "id": "A6:D7:3C:2F:58:DB", "rssi": -98}
TheengsDecoder found device: None
E7:CD:99:7B:29:48 RSSI: -74 AdvertisementData(local_name='WoCurtain',
manufacturer_data={89: b'\xe7\xcd\x99{)H'},
service_data={'00000d00-0000-1000-8000-00805f9b34fb':
b'c\xc0>\x01\x12\x04'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-74)
data sent to decoder: {"servicedatauuid": "0d00", "servicedata":
"63c03e011204", "manufacturerdata": "5900e7cd997b2948", "name":
"WoCurtain", "id": "E7:CD:99:7B:29:48", "rssi": -74}
TheengsDecoder found device: None
C5:2B:C2:A1:CF:8B RSSI: -64 AdvertisementData(local_name='WoHand',
manufacturer_data={89: b'\xc5+\xc2\xa1\xcf\x8b'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'0000fee7-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-64)
data sent to decoder: {"manufacturerdata": "5900c52bc2a1cf8b", "name":
"WoHand", "id": "C5:2B:C2:A1:CF:8B", "rssi": -64}
TheengsDecoder found device: None
D2:51:00:8B:95:DC RSSI: -70 AdvertisementData(local_name='WoSensorTH',
manufacturer_data={2409: b'\xd2Q\x00\x8b\x95\xdc)\x03\x08\x95$'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-70)
data sent to decoder: {"manufacturerdata": "6909d251008b95dc2903089524",
"name": "WoSensorTH", "id": "D2:51:00:8B:95:DC", "rssi": -70}
TheengsDecoder found device: None
CB:AC:B0:D9:7B:5C RSSI: -84 AdvertisementData(local_name='WoContact',
manufacturer_data={2409: b'\xcb\xac\xb0\xd9{\\\xcenN[\xff\xffB'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-84)
data sent to decoder: {"manufacturerdata":
"6909cbacb0d97b5cce6e4e5bffff42", "name": "WoContact", "id":
"CB:AC:B0:D9:7B:5C", "rssi": -84}
TheengsDecoder found device: None
D2:2C:52:FE:D9:DE RSSI: -68 AdvertisementData(local_name='WoKeypad',
manufacturer_data={2409: b'\xd2,R\xfe\xd9\xde\xbfd\x00\x00\x00\x00'},
service_data={'0000fd3d-0000-1000-8000-00805f9b34fb': b'y\x00d'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-68)
data sent to decoder: {"servicedatauuid": "fd3d", "servicedata": "790064",
"manufacturerdata": "6909d22c52fed9debf6400000000", "name": "WoKeypad",
"id": "D2:2C:52:FE:D9:DE", "rssi": -68}
TheengsDecoder found device: None
6B:29:08:D7:5E:05 RSSI: -100
AdvertisementData(service_data={'0000fea0-0000-1000-8000-00805f9b34fb':
b'\x03\xfa\x8f\xca\x84P\x04o \x1e\xff'},
service_uuids=['0000fea0-0000-1000-8000-00805f9b34fb'], rssi=-100)
data sent to decoder: {"servicedatauuid": "fea0", "servicedata":
"03fa8fca8450046f2020201eff", "id": "6B:29:08:D7:5E:05", "rssi": -100}
TheengsDecoder found device: None
CD:2D:2A:D7:FD:AA RSSI: -70 AdvertisementData(local_name='WoPresence',
manufacturer_data={2409: b'\xcd-*\xd7\xfd\xaa\xa2l\x00\t'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-70)
data sent to decoder: {"manufacturerdata": "6909cd2d2ad7fdaaa26c0009",
"name": "WoPresence", "id": "CD:2D:2A:D7:FD:AA", "rssi": -70}
TheengsDecoder found device: None
E3:A7:65:C2:0C:5C RSSI: -44 AdvertisementData(local_name='WoKeypad',
manufacturer_data={2409: b'\xe3\xa7e\xc2\x0c\\\xbdd\x00\x00\x00\x00'},
service_data={'0000fd3d-0000-1000-8000-00805f9b34fb': b'k\x00d'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-44)
data sent to decoder: {"servicedatauuid": "fd3d", "servicedata": "6b0064",
"manufacturerdata": "6909e3a765c20c5cbd6400000000", "name": "WoKeypad",
"id": "E3:A7:65:C2:0C:5C", "rssi": -44}
TheengsDecoder found device: None
F9:8F:6E:F0:AC:26 RSSI: -78 AdvertisementData(local_name='WoRemote',
manufacturer_data={89: b'\xf9\x8fn\xf0\xac&'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-78)
data sent to decoder: {"manufacturerdata": "5900f98f6ef0ac26", "name":
"WoRemote", "id": "F9:8F:6E:F0:AC:26", "rssi": -78}
TheengsDecoder found device: None
10:2C:6B:EA:20:E5 RSSI: -94 AdvertisementData(local_name='Bouygtel4K',
service_uuids=['0000110a-0000-1000-8000-00805f9b34fb',
'0000110c-0000-1000-8000-00805f9b34fb',
'0000110e-0000-1000-8000-00805f9b34fb',
'00001200-0000-1000-8000-00805f9b34fb',
'00000000-0000-0000-0000-000000000000'], rssi=-94)
data sent to decoder: {"name": "Bouygtel4K", "id": "10:2C:6B:EA:20:E5",
"rssi": -94}
TheengsDecoder found device: None
10:2C:6B:EA:20:E5 RSSI: -94 AdvertisementData(local_name='Bouygtel4K',
service_uuids=['0000110a-0000-1000-8000-00805f9b34fb',
'0000110c-0000-1000-8000-00805f9b34fb',
'0000110e-0000-1000-8000-00805f9b34fb',
'00001200-0000-1000-8000-00805f9b34fb',
'00000000-0000-0000-0000-000000000000'], rssi=-94)
data sent to decoder: {"name": "Bouygtel4K", "id": "10:2C:6B:EA:20:E5",
"rssi": -94}
TheengsDecoder found device: None
10:2C:6B:EA:20:E5 RSSI: -94 AdvertisementData(local_name='Bouygtel4K',
service_uuids=['0000110a-0000-1000-8000-00805f9b34fb',
'0000110c-0000-1000-8000-00805f9b34fb',
'0000110e-0000-1000-8000-00805f9b34fb',
'00001200-0000-1000-8000-00805f9b34fb',
'00000000-0000-0000-0000-000000000000'], rssi=-94)
data sent to decoder: {"name": "Bouygtel4K", "id": "10:2C:6B:EA:20:E5",
"rssi": -94}
TheengsDecoder found device: None
10:2C:6B:EA:20:E5 RSSI: -94 AdvertisementData(local_name='Bouygtel4K',
service_uuids=['0000110a-0000-1000-8000-00805f9b34fb',
'0000110c-0000-1000-8000-00805f9b34fb',
'0000110e-0000-1000-8000-00805f9b34fb',
'00001200-0000-1000-8000-00805f9b34fb',
'00000000-0000-0000-0000-000000000000'], rssi=-94)
data sent to decoder: {"name": "Bouygtel4K", "id": "10:2C:6B:EA:20:E5",
"rssi": -94}
TheengsDecoder found device: None
10:2C:6B:EA:20:E5 RSSI: -94 AdvertisementData(local_name='Bouygtel4K',
service_uuids=['0000110a-0000-1000-8000-00805f9b34fb',
'0000110c-0000-1000-8000-00805f9b34fb',
'0000110e-0000-1000-8000-00805f9b34fb',
'00001200-0000-1000-8000-00805f9b34fb',
'00000000-0000-0000-0000-000000000000'], rssi=-94)
data sent to decoder: {"name": "Bouygtel4K", "id": "10:2C:6B:EA:20:E5",
"rssi": -94}
TheengsDecoder found device: None
10:2C:6B:EA:20:E5 RSSI: -94 AdvertisementData(local_name='Bouygtel4K',
service_uuids=['0000110a-0000-1000-8000-00805f9b34fb',
'0000110c-0000-1000-8000-00805f9b34fb',
'0000110e-0000-1000-8000-00805f9b34fb',
'00001200-0000-1000-8000-00805f9b34fb',
'00000000-0000-0000-0000-000000000000'], rssi=-94)
data sent to decoder: {"name": "Bouygtel4K", "id": "10:2C:6B:EA:20:E5",
"rssi": -94}
TheengsDecoder found device: None
C6:8A:0E:B8:51:72 RSSI: -64 AdvertisementData(local_name='WoCurtain',
manufacturer_data={89: b'\xc6\x8a\x0e\xb8Qr'},
service_data={'00000d00-0000-1000-8000-00805f9b34fb': b'c@>\x00\x11\x04'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-62)
data sent to decoder: {"servicedatauuid": "0d00", "servicedata":
"63403e001104", "manufacturerdata": "5900c68a0eb85172", "name":
"WoCurtain", "id": "C6:8A:0E:B8:51:72", "rssi": -64}
TheengsDecoder found device: None
02:13:00:00:00:00 RSSI: 105 AdvertisementData(rssi=105)
C5:2B:C2:A1:CF:8B RSSI: -64 AdvertisementData(local_name='WoHand',
manufacturer_data={89: b'\xc5+\xc2\xa1\xcf\x8b'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'0000fee7-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-64)
data sent to decoder: {"manufacturerdata": "5900c52bc2a1cf8b", "name":
"WoHand", "id": "C5:2B:C2:A1:CF:8B", "rssi": -64}
TheengsDecoder found device: None
0E:06:01:02:12:00 RSSI: -9 AdvertisementData(rssi=-9)
DF:3A:05:45:33:F6 RSSI: -66 AdvertisementData(local_name='WoLinkMini',
manufacturer_data={2409: b'\xdf:\x05E3\xf6\x00\xffc\xe3"g'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-58)
data sent to decoder: {"manufacturerdata": "6909df3a054533f600ff63e32267",
"name": "WoLinkMini", "id": "DF:3A:05:45:33:F6", "rssi": -66}
TheengsDecoder found device: None
A6:D7:3C:2F:58:DB RSSI: -98 AdvertisementData(local_name='ET-2810 Series',
manufacturer_data={64: b'\x00m\x02'},
service_uuids=['802a0000-4ef4-4e59-b573-2bed4a4ac159'], rssi=-98)
data sent to decoder: {"manufacturerdata": "4000006d02", "name": "ET-2810
Series", "id": "A6:D7:3C:2F:58:DB", "rssi": -98}
TheengsDecoder found device: None
A8:03:2A:C3:91:3A RSSI: -66 AdvertisementData(local_name='WoHumi',
manufacturer_data={741: b'\xa8\x03*\xc3\x91:'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-66)
data sent to decoder: {"manufacturerdata": "e502a8032ac3913a", "name":
"WoHumi", "id": "A8:03:2A:C3:91:3A", "rssi": -66}
TheengsDecoder found device: None
DF:3A:05:45:33:F6 RSSI: -66 AdvertisementData(local_name='WoLinkMini',
manufacturer_data={2409: b'\xdf:\x05E3\xf6\x00\xffc\xe3"g'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-64)
data sent to decoder: {"manufacturerdata": "6909df3a054533f600ff63e32267",
"name": "WoLinkMini", "id": "DF:3A:05:45:33:F6", "rssi": -66}
TheengsDecoder found device: None
D2:2C:52:FE:D9:DE RSSI: -68 AdvertisementData(local_name='WoKeypad',
manufacturer_data={2409: b'\xd2,R\xfe\xd9\xde\xbfd\x00\x00\x00\x00'},
service_data={'0000fd3d-0000-1000-8000-00805f9b34fb': b'y\x00d'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-58)
data sent to decoder: {"servicedatauuid": "fd3d", "servicedata": "790064",
"manufacturerdata": "6909d22c52fed9debf6400000000", "name": "WoKeypad",
"id": "D2:2C:52:FE:D9:DE", "rssi": -68}
TheengsDecoder found device: None
E7:CD:99:7B:29:48 RSSI: -74 AdvertisementData(local_name='WoCurtain',
manufacturer_data={89: b'\xe7\xcd\x99{)H'},
service_data={'00000d00-0000-1000-8000-00805f9b34fb':
b'c\xc0>\x01\x12\x04'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-68)
data sent to decoder: {"servicedatauuid": "0d00", "servicedata":
"63c03e011204", "manufacturerdata": "5900e7cd997b2948", "name":
"WoCurtain", "id": "E7:CD:99:7B:29:48", "rssi": -74}
TheengsDecoder found device: None
9C:8C:6E:E5:5E:03 RSSI: -96 AdvertisementData(local_name='[TV] Samsung 8
Series (55)', manufacturer_data={117:
b'B\x04\x01\x80`\x9c\x8cn\xe5^\x03\x9e\x8cn\xe5^\x02\x01\x00\x00\x00\x00\x00\x00'},
rssi=-96)
data sent to decoder: {"manufacturerdata":
"750042040180609c8c6ee55e039e8c6ee55e0201000000000000", "name": "[TV]
Samsung 8 Series (55)", "id": "9C:8C:6E:E5:5E:03", "rssi": -96}
TheengsDecoder found device: None
CB:AC:B0:D9:7B:5C RSSI: -84 AdvertisementData(local_name='WoContact',
manufacturer_data={2409: b'\xcb\xac\xb0\xd9{\\\xcenNf\xff\xffB'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-84)
data sent to decoder: {"manufacturerdata":
"6909cbacb0d97b5cce6e4e66ffff42", "name": "WoContact", "id":
"CB:AC:B0:D9:7B:5C", "rssi": -84}
TheengsDecoder found device: None
F9:8F:6E:F0:AC:26 RSSI: -78 AdvertisementData(local_name='WoRemote',
manufacturer_data={89: b'\xf9\x8fn\xf0\xac&'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-80)
data sent to decoder: {"manufacturerdata": "5900f98f6ef0ac26", "name":
"WoRemote", "id": "F9:8F:6E:F0:AC:26", "rssi": -78}
TheengsDecoder found device: None
CD:2D:2A:D7:FD:AA RSSI: -70 AdvertisementData(local_name='WoPresence',
manufacturer_data={2409: b'\xcd-*\xd7\xfd\xaa\xa2l\x00\x13'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-76)
data sent to decoder: {"manufacturerdata": "6909cd2d2ad7fdaaa26c0013",
"name": "WoPresence", "id": "CD:2D:2A:D7:FD:AA", "rssi": -70}
TheengsDecoder found device: None
FE:9A:13:69:32:96 RSSI: -64 AdvertisementData(manufacturer_data={2409:
b'\xfe\x9a\x13i2\x96\xbc\x03\x00\x96$'}, rssi=-64)
data sent to decoder: {"manufacturerdata": "6909fe9a13693296bc03009624",
"id": "FE:9A:13:69:32:96", "rssi": -64}
TheengsDecoder found device: None
F9:8F:6E:F0:AC:26 RSSI: -78 AdvertisementData(local_name='WoRemote',
manufacturer_data={89: b'\xf9\x8fn\xf0\xac&'},
service_uuids=['00001800-0000-1000-8000-00805f9b34fb',
'00001801-0000-1000-8000-00805f9b34fb',
'cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-80)
data sent to decoder: {"manufacturerdata": "5900f98f6ef0ac26", "name":
"WoRemote", "id": "F9:8F:6E:F0:AC:26", "rssi": -78}
TheengsDecoder found device: None
10:2C:6B:EA:20:E5 RSSI: -94 AdvertisementData(local_name='Bouygtel4K',
service_uuids=['0000110a-0000-1000-8000-00805f9b34fb',
'0000110c-0000-1000-8000-00805f9b34fb',
'0000110e-0000-1000-8000-00805f9b34fb',
'00001200-0000-1000-8000-00805f9b34fb',
'00000000-0000-0000-0000-000000000000'], rssi=-100)
data sent to decoder: {"name": "Bouygtel4K", "id": "10:2C:6B:EA:20:E5",
"rssi": -94}
TheengsDecoder found device: None
10:2C:6B:EA:20:E5 RSSI: -94 AdvertisementData(local_name='Bouygtel4K',
service_uuids=['0000110a-0000-1000-8000-00805f9b34fb',
'0000110c-0000-1000-8000-00805f9b34fb',
'0000110e-0000-1000-8000-00805f9b34fb',
'00001200-0000-1000-8000-00805f9b34fb',
'00000000-0000-0000-0000-000000000000'], rssi=-100)
data sent to decoder: {"name": "Bouygtel4K", "id": "10:2C:6B:EA:20:E5",
"rssi": -94}
TheengsDecoder found device: None
A8:03:2A:C3:91:3A: WoHumi
00:00:00:00:00:00: 00-00-00-00-00-00
00:7F:01:00:00:7F: 00-7F-01-00-00-7F
00:00:00:00:00:DE: 00-00-00-00-00-DE
C6:8A:0E:B8:51:72: WoCurtain
DA:FC:51:4F:39:4B: WoBlindTilt
DF:3A:05:45:33:F6: WoLinkMini
A6:D7:3C:2F:58:DB: ET-2810 Series
E7:CD:99:7B:29:48: WoCurtain
C5:2B:C2:A1:CF:8B: WoHand
D2:51:00:8B:95:DC: WoSensorTH
CB:AC:B0:D9:7B:5C: WoContact
D2:2C:52:FE:D9:DE: WoKeypad
6B:29:08:D7:5E:05: 6B-29-08-D7-5E-05
CD:2D:2A:D7:FD:AA: WoPresence
E3:A7:65:C2:0C:5C: WoKeypad
F9:8F:6E:F0:AC:26: WoRemote
10:2C:6B:EA:20:E5: Bouygtel4K
02:13:00:00:00:00: 02-13-00-00-00-00
0E:06:01:02:12:00: 0E-06-01-02-12-00
9C:8C:6E:E5:5E:03: [TV] Samsung 8 Series (55)
FE:9A:13:69:32:96: FE-9A-13-69-32-96
Le mar. 7 févr. 2023 à 05:33, DigiH ***@***.***> a écrit :
… @jeremyarnoux <https://github.com/jeremyarnoux> could you update your
Decoder to the latest development branch and give some more scan results
please?
They should all be fine now with known devices decoded properly, and now
unknown devices not producing any false positives, after I implemented the
findings from your previous scans.
Thanks
—
Reply to this email directly, view it on GitHub
<#279 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R77FS4WLZI3MFJHY2PTWWHGADANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
scan of ledstrip (no error during scan!)
A0:76:4E:36:4A:C6 RSSI: -54 AdvertisementData(manufacturer_data={2409:
b'\xa0vN6J\xc6\x02<"\x0c\x00\x00\x00\x00\x00\x00'}, rssi=-54)
data sent to decoder: {"manufacturerdata":
"6909a0764e364ac6023c220c000000000000", "id": "A0:76:4E:36:4A:C6", "rssi":
-54}
TheengsDecoder found device:
{"id":"A0:76:4E:36:4A:C6","rssi":-54,"brand":"GENERIC","model":"TPMS","model_id":"TPMS","cidc":false,"count":1,"pres":2035.70178,"tempc":0,"tempf":32,"batt":0,"alarm":false}
{"properties":{"batt":{"unit":"%","name":"battery"},"tempc":{"unit":"°C","name":"temperature"},"pres":{"unit":"bar","name":"pressure"},"count":{"unit":"int","name":"count"},"alarm":{"unit":"status","name":"alarm"}}}
brand: GENERIC , model: TPMS
A0:76:4E:36:4A:C6: A0-76-4E-36-4A-C6
Le mar. 7 févr. 2023 à 05:33, DigiH ***@***.***> a écrit :
… @jeremyarnoux <https://github.com/jeremyarnoux> could you update your
Decoder to the latest development branch and give some more scan results
please?
They should all be fine now with known devices decoded properly, and now
unknown devices not producing any false positives, after I implemented the
findings from your previous scans.
Thanks
—
Reply to this email directly, view it on GitHub
<#279 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R77FS4WLZI3MFJHY2PTWWHGADANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
|
Beta Was this translation helpful? Give feedback.
-
Back to basics, otherwise we might not get further anytime soon ;) What if you This should download, unzip, make and install the required latest version of the Decoder SwitchBot branch. You might have to install
first, if if not already installed. Then go back to the decoder-new-switchbot folder - examples - python. There you will find ScanAndDecode.py In Terminal Please post the output from that. |
Beta Was this translation helpful? Give feedback.
-
Excusez moi, ce n'est pas facile pour moi.
Je cherche à vous aider. J'ai télécharger le zip comme vous m'avez dit,
mais j'ai pas réussi à l'installer. J'ai une erreur Arduinojson.h lors du
lancement de l'installation avec pip3
J'ai réussi à installer la nouvelle version 1.1.0, j'ai fait une impression
écran pour vous montrer que je prenais le .gît bien dans la branche de
new-switchbot
Dites moi comment je peux résoudre le problème de la dépendance ou
sous-module arduinojson.h lors de l'installation du setup.py (celui dans le
zip new-switchbot)
Je fais sincèrement de mon mieux,mais je ne maîtrise pas correctement
l'installation via pip3 quand il y a ce genre de problème.
Mais on va y arriver 😊
J'ai pas encore de réponse pour le remote,je vous tiens informé dès que
j'en ai.
Le jeu. 9 févr. 2023 à 18:19, DigiH ***@***.***> a écrit :
… J'ai lancé le scan et voici le résultat (en esperant qut tout est ok...) :
Sort of ;
As you probably saw, correctly recognised and decoded are:
*Contact Sensor Meter (Plus) Curtain Motion Sensor Bot*
which looks like the Decoder release version, but not like the latest
decoder-new-switchbot branch, which includes commits for
*Remote Blind Tilt Humidifier LED Strip Color BUlb*
as they all still show up as
TheengsDecoder found device: None
For example
data sent to decoder: {"servicedatauuid": "0d00", "servicedata": "650000cd00286300", "manufacturerdata": "e502a8032ac3913a", "name": "WoHumi", "id": "A8:03:2A:C3:91:3A", "rssi": -66}
TheengsDecoder found device: None
but when I test locally - admittedly not having the actual device here,
only running unit tests - the exact same data results in me getting
{"brand":"SwitchBot","model":"Humidifier","model_id":"W080180X","type":"AIR","acts":true,"tempc":10.24,"tempf":50.432,"hum":77,"mode":3,"empty":false}
So unless there is something substantially different between my unit tests
and the real world device data processing and decoding, which I haven't
figured out yet, it still looks like you using the release version of
Decoder to me.
Would you humour me and just try exactly the steps I suggested above?
—
Reply to this email directly, view it on GitHub
<#279 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R73ZKTWJUMYYHP5NWNDWWURKZANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Je suis sur debian 10
On peut effectivement faire un partage d'écran, c'est une bonne idée !
merci
Le jeu. 9 févr. 2023 à 20:14, DigiH ***@***.***> a écrit :
… What OS are you on @jeremyarnoux <https://github.com/jeremyarnoux> ?
Possibly we could do some screen sharing to see what the issues are with
installing the SwitchBot test branch.
—
Reply to this email directly, view it on GitHub
<#279 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEA6R76FSBZDOZ2KRJEJH4DWWU6X3ANCNFSM6AAAAAAUPZ5HJQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
c'est bien mieux en français loool
est ce qu'on peut se telephoner ? 0617797858
Le jeu. 9 févr. 2023 à 20:17, Arnoux Jeremy ***@***.***> a
écrit :
… Je suis sur debian 10
On peut effectivement faire un partage d'écran, c'est une bonne idée !
merci
Le jeu. 9 févr. 2023 à 20:14, DigiH ***@***.***> a écrit :
> What OS are you on @jeremyarnoux <https://github.com/jeremyarnoux> ?
>
> Possibly we could do some screen sharing to see what the issues are with
> installing the SwitchBot test branch.
>
> —
> Reply to this email directly, view it on GitHub
> <#279 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AEA6R76FSBZDOZ2KRJEJH4DWWU6X3ANCNFSM6AAAAAAUPZ5HJQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a Switchbot curtain which is well detected when I run a scan via ScanAndDecode.py
But the decoder does not match the conditions of the SBCU_json.h file
However the conditions are ok
Data returned by the decoder:
E7:CD:99:7B:29:48 RSSI: -58 AdvertisementData(manufacturer_data={89: b'\xe7\xcd\x99{)H'}, service_data={'00000d00-0000-1000-8000-00805f9b34fb': b'c\xc0@d\x12\x04'}, service_uuids=['cba20d00-224d-11e6-9fb8-0002a5d5c51b'], rssi=-58)
data sent to decoder: {"servicedatauuid": "0d00", "servicedata": "63c040641204", "manufacturerdata": "5900e7cd997b2948"}
TheengsDecoder found device: None
"condition":["uuid","index",0,"0d00","&","servicedata","=",10,"index",0,"63"]
Can you help me please
Beta Was this translation helpful? Give feedback.
All reactions