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

$JYRPO declaration issue? #119

Open
svente08 opened this issue Nov 8, 2023 · 7 comments
Open

$JYRPO declaration issue? #119

svente08 opened this issue Nov 8, 2023 · 7 comments

Comments

@svente08
Copy link

svente08 commented Nov 8, 2023

Hi all,

Trying to get 1.3.0b running. Installation works but multi target distance not really.

Could declaration be the problem?

logs_esphome-web-8bd630_run.txt

Thx in advance

@EverythingSmartHome
Copy link
Owner

Did you try toggling UART target off, waiting 10s then turning back on again?

@svente08
Copy link
Author

svente08 commented Nov 11, 2023

No success. As soon as I activate a second zone, only inconsistent values are displayed. Single target setup works.

@EverythingSmartHome
Copy link
Owner

Can you post logs and detail what the issue your seeing is?

@svente08
Copy link
Author

Attached logfiles and HA screenshot. (moving target more than 2 meters away)

Archive.zip

(no bh1750/shtcx sensor connected)

@madninjaskillz
Copy link

Simple work around for that; change
if (line.substr(0, 6) == "$JYRPO") {
to
if (line.substr(1, 6) == "JYRPO") {

I'm not sure if the substr here is end or number of characters - if its the latter, you'll need to change the 6 to a 5 for the functionality to still work, but at the least, this change DOES get rid of the warning.

@Djelibeybi
Copy link

Djelibeybi commented Dec 17, 2023

It needs to be if (line.substr(1, 5) == "JYRPO") which at least gets me some values, but I'm not entirely sure if they're correct. The values appear to be correct if you configure the targets correctly. :)

@svente08
Copy link
Author

I got rid of the error message - thx for that. But the values still not correct. Target 1 ist always active and shows the end value of target.

@Djelibeybi What do you mean by configure correctly... Talking about start and end points of each beginning with target 1 and so on? Or Is there anything else to consider?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants