Open bthovda opened 11 months ago
Hi @bthovda , I am struggeling to get this into HA. I have created a converter
`const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const tz = require('zigbee-herdsman-converters/converters/toZigbee'); const exposes = require('zigbee-herdsman-converters/lib/exposes'); const reporting = require('zigbee-herdsman-converters/lib/reporting'); const extend = require('zigbee-herdsman-converters/lib/extend'); const e = exposes.presets; const ea = exposes.access;
const definition = { zigbeeModel: ['1402790', '1402791', '1402792', '1402793', '1402794', '1402795', '1402796', '1402797', '1402798'], model: '1402790', vendor: 'Namron', description: 'Namron Stove Guard', fromZigbee: [fz.on_off, fz.battery, fz.temperature, fz.metering, fz.electrical_measurement], toZigbee: [tz.on_off], exposes: [e.temperature(), e.battery(), e.switch(), e.power(), e.energy()], configure: async (device, coordinatorEndpoint, logger) => { const endpoint = device.getEndpoint(1) || device.getEndpoint(10); await reporting.bind(endpoint, coordinatorEndpoint, ['genBasic', 'genOnOff', 'haElectricalMeasurement', 'genPowerCfg', 'msTemperatureMeasurement']); await endpoint.read('haElectricalMeasurement', ['acVoltageMultiplier', 'acVoltageDivisor']); await endpoint.read('haElectricalMeasurement', ['acPowerMultiplier', 'acPowerDivisor']); await endpoint.read('haElectricalMeasurement', ['acCurrentMultiplier', 'acCurrentDivisor']); await reporting.onOff(endpoint); await reporting.temperature(endpoint); await reporting.activePower(endpoint); await reporting.batteryPercentageRemaining(endpoint); }, };
module.exports = definition;`
And it seems to be somewhat working. However, after a short while the device drops of the network. Did you do anything spesific to get the device not to stop reporting?
I got this zigbee api description for Namron Stoveguard: FireFence_Zigbee_description_rev1.2 – without OTA.pdf
I would also appreciate this one. Able to add but sensors and swich not working. Also disconnects after a few hours.
I also use the Namron stoveguard in Home Assistant, with ZHA and a Sky connect. The last few days it has reacted strange when Home Assistant is restarted. The Stoveguard shut off and on the power many times until I disconnected it from power (turned off the fuse). I reported this to the supplyer elektroimportoren.no today. They replied that the device do not support Home Assistant and that I should disconnect it from my Zigbee network if the network caused it to behave like that. I tried to use Zigbee2MQTT instead, as I have two Zigbee netwoks to support all devices. That did not work at all. It is added to the network, but as unsupported and without updating any values. As a result of this it will be offline until it is better supported.
Problem description
Please add ZHA support for Namron Stoveguard. https://www.elektroimportoren.no/docs/lib/1402793-Brukerveiledning-5.pdf Currently it is added ok but not all sensors are working.
Solution description
Screenshots/Video
https://www.elektroi 1402793-Brukerveiledning-5.pdf mportoren.no/docs/lib/1402793-Brukerveiledning-5.pdf
Device signature
Device signature
```json { "node_descriptor": "NodeDescriptor(logical_type=Diagnostic information
Diagnostic information
```json { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.8.1", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.4", "docker": true, "arch": "x86_64", "timezone": "Europe/Oslo", "os_name": "Linux", "os_version": "6.1.39", "supervisor": "2023.08.1", "host_os": "Home Assistant OS 10.4", "docker_version": "23.0.6", "chassis": "vm", "run_as_root": true }, "custom_components": { "mold_risk_index": { "version": "1.0.1", "requirements": [] }, "hpprinter": { "version": "1.0.8", "requirements": [ "xmltodict==0.12.0" ] }, "powercalc": { "version": "v1.8.8", "requirements": [ "numpy>=1.21.1" ] }, "biketrax": { "version": "1.1.0", "requirements": [ "aiobiketrax==1.1.0" ] }, "min_renovasjon": { "version": "2.1.0", "requirements": [] }, "files": { "version": "1.5", "requirements": [] }, "frigate": { "version": "4.0.0", "requirements": [ "pytz==2022.7" ] }, "priceanalyzer": { "version": "1.3", "requirements": [ "nordpool>=0.2" ] }, "nest_protect": { "version": "0.3.12", "requirements": [] }, "metnowcast": { "version": "v2.3.0", "requirements": [] }, "hacs": { "version": "1.32.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "pyscript": { "version": "1.5.0", "requirements": [ "croniter==1.3.8", "watchdog==2.3.1" ] }, "teamtracker": { "version": "0.1", "requirements": [ "arrow", "aiofiles" ] }, "ble_monitor": { "version": "12.3.2", "requirements": [ "pycryptodomex>=3.14.1", "janus>=1.0.0", "aioblescan>=0.2.14", "btsocket>=0.2.0", "pyric>=0.1.6.3" ] }, "browser_mod": { "version": "2.3.0", "requirements": [] }, "posten": { "version": "0.1.5.2", "requirements": [] }, "multiscrape": { "version": "6.5.0", "requirements": [ "lxml==4.9.1", "beautifulsoup4==4.11.1" ] }, "truenas": { "version": "0.0.0", "requirements": [] }, "blitzortung": { "version": "1.0.1", "requirements": [ "paho-mqtt>=1.5.0" ] }, "xplora_watch": { "version": "v2.8.3", "requirements": [ "pyxplora_api==2.8.3", "geopy==2.2.0", "dataclasses-json", "pydub", "marshmallow-enum" ] }, "webrtc": { "version": "v3.2.1", "requirements": [] }, "nordpool": { "version": "0.0.14", "requirements": [ "nordpool>=0.2", "backoff" ] } }, "integration_manifest": { "domain": "zha", "name": "Zigbee Home Automation", "after_dependencies": [ "onboarding", "usb" ], "codeowners": [ "@dmulcahey", "@adminiuga", "@puddly" ], "config_flow": true, "dependencies": [ "file_upload" ], "documentation": "https://www.home-assistant.io/integrations/zha", "iot_class": "local_polling", "loggers": [ "aiosqlite", "bellows", "crccheck", "pure_pcapy3", "zhaquirks", "zigpy", "zigpy_deconz", "zigpy_xbee", "zigpy_zigate", "zigpy_znp" ], "requirements": [ "bellows==0.35.8", "pyserial==3.5", "pyserial-asyncio==0.6", "zha-quirks==0.0.102", "zigpy-deconz==0.21.0", "zigpy==0.56.4", "zigpy-xbee==0.18.1", "zigpy-zigate==0.11.0", "zigpy-znp==0.11.4" ], "usb": [ { "vid": "10C4", "pid": "EA60", "description": "*2652*", "known_devices": [ "slae.sh cc2652rb stick" ] }, { "vid": "1A86", "pid": "55D4", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus v2" ] }, { "vid": "10C4", "pid": "EA60", "description": "*sonoff*plus*", "known_devices": [ "sonoff zigbee dongle plus" ] }, { "vid": "10C4", "pid": "EA60", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*tubeszb*", "known_devices": [ "TubesZB Coordinator" ] }, { "vid": "1A86", "pid": "7523", "description": "*zigstar*", "known_devices": [ "ZigStar Coordinators" ] }, { "vid": "1CF1", "pid": "0030", "description": "*conbee*", "known_devices": [ "Conbee II" ] }, { "vid": "10C4", "pid": "8A2A", "description": "*zigbee*", "known_devices": [ "Nortek HUSBZB-1" ] }, { "vid": "0403", "pid": "6015", "description": "*zigate*", "known_devices": [ "ZiGate+" ] }, { "vid": "10C4", "pid": "EA60", "description": "*zigate*", "known_devices": [ "ZiGate" ] }, { "vid": "10C4", "pid": "8B34", "description": "*bv 2010/10*", "known_devices": [ "Bitron Video AV2010/10" ] } ], "zeroconf": [ { "type": "_esphomelib._tcp.local.", "name": "tube*" }, { "type": "_zigate-zigbee-gateway._tcp.local.", "name": "*zigate*" }, { "type": "_zigstar_gw._tcp.local.", "name": "*zigstar*" }, { "type": "_slzb-06._tcp.local.", "name": "slzb-06*" } ], "is_built_in": true }, "data": { "ieee": "**REDACTED**", "nwk": 592, "manufacturer": "NAMRON AS", "model": "1402790", "name": "NAMRON AS 1402790", "quirk_applied": false, "quirk_class": "zigpy.device.Device", "manufacturer_code": 4660, "power_source": "Mains", "lqi": 255, "rssi": -57, "last_seen": "2023-08-09T15:34:26", "available": true, "device_type": "EndDevice", "signature": { "node_descriptor": "NodeDescriptor(logical_type=Logs
Logs
```python [Paste the logs here] ```Custom quirk
Custom quirk
```python [Paste your custom quirk here] ```Additional information
No response