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

ble-shelly-motion.js (Commit 56c1f67) crashes irregularily #134

Open
Xygen opened this issue Dec 7, 2024 · 0 comments
Open

ble-shelly-motion.js (Commit 56c1f67) crashes irregularily #134

Xygen opened this issue Dec 7, 2024 · 0 comments

Comments

@Xygen
Copy link

Xygen commented Dec 7, 2024

Describe the bug
Script stops in irregular intervals on a Shelly 1PM Mini Gen3 running 20241011-114450/1.4.4-g6d2a586. The previous version (Commit 59ffd34) works fine.
The following errror is logged:

Uncaught ReferenceError: "logger" is not defined
20:59:46
at logger(["Received event from", data.address, "outside ...
20:59:46
^
20:59:46
in function "onReceivedPacket" called from onReceivedPacket(unpackedData);
20:59:46
^
20:59:46
in function called from system
20:59:46
shelly_user_script.:236 reference_error: Error in EjsCall

To Reproduce
Steps to reproduce the behavior:

  1. Perform a factory reset
  2. Setup the device basically (onboarding)
  3. Download script from Library
  4. Start the script unchanged
  5. Wait a few minutes

Expected behavior
The script should not crash

Screenshots
If applicable, add screenshots to help explain your problem.

Device and script details (please complete the following information):

Additional context
Add any other context about the problem here.

@Xygen Xygen changed the title ble-shelly-motion.js (Commit 56c1f67) crashes unregulary ble-shelly-motion.js (Commit 56c1f67) crashes irregularily Dec 7, 2024
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

1 participant