Skip to content

Claude/fix ble stability df nxk#64

Open
8cH9azbsFifZ wants to merge 259 commits into
e-sr:masterfrom
8cH9azbsFifZ:claude/fix-ble-stability-DfNxk
Open

Claude/fix ble stability df nxk#64
8cH9azbsFifZ wants to merge 259 commits into
e-sr:masterfrom
8cH9azbsFifZ:claude/fix-ble-stability-DfNxk

Conversation

@8cH9azbsFifZ

Copy link
Copy Markdown
Contributor

No description provided.

dependabot Bot and others added 30 commits November 22, 2022 10:33
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.0.1 to 9.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@9.0.1...9.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [certifi](https://github.com/certifi/python-certifi) from 2019.3.9 to 2022.12.7.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](certifi/python-certifi@2019.03.09...2022.12.07)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…fi-2022.12.7

Bump certifi from 2019.3.9 to 2022.12.7 in /install
…w-9.3.0

Bump pillow from 9.0.1 to 9.3.0 in /install
…-1.22.0

Bump numpy from 1.21.0 to 1.22.0 in /install
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 0.15.3 to 2.2.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@0.15.3...2.2.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [flask](https://github.com/pallets/flask) from 1.0.2 to 2.3.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](pallets/flask@1.0.2...2.3.2)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Adding support for new kind of holds: 
- 'P': Old Progress hold
- 'R': Right hold
- 'L': Left hold
- 'M': Match hold
- 'F': Foot hold
…ntended-beta

Update moonboard_app_protocol.py for new app
…-2.3.2

Bump flask from 1.0.2 to 2.3.2 in /install
…eug-2.2.3

Bump werkzeug from 0.15.3 to 2.2.3 in /install
Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.3 to 3.0.6.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@2.2.3...3.0.6)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.5 to 1.26.19.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@1.26.5...1.26.19)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.12.7 to 2024.7.4.
- [Commits](certifi/python-certifi@2022.12.07...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 2.1.11 to 3.1.41.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases)
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES)
- [Commits](gitpython-developers/GitPython@2.1.11...3.1.41)

---
updated-dependencies:
- dependency-name: gitpython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [requests](https://github.com/psf/requests) from 2.21.0 to 2.32.2.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.21.0...v2.32.2)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.3 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](pallets/jinja@2.11.3...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…2-3.1.6

Bump jinja2 from 2.11.3 to 3.1.6 in /install
…sts-2.32.2

Bump requests from 2.21.0 to 2.32.2 in /install
…b3-1.26.19

Bump urllib3 from 1.26.5 to 1.26.19 in /install
…thon-3.1.41

Bump gitpython from 2.1.11 to 3.1.41 in /install
…fi-2024.7.4

Bump certifi from 2022.12.7 to 2024.7.4 in /install
…eug-3.0.6

Bump werkzeug from 2.2.3 to 3.0.6 in /install
Two critical issues caused the need for manual restarts:

1. btmon subprocess was never restarted when it exited - the service
   kept running but silently stopped receiving BLE data. Now btmon is
   monitored in a loop with exponential backoff (2s-30s) and
   automatically restarted on exit.

2. After an iPhone disconnected, BLE advertising was never restarted,
   making the Moonboard invisible for reconnection. Now "Disconnect
   Complete" events from btmon are detected and advertising is
   automatically re-setup and started.

Also fixes: proper fd cleanup, decode error handling, daemon thread.

https://claude.ai/code/session_01ARBx1xkrRnWGBYsSb3y4Zg
- scripts/update.sh: pulls latest code from a given branch and
  restarts all installed moonboard services
- scripts/fix_startup.sh: fix syntax error (wrong variable name
  in for loop)

https://claude.ai/code/session_01ARBx1xkrRnWGBYsSb3y4Zg
The file had unresolved git merge conflict markers which caused the
LED service to crash with a JSON parse error on startup.

Resolved to the WS2801 variant with 3-LED spacing per hold.

https://claude.ai/code/session_01ARBx1xkrRnWGBYsSb3y4Zg
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

Successfully merging this pull request may close these issues.

3 participants