mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-12-27 00:19:34 +08:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75390a3d83 | ||
|
|
86a739b503 | ||
|
|
084694c9e7 | ||
|
|
593d7d3c0a | ||
|
|
77cebb2e15 | ||
|
|
3925e12863 | ||
|
|
500ed76971 | ||
|
|
30ce1b4970 | ||
|
|
d5c5e387c2 | ||
|
|
e6750bb746 | ||
|
|
1b87381f43 | ||
|
|
33ee65cf75 | ||
|
|
f95c71c2ad |
23
CHANGELOG.md
23
CHANGELOG.md
@@ -1,4 +1,27 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
## v0.4.6
|
||||||
|
### Added
|
||||||
|
- Add tv-box device as the media player entity. [#1562](https://github.com/XiaoMi/ha_xiaomi_home/pull/1562)
|
||||||
|
- Set play-control service's play-loop-mode property as the sound mode. [#1562](https://github.com/XiaoMi/ha_xiaomi_home/pull/1562)
|
||||||
|
### Changed
|
||||||
|
- Use constant value to indicate the cloud MQTT broker host domain. [#1530](https://github.com/XiaoMi/ha_xiaomi_home/pull/1530)
|
||||||
|
- Use constant value to indicate the timer delay of refreshing devices. [#1555](https://github.com/XiaoMi/ha_xiaomi_home/pull/1555)
|
||||||
|
- Set the playing-state property as the required property in the play-control service of the speaker device. [#1552](https://github.com/XiaoMi/ha_xiaomi_home/pull/1552)
|
||||||
|
- Set the playing-state property as the required property in the optional play-control service of the television. [#1562](https://github.com/XiaoMi/ha_xiaomi_home/pull/1562)
|
||||||
|
### Fixed
|
||||||
|
- Catch paho-mqtt subscribe error properly. [#1551](https://github.com/XiaoMi/ha_xiaomi_home/pull/1551)
|
||||||
|
- After the network resumes, keep retrying to fetch the device list until it succeeds. [#1555](https://github.com/XiaoMi/ha_xiaomi_home/pull/1555)
|
||||||
|
- Catch the http post error properly. [#1555](https://github.com/XiaoMi/ha_xiaomi_home/pull/1555)
|
||||||
|
- Fixed the format and the access field of daikin.aircondition.k2 and fix: daikin.airfresh.k33 string value properties. [#1561](https://github.com/XiaoMi/ha_xiaomi_home/pull/1561)
|
||||||
|
|
||||||
|
## v0.4.5
|
||||||
|
### Changed
|
||||||
|
- Ignore mdns REMOVED package. [#1296](https://github.com/XiaoMi/ha_xiaomi_home/pull/1296)
|
||||||
|
- Format value type first, then evaluate by expression, and set precision at last. [#1516](https://github.com/XiaoMi/ha_xiaomi_home/pull/1516)
|
||||||
|
### Fixed
|
||||||
|
- Fix xiaomi.derh.lite temperature precision. [#1505](https://github.com/XiaoMi/ha_xiaomi_home/pull/1505)
|
||||||
|
- Fix xiaomi.waterpuri.s1200g filter property unit, lxzn.valve.02 electricity property unit, xiaomi.aircondition.c24 power consumption device class, and cuco.plug.cp7pd power consumption and power value precision. [#1517](https://github.com/XiaoMi/ha_xiaomi_home/pull/1517)
|
||||||
|
|
||||||
## v0.4.4
|
## v0.4.4
|
||||||
### Added
|
### Added
|
||||||
- Add Turkish language support. [#1468](https://github.com/XiaoMi/ha_xiaomi_home/pull/1468)
|
- Add Turkish language support. [#1468](https://github.com/XiaoMi/ha_xiaomi_home/pull/1468)
|
||||||
|
|||||||
@@ -91,13 +91,13 @@ Xiaomi Home Integration and the affiliated cloud interface is provided by Xiaomi
|
|||||||
|
|
||||||
Yes, it supports multiple Xiaomi accounts. Furthermore, Xiaomi Home Integration allows that devices belonging to different accounts can be added to a same area.
|
Yes, it supports multiple Xiaomi accounts. Furthermore, Xiaomi Home Integration allows that devices belonging to different accounts can be added to a same area.
|
||||||
|
|
||||||
- Does Xiaomi Home Integration support local control?
|
- Does Xiaomi Home Integration support local mode?
|
||||||
|
|
||||||
Local control is implemented by [Xiaomi Central Hub Gateway](https://www.mi.com/shop/buy/detail?product_id=15755&cfrom=search) (firmware version 3.3.0_0023 and above) or Xiaomi smart devices with built-in central hub gateway (software version 0.8.9 and above) inside. If you do not have a Xiaomi central hub gateway or other devices having central hub gateway function, all control commands are sent through Xiaomi Cloud. The firmware for Xiaomi central hub gateway including the built-in central hub gateway supporting Home Assistant local control feature has not been released yet. Please refer to MIoT team's notification for upgrade plans.
|
Local mode is implemented by [Xiaomi Central Hub Gateway](https://www.mi.com/shop/buy/detail?product_id=15755&cfrom=search) (firmware version 3.3.0_0023 and above) or Xiaomi smart devices with [built-in central hub gateway](https://github.com/XiaoMi/ha_xiaomi_home/wiki/Central-hub-gateway-device-models) (software version 0.8.9 and above) inside. If you do not have a Xiaomi central hub gateway or other devices having central hub gateway function, all control commands are sent through Xiaomi Cloud. The firmware for Xiaomi central hub gateway including the built-in central hub gateway supporting Home Assistant local mode feature has been released.
|
||||||
|
|
||||||
Xiaomi central hub gateway is only available in mainland China. In other regions, it is not available.
|
Xiaomi central hub gateway is only available in mainland China. In other regions, it is not available.
|
||||||
|
|
||||||
Xiaomi Home Integration can also implement partial local control by enabling Xiaomi LAN control function. Xiaomi LAN control function can only control IP devices (devices connected to the router via WiFi or ethernet cable) in the same local area network as Home Assistant. It cannot control BLE Mesh, ZigBee, etc. devices. This function may cause some abnormalities. We recommend not to use this function. Xiaomi LAN control function is enabled by [Settings > Devices & services > Configured > Xiaomi Home](https://my.home-assistant.io/redirect/integration/?domain=xiaomi_home) > CONFIGURE > Update LAN control configuration
|
Xiaomi Home Integration can also implement partial local mode by enabling Xiaomi LAN control function. Xiaomi LAN control function can only control IP devices (devices connected to the router via WiFi or ethernet cable) in the same local area network as Home Assistant. It cannot control BLE Mesh, ZigBee, etc. devices. This function may cause some abnormalities. We recommend NOT using this function. Xiaomi LAN control function is enabled by [Settings > Devices & services > Configured > Xiaomi Home](https://my.home-assistant.io/redirect/integration/?domain=xiaomi_home) > CONFIGURE > Update LAN control configuration.
|
||||||
|
|
||||||
Xiaomi LAN control function is not restricted by region. It is available in all regions. However, if there is a central gateway in the local area network where Home Assistant is located, even Xiaomi LAN control function is enabled in the integration, it will not take effect.
|
Xiaomi LAN control function is not restricted by region. It is available in all regions. However, if there is a central gateway in the local area network where Home Assistant is located, even Xiaomi LAN control function is enabled in the integration, it will not take effect.
|
||||||
|
|
||||||
@@ -384,6 +384,7 @@ Example:
|
|||||||
- Contribution Guidelines: [English](./CONTRIBUTING.md) | [简体中文](./doc/CONTRIBUTING_zh.md)
|
- Contribution Guidelines: [English](./CONTRIBUTING.md) | [简体中文](./doc/CONTRIBUTING_zh.md)
|
||||||
- [ChangeLog](./CHANGELOG.md)
|
- [ChangeLog](./CHANGELOG.md)
|
||||||
- Development Documents: https://developers.home-assistant.io/docs/creating_component_index
|
- Development Documents: https://developers.home-assistant.io/docs/creating_component_index
|
||||||
|
- [FAQ](https://github.com/XiaoMi/ha_xiaomi_home/wiki)
|
||||||
|
|
||||||
## Directory Structure
|
## Directory Structure
|
||||||
|
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ from .miot.const import (
|
|||||||
MAX_COVER_DEAD_ZONE_WIDTH,
|
MAX_COVER_DEAD_ZONE_WIDTH,
|
||||||
DEFAULT_NICK_NAME,
|
DEFAULT_NICK_NAME,
|
||||||
DEFAULT_OAUTH2_API_HOST,
|
DEFAULT_OAUTH2_API_HOST,
|
||||||
|
DEFAULT_CLOUD_BROKER_HOST,
|
||||||
DOMAIN,
|
DOMAIN,
|
||||||
OAUTH2_AUTH_URL,
|
OAUTH2_AUTH_URL,
|
||||||
OAUTH2_CLIENT_ID,
|
OAUTH2_CLIENT_ID,
|
||||||
@@ -379,7 +380,7 @@ class XiaomiMihomeConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
client_id=f'ha.{self._uid}',
|
client_id=f'ha.{self._uid}',
|
||||||
protocol=client.MQTTv5) # type: ignore
|
protocol=client.MQTTv5) # type: ignore
|
||||||
if mqtt_client.connect(
|
if mqtt_client.connect(
|
||||||
host=f'{self._cloud_server}-ha.mqtt.io.mi.com',
|
host=f'{self._cloud_server}-{DEFAULT_CLOUD_BROKER_HOST}',
|
||||||
port=8883) != 0:
|
port=8883) != 0:
|
||||||
raise RuntimeError('mqtt connect error')
|
raise RuntimeError('mqtt connect error')
|
||||||
mqtt_client.disconnect()
|
mqtt_client.disconnect()
|
||||||
@@ -411,7 +412,8 @@ class XiaomiMihomeConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
}),
|
}),
|
||||||
errors={'base': reason},
|
errors={'base': reason},
|
||||||
description_placeholders={
|
description_placeholders={
|
||||||
'cloud_server': self._cloud_server,
|
'broker_host':
|
||||||
|
f'{self._cloud_server}-{DEFAULT_CLOUD_BROKER_HOST}:8883',
|
||||||
'http_host': (
|
'http_host': (
|
||||||
DEFAULT_OAUTH2_API_HOST
|
DEFAULT_OAUTH2_API_HOST
|
||||||
if self._cloud_server == DEFAULT_CLOUD_SERVER
|
if self._cloud_server == DEFAULT_CLOUD_SERVER
|
||||||
@@ -1887,7 +1889,7 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
|
|||||||
client_id=f'ha.{self._uid}',
|
client_id=f'ha.{self._uid}',
|
||||||
protocol=client.MQTTv5) # type: ignore
|
protocol=client.MQTTv5) # type: ignore
|
||||||
if mqtt_client.connect(
|
if mqtt_client.connect(
|
||||||
host=f'{self._cloud_server}-ha.mqtt.io.mi.com',
|
host=f'{self._cloud_server}-{DEFAULT_CLOUD_BROKER_HOST}',
|
||||||
port=8883) != 0:
|
port=8883) != 0:
|
||||||
raise RuntimeError('mqtt connect error')
|
raise RuntimeError('mqtt connect error')
|
||||||
mqtt_client.disconnect()
|
mqtt_client.disconnect()
|
||||||
@@ -1919,7 +1921,8 @@ class OptionsFlowHandler(config_entries.OptionsFlow):
|
|||||||
}),
|
}),
|
||||||
errors={'base': reason},
|
errors={'base': reason},
|
||||||
description_placeholders={
|
description_placeholders={
|
||||||
'cloud_server': self._cloud_server,
|
'broker_host':
|
||||||
|
f'{self._cloud_server}-{DEFAULT_CLOUD_BROKER_HOST}:8883',
|
||||||
'http_host': (
|
'http_host': (
|
||||||
DEFAULT_OAUTH2_API_HOST
|
DEFAULT_OAUTH2_API_HOST
|
||||||
if self._cloud_server == DEFAULT_CLOUD_SERVER
|
if self._cloud_server == DEFAULT_CLOUD_SERVER
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
"cryptography",
|
"cryptography",
|
||||||
"psutil"
|
"psutil"
|
||||||
],
|
],
|
||||||
"version": "v0.4.4",
|
"version": "v0.4.6",
|
||||||
"zeroconf": [
|
"zeroconf": [
|
||||||
"_miot-central._tcp.local."
|
"_miot-central._tcp.local."
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -435,10 +435,11 @@ class FeatureState(MIoTServiceEntity, MediaPlayerEntity):
|
|||||||
@property
|
@property
|
||||||
def state(self) -> Optional[MediaPlayerState]:
|
def state(self) -> Optional[MediaPlayerState]:
|
||||||
"""The current state."""
|
"""The current state."""
|
||||||
return (self.get_map_value(map_=self._playing_state_map,
|
current_state = self.get_prop_value(
|
||||||
key=self.get_prop_value(
|
prop=self._prop_playing_state) if self._prop_playing_state else None
|
||||||
prop=self._prop_playing_state))
|
return (MediaPlayerState.ON if
|
||||||
if self._prop_playing_state else MediaPlayerState.ON)
|
(current_state is None) else self.get_map_value(
|
||||||
|
map_=self._playing_state_map, key=current_state))
|
||||||
|
|
||||||
|
|
||||||
class WifiSpeaker(FeatureVolumeSet, FeatureVolumeMute, FeaturePlay,
|
class WifiSpeaker(FeatureVolumeSet, FeatureVolumeMute, FeaturePlay,
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ NETWORK_REFRESH_INTERVAL: int = 30
|
|||||||
OAUTH2_CLIENT_ID: str = '2882303761520251711'
|
OAUTH2_CLIENT_ID: str = '2882303761520251711'
|
||||||
OAUTH2_AUTH_URL: str = 'https://account.xiaomi.com/oauth2/authorize'
|
OAUTH2_AUTH_URL: str = 'https://account.xiaomi.com/oauth2/authorize'
|
||||||
DEFAULT_OAUTH2_API_HOST: str = 'ha.api.io.mi.com'
|
DEFAULT_OAUTH2_API_HOST: str = 'ha.api.io.mi.com'
|
||||||
|
DEFAULT_CLOUD_BROKER_HOST: str = 'ha.mqtt.io.mi.com'
|
||||||
|
|
||||||
# seconds, 14 days
|
# seconds, 14 days
|
||||||
SPEC_STD_LIB_EFFECTIVE_TIME = 3600*24*14
|
SPEC_STD_LIB_EFFECTIVE_TIME = 3600*24*14
|
||||||
|
|||||||
@@ -79,6 +79,12 @@ from .miot_i18n import MIoTI18n
|
|||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
REFRESH_PROPS_DELAY = 0.2
|
||||||
|
REFRESH_PROPS_RETRY_DELAY = 3
|
||||||
|
REFRESH_CLOUD_DEVICES_DELAY = 6
|
||||||
|
REFRESH_CLOUD_DEVICES_RETRY_DELAY = 60
|
||||||
|
REFRESH_GATEWAY_DEVICES_DELAY = 3
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class MIoTClientSub:
|
class MIoTClientSub:
|
||||||
"""MIoT client subscription."""
|
"""MIoT client subscription."""
|
||||||
@@ -717,7 +723,7 @@ class MIoTClient:
|
|||||||
if self._refresh_props_timer:
|
if self._refresh_props_timer:
|
||||||
return
|
return
|
||||||
self._refresh_props_timer = self._main_loop.call_later(
|
self._refresh_props_timer = self._main_loop.call_later(
|
||||||
0.2, lambda: self._main_loop.create_task(
|
REFRESH_PROPS_DELAY, lambda: self._main_loop.create_task(
|
||||||
self.__refresh_props_handler()))
|
self.__refresh_props_handler()))
|
||||||
|
|
||||||
async def get_prop_async(self, did: str, siid: int, piid: int) -> Any:
|
async def get_prop_async(self, did: str, siid: int, piid: int) -> Any:
|
||||||
@@ -1048,11 +1054,11 @@ class MIoTClient:
|
|||||||
|
|
||||||
mips = self._mips_local.get(group_id, None)
|
mips = self._mips_local.get(group_id, None)
|
||||||
if mips:
|
if mips:
|
||||||
if state == MipsServiceState.REMOVED:
|
# if state == MipsServiceState.REMOVED:
|
||||||
mips.disconnect()
|
# mips.disconnect()
|
||||||
self._mips_local.pop(group_id, None)
|
# self._mips_local.pop(group_id, None)
|
||||||
return
|
# return
|
||||||
if (
|
if ( # ADDED or UPDATED
|
||||||
mips.client_id == self._entry_data['virtual_did']
|
mips.client_id == self._entry_data['virtual_did']
|
||||||
and mips.host == data['addresses'][0]
|
and mips.host == data['addresses'][0]
|
||||||
and mips.port == data['port']
|
and mips.port == data['port']
|
||||||
@@ -1433,9 +1439,19 @@ class MIoTClient:
|
|||||||
async def __refresh_cloud_devices_async(self) -> None:
|
async def __refresh_cloud_devices_async(self) -> None:
|
||||||
_LOGGER.debug(
|
_LOGGER.debug(
|
||||||
'refresh cloud devices, %s, %s', self._uid, self._cloud_server)
|
'refresh cloud devices, %s, %s', self._uid, self._cloud_server)
|
||||||
|
if self._refresh_cloud_devices_timer:
|
||||||
|
self._refresh_cloud_devices_timer.cancel()
|
||||||
self._refresh_cloud_devices_timer = None
|
self._refresh_cloud_devices_timer = None
|
||||||
|
try:
|
||||||
result = await self._http.get_devices_async(
|
result = await self._http.get_devices_async(
|
||||||
home_ids=list(self._entry_data.get('home_selected', {}).keys()))
|
home_ids=list(self._entry_data.get('home_selected', {}).keys()))
|
||||||
|
except Exception as err: # pylint: disable=broad-exception-caught
|
||||||
|
_LOGGER.error('refresh cloud devices failed, %s', err)
|
||||||
|
self._refresh_cloud_devices_timer = self._main_loop.call_later(
|
||||||
|
REFRESH_CLOUD_DEVICES_RETRY_DELAY,
|
||||||
|
lambda: self._main_loop.create_task(
|
||||||
|
self.__refresh_cloud_devices_async()))
|
||||||
|
return
|
||||||
if not result and 'devices' not in result:
|
if not result and 'devices' not in result:
|
||||||
self.__show_client_error_notify(
|
self.__show_client_error_notify(
|
||||||
message=self._i18n.translate(
|
message=self._i18n.translate(
|
||||||
@@ -1481,17 +1497,11 @@ class MIoTClient:
|
|||||||
_LOGGER.debug(
|
_LOGGER.debug(
|
||||||
'request refresh cloud devices, %s, %s',
|
'request refresh cloud devices, %s, %s',
|
||||||
self._uid, self._cloud_server)
|
self._uid, self._cloud_server)
|
||||||
if immediately:
|
delay_sec : int = 0 if immediately else REFRESH_CLOUD_DEVICES_DELAY
|
||||||
if self._refresh_cloud_devices_timer:
|
if self._refresh_cloud_devices_timer:
|
||||||
self._refresh_cloud_devices_timer.cancel()
|
self._refresh_cloud_devices_timer.cancel()
|
||||||
self._refresh_cloud_devices_timer = self._main_loop.call_later(
|
self._refresh_cloud_devices_timer = self._main_loop.call_later(
|
||||||
0, lambda: self._main_loop.create_task(
|
delay_sec, lambda: self._main_loop.create_task(
|
||||||
self.__refresh_cloud_devices_async()))
|
|
||||||
return
|
|
||||||
if self._refresh_cloud_devices_timer:
|
|
||||||
return
|
|
||||||
self._refresh_cloud_devices_timer = self._main_loop.call_later(
|
|
||||||
6, lambda: self._main_loop.create_task(
|
|
||||||
self.__refresh_cloud_devices_async()))
|
self.__refresh_cloud_devices_async()))
|
||||||
|
|
||||||
@final
|
@final
|
||||||
@@ -1615,7 +1625,8 @@ class MIoTClient:
|
|||||||
return
|
return
|
||||||
self._mips_local_state_changed_timers[group_id] = (
|
self._mips_local_state_changed_timers[group_id] = (
|
||||||
self._main_loop.call_later(
|
self._main_loop.call_later(
|
||||||
3, lambda: self._main_loop.create_task(
|
REFRESH_GATEWAY_DEVICES_DELAY,
|
||||||
|
lambda: self._main_loop.create_task(
|
||||||
self.__refresh_gw_devices_with_group_id_async(
|
self.__refresh_gw_devices_with_group_id_async(
|
||||||
group_id=group_id))))
|
group_id=group_id))))
|
||||||
|
|
||||||
@@ -1769,7 +1780,7 @@ class MIoTClient:
|
|||||||
self._refresh_props_retry_count = 0
|
self._refresh_props_retry_count = 0
|
||||||
if self._refresh_props_list:
|
if self._refresh_props_list:
|
||||||
self._refresh_props_timer = self._main_loop.call_later(
|
self._refresh_props_timer = self._main_loop.call_later(
|
||||||
0.2, lambda: self._main_loop.create_task(
|
REFRESH_PROPS_DELAY, lambda: self._main_loop.create_task(
|
||||||
self.__refresh_props_handler()))
|
self.__refresh_props_handler()))
|
||||||
else:
|
else:
|
||||||
self._refresh_props_timer = None
|
self._refresh_props_timer = None
|
||||||
@@ -1788,7 +1799,7 @@ class MIoTClient:
|
|||||||
_LOGGER.info(
|
_LOGGER.info(
|
||||||
'refresh props failed, retry, %s', self._refresh_props_retry_count)
|
'refresh props failed, retry, %s', self._refresh_props_retry_count)
|
||||||
self._refresh_props_timer = self._main_loop.call_later(
|
self._refresh_props_timer = self._main_loop.call_later(
|
||||||
3, lambda: self._main_loop.create_task(
|
REFRESH_PROPS_RETRY_DELAY, lambda: self._main_loop.create_task(
|
||||||
self.__refresh_props_handler()))
|
self.__refresh_props_handler()))
|
||||||
|
|
||||||
@final
|
@final
|
||||||
|
|||||||
@@ -436,7 +436,8 @@ class MIoTDevice:
|
|||||||
optional_properties: dict
|
optional_properties: dict
|
||||||
required_actions: set
|
required_actions: set
|
||||||
optional_actions: set
|
optional_actions: set
|
||||||
# 2. The service shall have all required properties, actions.
|
# 2. The required service shall have all required properties
|
||||||
|
# and actions.
|
||||||
if service.name in required_services:
|
if service.name in required_services:
|
||||||
required_properties = SPEC_DEVICE_TRANS_MAP[spec_name][
|
required_properties = SPEC_DEVICE_TRANS_MAP[spec_name][
|
||||||
'required'].get(
|
'required'].get(
|
||||||
@@ -454,6 +455,23 @@ class MIoTDevice:
|
|||||||
'required'].get(
|
'required'].get(
|
||||||
service.name, {}
|
service.name, {}
|
||||||
).get('optional', {}).get('actions', set({}))
|
).get('optional', {}).get('actions', set({}))
|
||||||
|
if not {
|
||||||
|
prop.name for prop in service.properties if prop.access
|
||||||
|
}.issuperset(set(required_properties.keys())):
|
||||||
|
return None
|
||||||
|
if not {
|
||||||
|
action.name for action in service.actions
|
||||||
|
}.issuperset(required_actions):
|
||||||
|
return None
|
||||||
|
# 3. The required property in required service shall have all
|
||||||
|
# required access mode.
|
||||||
|
for prop in service.properties:
|
||||||
|
if prop.name in required_properties:
|
||||||
|
if not set(prop.access).issuperset(
|
||||||
|
required_properties[prop.name]):
|
||||||
|
return None
|
||||||
|
# 4. The optional service shall have all required properties
|
||||||
|
# and actions.
|
||||||
elif service.name in optional_services:
|
elif service.name in optional_services:
|
||||||
required_properties = SPEC_DEVICE_TRANS_MAP[spec_name][
|
required_properties = SPEC_DEVICE_TRANS_MAP[spec_name][
|
||||||
'optional'].get(
|
'optional'].get(
|
||||||
@@ -471,22 +489,23 @@ class MIoTDevice:
|
|||||||
'optional'].get(
|
'optional'].get(
|
||||||
service.name, {}
|
service.name, {}
|
||||||
).get('optional', {}).get('actions', set({}))
|
).get('optional', {}).get('actions', set({}))
|
||||||
else:
|
|
||||||
continue
|
|
||||||
if not {
|
if not {
|
||||||
prop.name for prop in service.properties if prop.access
|
prop.name for prop in service.properties if prop.access
|
||||||
}.issuperset(set(required_properties.keys())):
|
}.issuperset(set(required_properties.keys())):
|
||||||
return None
|
continue
|
||||||
if not {
|
if not {
|
||||||
action.name for action in service.actions
|
action.name for action in service.actions
|
||||||
}.issuperset(required_actions):
|
}.issuperset(required_actions):
|
||||||
return None
|
continue
|
||||||
# 3. The required property shall have all required access mode.
|
# 5. The required property in optional service shall have all
|
||||||
|
# required access mode.
|
||||||
for prop in service.properties:
|
for prop in service.properties:
|
||||||
if prop.name in required_properties:
|
if prop.name in required_properties:
|
||||||
if not set(prop.access).issuperset(
|
if not set(prop.access).issuperset(
|
||||||
required_properties[prop.name]):
|
required_properties[prop.name]):
|
||||||
return None
|
continue
|
||||||
|
else:
|
||||||
|
continue
|
||||||
# property
|
# property
|
||||||
for prop in service.properties:
|
for prop in service.properties:
|
||||||
if prop.name in set.union(
|
if prop.name in set.union(
|
||||||
@@ -748,6 +767,7 @@ class MIoTDevice:
|
|||||||
'w': UnitOfPower.WATT,
|
'w': UnitOfPower.WATT,
|
||||||
'W': UnitOfPower.WATT,
|
'W': UnitOfPower.WATT,
|
||||||
'kW': UnitOfPower.KILO_WATT,
|
'kW': UnitOfPower.KILO_WATT,
|
||||||
|
'Wh': UnitOfEnergy.WATT_HOUR,
|
||||||
'kWh': UnitOfEnergy.KILO_WATT_HOUR,
|
'kWh': UnitOfEnergy.KILO_WATT_HOUR,
|
||||||
'A': UnitOfElectricCurrent.AMPERE,
|
'A': UnitOfElectricCurrent.AMPERE,
|
||||||
'mA': UnitOfElectricCurrent.MILLIAMPERE,
|
'mA': UnitOfElectricCurrent.MILLIAMPERE,
|
||||||
@@ -1040,6 +1060,7 @@ class MIoTServiceEntity(Entity):
|
|||||||
f'set property failed, property is None, '
|
f'set property failed, property is None, '
|
||||||
f'{self.entity_id}, {self.name}')
|
f'{self.entity_id}, {self.name}')
|
||||||
value = prop.value_format(value)
|
value = prop.value_format(value)
|
||||||
|
value = prop.value_precision(value)
|
||||||
if prop not in self.entity_data.props:
|
if prop not in self.entity_data.props:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
f'set property failed, unknown property, '
|
f'set property failed, unknown property, '
|
||||||
@@ -1077,9 +1098,11 @@ class MIoTServiceEntity(Entity):
|
|||||||
'get property failed, not readable, %s, %s, %s',
|
'get property failed, not readable, %s, %s, %s',
|
||||||
self.entity_id, self.name, prop.name)
|
self.entity_id, self.name, prop.name)
|
||||||
return None
|
return None
|
||||||
result = prop.value_format(
|
value: Any = prop.value_format(
|
||||||
await self.miot_device.miot_client.get_prop_async(
|
await self.miot_device.miot_client.get_prop_async(
|
||||||
did=self.miot_device.did, siid=prop.service.iid, piid=prop.iid))
|
did=self.miot_device.did, siid=prop.service.iid, piid=prop.iid))
|
||||||
|
value = prop.eval_expr(value)
|
||||||
|
result = prop.value_precision(value)
|
||||||
if result != self._prop_value_map[prop]:
|
if result != self._prop_value_map[prop]:
|
||||||
self._prop_value_map[prop] = result
|
self._prop_value_map[prop] = result
|
||||||
self.async_write_ha_state()
|
self.async_write_ha_state()
|
||||||
@@ -1110,7 +1133,7 @@ class MIoTServiceEntity(Entity):
|
|||||||
continue
|
continue
|
||||||
value: Any = prop.value_format(params['value'])
|
value: Any = prop.value_format(params['value'])
|
||||||
value = prop.eval_expr(value)
|
value = prop.eval_expr(value)
|
||||||
value = prop.value_format(value)
|
value = prop.value_precision(value)
|
||||||
self._prop_value_map[prop] = value
|
self._prop_value_map[prop] = value
|
||||||
if prop in self._prop_changed_subs:
|
if prop in self._prop_changed_subs:
|
||||||
self._prop_changed_subs[prop](prop, value)
|
self._prop_changed_subs[prop](prop, value)
|
||||||
@@ -1258,6 +1281,7 @@ class MIoTPropertyEntity(Entity):
|
|||||||
f'set property failed, not writable, '
|
f'set property failed, not writable, '
|
||||||
f'{self.entity_id}, {self.name}')
|
f'{self.entity_id}, {self.name}')
|
||||||
value = self.spec.value_format(value)
|
value = self.spec.value_format(value)
|
||||||
|
value = self.spec.value_precision(value)
|
||||||
try:
|
try:
|
||||||
await self.miot_device.miot_client.set_prop_async(
|
await self.miot_device.miot_client.set_prop_async(
|
||||||
did=self.miot_device.did, siid=self.spec.service.iid,
|
did=self.miot_device.did, siid=self.spec.service.iid,
|
||||||
@@ -1275,16 +1299,19 @@ class MIoTPropertyEntity(Entity):
|
|||||||
'get property failed, not readable, %s, %s',
|
'get property failed, not readable, %s, %s',
|
||||||
self.entity_id, self.name)
|
self.entity_id, self.name)
|
||||||
return None
|
return None
|
||||||
return self.spec.value_format(
|
value: Any = self.spec.value_format(
|
||||||
await self.miot_device.miot_client.get_prop_async(
|
await self.miot_device.miot_client.get_prop_async(
|
||||||
did=self.miot_device.did, siid=self.spec.service.iid,
|
did=self.miot_device.did, siid=self.spec.service.iid,
|
||||||
piid=self.spec.iid))
|
piid=self.spec.iid))
|
||||||
|
value = self.spec.eval_expr(value)
|
||||||
|
result = self.spec.value_precision(value)
|
||||||
|
return result
|
||||||
|
|
||||||
def __on_value_changed(self, params: dict, ctx: Any) -> None:
|
def __on_value_changed(self, params: dict, ctx: Any) -> None:
|
||||||
_LOGGER.debug('property changed, %s', params)
|
_LOGGER.debug('property changed, %s', params)
|
||||||
value: Any = self.spec.value_format(params['value'])
|
value: Any = self.spec.value_format(params['value'])
|
||||||
value = self.spec.eval_expr(value)
|
value = self.spec.eval_expr(value)
|
||||||
self._value = self.spec.value_format(value)
|
self._value = self.spec.value_precision(value)
|
||||||
if not self._pending_write_ha_state_timer:
|
if not self._pending_write_ha_state_timer:
|
||||||
self.async_write_ha_state()
|
self.async_write_ha_state()
|
||||||
|
|
||||||
|
|||||||
@@ -232,9 +232,10 @@ class MipsService:
|
|||||||
for item in list(self._services.values()):
|
for item in list(self._services.values()):
|
||||||
if item['name'] != name:
|
if item['name'] != name:
|
||||||
continue
|
continue
|
||||||
service_data = self._services.pop(item['group_id'], {})
|
# Ignore mdns REMOVED package. Let the connection close by itself.
|
||||||
self.__call_service_change(
|
# service_data = self._services.pop(item['group_id'], {})
|
||||||
state=MipsServiceState.REMOVED, data=service_data)
|
# self.__call_service_change(
|
||||||
|
# state=MipsServiceState.REMOVED, data=service_data)
|
||||||
return
|
return
|
||||||
self._main_loop.create_task(
|
self._main_loop.create_task(
|
||||||
self.__request_service_info_async(zeroconf, service_type, name))
|
self.__request_service_info_async(zeroconf, service_type, name))
|
||||||
|
|||||||
@@ -68,7 +68,11 @@ from paho.mqtt.client import (
|
|||||||
|
|
||||||
# pylint: disable=relative-beyond-top-level
|
# pylint: disable=relative-beyond-top-level
|
||||||
from .common import MIoTMatcher
|
from .common import MIoTMatcher
|
||||||
from .const import UNSUPPORTED_MODELS, MIHOME_MQTT_KEEPALIVE
|
from .const import (
|
||||||
|
UNSUPPORTED_MODELS,
|
||||||
|
MIHOME_MQTT_KEEPALIVE,
|
||||||
|
DEFAULT_CLOUD_BROKER_HOST
|
||||||
|
)
|
||||||
from .miot_error import MIoTErrorCode, MIoTMipsError
|
from .miot_error import MIoTErrorCode, MIoTMipsError
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
@@ -515,15 +519,12 @@ class _MipsClient(ABC):
|
|||||||
if not self._mqtt or not self._mqtt.is_connected():
|
if not self._mqtt or not self._mqtt.is_connected():
|
||||||
self.log_error(f'mips sub when not connected, {topic}')
|
self.log_error(f'mips sub when not connected, {topic}')
|
||||||
return
|
return
|
||||||
try:
|
|
||||||
if topic not in self._mips_sub_pending_map:
|
if topic not in self._mips_sub_pending_map:
|
||||||
self._mips_sub_pending_map[topic] = 0
|
self._mips_sub_pending_map[topic] = 0
|
||||||
if not self._mips_sub_pending_timer:
|
if not self._mips_sub_pending_timer:
|
||||||
self._mips_sub_pending_timer = self._internal_loop.call_later(
|
self._mips_sub_pending_timer = self._internal_loop.call_later(
|
||||||
0.01, self.__mips_sub_internal_pending_handler, topic)
|
0.01, self.__mips_sub_internal_pending_handler, topic)
|
||||||
except Exception as err: # pylint: disable=broad-exception-caught
|
|
||||||
# Catch all exception
|
|
||||||
self.log_error(f'mips sub internal error, {topic}. {err}')
|
|
||||||
|
|
||||||
@final
|
@final
|
||||||
def _mips_unsub_internal(self, topic: str) -> None:
|
def _mips_unsub_internal(self, topic: str) -> None:
|
||||||
@@ -732,11 +733,16 @@ class _MipsClient(ABC):
|
|||||||
self.log_error(f'retry mips sub internal error, {topic}')
|
self.log_error(f'retry mips sub internal error, {topic}')
|
||||||
continue
|
continue
|
||||||
subbed_count += 1
|
subbed_count += 1
|
||||||
|
result = mid = None
|
||||||
|
try:
|
||||||
result, mid = self._mqtt.subscribe(topic, qos=self.MIPS_QOS)
|
result, mid = self._mqtt.subscribe(topic, qos=self.MIPS_QOS)
|
||||||
if result == MQTT_ERR_SUCCESS:
|
if result == MQTT_ERR_SUCCESS:
|
||||||
self._mips_sub_pending_map.pop(topic)
|
self._mips_sub_pending_map.pop(topic)
|
||||||
self.log_debug(f'mips sub internal success, {topic}')
|
self.log_debug(f'mips sub internal success, {topic}')
|
||||||
continue
|
continue
|
||||||
|
except Exception as err: # pylint: disable=broad-exception-caught
|
||||||
|
# Catch all exception
|
||||||
|
self.log_error(f'mips sub internal error, {topic}. {err}')
|
||||||
self._mips_sub_pending_map[topic] = count+1
|
self._mips_sub_pending_map[topic] = count+1
|
||||||
self.log_error(
|
self.log_error(
|
||||||
f'retry mips sub internal, {count}, {topic}, {result}, {mid}')
|
f'retry mips sub internal, {count}, {topic}, {result}, {mid}')
|
||||||
@@ -858,7 +864,8 @@ class MipsCloudClient(_MipsClient):
|
|||||||
) -> None:
|
) -> None:
|
||||||
self._msg_matcher = MIoTMatcher()
|
self._msg_matcher = MIoTMatcher()
|
||||||
super().__init__(
|
super().__init__(
|
||||||
client_id=f'ha.{uuid}', host=f'{cloud_server}-ha.mqtt.io.mi.com',
|
client_id=f'ha.{uuid}',
|
||||||
|
host=f'{cloud_server}-{DEFAULT_CLOUD_BROKER_HOST}',
|
||||||
port=port, username=app_id, password=token, loop=loop)
|
port=port, username=app_id, password=token, loop=loop)
|
||||||
|
|
||||||
@final
|
@final
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ class MIoTNetwork:
|
|||||||
return self._main_loop.time() - start_ts
|
return self._main_loop.time() - start_ts
|
||||||
return self._DETECT_TIMEOUT
|
return self._DETECT_TIMEOUT
|
||||||
except Exception as err: # pylint: disable=broad-exception-caught
|
except Exception as err: # pylint: disable=broad-exception-caught
|
||||||
print(err)
|
_LOGGER.debug('ping error, %s',err)
|
||||||
return self._DETECT_TIMEOUT
|
return self._DETECT_TIMEOUT
|
||||||
|
|
||||||
async def __http_async(self, url: str) -> float:
|
async def __http_async(self, url: str) -> float:
|
||||||
|
|||||||
@@ -599,15 +599,25 @@ class MIoTSpecProperty(_MIoTSpecBase):
|
|||||||
def value_format(self, value: Any) -> Any:
|
def value_format(self, value: Any) -> Any:
|
||||||
if value is None:
|
if value is None:
|
||||||
return None
|
return None
|
||||||
|
if isinstance(value, str):
|
||||||
|
if self.format_ == int:
|
||||||
|
value = int(float(value))
|
||||||
|
elif self.format_ == float:
|
||||||
|
value = float(value)
|
||||||
|
if self.format_ == bool:
|
||||||
|
return bool(value in [True, 1, 'True', 'true', '1'])
|
||||||
|
return value
|
||||||
|
|
||||||
|
def value_precision(self, value: Any) -> Any:
|
||||||
|
if value is None:
|
||||||
|
return None
|
||||||
|
if self.format_ == float:
|
||||||
|
return round(value, self.precision)
|
||||||
if self.format_ == int:
|
if self.format_ == int:
|
||||||
if self.value_range is None:
|
if self.value_range is None:
|
||||||
return int(round(value))
|
return int(round(value))
|
||||||
return int(
|
return int(
|
||||||
round(value / self.value_range.step) * self.value_range.step)
|
round(value / self.value_range.step) * self.value_range.step)
|
||||||
if self.format_ == float:
|
|
||||||
return round(value, self.precision)
|
|
||||||
if self.format_ == bool:
|
|
||||||
return bool(value in [True, 1, 'True', 'true', '1'])
|
|
||||||
return value
|
return value
|
||||||
|
|
||||||
def dump(self) -> dict:
|
def dump(self) -> dict:
|
||||||
|
|||||||
@@ -5,6 +5,11 @@
|
|||||||
"service:003:property:001:valuelist:001": "Dry"
|
"service:003:property:001:valuelist:001": "Dry"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"urn:miot-spec-v2:device:electronic-valve:0000A0A7:lxzn-02": {
|
||||||
|
"zh-Hans": {
|
||||||
|
"service:004:property:001": "功率过高-阈值设置"
|
||||||
|
}
|
||||||
|
},
|
||||||
"urn:miot-spec-v2:device:electronic-valve:0000A0A7:ykcn-cbcs": {
|
"urn:miot-spec-v2:device:electronic-valve:0000A0A7:ykcn-cbcs": {
|
||||||
"zh-Hans": {
|
"zh-Hans": {
|
||||||
"service:004:property:001": "功率过高-阈值设置",
|
"service:004:property:001": "功率过高-阈值设置",
|
||||||
|
|||||||
@@ -1,6 +1,25 @@
|
|||||||
urn:miot-spec-v2:device:air-condition-outlet:0000A045:lumi-mcn04:1:
|
urn:miot-spec-v2:device:air-condition-outlet:0000A045:lumi-mcn04:1:
|
||||||
prop.3.4:
|
prop.3.4:
|
||||||
format: uint8
|
format: uint8
|
||||||
|
urn:miot-spec-v2:device:air-conditioner:0000A004:daikin-k2:1:
|
||||||
|
prop.2.1:
|
||||||
|
name: ac-on
|
||||||
|
format: string
|
||||||
|
access:
|
||||||
|
- read
|
||||||
|
- notify
|
||||||
|
prop.2.2:
|
||||||
|
name: ac-mode
|
||||||
|
format: string
|
||||||
|
access:
|
||||||
|
- read
|
||||||
|
- notify
|
||||||
|
prop.3.1:
|
||||||
|
name: ac-fan-level
|
||||||
|
format: string
|
||||||
|
access:
|
||||||
|
- read
|
||||||
|
- notify
|
||||||
urn:miot-spec-v2:device:air-conditioner:0000A004:qdhkl-a42:1:
|
urn:miot-spec-v2:device:air-conditioner:0000A004:qdhkl-a42:1:
|
||||||
prop.2.2:
|
prop.2.2:
|
||||||
value-list:
|
value-list:
|
||||||
@@ -26,6 +45,7 @@ urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-c20:1:
|
|||||||
urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-c20:2: urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-c20:1
|
urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-c20:2: urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-c20:1
|
||||||
urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-c24:1:
|
urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-c24:1:
|
||||||
prop.8.6:
|
prop.8.6:
|
||||||
|
name: power-consumption
|
||||||
unit: kWh
|
unit: kWh
|
||||||
prop.10.6:
|
prop.10.6:
|
||||||
unit: none
|
unit: none
|
||||||
@@ -78,6 +98,25 @@ urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:1:
|
|||||||
urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:2: urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:1
|
urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:2: urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:1
|
||||||
urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:3: urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:1
|
urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:3: urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:1
|
||||||
urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:4: urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:1
|
urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:4: urn:miot-spec-v2:device:air-conditioner:0000A004:xiaomi-rr0r00:1
|
||||||
|
urn:miot-spec-v2:device:air-fresh:0000A012:daikin-k33:1:
|
||||||
|
prop.2.1:
|
||||||
|
name: ac-on
|
||||||
|
format: string
|
||||||
|
access:
|
||||||
|
- read
|
||||||
|
- notify
|
||||||
|
prop.2.3:
|
||||||
|
name: ac-mode
|
||||||
|
format: string
|
||||||
|
access:
|
||||||
|
- read
|
||||||
|
- notify
|
||||||
|
prop.2.5:
|
||||||
|
name: ac-fan-level
|
||||||
|
format: string
|
||||||
|
access:
|
||||||
|
- read
|
||||||
|
- notify
|
||||||
urn:miot-spec-v2:device:air-monitor:0000A008:cgllc-cgd1st:1:
|
urn:miot-spec-v2:device:air-monitor:0000A008:cgllc-cgd1st:1:
|
||||||
prop.3.7:
|
prop.3.7:
|
||||||
value-range:
|
value-range:
|
||||||
@@ -138,6 +177,31 @@ urn:miot-spec-v2:device:bath-heater:0000A028:xiaomi-s1:1:
|
|||||||
urn:miot-spec-v2:device:curtain:0000A00C:bjkcz-kczble:1:0000D031:
|
urn:miot-spec-v2:device:curtain:0000A00C:bjkcz-kczble:1:0000D031:
|
||||||
prop.2.2:
|
prop.2.2:
|
||||||
name: status-a
|
name: status-a
|
||||||
|
urn:miot-spec-v2:device:dehumidifier:0000A02D:xiaomi-lite:1:
|
||||||
|
prop.3.2:
|
||||||
|
value-range:
|
||||||
|
- -30
|
||||||
|
- 100
|
||||||
|
- 0.1
|
||||||
|
urn:miot-spec-v2:device:electronic-valve:0000A0A7:lxzn-02:1:0000C833:
|
||||||
|
prop.3.1:
|
||||||
|
format: float
|
||||||
|
value-range:
|
||||||
|
- 0
|
||||||
|
- 999999
|
||||||
|
- 0.01
|
||||||
|
expr: (src_value/100)
|
||||||
|
prop.3.2:
|
||||||
|
unit: mA
|
||||||
|
prop.3.3:
|
||||||
|
format: float
|
||||||
|
value-range:
|
||||||
|
- 0
|
||||||
|
- 65535
|
||||||
|
- 0.1
|
||||||
|
expr: (src_value/10)
|
||||||
|
prop.4.1:
|
||||||
|
unit: kW
|
||||||
urn:miot-spec-v2:device:electronic-valve:0000A0A7:sanmei-s1:1:
|
urn:miot-spec-v2:device:electronic-valve:0000A0A7:sanmei-s1:1:
|
||||||
prop.3.1:
|
prop.3.1:
|
||||||
format: float
|
format: float
|
||||||
@@ -364,6 +428,19 @@ urn:miot-spec-v2:device:outlet:0000A002:cuco-cp2:2:
|
|||||||
urn:miot-spec-v2:device:outlet:0000A002:cuco-cp2d:1:
|
urn:miot-spec-v2:device:outlet:0000A002:cuco-cp2d:1:
|
||||||
prop.3.2:
|
prop.3.2:
|
||||||
unit: mA
|
unit: mA
|
||||||
|
urn:miot-spec-v2:device:outlet:0000A002:cuco-cp7pd:1:
|
||||||
|
prop.11.1:
|
||||||
|
unit: Wh
|
||||||
|
value-range:
|
||||||
|
- 0
|
||||||
|
- 65535
|
||||||
|
- 0.001
|
||||||
|
expr: (src_value*1000)
|
||||||
|
prop.11.4:
|
||||||
|
value-range:
|
||||||
|
- 0
|
||||||
|
- 10000
|
||||||
|
- 0.01
|
||||||
urn:miot-spec-v2:device:outlet:0000A002:cuco-v3:1:
|
urn:miot-spec-v2:device:outlet:0000A002:cuco-v3:1:
|
||||||
prop.11.1:
|
prop.11.1:
|
||||||
format: float
|
format: float
|
||||||
@@ -422,6 +499,9 @@ urn:miot-spec-v2:device:safe-box:0000A042:loock-v1:1:
|
|||||||
prop.5.1:
|
prop.5.1:
|
||||||
name: contact-state
|
name: contact-state
|
||||||
expr: (src_value!=1)
|
expr: (src_value!=1)
|
||||||
|
urn:miot-spec-v2:device:speaker:0000A015:xiaomi-x08e:1:
|
||||||
|
prop.3.1:
|
||||||
|
name: playing-state-a
|
||||||
urn:miot-spec-v2:device:switch:0000A003:090615-x1tpm:1:0000D042:
|
urn:miot-spec-v2:device:switch:0000A003:090615-x1tpm:1:0000D042:
|
||||||
prop.27.3:
|
prop.27.3:
|
||||||
name: light-on
|
name: light-on
|
||||||
@@ -484,6 +564,24 @@ urn:miot-spec-v2:device:water-purifier:0000A013:roswan-lte01:1:0000D05A:
|
|||||||
unit: ppm
|
unit: ppm
|
||||||
prop.4.2:
|
prop.4.2:
|
||||||
unit: ppm
|
unit: ppm
|
||||||
|
urn:miot-spec-v2:device:water-purifier:0000A013:xiaomi-s1200g:1:0000D05A:
|
||||||
|
prop.3.2:
|
||||||
|
unit: days
|
||||||
|
prop.3.3:
|
||||||
|
unit: days
|
||||||
|
prop.3.4:
|
||||||
|
unit: L
|
||||||
|
prop.3.5:
|
||||||
|
unit: L
|
||||||
|
prop.5.2:
|
||||||
|
unit: days
|
||||||
|
prop.5.3:
|
||||||
|
unit: days
|
||||||
|
prop.5.4:
|
||||||
|
unit: L
|
||||||
|
prop.5.5:
|
||||||
|
unit: L
|
||||||
|
urn:miot-spec-v2:device:water-purifier:0000A013:xiaomi-s1200g:2:0000D05A: urn:miot-spec-v2:device:water-purifier:0000A013:xiaomi-s1200g:1:0000D05A
|
||||||
urn:miot-spec-v2:device:water-purifier:0000A013:yunmi-s20:1:
|
urn:miot-spec-v2:device:water-purifier:0000A013:yunmi-s20:1:
|
||||||
prop.4.1:
|
prop.4.1:
|
||||||
unit: ppm
|
unit: ppm
|
||||||
|
|||||||
@@ -325,10 +325,13 @@ SPEC_DEVICE_TRANS_MAP: dict = {
|
|||||||
},
|
},
|
||||||
'play-control': {
|
'play-control': {
|
||||||
'required': {
|
'required': {
|
||||||
|
'properties': {
|
||||||
|
'playing-state': {'read'}
|
||||||
|
},
|
||||||
'actions': {'play'}
|
'actions': {'play'}
|
||||||
},
|
},
|
||||||
'optional': {
|
'optional': {
|
||||||
'properties': {'playing-state'},
|
'properties': {'play-loop-mode'},
|
||||||
'actions': {'pause', 'stop', 'next', 'previous'}
|
'actions': {'pause', 'stop', 'next', 'previous'}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -360,9 +363,49 @@ SPEC_DEVICE_TRANS_MAP: dict = {
|
|||||||
},
|
},
|
||||||
'optional': {
|
'optional': {
|
||||||
'play-control': {
|
'play-control': {
|
||||||
'required': {},
|
'required': {
|
||||||
|
'properties': {
|
||||||
|
'playing-state': {'read'}
|
||||||
|
}
|
||||||
|
},
|
||||||
'optional': {
|
'optional': {
|
||||||
'properties': {'playing-state'},
|
'properties': {'play-loop-mode'},
|
||||||
|
'actions': {'play', 'pause', 'stop', 'next', 'previous'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
'entity': 'television'
|
||||||
|
},
|
||||||
|
'tv-box':{
|
||||||
|
'required': {
|
||||||
|
'speaker': {
|
||||||
|
'required': {
|
||||||
|
'properties': {
|
||||||
|
'volume': {'read', 'write'}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
'optional': {
|
||||||
|
'properties': {'mute'}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
'tv-box': {
|
||||||
|
'required': {
|
||||||
|
'actions': {'turn-off'}
|
||||||
|
},
|
||||||
|
'optional': {
|
||||||
|
'actions': {'turn-on'}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
'optional': {
|
||||||
|
'play-control': {
|
||||||
|
'required': {
|
||||||
|
'properties': {
|
||||||
|
'playing-state': {'read'}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
'optional': {
|
||||||
|
'properties': {'play-loop-mode'},
|
||||||
'actions': {'play', 'pause', 'stop', 'next', 'previous'}
|
'actions': {'play', 'pause', 'stop', 'next', 'previous'}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ class Sensor(MIoTPropertyEntity, SensorEntity):
|
|||||||
self._attr_native_unit_of_measurement = list(
|
self._attr_native_unit_of_measurement = list(
|
||||||
unit_sets)[0] if unit_sets else None
|
unit_sets)[0] if unit_sets else None
|
||||||
# Set suggested precision
|
# Set suggested precision
|
||||||
if spec.format_ in {int, float} and spec.expr is None:
|
if spec.format_ == float:
|
||||||
self._attr_suggested_display_precision = spec.precision
|
self._attr_suggested_display_precision = spec.precision
|
||||||
# Set state_class
|
# Set state_class
|
||||||
if spec.state_class:
|
if spec.state_class:
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Integrierte Netzwerkkonfiguration",
|
"title": "Integrierte Netzwerkkonfiguration",
|
||||||
"description": "## Gebrauchsanweisung\r\n### Netzwerk-Erkennungsadresse\r\nWird verwendet, um zu überprüfen, ob das Netzwerk normal funktioniert. Wenn nicht festgelegt, wird die Standardadresse des Systems verwendet. Wenn die Standardadressprüfung fehlschlägt, können Sie versuchen, eine benutzerdefinierte Adresse einzugeben.\r\n- Sie können mehrere Erkennungsadressen eingeben, getrennt durch ein Komma, z. B. `8.8.8.8,https://www.bing.com`\r\n- Wenn es sich um eine IP-Adresse handelt, wird die Erkennung durch Ping durchgeführt. Wenn es sich um eine HTTP(s)-Adresse handelt, wird die Erkennung durch einen HTTP GET-Aufruf durchgeführt.\r\n- Wenn Sie die Standarderkennungsadresse des Systems wiederherstellen möchten, geben Sie ein Komma `,` ein und klicken Sie auf 'Weiter'.\r\n- **Diese Konfiguration ist global und Änderungen wirken sich auf andere Integrationsinstanzen aus. Bitte ändern Sie sie mit Vorsicht.**\r\n### Überprüfung der Netzwerkabhängigkeiten\r\nÜberprüfen Sie nacheinander, ob die folgenden Netzwerkabhängigkeiten zugänglich sind. Wenn die entsprechenden Adressen nicht zugänglich sind, führt dies zu Integrationsfehlern.\r\n- OAuth2-Authentifizierungsadresse: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API-Adresse: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API-Adresse: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker-Adresse: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Gebrauchsanweisung\r\n### Netzwerk-Erkennungsadresse\r\nWird verwendet, um zu überprüfen, ob das Netzwerk normal funktioniert. Wenn nicht festgelegt, wird die Standardadresse des Systems verwendet. Wenn die Standardadressprüfung fehlschlägt, können Sie versuchen, eine benutzerdefinierte Adresse einzugeben.\r\n- Sie können mehrere Erkennungsadressen eingeben, getrennt durch ein Komma, z. B. `8.8.8.8,https://www.bing.com`\r\n- Wenn es sich um eine IP-Adresse handelt, wird die Erkennung durch Ping durchgeführt. Wenn es sich um eine HTTP(s)-Adresse handelt, wird die Erkennung durch einen HTTP GET-Aufruf durchgeführt.\r\n- Wenn Sie die Standarderkennungsadresse des Systems wiederherstellen möchten, geben Sie ein Komma `,` ein und klicken Sie auf 'Weiter'.\r\n- **Diese Konfiguration ist global und Änderungen wirken sich auf andere Integrationsinstanzen aus. Bitte ändern Sie sie mit Vorsicht.**\r\n### Überprüfung der Netzwerkabhängigkeiten\r\nÜberprüfen Sie nacheinander, ob die folgenden Netzwerkabhängigkeiten zugänglich sind. Wenn die entsprechenden Adressen nicht zugänglich sind, führt dies zu Integrationsfehlern.\r\n- OAuth2-Authentifizierungsadresse: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API-Adresse: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API-Adresse: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker-Adresse: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Netzwerkerkennungsadresse",
|
"network_detect_addr": "Netzwerkerkennungsadresse",
|
||||||
"check_network_deps": "Überprüfung der Netzwerkabhängigkeiten"
|
"check_network_deps": "Überprüfung der Netzwerkabhängigkeiten"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Integrierte Netzwerkkonfiguration",
|
"title": "Integrierte Netzwerkkonfiguration",
|
||||||
"description": "## Gebrauchsanweisung\r\n### Netzwerk-Erkennungsadresse\r\nWird verwendet, um zu überprüfen, ob das Netzwerk normal funktioniert. Wenn nicht festgelegt, wird die Standardadresse des Systems verwendet. Wenn die Standardadressprüfung fehlschlägt, können Sie versuchen, eine benutzerdefinierte Adresse einzugeben.\r\n- Sie können mehrere Erkennungsadressen eingeben, getrennt durch ein Komma, z. B. `8.8.8.8,https://www.bing.com`\r\n- Wenn es sich um eine IP-Adresse handelt, wird die Erkennung durch Ping durchgeführt. Wenn es sich um eine HTTP(s)-Adresse handelt, wird die Erkennung durch einen HTTP GET-Aufruf durchgeführt.\r\n- Wenn Sie die Standarderkennungsadresse des Systems wiederherstellen möchten, geben Sie ein Komma `,` ein und klicken Sie auf 'Weiter'.\r\n- **Diese Konfiguration ist global und Änderungen wirken sich auf andere Integrationsinstanzen aus. Bitte ändern Sie sie mit Vorsicht.**\r\n### Überprüfung der Netzwerkabhängigkeiten\r\nÜberprüfen Sie nacheinander, ob die folgenden Netzwerkabhängigkeiten zugänglich sind. Wenn die entsprechenden Adressen nicht zugänglich sind, führt dies zu Integrationsfehlern.\r\n- OAuth2-Authentifizierungsadresse: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API-Adresse: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API-Adresse: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker-Adresse: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Gebrauchsanweisung\r\n### Netzwerk-Erkennungsadresse\r\nWird verwendet, um zu überprüfen, ob das Netzwerk normal funktioniert. Wenn nicht festgelegt, wird die Standardadresse des Systems verwendet. Wenn die Standardadressprüfung fehlschlägt, können Sie versuchen, eine benutzerdefinierte Adresse einzugeben.\r\n- Sie können mehrere Erkennungsadressen eingeben, getrennt durch ein Komma, z. B. `8.8.8.8,https://www.bing.com`\r\n- Wenn es sich um eine IP-Adresse handelt, wird die Erkennung durch Ping durchgeführt. Wenn es sich um eine HTTP(s)-Adresse handelt, wird die Erkennung durch einen HTTP GET-Aufruf durchgeführt.\r\n- Wenn Sie die Standarderkennungsadresse des Systems wiederherstellen möchten, geben Sie ein Komma `,` ein und klicken Sie auf 'Weiter'.\r\n- **Diese Konfiguration ist global und Änderungen wirken sich auf andere Integrationsinstanzen aus. Bitte ändern Sie sie mit Vorsicht.**\r\n### Überprüfung der Netzwerkabhängigkeiten\r\nÜberprüfen Sie nacheinander, ob die folgenden Netzwerkabhängigkeiten zugänglich sind. Wenn die entsprechenden Adressen nicht zugänglich sind, führt dies zu Integrationsfehlern.\r\n- OAuth2-Authentifizierungsadresse: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API-Adresse: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API-Adresse: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker-Adresse: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Netzwerkerkennungsadresse",
|
"network_detect_addr": "Netzwerkerkennungsadresse",
|
||||||
"check_network_deps": "Überprüfung der Netzwerkabhängigkeiten"
|
"check_network_deps": "Überprüfung der Netzwerkabhängigkeiten"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Integrated Network Configuration",
|
"title": "Integrated Network Configuration",
|
||||||
"description": "## Usage Introduction\r\n### Network Detection Address\r\nUsed to check if the network is functioning properly. If not set, the system default address will be used. If the default address check fails, you can try entering a custom address.\r\n- You can enter multiple detection addresses, separated by commas, such as `8.8.8.8,https://www.bing.com`\r\n- If it is an IP address, detection will be done via ping. If it is an HTTP(s) address, detection will be done via HTTP GET request.\r\n- If you want to restore the system default detection address, please enter a comma `,` and click 'Next'.\r\n- **This configuration is global, and changes will affect other integration instances. Please modify with caution.**\r\n### Check Network Dependencies\r\nCheck the following network dependencies one by one to see if they are accessible. If the related addresses are not accessible, it will cause integration issues.\r\n- OAuth2 Authentication Address: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API Address: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API Address: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker Address: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Usage Introduction\r\n### Network Detection Address\r\nUsed to check if the network is functioning properly. If not set, the system default address will be used. If the default address check fails, you can try entering a custom address.\r\n- You can enter multiple detection addresses, separated by commas, such as `8.8.8.8,https://www.bing.com`\r\n- If it is an IP address, detection will be done via ping. If it is an HTTP(s) address, detection will be done via HTTP GET request.\r\n- If you want to restore the system default detection address, please enter a comma `,` and click 'Next'.\r\n- **This configuration is global, and changes will affect other integration instances. Please modify with caution.**\r\n### Check Network Dependencies\r\nCheck the following network dependencies one by one to see if they are accessible. If the related addresses are not accessible, it will cause integration issues.\r\n- OAuth2 Authentication Address: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API Address: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API Address: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker Address: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Network Detection Address",
|
"network_detect_addr": "Network Detection Address",
|
||||||
"check_network_deps": "Check Network Dependencies"
|
"check_network_deps": "Check Network Dependencies"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Integrated Network Configuration",
|
"title": "Integrated Network Configuration",
|
||||||
"description": "## Usage Introduction\r\n### Network Detection Address\r\nUsed to check if the network is functioning properly. If not set, the system default address will be used. If the default address check fails, you can try entering a custom address.\r\n- You can enter multiple detection addresses, separated by commas, such as `8.8.8.8,https://www.bing.com`\r\n- If it is an IP address, detection will be done via ping. If it is an HTTP(s) address, detection will be done via HTTP GET request.\r\n- If you want to restore the system default detection address, please enter a comma `,` and click 'Next'.\r\n- **This configuration is global, and changes will affect other integration instances. Please modify with caution.**\r\n### Check Network Dependencies\r\nCheck the following network dependencies one by one to see if they are accessible. If the related addresses are not accessible, it will cause integration issues.\r\n- OAuth2 Authentication Address: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API Address: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API Address: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker Address: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Usage Introduction\r\n### Network Detection Address\r\nUsed to check if the network is functioning properly. If not set, the system default address will be used. If the default address check fails, you can try entering a custom address.\r\n- You can enter multiple detection addresses, separated by commas, such as `8.8.8.8,https://www.bing.com`\r\n- If it is an IP address, detection will be done via ping. If it is an HTTP(s) address, detection will be done via HTTP GET request.\r\n- If you want to restore the system default detection address, please enter a comma `,` and click 'Next'.\r\n- **This configuration is global, and changes will affect other integration instances. Please modify with caution.**\r\n### Check Network Dependencies\r\nCheck the following network dependencies one by one to see if they are accessible. If the related addresses are not accessible, it will cause integration issues.\r\n- OAuth2 Authentication Address: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API Address: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API Address: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker Address: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Network Detection Address",
|
"network_detect_addr": "Network Detection Address",
|
||||||
"check_network_deps": "Check Network Dependencies"
|
"check_network_deps": "Check Network Dependencies"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Configuración de Red Integrada",
|
"title": "Configuración de Red Integrada",
|
||||||
"description": "## Introducción al Uso\r\n### Dirección de Detección de Red\r\nSe utiliza para verificar si la red funciona correctamente. Si no se establece, se utilizará la dirección predeterminada del sistema. Si la verificación de la dirección predeterminada falla, puede intentar ingresar una dirección personalizada.\r\n- Puede ingresar varias direcciones de detección, separadas por comas, como `8.8.8.8,https://www.bing.com`\r\n- Si es una dirección IP, la detección se realizará mediante ping. Si es una dirección HTTP(s), la detección se realizará mediante una solicitud HTTP GET.\r\n- Si desea restaurar la dirección de detección predeterminada del sistema, ingrese una coma `,` y haga clic en 'Siguiente'.\r\n- **Esta configuración es global y los cambios afectarán a otras instancias de integración. Modifique con precaución.**\r\n### Verificar Dependencias de Red\r\nVerifique una por una las siguientes dependencias de red para ver si son accesibles. Si las direcciones relacionadas no son accesibles, causará problemas de integración.\r\n- Dirección de Autenticación OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Dirección de API HTTP de Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Dirección de API SPEC de Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Dirección del Broker MQTT de Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Introducción al Uso\r\n### Dirección de Detección de Red\r\nSe utiliza para verificar si la red funciona correctamente. Si no se establece, se utilizará la dirección predeterminada del sistema. Si la verificación de la dirección predeterminada falla, puede intentar ingresar una dirección personalizada.\r\n- Puede ingresar varias direcciones de detección, separadas por comas, como `8.8.8.8,https://www.bing.com`\r\n- Si es una dirección IP, la detección se realizará mediante ping. Si es una dirección HTTP(s), la detección se realizará mediante una solicitud HTTP GET.\r\n- Si desea restaurar la dirección de detección predeterminada del sistema, ingrese una coma `,` y haga clic en 'Siguiente'.\r\n- **Esta configuración es global y los cambios afectarán a otras instancias de integración. Modifique con precaución.**\r\n### Verificar Dependencias de Red\r\nVerifique una por una las siguientes dependencias de red para ver si son accesibles. Si las direcciones relacionadas no son accesibles, causará problemas de integración.\r\n- Dirección de Autenticación OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Dirección de API HTTP de Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Dirección de API SPEC de Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Dirección del Broker MQTT de Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Dirección de Detección de Red",
|
"network_detect_addr": "Dirección de Detección de Red",
|
||||||
"check_network_deps": "Verificar Dependencias de Red"
|
"check_network_deps": "Verificar Dependencias de Red"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Configuración de Red Integrada",
|
"title": "Configuración de Red Integrada",
|
||||||
"description": "## Introducción al Uso\r\n### Dirección de Detección de Red\r\nSe utiliza para verificar si la red funciona correctamente. Si no se establece, se utilizará la dirección predeterminada del sistema. Si la verificación de la dirección predeterminada falla, puede intentar ingresar una dirección personalizada.\r\n- Puede ingresar varias direcciones de detección, separadas por comas, como `8.8.8.8,https://www.bing.com`\r\n- Si es una dirección IP, la detección se realizará mediante ping. Si es una dirección HTTP(s), la detección se realizará mediante una solicitud HTTP GET.\r\n- Si desea restaurar la dirección de detección predeterminada del sistema, ingrese una coma `,` y haga clic en 'Siguiente'.\r\n- **Esta configuración es global y los cambios afectarán a otras instancias de integración. Modifique con precaución.**\r\n### Verificar Dependencias de Red\r\nVerifique una por una las siguientes dependencias de red para ver si son accesibles. Si las direcciones relacionadas no son accesibles, causará problemas de integración.\r\n- Dirección de Autenticación OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Dirección de API HTTP de Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Dirección de API SPEC de Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Dirección del Broker MQTT de Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Introducción al Uso\r\n### Dirección de Detección de Red\r\nSe utiliza para verificar si la red funciona correctamente. Si no se establece, se utilizará la dirección predeterminada del sistema. Si la verificación de la dirección predeterminada falla, puede intentar ingresar una dirección personalizada.\r\n- Puede ingresar varias direcciones de detección, separadas por comas, como `8.8.8.8,https://www.bing.com`\r\n- Si es una dirección IP, la detección se realizará mediante ping. Si es una dirección HTTP(s), la detección se realizará mediante una solicitud HTTP GET.\r\n- Si desea restaurar la dirección de detección predeterminada del sistema, ingrese una coma `,` y haga clic en 'Siguiente'.\r\n- **Esta configuración es global y los cambios afectarán a otras instancias de integración. Modifique con precaución.**\r\n### Verificar Dependencias de Red\r\nVerifique una por una las siguientes dependencias de red para ver si son accesibles. Si las direcciones relacionadas no son accesibles, causará problemas de integración.\r\n- Dirección de Autenticación OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Dirección de API HTTP de Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Dirección de API SPEC de Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Dirección del Broker MQTT de Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Dirección de Detección de Red",
|
"network_detect_addr": "Dirección de Detección de Red",
|
||||||
"check_network_deps": "Verificar Dependencias de Red"
|
"check_network_deps": "Verificar Dependencias de Red"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Configuration Réseau Intégrée",
|
"title": "Configuration Réseau Intégrée",
|
||||||
"description": "## Introduction à l'Utilisation\r\n### Adresse de Détection Réseau\r\nUtilisé pour vérifier si le réseau fonctionne correctement. Si non défini, l'adresse par défaut du système sera utilisée. Si la vérification de l'adresse par défaut échoue, vous pouvez essayer de saisir une adresse personnalisée.\r\n- Vous pouvez entrer plusieurs adresses de détection, séparées par des virgules, telles que `8.8.8.8,https://www.bing.com`\r\n- S'il s'agit d'une adresse IP, la détection se fera par ping. S'il s'agit d'une adresse HTTP(s), la détection se fera par une requête HTTP GET.\r\n- Si vous souhaitez rétablir l'adresse de détection par défaut du système, veuillez entrer une virgule `,` et cliquer sur 'Suivant'.\r\n- **Cette configuration est globale et les modifications affecteront les autres instances d'intégration. Veuillez modifier avec prudence.**\r\n### Vérification des Dépendances Réseau\r\nVérifiez une par une les dépendances réseau suivantes pour voir si elles sont accessibles. Si les adresses associées ne sont pas accessibles, cela entraînera des problèmes d'intégration.\r\n- Adresse d'Authentification OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Adresse de l'API HTTP de Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Adresse de l'API SPEC de Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Adresse du Broker MQTT de Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Introduction à l'Utilisation\r\n### Adresse de Détection Réseau\r\nUtilisé pour vérifier si le réseau fonctionne correctement. Si non défini, l'adresse par défaut du système sera utilisée. Si la vérification de l'adresse par défaut échoue, vous pouvez essayer de saisir une adresse personnalisée.\r\n- Vous pouvez entrer plusieurs adresses de détection, séparées par des virgules, telles que `8.8.8.8,https://www.bing.com`\r\n- S'il s'agit d'une adresse IP, la détection se fera par ping. S'il s'agit d'une adresse HTTP(s), la détection se fera par une requête HTTP GET.\r\n- Si vous souhaitez rétablir l'adresse de détection par défaut du système, veuillez entrer une virgule `,` et cliquer sur 'Suivant'.\r\n- **Cette configuration est globale et les modifications affecteront les autres instances d'intégration. Veuillez modifier avec prudence.**\r\n### Vérification des Dépendances Réseau\r\nVérifiez une par une les dépendances réseau suivantes pour voir si elles sont accessibles. Si les adresses associées ne sont pas accessibles, cela entraînera des problèmes d'intégration.\r\n- Adresse d'Authentification OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Adresse de l'API HTTP de Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Adresse de l'API SPEC de Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Adresse du Broker MQTT de Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Adresse de Détection Réseau",
|
"network_detect_addr": "Adresse de Détection Réseau",
|
||||||
"check_network_deps": "Vérification des Dépendances Réseau"
|
"check_network_deps": "Vérification des Dépendances Réseau"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Configuration Réseau Intégrée",
|
"title": "Configuration Réseau Intégrée",
|
||||||
"description": "## Introduction à l'Utilisation\r\n### Adresse de Détection Réseau\r\nUtilisé pour vérifier si le réseau fonctionne correctement. Si non défini, l'adresse par défaut du système sera utilisée. Si la vérification de l'adresse par défaut échoue, vous pouvez essayer de saisir une adresse personnalisée.\r\n- Vous pouvez entrer plusieurs adresses de détection, séparées par des virgules, telles que `8.8.8.8,https://www.bing.com`\r\n- S'il s'agit d'une adresse IP, la détection se fera par ping. S'il s'agit d'une adresse HTTP(s), la détection se fera par une requête HTTP GET.\r\n- Si vous souhaitez rétablir l'adresse de détection par défaut du système, veuillez entrer une virgule `,` et cliquer sur 'Suivant'.\r\n- **Cette configuration est globale et les modifications affecteront les autres instances d'intégration. Veuillez modifier avec prudence.**\r\n### Vérification des Dépendances Réseau\r\nVérifiez une par une les dépendances réseau suivantes pour voir si elles sont accessibles. Si les adresses associées ne sont pas accessibles, cela entraînera des problèmes d'intégration.\r\n- Adresse d'Authentification OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Adresse de l'API HTTP de Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Adresse de l'API SPEC de Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Adresse du Broker MQTT de Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Introduction à l'Utilisation\r\n### Adresse de Détection Réseau\r\nUtilisé pour vérifier si le réseau fonctionne correctement. Si non défini, l'adresse par défaut du système sera utilisée. Si la vérification de l'adresse par défaut échoue, vous pouvez essayer de saisir une adresse personnalisée.\r\n- Vous pouvez entrer plusieurs adresses de détection, séparées par des virgules, telles que `8.8.8.8,https://www.bing.com`\r\n- S'il s'agit d'une adresse IP, la détection se fera par ping. S'il s'agit d'une adresse HTTP(s), la détection se fera par une requête HTTP GET.\r\n- Si vous souhaitez rétablir l'adresse de détection par défaut du système, veuillez entrer une virgule `,` et cliquer sur 'Suivant'.\r\n- **Cette configuration est globale et les modifications affecteront les autres instances d'intégration. Veuillez modifier avec prudence.**\r\n### Vérification des Dépendances Réseau\r\nVérifiez une par une les dépendances réseau suivantes pour voir si elles sont accessibles. Si les adresses associées ne sont pas accessibles, cela entraînera des problèmes d'intégration.\r\n- Adresse d'Authentification OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Adresse de l'API HTTP de Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Adresse de l'API SPEC de Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Adresse du Broker MQTT de Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Adresse de Détection Réseau",
|
"network_detect_addr": "Adresse de Détection Réseau",
|
||||||
"check_network_deps": "Vérification des Dépendances Réseau"
|
"check_network_deps": "Vérification des Dépendances Réseau"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Configurazione di Rete Integrata",
|
"title": "Configurazione di Rete Integrata",
|
||||||
"description": "## Introduzione all'uso\r\n### Indirizzo di Rilevamento della Rete\r\nUtilizzato per verificare se la rete funziona correttamente. Se non impostato, verrà utilizzato l'indirizzo di default del sistema. Se il controllo dell'indirizzo predefinito fallisce, puoi provare a inserire un indirizzo personalizzato.\r\n- Puoi inserire più indirizzi di rilevamento, separati da virgole, come `8.8.8.8,https://www.bing.com`\r\n- Se è un indirizzo IP, il rilevamento verrà eseguito tramite ping. Se è un indirizzo HTTP(s), il rilevamento verrà eseguito tramite richiesta HTTP GET.\r\n- Se desideri ripristinare l'indirizzo di rilevamento predefinito del sistema, inserisci una virgola `,` e fai clic su 'Avanti'.\r\n- **Questa configurazione è globale e le modifiche influenzeranno altre istanze di integrazione. Si prega di modificare con cautela.**\r\n### Controlla le Dipendenze di Rete\r\nControlla una per una le seguenti dipendenze di rete per vedere se sono accessibili. Se gli indirizzi correlati non sono accessibili, causerà problemi di integrazione.\r\n- Indirizzo di Autenticazione OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Indirizzo API HTTP di Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Indirizzo API SPEC di Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Indirizzo del Broker MQTT di Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Introduzione all'uso\r\n### Indirizzo di Rilevamento della Rete\r\nUtilizzato per verificare se la rete funziona correttamente. Se non impostato, verrà utilizzato l'indirizzo di default del sistema. Se il controllo dell'indirizzo predefinito fallisce, puoi provare a inserire un indirizzo personalizzato.\r\n- Puoi inserire più indirizzi di rilevamento, separati da virgole, come `8.8.8.8,https://www.bing.com`\r\n- Se è un indirizzo IP, il rilevamento verrà eseguito tramite ping. Se è un indirizzo HTTP(s), il rilevamento verrà eseguito tramite richiesta HTTP GET.\r\n- Se desideri ripristinare l'indirizzo di rilevamento predefinito del sistema, inserisci una virgola `,` e fai clic su 'Avanti'.\r\n- **Questa configurazione è globale e le modifiche influenzeranno altre istanze di integrazione. Si prega di modificare con cautela.**\r\n### Controlla le Dipendenze di Rete\r\nControlla una per una le seguenti dipendenze di rete per vedere se sono accessibili. Se gli indirizzi correlati non sono accessibili, causerà problemi di integrazione.\r\n- Indirizzo di Autenticazione OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Indirizzo API HTTP di Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Indirizzo API SPEC di Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Indirizzo del Broker MQTT di Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Indirizzo di Rilevamento della Rete",
|
"network_detect_addr": "Indirizzo di Rilevamento della Rete",
|
||||||
"check_network_deps": "Controlla le Dipendenze di Rete"
|
"check_network_deps": "Controlla le Dipendenze di Rete"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Configurazione di Rete Integrata",
|
"title": "Configurazione di Rete Integrata",
|
||||||
"description": "## Introduzione all'uso\r\n### Indirizzo di Rilevamento della Rete\r\nUtilizzato per verificare se la rete funziona correttamente. Se non impostato, verrà utilizzato l'indirizzo di default del sistema. Se il controllo dell'indirizzo predefinito fallisce, puoi provare a inserire un indirizzo personalizzato.\r\n- Puoi inserire più indirizzi di rilevamento, separati da virgole, come `8.8.8.8,https://www.bing.com`\r\n- Se è un indirizzo IP, il rilevamento verrà eseguito tramite ping. Se è un indirizzo HTTP(s), il rilevamento verrà eseguito tramite richiesta HTTP GET.\r\n- Se desideri ripristinare l'indirizzo di rilevamento predefinito del sistema, inserisci una virgola `,` e fai clic su 'Avanti'.\r\n- **Questa configurazione è globale e le modifiche influenzeranno altre istanze di integrazione. Si prega di modificare con cautela.**\r\n### Controlla le Dipendenze di Rete\r\nControlla una per una le seguenti dipendenze di rete per vedere se sono accessibili. Se gli indirizzi correlati non sono accessibili, causerà problemi di integrazione.\r\n- Indirizzo di Autenticazione OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Indirizzo API HTTP di Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Indirizzo API SPEC di Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Indirizzo del Broker MQTT di Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Introduzione all'uso\r\n### Indirizzo di Rilevamento della Rete\r\nUtilizzato per verificare se la rete funziona correttamente. Se non impostato, verrà utilizzato l'indirizzo di default del sistema. Se il controllo dell'indirizzo predefinito fallisce, puoi provare a inserire un indirizzo personalizzato.\r\n- Puoi inserire più indirizzi di rilevamento, separati da virgole, come `8.8.8.8,https://www.bing.com`\r\n- Se è un indirizzo IP, il rilevamento verrà eseguito tramite ping. Se è un indirizzo HTTP(s), il rilevamento verrà eseguito tramite richiesta HTTP GET.\r\n- Se desideri ripristinare l'indirizzo di rilevamento predefinito del sistema, inserisci una virgola `,` e fai clic su 'Avanti'.\r\n- **Questa configurazione è globale e le modifiche influenzeranno altre istanze di integrazione. Si prega di modificare con cautela.**\r\n### Controlla le Dipendenze di Rete\r\nControlla una per una le seguenti dipendenze di rete per vedere se sono accessibili. Se gli indirizzi correlati non sono accessibili, causerà problemi di integrazione.\r\n- Indirizzo di Autenticazione OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Indirizzo API HTTP di Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Indirizzo API SPEC di Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Indirizzo del Broker MQTT di Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Indirizzo di Rilevamento della Rete",
|
"network_detect_addr": "Indirizzo di Rilevamento della Rete",
|
||||||
"check_network_deps": "Controlla le Dipendenze di Rete"
|
"check_network_deps": "Controlla le Dipendenze di Rete"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "統合ネットワーク構成",
|
"title": "統合ネットワーク構成",
|
||||||
"description": "## 使用方法の紹介\r\n### ネットワーク検出アドレス\r\nネットワークが正常に機能しているかどうかを確認するために使用されます。設定されていない場合、システムのデフォルトアドレスが使用されます。デフォルトアドレスのチェックが失敗した場合は、カスタムアドレスを入力してみてください。\r\n- 複数の検出アドレスを入力できます。アドレスはコンマで区切ります。例:`8.8.8.8,https://www.bing.com`\r\n- IPアドレスの場合、pingによる検出が行われます。HTTP(s)アドレスの場合、HTTP GETリクエストによる検出が行われます。\r\n- システムのデフォルト検出アドレスを復元する場合は、カンマ `,` を入力して「次へ」をクリックしてください。\r\n- **この設定はグローバルであり、変更は他の統合インスタンスに影響を与えます。慎重に変更してください。**\r\n### ネットワーク依存関係のチェック\r\n次のネットワーク依存関係がアクセス可能かどうかを順番に確認します。関連するアドレスにアクセスできない場合、統合に問題が発生します。\r\n- OAuth2 認証アドレス: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API アドレス: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API アドレス: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT ブローカーアドレス: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## 使用方法の紹介\r\n### ネットワーク検出アドレス\r\nネットワークが正常に機能しているかどうかを確認するために使用されます。設定されていない場合、システムのデフォルトアドレスが使用されます。デフォルトアドレスのチェックが失敗した場合は、カスタムアドレスを入力してみてください。\r\n- 複数の検出アドレスを入力できます。アドレスはコンマで区切ります。例:`8.8.8.8,https://www.bing.com`\r\n- IPアドレスの場合、pingによる検出が行われます。HTTP(s)アドレスの場合、HTTP GETリクエストによる検出が行われます。\r\n- システムのデフォルト検出アドレスを復元する場合は、カンマ `,` を入力して「次へ」をクリックしてください。\r\n- **この設定はグローバルであり、変更は他の統合インスタンスに影響を与えます。慎重に変更してください。**\r\n### ネットワーク依存関係のチェック\r\n次のネットワーク依存関係がアクセス可能かどうかを順番に確認します。関連するアドレスにアクセスできない場合、統合に問題が発生します。\r\n- OAuth2 認証アドレス: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API アドレス: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API アドレス: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT ブローカーアドレス: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "ネットワーク検出アドレス",
|
"network_detect_addr": "ネットワーク検出アドレス",
|
||||||
"check_network_deps": "ネットワーク依存関係のチェック"
|
"check_network_deps": "ネットワーク依存関係のチェック"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "統合ネットワーク構成",
|
"title": "統合ネットワーク構成",
|
||||||
"description": "## 使用方法の紹介\r\n### ネットワーク検出アドレス\r\nネットワークが正常に機能しているかどうかを確認するために使用されます。設定されていない場合、システムのデフォルトアドレスが使用されます。デフォルトアドレスのチェックが失敗した場合は、カスタムアドレスを入力してみてください。\r\n- 複数の検出アドレスを入力できます。アドレスはコンマで区切ります。例:`8.8.8.8,https://www.bing.com`\r\n- IPアドレスの場合、pingによる検出が行われます。HTTP(s)アドレスの場合、HTTP GETリクエストによる検出が行われます。\r\n- システムのデフォルト検出アドレスを復元する場合は、カンマ `,` を入力して「次へ」をクリックしてください。\r\n- **この設定はグローバルであり、変更は他の統合インスタンスに影響を与えます。慎重に変更してください。**\r\n### ネットワーク依存関係のチェック\r\n次のネットワーク依存関係がアクセス可能かどうかを順番に確認します。関連するアドレスにアクセスできない場合、統合に問題が発生します。\r\n- OAuth2 認証アドレス: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API アドレス: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API アドレス: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT ブローカーアドレス: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## 使用方法の紹介\r\n### ネットワーク検出アドレス\r\nネットワークが正常に機能しているかどうかを確認するために使用されます。設定されていない場合、システムのデフォルトアドレスが使用されます。デフォルトアドレスのチェックが失敗した場合は、カスタムアドレスを入力してみてください。\r\n- 複数の検出アドレスを入力できます。アドレスはコンマで区切ります。例:`8.8.8.8,https://www.bing.com`\r\n- IPアドレスの場合、pingによる検出が行われます。HTTP(s)アドレスの場合、HTTP GETリクエストによる検出が行われます。\r\n- システムのデフォルト検出アドレスを復元する場合は、カンマ `,` を入力して「次へ」をクリックしてください。\r\n- **この設定はグローバルであり、変更は他の統合インスタンスに影響を与えます。慎重に変更してください。**\r\n### ネットワーク依存関係のチェック\r\n次のネットワーク依存関係がアクセス可能かどうかを順番に確認します。関連するアドレスにアクセスできない場合、統合に問題が発生します。\r\n- OAuth2 認証アドレス: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API アドレス: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API アドレス: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT ブローカーアドレス: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "ネットワーク検出アドレス",
|
"network_detect_addr": "ネットワーク検出アドレス",
|
||||||
"check_network_deps": "ネットワーク依存関係のチェック"
|
"check_network_deps": "ネットワーク依存関係のチェック"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Geïntegreerde Netwerkconfiguratie",
|
"title": "Geïntegreerde Netwerkconfiguratie",
|
||||||
"description": "## Gebruiksinstructie\r\n### Netwerkdetectieadres\r\nWordt gebruikt om te controleren of het netwerk correct functioneert. Als dit niet is ingesteld, wordt het standaardadres van het systeem gebruikt. Als de standaardadrescontrole mislukt, kunt u proberen een aangepast adres in te voeren.\r\n- U kunt meerdere detectieadressen invoeren, gescheiden door komma's, zoals `8.8.8.8,https://www.bing.com`\r\n- Als het een IP-adres is, wordt de detectie uitgevoerd via ping. Als het een HTTP(s)-adres is, wordt de detectie uitgevoerd via een HTTP GET-verzoek.\r\n- Als u het standaarddetectieadres van het systeem wilt herstellen, voert u een komma `,` in en klikt u op 'Volgende'.\r\n- **Deze configuratie is globaal en wijzigingen zullen andere integratie-instanties beïnvloeden. Wijzig met voorzichtigheid.**\r\n### Controleer Netwerkafhankelijkheden\r\nControleer een voor een de volgende netwerkafhankelijkheden om te zien of ze toegankelijk zijn. Als de gerelateerde adressen niet toegankelijk zijn, zal dit integratieproblemen veroorzaken.\r\n- OAuth2-authenticatieadres: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API-adres: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API-adres: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker-adres: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Gebruiksinstructie\r\n### Netwerkdetectieadres\r\nWordt gebruikt om te controleren of het netwerk correct functioneert. Als dit niet is ingesteld, wordt het standaardadres van het systeem gebruikt. Als de standaardadrescontrole mislukt, kunt u proberen een aangepast adres in te voeren.\r\n- U kunt meerdere detectieadressen invoeren, gescheiden door komma's, zoals `8.8.8.8,https://www.bing.com`\r\n- Als het een IP-adres is, wordt de detectie uitgevoerd via ping. Als het een HTTP(s)-adres is, wordt de detectie uitgevoerd via een HTTP GET-verzoek.\r\n- Als u het standaarddetectieadres van het systeem wilt herstellen, voert u een komma `,` in en klikt u op 'Volgende'.\r\n- **Deze configuratie is globaal en wijzigingen zullen andere integratie-instanties beïnvloeden. Wijzig met voorzichtigheid.**\r\n### Controleer Netwerkafhankelijkheden\r\nControleer een voor een de volgende netwerkafhankelijkheden om te zien of ze toegankelijk zijn. Als de gerelateerde adressen niet toegankelijk zijn, zal dit integratieproblemen veroorzaken.\r\n- OAuth2-authenticatieadres: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API-adres: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API-adres: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker-adres: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Netwerkdetectieadres",
|
"network_detect_addr": "Netwerkdetectieadres",
|
||||||
"check_network_deps": "Controleer Netwerkafhankelijkheden"
|
"check_network_deps": "Controleer Netwerkafhankelijkheden"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Geïntegreerde Netwerkconfiguratie",
|
"title": "Geïntegreerde Netwerkconfiguratie",
|
||||||
"description": "## Gebruiksinstructie\r\n### Netwerkdetectieadres\r\nWordt gebruikt om te controleren of het netwerk correct functioneert. Als dit niet is ingesteld, wordt het standaardadres van het systeem gebruikt. Als de standaardadrescontrole mislukt, kunt u proberen een aangepast adres in te voeren.\r\n- U kunt meerdere detectieadressen invoeren, gescheiden door komma's, zoals `8.8.8.8,https://www.bing.com`\r\n- Als het een IP-adres is, wordt de detectie uitgevoerd via ping. Als het een HTTP(s)-adres is, wordt de detectie uitgevoerd via een HTTP GET-verzoek.\r\n- Als u het standaarddetectieadres van het systeem wilt herstellen, voert u een komma `,` in en klikt u op 'Volgende'.\r\n- **Deze configuratie is globaal en wijzigingen zullen andere integratie-instanties beïnvloeden. Wijzig met voorzichtigheid.**\r\n### Controleer Netwerkafhankelijkheden\r\nControleer een voor een de volgende netwerkafhankelijkheden om te zien of ze toegankelijk zijn. Als de gerelateerde adressen niet toegankelijk zijn, zal dit integratieproblemen veroorzaken.\r\n- OAuth2-authenticatieadres: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API-adres: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API-adres: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker-adres: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Gebruiksinstructie\r\n### Netwerkdetectieadres\r\nWordt gebruikt om te controleren of het netwerk correct functioneert. Als dit niet is ingesteld, wordt het standaardadres van het systeem gebruikt. Als de standaardadrescontrole mislukt, kunt u proberen een aangepast adres in te voeren.\r\n- U kunt meerdere detectieadressen invoeren, gescheiden door komma's, zoals `8.8.8.8,https://www.bing.com`\r\n- Als het een IP-adres is, wordt de detectie uitgevoerd via ping. Als het een HTTP(s)-adres is, wordt de detectie uitgevoerd via een HTTP GET-verzoek.\r\n- Als u het standaarddetectieadres van het systeem wilt herstellen, voert u een komma `,` in en klikt u op 'Volgende'.\r\n- **Deze configuratie is globaal en wijzigingen zullen andere integratie-instanties beïnvloeden. Wijzig met voorzichtigheid.**\r\n### Controleer Netwerkafhankelijkheden\r\nControleer een voor een de volgende netwerkafhankelijkheden om te zien of ze toegankelijk zijn. Als de gerelateerde adressen niet toegankelijk zijn, zal dit integratieproblemen veroorzaken.\r\n- OAuth2-authenticatieadres: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API-adres: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API-adres: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker-adres: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Netwerkdetectieadres",
|
"network_detect_addr": "Netwerkdetectieadres",
|
||||||
"check_network_deps": "Controleer Netwerkafhankelijkheden"
|
"check_network_deps": "Controleer Netwerkafhankelijkheden"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Configuração de Detecção de Rede",
|
"title": "Configuração de Detecção de Rede",
|
||||||
"description": "## Introdução ao Uso\r\n### Endereço de Detecção de Rede\r\nUsado para verificar se a rede está funcionando corretamente. Se não for definido, o endereço padrão do sistema será usado. Se a verificação do endereço padrão falhar, você pode tentar inserir um endereço personalizado.\r\n- Você pode inserir vários endereços de detecção, separados por vírgulas, como `8.8.8.8,https://www.bing.com`\r\n- Se for um endereço IP, a detecção será feita via ping. Se for um endereço HTTP(s), a detecção será feita via solicitação HTTP GET.\r\n- Se você deseja restaurar o endereço de detecção padrão do sistema, insira uma vírgula `,` e clique em 'Próximo'.\r\n- **Esta configuração é global e as alterações afetarão outras instâncias de integração. Modifique com cautela.**\r\n### Verificar Dependências de Rede\r\nVerifique uma por uma as seguintes dependências de rede para ver se são acessíveis. Se os endereços relacionados não forem acessíveis, isso causará problemas de integração.\r\n- Endereço de Autenticação OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Endereço da API HTTP da Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Endereço da API SPEC da Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Endereço do Broker MQTT da Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Introdução ao Uso\r\n### Endereço de Detecção de Rede\r\nUsado para verificar se a rede está funcionando corretamente. Se não for definido, o endereço padrão do sistema será usado. Se a verificação do endereço padrão falhar, você pode tentar inserir um endereço personalizado.\r\n- Você pode inserir vários endereços de detecção, separados por vírgulas, como `8.8.8.8,https://www.bing.com`\r\n- Se for um endereço IP, a detecção será feita via ping. Se for um endereço HTTP(s), a detecção será feita via solicitação HTTP GET.\r\n- Se você deseja restaurar o endereço de detecção padrão do sistema, insira uma vírgula `,` e clique em 'Próximo'.\r\n- **Esta configuração é global e as alterações afetarão outras instâncias de integração. Modifique com cautela.**\r\n### Verificar Dependências de Rede\r\nVerifique uma por uma as seguintes dependências de rede para ver se são acessíveis. Se os endereços relacionados não forem acessíveis, isso causará problemas de integração.\r\n- Endereço de Autenticação OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Endereço da API HTTP da Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Endereço da API SPEC da Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Endereço do Broker MQTT da Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Endereço de Detecção de Rede",
|
"network_detect_addr": "Endereço de Detecção de Rede",
|
||||||
"check_network_deps": "Verificar Dependências de Rede"
|
"check_network_deps": "Verificar Dependências de Rede"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Configuração de Detecção de Rede",
|
"title": "Configuração de Detecção de Rede",
|
||||||
"description": "## Introdução ao Uso\r\n### Endereço de Detecção de Rede\r\nUsado para verificar se a rede está funcionando corretamente. Se não for definido, o endereço padrão do sistema será usado. Se a verificação do endereço padrão falhar, você pode tentar inserir um endereço personalizado.\r\n- Você pode inserir vários endereços de detecção, separados por vírgulas, como `8.8.8.8,https://www.bing.com`\r\n- Se for um endereço IP, a detecção será feita via ping. Se for um endereço HTTP(s), a detecção será feita via solicitação HTTP GET.\r\n- Se você deseja restaurar o endereço de detecção padrão do sistema, insira uma vírgula `,` e clique em 'Próximo'.\r\n- **Esta configuração é global e as alterações afetarão outras instâncias de integração. Modifique com cautela.**\r\n### Verificar Dependências de Rede\r\nVerifique uma por uma as seguintes dependências de rede para ver se são acessíveis. Se os endereços relacionados não forem acessíveis, isso causará problemas de integração.\r\n- Endereço de Autenticação OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Endereço da API HTTP da Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Endereço da API SPEC da Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Endereço do Broker MQTT da Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Introdução ao Uso\r\n### Endereço de Detecção de Rede\r\nUsado para verificar se a rede está funcionando corretamente. Se não for definido, o endereço padrão do sistema será usado. Se a verificação do endereço padrão falhar, você pode tentar inserir um endereço personalizado.\r\n- Você pode inserir vários endereços de detecção, separados por vírgulas, como `8.8.8.8,https://www.bing.com`\r\n- Se for um endereço IP, a detecção será feita via ping. Se for um endereço HTTP(s), a detecção será feita via solicitação HTTP GET.\r\n- Se você deseja restaurar o endereço de detecção padrão do sistema, insira uma vírgula `,` e clique em 'Próximo'.\r\n- **Esta configuração é global e as alterações afetarão outras instâncias de integração. Modifique com cautela.**\r\n### Verificar Dependências de Rede\r\nVerifique uma por uma as seguintes dependências de rede para ver se são acessíveis. Se os endereços relacionados não forem acessíveis, isso causará problemas de integração.\r\n- Endereço de Autenticação OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Endereço da API HTTP da Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Endereço da API SPEC da Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Endereço do Broker MQTT da Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Endereço de Detecção de Rede",
|
"network_detect_addr": "Endereço de Detecção de Rede",
|
||||||
"check_network_deps": "Verificar Dependências de Rede"
|
"check_network_deps": "Verificar Dependências de Rede"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Configuração de Rede Integrada",
|
"title": "Configuração de Rede Integrada",
|
||||||
"description": "## Introdução ao Uso\r\n### Endereço de Detecção de Rede\r\nUsado para verificar se a rede está funcionando corretamente. Se não for definido, o endereço padrão do sistema será usado. Se a verificação do endereço padrão falhar, você pode tentar inserir um endereço personalizado.\r\n- Você pode inserir vários endereços de detecção, separados por vírgulas, como `8.8.8.8,https://www.bing.com`\r\n- Se for um endereço IP, a detecção será feita via ping. Se for um endereço HTTP(s), a detecção será feita via solicitação HTTP GET.\r\n- Se você deseja restaurar o endereço de detecção padrão do sistema, insira uma vírgula `,` e clique em 'Próximo'.\r\n- **Esta configuração é global e as alterações afetarão outras instâncias de integração. Modifique com cautela.**\r\n### Verificar Dependências de Rede\r\nVerifique uma por uma as seguintes dependências de rede para ver se são acessíveis. Se os endereços relacionados não forem acessíveis, isso causará problemas de integração.\r\n- Endereço de Autenticação OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Endereço da API HTTP da Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Endereço da API SPEC da Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Endereço do Broker MQTT da Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Introdução ao Uso\r\n### Endereço de Detecção de Rede\r\nUsado para verificar se a rede está funcionando corretamente. Se não for definido, o endereço padrão do sistema será usado. Se a verificação do endereço padrão falhar, você pode tentar inserir um endereço personalizado.\r\n- Você pode inserir vários endereços de detecção, separados por vírgulas, como `8.8.8.8,https://www.bing.com`\r\n- Se for um endereço IP, a detecção será feita via ping. Se for um endereço HTTP(s), a detecção será feita via solicitação HTTP GET.\r\n- Se você deseja restaurar o endereço de detecção padrão do sistema, insira uma vírgula `,` e clique em 'Próximo'.\r\n- **Esta configuração é global e as alterações afetarão outras instâncias de integração. Modifique com cautela.**\r\n### Verificar Dependências de Rede\r\nVerifique uma por uma as seguintes dependências de rede para ver se são acessíveis. Se os endereços relacionados não forem acessíveis, isso causará problemas de integração.\r\n- Endereço de Autenticação OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Endereço da API HTTP da Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Endereço da API SPEC da Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Endereço do Broker MQTT da Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Endereço de Detecção de Rede",
|
"network_detect_addr": "Endereço de Detecção de Rede",
|
||||||
"check_network_deps": "Verificar Dependências de Rede"
|
"check_network_deps": "Verificar Dependências de Rede"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Configuração de Rede Integrada",
|
"title": "Configuração de Rede Integrada",
|
||||||
"description": "## Introdução ao Uso\r\n### Endereço de Detecção de Rede\r\nUsado para verificar se a rede está funcionando corretamente. Se não for definido, o endereço padrão do sistema será usado. Se a verificação do endereço padrão falhar, você pode tentar inserir um endereço personalizado.\r\n- Você pode inserir vários endereços de detecção, separados por vírgulas, como `8.8.8.8,https://www.bing.com`\r\n- Se for um endereço IP, a detecção será feita via ping. Se for um endereço HTTP(s), a detecção será feita via solicitação HTTP GET.\r\n- Se você deseja restaurar o endereço de detecção padrão do sistema, insira uma vírgula `,` e clique em 'Próximo'.\r\n- **Esta configuração é global e as alterações afetarão outras instâncias de integração. Modifique com cautela.**\r\n### Verificar Dependências de Rede\r\nVerifique uma por uma as seguintes dependências de rede para ver se são acessíveis. Se os endereços relacionados não forem acessíveis, isso causará problemas de integração.\r\n- Endereço de Autenticação OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Endereço da API HTTP da Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Endereço da API SPEC da Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Endereço do Broker MQTT da Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Introdução ao Uso\r\n### Endereço de Detecção de Rede\r\nUsado para verificar se a rede está funcionando corretamente. Se não for definido, o endereço padrão do sistema será usado. Se a verificação do endereço padrão falhar, você pode tentar inserir um endereço personalizado.\r\n- Você pode inserir vários endereços de detecção, separados por vírgulas, como `8.8.8.8,https://www.bing.com`\r\n- Se for um endereço IP, a detecção será feita via ping. Se for um endereço HTTP(s), a detecção será feita via solicitação HTTP GET.\r\n- Se você deseja restaurar o endereço de detecção padrão do sistema, insira uma vírgula `,` e clique em 'Próximo'.\r\n- **Esta configuração é global e as alterações afetarão outras instâncias de integração. Modifique com cautela.**\r\n### Verificar Dependências de Rede\r\nVerifique uma por uma as seguintes dependências de rede para ver se são acessíveis. Se os endereços relacionados não forem acessíveis, isso causará problemas de integração.\r\n- Endereço de Autenticação OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Endereço da API HTTP da Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Endereço da API SPEC da Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Endereço do Broker MQTT da Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Endereço de Detecção de Rede",
|
"network_detect_addr": "Endereço de Detecção de Rede",
|
||||||
"check_network_deps": "Verificar Dependências de Rede"
|
"check_network_deps": "Verificar Dependências de Rede"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Интегрированная Сетевая Конфигурация",
|
"title": "Интегрированная Сетевая Конфигурация",
|
||||||
"description": "## Введение в Использование\r\n### Адрес Обнаружения Сети\r\nИспользуется для проверки работоспособности сети. Если не задано, будет использоваться адрес по умолчанию. Если проверка адреса по умолчанию не удалась, вы можете попробовать ввести пользовательский адрес.\r\n- Вы можете ввести несколько адресов для проверки, разделенных запятыми, например `8.8.8.8,https://www.bing.com`\r\n- Если это IP-адрес, проверка будет выполняться с помощью ping. Если это HTTP(s)-адрес, проверка будет выполняться с помощью HTTP GET запроса.\r\n- Если вы хотите восстановить адрес обнаружения по умолчанию, введите запятую `,` и нажмите 'Далее'.\r\n- **Эта конфигурация является глобальной, и изменения повлияют на другие экземпляры интеграции. Пожалуйста, изменяйте с осторожностью.**\r\n### Проверка Сетевых Зависимостей\r\nПроверьте поочередно следующие сетевые зависимости, чтобы убедиться, что они доступны. Если соответствующие адреса недоступны, это приведет к проблемам с интеграцией.\r\n- Адрес аутентификации OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Адрес HTTP API Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Адрес SPEC API Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Адрес MQTT брокера Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Введение в Использование\r\n### Адрес Обнаружения Сети\r\nИспользуется для проверки работоспособности сети. Если не задано, будет использоваться адрес по умолчанию. Если проверка адреса по умолчанию не удалась, вы можете попробовать ввести пользовательский адрес.\r\n- Вы можете ввести несколько адресов для проверки, разделенных запятыми, например `8.8.8.8,https://www.bing.com`\r\n- Если это IP-адрес, проверка будет выполняться с помощью ping. Если это HTTP(s)-адрес, проверка будет выполняться с помощью HTTP GET запроса.\r\n- Если вы хотите восстановить адрес обнаружения по умолчанию, введите запятую `,` и нажмите 'Далее'.\r\n- **Эта конфигурация является глобальной, и изменения повлияют на другие экземпляры интеграции. Пожалуйста, изменяйте с осторожностью.**\r\n### Проверка Сетевых Зависимостей\r\nПроверьте поочередно следующие сетевые зависимости, чтобы убедиться, что они доступны. Если соответствующие адреса недоступны, это приведет к проблемам с интеграцией.\r\n- Адрес аутентификации OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Адрес HTTP API Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Адрес SPEC API Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Адрес MQTT брокера Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Адрес Обнаружения Сети",
|
"network_detect_addr": "Адрес Обнаружения Сети",
|
||||||
"check_network_deps": "Проверка Сетевых Зависимостей"
|
"check_network_deps": "Проверка Сетевых Зависимостей"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Интегрированная Сетевая Конфигурация",
|
"title": "Интегрированная Сетевая Конфигурация",
|
||||||
"description": "## Введение в Использование\r\n### Адрес Обнаружения Сети\r\nИспользуется для проверки работоспособности сети. Если не задано, будет использоваться адрес по умолчанию. Если проверка адреса по умолчанию не удалась, вы можете попробовать ввести пользовательский адрес.\r\n- Вы можете ввести несколько адресов для проверки, разделенных запятыми, например `8.8.8.8,https://www.bing.com`\r\n- Если это IP-адрес, проверка будет выполняться с помощью ping. Если это HTTP(s)-адрес, проверка будет выполняться с помощью HTTP GET запроса.\r\n- Если вы хотите восстановить адрес обнаружения по умолчанию, введите запятую `,` и нажмите 'Далее'.\r\n- **Эта конфигурация является глобальной, и изменения повлияют на другие экземпляры интеграции. Пожалуйста, изменяйте с осторожностью.**\r\n### Проверка Сетевых Зависимостей\r\nПроверьте поочередно следующие сетевые зависимости, чтобы убедиться, что они доступны. Если соответствующие адреса недоступны, это приведет к проблемам с интеграцией.\r\n- Адрес аутентификации OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Адрес HTTP API Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Адрес SPEC API Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Адрес MQTT брокера Xiaomi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Введение в Использование\r\n### Адрес Обнаружения Сети\r\nИспользуется для проверки работоспособности сети. Если не задано, будет использоваться адрес по умолчанию. Если проверка адреса по умолчанию не удалась, вы можете попробовать ввести пользовательский адрес.\r\n- Вы можете ввести несколько адресов для проверки, разделенных запятыми, например `8.8.8.8,https://www.bing.com`\r\n- Если это IP-адрес, проверка будет выполняться с помощью ping. Если это HTTP(s)-адрес, проверка будет выполняться с помощью HTTP GET запроса.\r\n- Если вы хотите восстановить адрес обнаружения по умолчанию, введите запятую `,` и нажмите 'Далее'.\r\n- **Эта конфигурация является глобальной, и изменения повлияют на другие экземпляры интеграции. Пожалуйста, изменяйте с осторожностью.**\r\n### Проверка Сетевых Зависимостей\r\nПроверьте поочередно следующие сетевые зависимости, чтобы убедиться, что они доступны. Если соответствующие адреса недоступны, это приведет к проблемам с интеграцией.\r\n- Адрес аутентификации OAuth2: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Адрес HTTP API Xiaomi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Адрес SPEC API Xiaomi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Адрес MQTT брокера Xiaomi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Адрес Обнаружения Сети",
|
"network_detect_addr": "Адрес Обнаружения Сети",
|
||||||
"check_network_deps": "Проверка Сетевых Зависимостей"
|
"check_network_deps": "Проверка Сетевых Зависимостей"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Entegre Ağ Yapılandırması",
|
"title": "Entegre Ağ Yapılandırması",
|
||||||
"description": "## Kullanım Tanıtımı\r\n### Ağ Algılama Adresi\r\nAğın düzgün çalışıp çalışmadığını kontrol etmek için kullanılır. Ayarlanmazsa, sistem varsayılan adresi kullanılacaktır. Varsayılan adres kontrolü başarısız olursa, özel bir adres girmeyi deneyebilirsiniz.\r\n- Virgülle ayrılmış birden fazla algılama adresi girebilirsiniz, örneğin `8.8.8.8,https://www.bing.com`\r\n- Bir IP adresi ise, algılama ping üzerinden yapılacaktır. Bir HTTP(s) adresi ise, algılama HTTP GET isteği üzerinden yapılacaktır.\r\n- Sistem varsayılan algılama adresini geri yüklemek istiyorsanız, lütfen bir virgül `,` girin ve 'İleri'ye tıklayın.\r\n- **Bu yapılandırma geneldir ve değişiklikler diğer entegrasyon örneklerini etkileyecektir. Lütfen dikkatli değiştirin.**\r\n### Ağ Bağımlılıklarını Kontrol Et\r\nAşağıdaki ağ bağımlılıklarının erişilebilir olup olmadığını tek tek kontrol edin. İlgili adresler erişilebilir değilse, entegrasyon sorunlarına neden olacaktır.\r\n- OAuth2 Kimlik Doğrulama Adresi: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API Adresi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API Adresi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker Adresi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Kullanım Tanıtımı\r\n### Ağ Algılama Adresi\r\nAğın düzgün çalışıp çalışmadığını kontrol etmek için kullanılır. Ayarlanmazsa, sistem varsayılan adresi kullanılacaktır. Varsayılan adres kontrolü başarısız olursa, özel bir adres girmeyi deneyebilirsiniz.\r\n- Virgülle ayrılmış birden fazla algılama adresi girebilirsiniz, örneğin `8.8.8.8,https://www.bing.com`\r\n- Bir IP adresi ise, algılama ping üzerinden yapılacaktır. Bir HTTP(s) adresi ise, algılama HTTP GET isteği üzerinden yapılacaktır.\r\n- Sistem varsayılan algılama adresini geri yüklemek istiyorsanız, lütfen bir virgül `,` girin ve 'İleri'ye tıklayın.\r\n- **Bu yapılandırma geneldir ve değişiklikler diğer entegrasyon örneklerini etkileyecektir. Lütfen dikkatli değiştirin.**\r\n### Ağ Bağımlılıklarını Kontrol Et\r\nAşağıdaki ağ bağımlılıklarının erişilebilir olup olmadığını tek tek kontrol edin. İlgili adresler erişilebilir değilse, entegrasyon sorunlarına neden olacaktır.\r\n- OAuth2 Kimlik Doğrulama Adresi: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API Adresi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API Adresi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker Adresi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Ağ Algılama Adresi",
|
"network_detect_addr": "Ağ Algılama Adresi",
|
||||||
"check_network_deps": "Ağ Bağımlılıklarını Kontrol Et"
|
"check_network_deps": "Ağ Bağımlılıklarını Kontrol Et"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "Entegre Ağ Yapılandırması",
|
"title": "Entegre Ağ Yapılandırması",
|
||||||
"description": "## Kullanım Tanıtımı\r\n### Ağ Algılama Adresi\r\nAğın düzgün çalışıp çalışmadığını kontrol etmek için kullanılır. Ayarlanmazsa, sistem varsayılan adresi kullanılacaktır. Varsayılan adres kontrolü başarısız olursa, özel bir adres girmeyi deneyebilirsiniz.\r\n- Virgülle ayrılmış birden fazla algılama adresi girebilirsiniz, örneğin `8.8.8.8,https://www.bing.com`\r\n- Bir IP adresi ise, algılama ping üzerinden yapılacaktır. Bir HTTP(s) adresi ise, algılama HTTP GET isteği üzerinden yapılacaktır.\r\n- Sistem varsayılan algılama adresini geri yüklemek istiyorsanız, lütfen bir virgül `,` girin ve 'İleri'ye tıklayın.\r\n- **Bu yapılandırma geneldir ve değişiklikler diğer entegrasyon örneklerini etkileyecektir. Lütfen dikkatli değiştirin.**\r\n### Ağ Bağımlılıklarını Kontrol Et\r\nAşağıdaki ağ bağımlılıklarının erişilebilir olup olmadığını tek tek kontrol edin. İlgili adresler erişilebilir değilse, entegrasyon sorunlarına neden olacaktır.\r\n- OAuth2 Kimlik Doğrulama Adresi: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API Adresi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API Adresi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker Adresi: `mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`.",
|
"description": "## Kullanım Tanıtımı\r\n### Ağ Algılama Adresi\r\nAğın düzgün çalışıp çalışmadığını kontrol etmek için kullanılır. Ayarlanmazsa, sistem varsayılan adresi kullanılacaktır. Varsayılan adres kontrolü başarısız olursa, özel bir adres girmeyi deneyebilirsiniz.\r\n- Virgülle ayrılmış birden fazla algılama adresi girebilirsiniz, örneğin `8.8.8.8,https://www.bing.com`\r\n- Bir IP adresi ise, algılama ping üzerinden yapılacaktır. Bir HTTP(s) adresi ise, algılama HTTP GET isteği üzerinden yapılacaktır.\r\n- Sistem varsayılan algılama adresini geri yüklemek istiyorsanız, lütfen bir virgül `,` girin ve 'İleri'ye tıklayın.\r\n- **Bu yapılandırma geneldir ve değişiklikler diğer entegrasyon örneklerini etkileyecektir. Lütfen dikkatli değiştirin.**\r\n### Ağ Bağımlılıklarını Kontrol Et\r\nAşağıdaki ağ bağımlılıklarının erişilebilir olup olmadığını tek tek kontrol edin. İlgili adresler erişilebilir değilse, entegrasyon sorunlarına neden olacaktır.\r\n- OAuth2 Kimlik Doğrulama Adresi: `https://account.xiaomi.com/oauth2/authorize`.\r\n- Xiaomi HTTP API Adresi: `https://{http_host}/app/v2/ha/oauth/get_token`.\r\n- Xiaomi SPEC API Adresi: `https://miot-spec.org/miot-spec-v2/template/list/device`.\r\n- Xiaomi MQTT Broker Adresi: `mqtts://{broker_host}`.",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "Ağ Algılama Adresi",
|
"network_detect_addr": "Ağ Algılama Adresi",
|
||||||
"check_network_deps": "Ağ Bağımlılıklarını Kontrol Et"
|
"check_network_deps": "Ağ Bağımlılıklarını Kontrol Et"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "网络检测配置",
|
"title": "网络检测配置",
|
||||||
"description": "## 使用介绍\r\n### 网络检测地址\r\n用于检测网络是否正常,未设置时将使用系统默认地址检测。如果默认地址检测异常时,可尝试输入可用的自定义地址检测。\r\n- 可输入多个检测地址,地址之间使用`,`号间隔,如`8.8.8.8,https://www.bing.com`\r\n- 如果为IP地址,将采用ping方式检测,如果为http(s)地址,将采用 HTTP GET 访问该地址检测。\r\n- 如果想恢复系统默认检测地址,请输入`,`号,然后点击'下一步'。\r\n- **该配置为全局配置,修改会影响其它集成实例的网络检测,请谨慎修改。**\r\n### 检测网络依赖项\r\n依次检查下述网络依赖项是否可访问。如果相关地址无法访问,将会导致集成异常。\r\n- OAuth2 认证地址:`https://account.xiaomi.com/oauth2/authorize`。\r\n- 小米 HTTP API 地址:`https://{http_host}/app/v2/ha/oauth/get_token`。\r\n- 小米 SPEC API 地址:`https://miot-spec.org/miot-spec-v2/template/list/device`。\r\n- 小米 MQTT Broker 地址:`mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`。",
|
"description": "## 使用介绍\r\n### 网络检测地址\r\n用于检测网络是否正常,未设置时将使用系统默认地址检测。如果默认地址检测异常时,可尝试输入可用的自定义地址检测。\r\n- 可输入多个检测地址,地址之间使用`,`号间隔,如`8.8.8.8,https://www.bing.com`\r\n- 如果为IP地址,将采用ping方式检测,如果为http(s)地址,将采用 HTTP GET 访问该地址检测。\r\n- 如果想恢复系统默认检测地址,请输入`,`号,然后点击'下一步'。\r\n- **该配置为全局配置,修改会影响其它集成实例的网络检测,请谨慎修改。**\r\n### 检测网络依赖项\r\n依次检查下述网络依赖项是否可访问。如果相关地址无法访问,将会导致集成异常。\r\n- OAuth2 认证地址:`https://account.xiaomi.com/oauth2/authorize`。\r\n- 小米 HTTP API 地址:`https://{http_host}/app/v2/ha/oauth/get_token`。\r\n- 小米 SPEC API 地址:`https://miot-spec.org/miot-spec-v2/template/list/device`。\r\n- 小米 MQTT Broker 地址:`mqtts://{broker_host}`。",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "网络检测地址",
|
"network_detect_addr": "网络检测地址",
|
||||||
"check_network_deps": "检测网络依赖项"
|
"check_network_deps": "检测网络依赖项"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "网络检测配置",
|
"title": "网络检测配置",
|
||||||
"description": "## 使用介绍\r\n### 网络检测地址\r\n用于检测网络是否正常,未设置时将使用系统默认地址检测。如果默认地址检测异常时,可尝试输入可用的自定义地址检测。\r\n- 可输入多个检测地址,地址之间使用`,`号间隔,如`8.8.8.8,https://www.bing.com`\r\n- 如果为IP地址,将采用ping方式检测,如果为http(s)地址,将采用 HTTP GET 访问该地址检测。\r\n- 如果想恢复系统默认检测地址,请输入`,`号,然后点击'下一步'。\r\n- **该配置为全局配置,修改会影响其它集成实例的网络检测,请谨慎修改。**\r\n### 检测网络依赖项\r\n依次检查下述网络依赖项是否可访问。如果相关地址无法访问,将会导致集成异常。\r\n- OAuth2 认证地址:`https://account.xiaomi.com/oauth2/authorize`。\r\n- 小米 HTTP API 地址:`https://{http_host}/app/v2/ha/oauth/get_token`。\r\n- 小米 SPEC API 地址:`https://miot-spec.org/miot-spec-v2/template/list/device`。\r\n- 小米 MQTT Broker 地址:`mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`。",
|
"description": "## 使用介绍\r\n### 网络检测地址\r\n用于检测网络是否正常,未设置时将使用系统默认地址检测。如果默认地址检测异常时,可尝试输入可用的自定义地址检测。\r\n- 可输入多个检测地址,地址之间使用`,`号间隔,如`8.8.8.8,https://www.bing.com`\r\n- 如果为IP地址,将采用ping方式检测,如果为http(s)地址,将采用 HTTP GET 访问该地址检测。\r\n- 如果想恢复系统默认检测地址,请输入`,`号,然后点击'下一步'。\r\n- **该配置为全局配置,修改会影响其它集成实例的网络检测,请谨慎修改。**\r\n### 检测网络依赖项\r\n依次检查下述网络依赖项是否可访问。如果相关地址无法访问,将会导致集成异常。\r\n- OAuth2 认证地址:`https://account.xiaomi.com/oauth2/authorize`。\r\n- 小米 HTTP API 地址:`https://{http_host}/app/v2/ha/oauth/get_token`。\r\n- 小米 SPEC API 地址:`https://miot-spec.org/miot-spec-v2/template/list/device`。\r\n- 小米 MQTT Broker 地址:`mqtts://{broker_host}`。",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "网络检测地址",
|
"network_detect_addr": "网络检测地址",
|
||||||
"check_network_deps": "检测网络依赖项"
|
"check_network_deps": "检测网络依赖项"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "集成網絡配置",
|
"title": "集成網絡配置",
|
||||||
"description": "## 使用介紹\r\n### 網絡檢測地址\r\n用於檢測網絡是否正常,未設置時將使用系統默認地址檢測。如果默認地址檢測異常時,可嘗試輸入可用的自定義地址檢測。\r\n- 可輸入多個檢測地址,地址之間使用`,`號間隔,如`8.8.8.8,https://www.bing.com`\r\n- 如果為IP地址,將採用ping方式檢測,如果為http(s)地址,將採用 HTTP GET 訪問該地址檢測。\r\n- 如果想恢復系統默認檢測地址,請輸入`,`號,然後點擊'下一步'。\r\n- **該配置為全局配置,修改會影響其它集成實例的網絡檢測,請謹慎修改。**\r\n### 檢測網絡依賴項\r\n依次檢查下述網絡依賴項是否可訪問。如果相關地址無法訪問,將會導致集成異常。\r\n- OAuth2 認證地址:`https://account.xiaomi.com/oauth2/authorize`。\r\n- 小米 HTTP API 地址:`https://{http_host}/app/v2/ha/oauth/get_token`。\r\n- 小米 SPEC API 地址:`https://miot-spec.org/miot-spec-v2/template/list/device`。\r\n- 小米 MQTT Broker 地址:`mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`。",
|
"description": "## 使用介紹\r\n### 網絡檢測地址\r\n用於檢測網絡是否正常,未設置時將使用系統默認地址檢測。如果默認地址檢測異常時,可嘗試輸入可用的自定義地址檢測。\r\n- 可輸入多個檢測地址,地址之間使用`,`號間隔,如`8.8.8.8,https://www.bing.com`\r\n- 如果為IP地址,將採用ping方式檢測,如果為http(s)地址,將採用 HTTP GET 訪問該地址檢測。\r\n- 如果想恢復系統默認檢測地址,請輸入`,`號,然後點擊'下一步'。\r\n- **該配置為全局配置,修改會影響其它集成實例的網絡檢測,請謹慎修改。**\r\n### 檢測網絡依賴項\r\n依次檢查下述網絡依賴項是否可訪問。如果相關地址無法訪問,將會導致集成異常。\r\n- OAuth2 認證地址:`https://account.xiaomi.com/oauth2/authorize`。\r\n- 小米 HTTP API 地址:`https://{http_host}/app/v2/ha/oauth/get_token`。\r\n- 小米 SPEC API 地址:`https://miot-spec.org/miot-spec-v2/template/list/device`。\r\n- 小米 MQTT Broker 地址:`mqtts://{broker_host}`。",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "網絡檢測地址",
|
"network_detect_addr": "網絡檢測地址",
|
||||||
"check_network_deps": "檢測網絡依賴項"
|
"check_network_deps": "檢測網絡依賴項"
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
},
|
},
|
||||||
"network_detect_config": {
|
"network_detect_config": {
|
||||||
"title": "集成網絡配置",
|
"title": "集成網絡配置",
|
||||||
"description": "## 使用介紹\r\n### 網絡檢測地址\r\n用於檢測網絡是否正常,未設置時將使用系統默認地址檢測。如果默認地址檢測異常時,可嘗試輸入可用的自定義地址檢測。\r\n- 可輸入多個檢測地址,地址之間使用`,`號間隔,如`8.8.8.8,https://www.bing.com`\r\n- 如果為IP地址,將採用ping方式檢測,如果為http(s)地址,將採用 HTTP GET 訪問該地址檢測。\r\n- 如果想恢復系統默認檢測地址,請輸入`,`號,然後點擊'下一步'。\r\n- **該配置為全局配置,修改會影響其它集成實例的網絡檢測,請謹慎修改。**\r\n### 檢測網絡依賴項\r\n依次檢查下述網絡依賴項是否可訪問。如果相關地址無法訪問,將會導致集成異常。\r\n- OAuth2 認證地址:`https://account.xiaomi.com/oauth2/authorize`。\r\n- 小米 HTTP API 地址:`https://{http_host}/app/v2/ha/oauth/get_token`。\r\n- 小米 SPEC API 地址:`https://miot-spec.org/miot-spec-v2/template/list/device`。\r\n- 小米 MQTT Broker 地址:`mqtts://{cloud_server}-ha.mqtt.io.mi.com:8883`。",
|
"description": "## 使用介紹\r\n### 網絡檢測地址\r\n用於檢測網絡是否正常,未設置時將使用系統默認地址檢測。如果默認地址檢測異常時,可嘗試輸入可用的自定義地址檢測。\r\n- 可輸入多個檢測地址,地址之間使用`,`號間隔,如`8.8.8.8,https://www.bing.com`\r\n- 如果為IP地址,將採用ping方式檢測,如果為http(s)地址,將採用 HTTP GET 訪問該地址檢測。\r\n- 如果想恢復系統默認檢測地址,請輸入`,`號,然後點擊'下一步'。\r\n- **該配置為全局配置,修改會影響其它集成實例的網絡檢測,請謹慎修改。**\r\n### 檢測網絡依賴項\r\n依次檢查下述網絡依賴項是否可訪問。如果相關地址無法訪問,將會導致集成異常。\r\n- OAuth2 認證地址:`https://account.xiaomi.com/oauth2/authorize`。\r\n- 小米 HTTP API 地址:`https://{http_host}/app/v2/ha/oauth/get_token`。\r\n- 小米 SPEC API 地址:`https://miot-spec.org/miot-spec-v2/template/list/device`。\r\n- 小米 MQTT Broker 地址:`mqtts://{broker_host}`。",
|
||||||
"data": {
|
"data": {
|
||||||
"network_detect_addr": "網絡檢測地址",
|
"network_detect_addr": "網絡檢測地址",
|
||||||
"check_network_deps": "檢測網絡依賴項"
|
"check_network_deps": "檢測網絡依賴項"
|
||||||
|
|||||||
@@ -93,11 +93,11 @@ git checkout v1.0.0
|
|||||||
|
|
||||||
- 米家集成是否支持本地化控制?
|
- 米家集成是否支持本地化控制?
|
||||||
|
|
||||||
米家集成支持通过[小米中枢网关](https://www.mi.com/shop/buy/detail?product_id=15755&cfrom=search)(固件版本 3.3.0_0023 及以上)或内置中枢网关(软件版本 0.8.9 及以上)的米家设备实现本地化控制。如果没有小米中枢网关或其他带中枢网关功能的设备,那么所有控制指令都会通过小米云发送。支持 Home Assistant 本地化控制的小米中枢网关(含内置中枢网关)的固件尚未发布,固件升级计划请参阅 MIoT 团队的通知。
|
米家集成支持通过[小米中枢网关](https://www.mi.com/shop/buy/detail?product_id=15755&cfrom=search)(固件版本 3.3.0_0023 及以上)或[内置中枢网关](https://github.com/XiaoMi/ha_xiaomi_home/wiki/Central-hub-gateway-device-models)(软件版本 0.8.9 及以上)的米家设备实现本地化控制。如果没有小米中枢网关或其他带中枢网关功能的设备,那么所有控制指令都会通过小米云发送。支持 Home Assistant 本地化控制的小米中枢网关(含内置中枢网关)的固件已发布。
|
||||||
|
|
||||||
小米中枢网关仅在中国大陆可用,在其他地区不可用。
|
小米中枢网关仅在中国大陆可用,在其他地区不可用。
|
||||||
|
|
||||||
米家集成也能通过开启小米局域网控制功能实现部分本地化控制效果。小米局域网控制功能只能控制与 Home Assistant 处于同一局域网内的 IP 设备(使用 WiFi、网线连接路由器的设备),无法控制蓝牙 Mesh、ZigBee 等协议接入的设备。该功能可能会引起一些异常,我们建议不要使用该功能。小米局域网控制功能开启方法:[设置 > 设备与服务 > 已配置 > Xiaomi Home](https://my.home-assistant.io/redirect/integration/?domain=xiaomi_home) > 配置 > 更新局域网控制配置
|
米家集成也能通过开启小米局域网控制功能实现部分本地化控制效果。小米局域网控制功能只能控制与 Home Assistant 处于同一局域网内的 IP 设备(使用 WiFi、网线连接路由器的设备),无法控制蓝牙 Mesh、ZigBee 等协议接入的设备。该功能可能会引起一些异常,我们建议不要使用该功能。小米局域网控制功能开启方法:[设置 > 设备与服务 > 已配置 > Xiaomi Home](https://my.home-assistant.io/redirect/integration/?domain=xiaomi_home) > 配置 > 更新局域网控制配置。
|
||||||
|
|
||||||
小米局域网控制功能不受地区限制,在全球范围内均可用。如果 Home Assistant 所在的局域网内存在中枢网关,那么即便米家集成开启了小米局域网控制功能,该功能也不会生效。
|
小米局域网控制功能不受地区限制,在全球范围内均可用。如果 Home Assistant 所在的局域网内存在中枢网关,那么即便米家集成开启了小米局域网控制功能,该功能也不会生效。
|
||||||
|
|
||||||
@@ -386,6 +386,7 @@ siid、piid、eiid、aiid、value 均为十进制三位整数。
|
|||||||
- 贡献指南: [English](../CONTRIBUTING.md) | [简体中文](./CONTRIBUTING_zh.md)
|
- 贡献指南: [English](../CONTRIBUTING.md) | [简体中文](./CONTRIBUTING_zh.md)
|
||||||
- [更新日志](../CHANGELOG.md)
|
- [更新日志](../CHANGELOG.md)
|
||||||
- 开发文档: https://developers.home-assistant.io/docs/creating_component_index
|
- 开发文档: https://developers.home-assistant.io/docs/creating_component_index
|
||||||
|
- [常见问题](https://github.com/XiaoMi/ha_xiaomi_home/wiki)
|
||||||
|
|
||||||
## 目录结构
|
## 目录结构
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user