Skip to content

Sensor manager device not responding #6

@securitycopper

Description

@securitycopper

On windows setting this up using the beta binary, getting an error:

What I've done:
systemctl disable --now swupdate-progress swupdate defibrillator
cd /opt/opensleep
chmod +x opensleep
RUST_LOG=debug,rumqttc=info ./opensleep

Side note:

  • For instructions, consider adding after connected to wifi, back out of setup on the app, then remove the pod from the account before doing the ssh commands to disable the update service. Ended up bricking the app because it's handshake got corrupted, fixed the app issue by reinstalling it, clear app data and cache didn't fix the issue.

RUST_LOG=debug,rumqttc=info ./opensleep
[2025-10-26T20:05:32Z INFO opensleep] Starting opensleep...
[2025-10-26T20:05:32Z INFO opensleep] config.ron loaded
[2025-10-26T20:05:32Z INFO opensleep] Using timezone: America/New_York
[2025-10-26T20:05:32Z INFO opensleep::reset] Resetting Subsystems...
[2025-10-26T20:05:32Z INFO opensleep::mqtt] Initializing MQTT...
[2025-10-26T20:05:32Z INFO opensleep::mqtt] Connecting to MQTT broker at ****** as user '******'
[2025-10-26T20:05:32Z INFO opensleep::mqtt] MQTT broker connected
[2025-10-26T20:05:32Z INFO opensleep::sensor::manager] Initializing Sensor Subsystem...
[2025-10-26T20:05:32Z DEBUG opensleep::mqtt] Subscribing to opensleep/actions/calibrate
[2025-10-26T20:05:32Z WARN opensleep::sensor::presence] No presence config found. Please calibrate using 'opensleep/command/calibrate' endpoint.
[2025-10-26T20:05:32Z DEBUG mio_serial] opening serial port in synchronous blocking mode
[2025-10-26T20:05:32Z DEBUG opensleep::mqtt] Subscribed to opensleep/actions/calibrate
[2025-10-26T20:05:32Z DEBUG opensleep::mqtt] Subscribing to opensleep/actions/set_away_mode
[2025-10-26T20:05:32Z DEBUG opensleep::mqtt] Subscribed to opensleep/actions/set_away_mode
[2025-10-26T20:05:32Z DEBUG opensleep::mqtt] Subscribing to opensleep/actions/set_prime
[2025-10-26T20:05:32Z DEBUG opensleep::mqtt] Subscribed to opensleep/actions/set_prime
[2025-10-26T20:05:32Z DEBUG opensleep::mqtt] Subscribing to opensleep/actions/set_profile
[2025-10-26T20:05:32Z DEBUG opensleep::mqtt] Subscribed to opensleep/actions/set_profile
[2025-10-26T20:05:32Z DEBUG mio_serial] setting O_NONBLOCK for /dev/ttymxc0
[2025-10-26T20:05:32Z DEBUG opensleep::mqtt] Subscribing to opensleep/actions/set_presence_config
[2025-10-26T20:05:32Z DEBUG opensleep::mqtt] Subscribed to opensleep/actions/set_presence_config
[2025-10-26T20:05:32Z DEBUG opensleep::config::mqtt] Publishing config..
[2025-10-26T20:05:32Z DEBUG opensleep::config::mqtt] Published config
[2025-10-26T20:05:32Z INFO opensleep::frozen::manager] Initializing Frozen Subsystem...
[2025-10-26T20:05:32Z DEBUG mio_serial] opening serial port in synchronous blocking mode
[2025-10-26T20:05:32Z DEBUG mio_serial] setting O_NONBLOCK for /dev/ttymxc2
[2025-10-26T20:05:32Z DEBUG opensleep::frozen::manager] -> Ping
[2025-10-26T20:05:32Z DEBUG opensleep::frozen::manager] -> GetHardwareInfo

[2025-10-26T20:05:32Z INFO opensleep::frozen::state] Hardware info: SN ******** PN 20500 SKU 2 HWREV 0502 FACTORYFLAG 1 DATECODE 16091d
[2025-10-26T20:05:34Z INFO opensleep::sensor::manager] Trying Firmware mode
[2025-10-26T20:05:34Z DEBUG mio_serial] opening serial port in synchronous blocking mode
[2025-10-26T20:05:34Z DEBUG mio_serial] setting O_NONBLOCK for /dev/ttymxc0

thread 'main' panicked at src/sensor/manager.rs:56:83:
called Result::unwrap() on an Err value: Io(Custom { kind: NotFound, error: "Device not responding" })
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions