Open JarbasAl opened 1 year ago
@JarbasAl where can I find information on bus events?
Documented in code: https://github.com/OpenVoiceOS/ovos-PHAL-plugin-connectivity-events/blob/dev/ovos_phal_plugin_connectivity_events/__init__.py#L72-L77
emits `mycroft.network.connected` if network is newly connected
emits `mycroft.internet.connected` if internet is newly connected
emits `mycroft.network.disconnected` if network is newly disconnected
emits `mycroft.internet.disconnected` if internet is newly disconnected
emits `enclosure.notify.no_internet` if new state has
some networking but no internet
self.bus.on("ovos.PHAL.internet_check", self.handle_check)
# emitting above will give the response:
self.bus.emit(message.response(
{"internet_connected": internet_connected,
"network_connected": network_connected}))
needs to be updated and bus events documented