-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
MIBLE does not get data from MJ_HT_V1 #7642
Comments
And here is Step 2: Change line 630 to: Step3: No, not with this hardware. Do you have an example - known working? |
Okay, you receive something (obviously) but I see no traces of MIJIA-packets. This should at least rule out hardware problems. |
Your minimal working example dis not compile with the RF24 out of the tasmota LIB folder. |
Yes, that was the meaning of
But it is working and the hardware setup seems to be intact. To be honest, I have no good idea ATM, because I never have seen this problem. The "packetmode 0" is the old method from the example above and should give the same output. I left it for debugging purposes. Another thing to try is to:
change to
(to reduce packet losses) And always be sure, that the sensor has no active BT-connection to master device. |
Sorry, this also does not help to solve it. I never see it switching to mode 0. Only 1, 2 and 3: |
Hi, any news on this? |
I took a look at your output from post 1 and there we see all MJ_HT_V1-packets as expected. Also the result of the next logs makes sense too. Just to be sure, can you send me your compiled binary (with no code changes) to rule out a problem on this side. |
Here is the binary. |
Thanks, I will look into it (even if I do not really have doubts about your compilation). But besides I am in the middle of re-working the driver and maybe I can improve it. In the worst case I could re-implement the "old" reading method of the whole BLE-packet, because your "Step1.txt" showed that these packets are succesfully captured on your setup. This would only work with the MJ_HT_V1, because the packets of this sensor are short enough. Stay tuned ... |
You may want to try a new version with some improvements (I hope): Just replace the file in the tasmota folder. |
That are good news! I will cleanup the code and maybe do a little bit of refactoring in the next few days and I still believe, that the NRF24L01-BLE-hack has some advantages, like complete passive scanning: It is planned to add the features to the HM-10-driver too, but this will produce more data traffic, which I personally will not use in real-life. |
I hope, I did not introduce new bugs in the last refactoring session. |
Hello Christian, just compiled it with the today's sourced: Still works here . Markus |
Very nice. |
@Staars cant find the bin, could you share the file |
What does PA and LNA stand for? |
is the model with antena |
so i have SPI_DC conected to MOSI and SPI_CS to MISO
|
PROBLEM DESCRIPTION
MIBLE does not get data from MJ_HT_V1
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Backlog Rule1; Rule2; Rule3
:Status 0
:(Please use
weblog 4
for more debug information)TO REPRODUCE
See bleow
EXPECTED BEHAVIOUR
No sensor data at all
SCREENSHOTS
ADDITIONAL CONTEXT
dicdussed it with christian - he asked me to open the issue
(Please, remember to close the issue when the problem has been addressed)
Hello Christian,
here are the results for step one you requested:
1)
Change line 836 to:
MIBLEinitBLE(0);
and line 619 to:
MIBLEinitBLE(0);
Step1.txt
The text was updated successfully, but these errors were encountered: