Skip to content

Search the documentation

Kit
Firmware

Wifi

Smart Home

The house’s Wi-Fi: its address, its name and the networks it remembers.

The Wifi class is reached through this attribute of home.

Always there.

All the attributes of home are in its table.

True when the house is on Wi-Fi with an address.

is_connected() -> bool

Used in examples: Smart house

The house’s address on the Wi-Fi, as text such as "192.168.1.20", or None.

ip() -> Optional[str]

Used in examples: Smart house

The house’s name on the Wi-Fi network.

hostname() -> str

The four characters that name this house, the end of its name MoBot-IOT-xxxx.

house_id() -> str

Used in examples: Smart house

The names of the Wi-Fi networks the house remembers, newest first (never their passwords).

networks() -> List[str]

Forgets one remembered Wi-Fi network by name, or all of them when called with no name.

forget(ssid=None)