Elm Pebble

Pebble.Companion.Network

Query and observe phone network status.

Pebble.Companion.Network.status "network-status"

Events

Commands

Union Types

Event

type Event
type Event
    = StatusChanged Bool
    | Unknown String

Network status events from the companion bridge.

Values

decode

decode : BridgeEvent -> Event

Decode a bridge network event.

status

status : String -> CommandEnvelope

Request the current online/offline status.

subscribe

subscribe : String -> CommandEnvelope

Subscribe to network status changes.