Bonjour,
Je viens d’intégrer le module Sonoff SNZB-02P sans problème.
Par contre, la température n’affiche que la partie entière, pas de virgule ni de chiffre derrière la virgule.
Cela me gêne car j’ai besoin de plus de précision.
A priori, quand j’accède à la page web z2m, c’est pareil, le module n’affiche que la partie entière.
Pourtant, quand je vais sur le site DOM… la précision est de 0.2°C et une copie d’écran montre 22.6°C
Si quelqu’un a une idée, je suis preneur
Je suis tout en dernière version.
Bonjour,
Dans le plugin z2m sélectionner l’équipement, [configuration du module], onglet configuration et il alors possible de régler le pb soulevé.
Bonne soirée
Merci pour ton retour
Malheureusement, je crois que tout est correct
Voici plus de détails
{
"date_code": "20230821",
"definition": {
"description": "Temperature and humidity sensor",
"exposes": [
{
"access": 5,
"category": "diagnostic",
"description": "Remaining battery in %",
"label": "Battery",
"name": "battery",
"property": "battery",
"type": "numeric",
"unit": "%",
"value_max": 100,
"value_min": 0
},
{
"access": 5,
"description": "Measured temperature value",
"label": "Temperature",
"name": "temperature",
"property": "temperature",
"type": "numeric",
"unit": "\u00b0C"
},
{
"access": 5,
"description": "Measured relative humidity",
"label": "Humidity",
"name": "humidity",
"property": "humidity",
"type": "numeric",
"unit": "%"
},
{
"access": 1,
"category": "diagnostic",
"description": "Link quality (signal strength)",
"label": "Linkquality",
"name": "linkquality",
"property": "linkquality",
"type": "numeric",
"unit": "lqi",
"value_max": 255,
"value_min": 0
}
],
"model": "SNZB-02P",
"options": [
{
"access": 2,
"description": "Calibrates the temperature value (absolute offset), takes into effect on next report of device.",
"label": "Temperature calibration",
"name": "temperature_calibration",
"property": "temperature_calibration",
"type": "numeric"
},
{
"access": 2,
"description": "Number of digits after decimal point for temperature, takes into effect on next report of device. This option can only decrease the precision, not increase it.",
"label": "Temperature precision",
"name": "temperature_precision",
"property": "temperature_precision",
"type": "numeric",
"value_max": 3,
"value_min": 0
},
{
"access": 2,
"description": "Calibrates the humidity value (absolute offset), takes into effect on next report of device.",
"label": "Humidity calibration",
"name": "humidity_calibration",
"property": "humidity_calibration",
"type": "numeric"
},
{
"access": 2,
"description": "Number of digits after decimal point for humidity, takes into effect on next report of device. This option can only decrease the precision, not increase it.",
"label": "Humidity precision",
"name": "humidity_precision",
"property": "humidity_precision",
"type": "numeric",
"value_max": 3,
"value_min": 0
}
],
"supports_ota": false,
"vendor": "SONOFF"
},
"disabled": false,
"endpoints": {
"1": {
"bindings": [
{
"cluster": "genPollCtrl",
"target": {
"endpoint": 1,
"ieee_address": "0xe0798dfffeeb0159",
"type": "endpoint"
}
},
{
"cluster": "genPowerCfg",
"target": {
"endpoint": 1,
"ieee_address": "0xe0798dfffeeb0159",
"type": "endpoint"
}
},
{
"cluster": "msTemperatureMeasurement",
"target": {
"endpoint": 1,
"ieee_address": "0xe0798dfffeeb0159",
"type": "endpoint"
}
},
{
"cluster": "msRelativeHumidity",
"target": {
"endpoint": 1,
"ieee_address": "0xe0798dfffeeb0159",
"type": "endpoint"
}
}
],
"clusters": {
"input": [
"genBasic",
"genPowerCfg",
"genIdentify",
"genPollCtrl",
"msTemperatureMeasurement",
"msRelativeHumidity",
"manuSpecificAmazonWWAH",
"64529"
],
"output": [
"genOta"
]
},
"configured_reportings": [
{
"attribute": "batteryPercentageRemaining",
"cluster": "genPowerCfg",
"maximum_report_interval": 65000,
"minimum_report_interval": 3600,
"reportable_change": 10
},
{
"attribute": "measuredValue",
"cluster": "msTemperatureMeasurement",
"maximum_report_interval": 3600,
"minimum_report_interval": 10,
"reportable_change": 100
},
{
"attribute": "measuredValue",
"cluster": "msRelativeHumidity",
"maximum_report_interval": 3600,
"minimum_report_interval": 10,
"reportable_change": 100
}
],
"scenes": []
}
},
"friendly_name": "0x881a14fffef06aa7",
"ieee_address": "0x881a14fffef06aa7",
"interview_completed": true,
"interviewing": false,
"manufacturer": "eWeLink",
"model_id": "SNZB-02P",
"network_address": 6479,
"power_source": "Battery",
"software_build_id": "2.1.0",
"supported": true,
"type": "EndDevice"
}
Problème résolu sans explication ce matin
J’ai maintenant un digit après la virgule, ce qui me va bien
Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.