Skip to content

Unhandled "restart" event after firmware update causes integration to fail #40

@BaseballSS

Description

@BaseballSS

Snoo auto updated this morning and that was followed by another new event: restart.

2025-04-07 05:16:05.083 DEBUG (MainThread) [python_snoo.pubnub_async] Received new messages on channel ControlCommand.<device_id> for device_id: <device_id> with timetoken: 17440209650693941: {'command': 'start_ota_update', 'url_path': 'http://s3-us-west-2.amazonaws.com/snoo-ota-update/release_builds/40067c988d711bb43a31b8abda590bc6e19dd482/OTA_Update/', 'version': 'v1.15.02', 'part_url_conprog': 'conprog.bin', 'part_url_conprog_sha': 'conprog.sha', 'part_url_romfs': 'ota_romfs.bin', 'part_url_romfs_sha': 'ota_romfs.sha', 'user': 'ffffff', 'password': 'ffff'}
2025-04-07 05:19:39.843 DEBUG (MainThread) [python_snoo.pubnub_async] Received new messages on channel ActivityState.<device_id> for device_id: <device_id> with timetoken: 17440211798297766: {'system_state': 'normal', 'sw_version': 'v1.15.02', 'state_machine': {'session_id': '0', 'state': 'ONLINE', 'is_active_session': 'false', 'since_session_start_ms': -1, 'time_left': -1, 'hold': 'off', 'weaning': 'off', 'audio': 'on', 'up_transition': 'NONE', 'down_transition': 'NONE', 'sticky_white_noise': 'off'}, 'left_safety_clip': 0, 'right_safety_clip': 0, 'event': 'restart', 'event_time_ms': 0, 'rx_signal': {'rssi': -45, 'strength': 100}, 'iot_capable': False}
2025-04-07 05:19:39.843 ERROR (MainThread) [pubnub] take message interrupted: Field "event" of type SnooEvents in SnooData has invalid value 'restart'

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