Dyskusja ogólna [bramka Zigbee]

prze_cinek
Posts: 22
Joined: Sun Mar 23, 2025 3:05 pm

Post

csharnas wrote: Mon Apr 14, 2025 7:15 pm
vajera wrote: Mon Apr 14, 2025 7:00 pm
csharnas wrote: Mon Apr 14, 2025 6:40 pm nie dodaje mi tego czujnika do supli.
https://pl.aliexpress.com/item/10050080 ... pt=glo2pol
Tak, jak Ci pisałem potrzebny jest manufacturer/model id - te czujniki wyglądają tak samo a mogą mieć 15 różnych manuf id.
Tylko jak to mam zrobić ?
1. Bramka po podłączeniu do prądu przez 180 sekund otwiera się na połączenia z innymi urządzeniami Zigbee
2. Najlepiej wtedy podłączyć się do niej Serial Monitorem - czyli wchodzisz na ten sam port com na którym nagrywałeś kod bramki (możesz też użyć serial monitora zawartego przeze mnie poniżej - zapisujesz jako skrypt powershell i uruchamiasz (jakby ktoś chciał poprawiać i używać - licencja MIT ;))
3. Kiedy widzisz już w konsoli logi - należy na urządzeniu klienckim wywołać parowanie - bywa różnie w zależności od urządzenia - zazwyczaj trzeba przez ok 5 sekund przytrzymać przycisk parowania aż na urządzeniu zacznie mrygać.
4. W logach dla parowania pojawia się zwłaszcza fraza Peer Manufacturer is - po niej można łatwo zlokalizować dobre logi
5. W przypadku tego skryptu co zarzuciłem logi zapisują się też do pliku txt więc łatwo je skopiować na forum
6. urządzenia tuya mają zwłaszcza w peer manufacturer dziwne znaczki typu "tzj_29299292" ale to normalne - device Ikea mają np. ładnie ikea of sweden

Code: Select all

# Function to get available COM ports using WMI
function Get-AvailableComPorts {
    Get-WmiObject Win32_SerialPort | Select-Object DeviceID, Description | Sort-Object DeviceID
}

# Function to create a timestamp string
function Get-TimeStampString {
    return Get-Date -Format "yyyyMMdd_HHmmss"
}

# Load Serial Port .NET type
$source = @"
using System;
using System.IO.Ports;
using System.Threading;

public class SerialPortReader
{
    private SerialPort port;
    
    public SerialPortReader(string portName)
    {
        port = new SerialPort(portName, 115200, Parity.None, 8, StopBits.One);
        port.ReadTimeout = 500;
    }
    
    public void Open()
    {
        if (!port.IsOpen)
            port.Open();
    }
    
    public string ReadLine()
    {
        try
        {
            return port.ReadLine();
        }
        catch (TimeoutException)
        {
            return null;
        }
    }
    
    public void Close()
    {
        if (port != null && port.IsOpen)
        {
            port.Close();
            port.Dispose();
        }
    }
    
    public bool IsOpen
    {
        get { return port != null && port.IsOpen; }
    }
}
"@

try {
    Add-Type -TypeDefinition $source -Language CSharp

    # Get available COM ports
    $availablePorts = Get-AvailableComPorts
    
    if ($null -eq $availablePorts -or $availablePorts.Count -eq 0) {
        Write-Host "No COM ports found!" -ForegroundColor Red
        exit
    }

    # Display available ports
    Write-Host "`nAvailable COM ports:" -ForegroundColor Green
    for ($i = 0; $i -lt $availablePorts.Count; $i++) {
        Write-Host "[$i] $($availablePorts[$i].DeviceID) - $($availablePorts[$i].Description)"
    }

    # Get user selection
    do {
        Write-Host "`nPlease select a COM port number" -ForegroundColor Yellow
        $selection = Read-Host "Enter a number (0-$($availablePorts.Count - 1))"
    } while ([int]$selection -lt 0 -or [int]$selection -ge $availablePorts.Count)

    $selectedPort = $availablePorts[$selection].DeviceID
    $timestamp = Get-TimeStampString
    $logFile = ".\${selectedPort}_${timestamp}.log"

    # Create the serial port connection
    Write-Host "`nConnecting to $selectedPort..." -ForegroundColor Yellow
    $port = New-Object SerialPortReader($selectedPort)
    $port.Open()

    Write-Host "Successfully connected to $selectedPort" -ForegroundColor Green
    Write-Host "Logging data to: $logFile" -ForegroundColor Green
    Write-Host "Press Ctrl+C to stop logging`n" -ForegroundColor Yellow

    # Create file stream for logging
    $fileStream = [System.IO.File]::CreateText($logFile)

    while ($true) {
        $data = $port.ReadLine()
        if ($data) {
            $timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss.fff"
            $logEntry = "$timestamp : $data"
            
            # Write to console and file
            Write-Host $logEntry
            $fileStream.WriteLine($logEntry)
            $fileStream.Flush()
        }
    }
}
catch {
    Write-Host "`nError: $_" -ForegroundColor Red
}
finally {
    if ($fileStream) {
        $fileStream.Close()
        $fileStream.Dispose()
    }
    if ($port) {
        $port.Close()
    }
    Write-Host "`nConnection closed and log file saved." -ForegroundColor Green
}

csharnas
Posts: 207
Joined: Tue Jan 10, 2023 9:49 am
Location: Frysztak

Post

vajera wrote: Mon Apr 14, 2025 7:33 pm
csharnas wrote: Mon Apr 14, 2025 7:15 pm
vajera wrote: Mon Apr 14, 2025 7:00 pm
Tak, jak Ci pisałem potrzebny jest manufacturer/model id - te czujniki wyglądają tak samo a mogą mieć 15 różnych manuf id.
Tylko jak to mam zrobić ?
Podłączyć bramkę pod jakiś monitor portu szeregowego, rozpocząć procedurę parowania i złapać linijki z manufacturer i model name.
mam coś takiego

Code: Select all

, no binding is possible
Send: [53 55 50 4C 41 17 0D 00 00 00 28 00 00 00 10 00 00 00 B7 81 FD 67 00 00 0                                                                             0 00 0B 35 04 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 0C 00 00 00 32 00 00 00 10 00 00 00 9A 65 FD 67 00 00 0                                                                             0 00 C2 79 01 00 00 00 00 00 53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 0E 00 00 00 28 00 00 00 10 00 00 00 D0 81 FD 67 00 00 00 00 F3 40 04 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 0D 00 00 00 32 00 00 00 10 00 00 00 B1 65 FD 67 00 00 00 00 8B 3E 05 00 00 00 00 00 53 55 50 4C 41 ]
[190026][I][Z2S_Gateway.ino:843] loop(): getZbgDeviceUnitLastSeenMs 111189, current millis 190026
Send: [53 55 50 4C 41 17 0F 00 00 00 28 00 00 00 10 00 00 00 E9 81 FD 67 00 00 00 00 7C 4C 04 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 0E 00 00 00 32 00 00 00 10 00 00 00 CA 65 FD 67 00 00 00 00 01 2A 06 00 00 00 00 00 53 55 50 4C 41 ]
Button[0] pressed
Button[0] released
Send: [53 55 50 4C 41 17 10 00 00 00 28 00 00 00 10 00 00 00 02 82 FD 67 00 00 00 00 3D 58 04 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 0F 00 00 00 32 00 00 00 10 00 00 00 E3 65 FD 67 00 00 00 00 05 39 05 00 00 00 00 00 53 55 50 4C 41 ]
Button[0] pressed
Button[0] released
[250032][I][Z2S_Gateway.ino:838] loop(): Device on endpoint(0x1), short address(0xdff0), model id(0x1101), cluster id(0xef00), rejoined(YES)
[250033][I][Z2S_Gateway.ino:840] loop(): Gateway version: 0.7.32-13/04/2025
[250033][I][Z2S_Gateway.ino:843] loop(): getZbgDeviceUnitLastSeenMs 111189, current millis 250033
Send: [53 55 50 4C 41 17 11 00 00 00 28 00 00 00 10 00 00 00 1B 82 FD 67 00 00 00 00 5C 64 04 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 12 00 00 00 28 00 00 00 10 00 00 00 20 82 FD 67 00 00 00 00 0D 64 04 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 10 00 00 00 32 00 00 00 10 00 00 00 FC 65 FD 67 00 00 00 00 B2 B8 05 00 00 00 00 00 53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 11 00 00 00 32 00 00 00 10 00 00 00 01 66 FD 67 00 00 00 00 BC D4 06 00 00 00 00 00 53 55 50 4C 41 ]
Button[0] pressed
Send: [53 55 50 4C 41 17 13 00 00 00 28 00 00 00 10 00 00 00 39 82 FD 67 00 00 00 00 A4 6F 04 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Button[0] released
Recv: [53 55 50 4C 41 17 12 00 00 00 32 00 00 00 10 00 00 00 1A 66 FD 67 00 00 00 00 92 1C 05 00 00 00 00 00 53 55 50 4C 41 ]
[287950][I][Z2S_Gateway.ino:135] supla_callback_bridge(): supla_callback_bridge - event(0x4), action(0x0)
[287951][V][ZigbeeCore.cpp:254] openNetwork(): Opening network for joining for 180 seconds
[288419][I][ZigbeeCore.cpp:386] esp_zb_app_signal_handler(): Network(0x5226) is open for 180 seconds
[288544][V][ZigbeeCore.cpp:412] esp_zb_app_signal_handler(): ZDO signal: NWK Device Associated (0x12), status: ESP_OK
[288548][V][ZigbeeCore.cpp:412] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Update (0x30), status: ESP_OK
[289072][I][ZigbeeCore.cpp:354] esp_zb_app_signal_handler(): New device commissioned or rejoined (short: 0x307a)
[289072][V][ZigbeeCore.cpp:358] esp_zb_app_signal_handler(): Device capabilities: 0x80
[289073][D][ZigbeeGateway.cpp:475] zbDeviceAnnce(): zbDeviceAnnce short address (0x307a), ieee_addr (0xa4):(0xc1):(0x38):(0x8a):(0xeb):(0xe4):(0xcb):(0x87)
[289073][D][ZigbeeGateway.cpp:478] zbDeviceAnnce(): zbDeviceAnnce joined device short address (0x307a), ieee_addr (0xa4):(0xc1):(0x38):(0x8a):(0xeb):(0xe4):(0xcb):(0x87)
[289074][I][ZigbeeGateway.cpp:502] zbDeviceAnnce(): Tuya magic last hope
[289281][I][ZigbeeGateway.cpp:545] printJoinedDevices(): joined devices:
[289281][I][ZigbeeGateway.cpp:548] printJoinedDevices(): Device on endpoint 1, short address: 0x307a
[289577][I][ZigbeeHandlers.cpp:61] zb_raw_cmd_handler(): cluster id: 0x0, command id: 11
[289577][I][ZigbeeHandlers.cpp:62] zb_raw_cmd_handler(): src endpoint (0x1, dst endpoint 0x1
[289577][I][ZigbeeHandlers.cpp:63] zb_raw_cmd_handler(): is common comand 1, disable_default_response 1, is_manuf_specific 0
[289578][I][ZigbeeHandlers.cpp:64] zb_raw_cmd_handler(): manuf_specific 0x0
[289578][I][ZigbeeHandlers.cpp:66] zb_raw_cmd_handler(): RAW bufid: 16 size: 2
[289579][I][ZigbeeHandlers.cpp:68] zb_raw_cmd_handler(): 0x00
[289579][I][ZigbeeHandlers.cpp:68] zb_raw_cmd_handler(): 0x84
[289579][I][ZigbeeHandlers.cpp:73] zb_raw_cmd_handler(): ZigbeeHandlers rawCMD 0x307a, 0x307a, 0x0, 0x0
[289580][I][z2s_devices_table.cpp:1085] Z2S_onCustomCmdReceive(): Z2S_onCustomCmdReceive cluster 0x0, command id 0xb, rssi: -56
[289581][I][z2s_devices_table.cpp:95] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1, channel type 0xffffffff
[289582][I][z2s_devices_table.cpp:1090] Z2S_onCustomCmdReceive(): No channel found for address ▒▒▒▒8▒
[289582][I][ZigbeeHandlers.cpp:87] zb_raw_cmd_handler(): ----------------------------raw command not processed---------------------------------------------------------------
[289601][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x1005) callback
[289602][V][ZigbeeHandlers.cpp:274] zb_cmd_default_resp_handler(): Received default response: from address(0x307a), src_endpoint(1) to dst_endpoint(1), cluster(0xef00) for command (0x3) with status 0x0
[289603][V][ZigbeeHandlers.cpp:278] zb_cmd_default_resp_handler(): command id (11), direction (1), is common (1)
[289603][I][ZigbeeGateway.cpp:1400] zbCmdDefaultResponse(): zbCustomCmd default response async, tsn 0x5[0x2]
[289604][I][ZigbeeGateway.cpp:1402] zbCmdDefaultResponse(): custom cmd rssi -55
[289683][I][ZigbeeGateway.cpp:1093] sendAttributeWrite(): Sending 'write attribute' command - id (0xffde), type (0x20), size (0x1), value (0x13)
[289722][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x1001) callback
[289722][V][ZigbeeHandlers.cpp:190] zb_cmd_write_attr_resp_handler(): Write attribute response: from address(0x307a) src endpoint(1) to dst endpoint(1) cluster(0x0)
[289723][V][ZigbeeHandlers.cpp:197] zb_cmd_write_attr_resp_handler(): Write attribute response: status(0), cluster(0x0), attribute(0xffff)
[290184][I][ZigbeeGateway.cpp:1093] sendAttributeWrite(): Sending 'write attribute' command - id (0x9), type (0x20), size (0x1), value (0x1)
[290393][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x1005) callback
[290394][V][ZigbeeHandlers.cpp:274] zb_cmd_default_resp_handler(): Received default response: from address(0x307a), src_endpoint(1) to dst_endpoint(1), cluster(0xfcc0) for command (0x2) with status 0x84
[290395][V][ZigbeeHandlers.cpp:278] zb_cmd_default_resp_handler(): command id (11), direction (1), is common (1)
[290395][I][ZigbeeGateway.cpp:1400] zbCmdDefaultResponse(): zbCustomCmd default response async, tsn 0x7[0x0]
[290396][I][ZigbeeGateway.cpp:1402] zbCmdDefaultResponse(): custom cmd rssi -54
[290607][V][ZigbeeCore.cpp:412] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Authorized (0x2f), status: ESP_OK
[290684][D][Z2S_Gateway.ino:1214] loop(): Unknown model _TZ3000_dowj6gyi::TS0201, no binding is possible
[291082][I][ZigbeeCore.cpp:386] esp_zb_app_signal_handler(): Network(0x5226) is open for 180 seconds
[296121][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x2000) callback
[296121][V][ZigbeeHandlers.cpp:132] zb_attribute_reporting_handler(): Received report from address(0x307a) src endpoint(1) to dst endpoint(1) cluster(0x402)
[296122][I][ZigbeeGateway.cpp:586] zbAttributeReporting(): zbAttributeReporting temperature measurement 25.440001
[296123][I][z2s_devices_table.cpp:670] Z2S_onTemperatureReceive(): onTemperatureReceive 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1
[296123][I][z2s_devices_table.cpp:95] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1, channel type 0xbde
[296124][I][z2s_devices_table.cpp:676] Z2S_onTemperatureReceive(): No channel found for address ▒▒▒▒8▒▒▒F0'
B▒▒▒▒
[296251][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x2000) callback
[296251][V][ZigbeeHandlers.cpp:132] zb_attribute_reporting_handler(): Received report from address(0x307a) src endpoint(1) to dst endpoint(1) cluster(0x405)
[296252][I][ZigbeeGateway.cpp:595] zbAttributeReporting(): zbAttributeReporting humidity measurement 44.099998
[296253][I][z2s_devices_table.cpp:683] Z2S_onHumidityReceive(): onHumidityReceive 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1
[296253][I][z2s_devices_table.cpp:95] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1, channel type 0xbde
[296254][I][z2s_devices_table.cpp:689] Z2S_onHumidityReceive(): No channel found for address ▒▒▒▒8▒ѻ▒0'
B▒▒▒▒
[297280][I][ZigbeeHandlers.cpp:61] zb_raw_cmd_handler(): cluster id: 0xa, command id: 0
[297280][I][ZigbeeHandlers.cpp:62] zb_raw_cmd_handler(): src endpoint (0x1, dst endpoint 0x1
[297280][I][ZigbeeHandlers.cpp:63] zb_raw_cmd_handler(): is common comand 1, disable_default_response 0, is_manuf_specific 0
[297281][I][ZigbeeHandlers.cpp:64] zb_raw_cmd_handler(): manuf_specific 0x0
[297281][I][ZigbeeHandlers.cpp:66] zb_raw_cmd_handler(): RAW bufid: 14 size: 2
[297282][I][ZigbeeHandlers.cpp:68] zb_raw_cmd_handler(): 0x07
[297282][I][ZigbeeHandlers.cpp:68] zb_raw_cmd_handler(): 0x00
[297283][I][ZigbeeHandlers.cpp:73] zb_raw_cmd_handler(): ZigbeeHandlers rawCMD 0x307a, 0x307a, 0x0, 0x0
[297283][I][z2s_devices_table.cpp:1085] Z2S_onCustomCmdReceive(): Z2S_onCustomCmdReceive cluster 0xa, command id 0x0, rssi: -56
[297284][I][z2s_devices_table.cpp:95] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1, channel type 0xffffffff
[297285][I][z2s_devices_table.cpp:1090] Z2S_onCustomCmdReceive(): No channel found for address ▒▒▒▒8▒
[297285][I][ZigbeeHandlers.cpp:87] zb_raw_cmd_handler(): ----------------------------raw command not processed---------------------------------------------------------------
[300577][V][ZigbeeCore.cpp:412] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Update (0x30), status: ESP_OK
[300585][I][ZigbeeCore.cpp:354] esp_zb_app_signal_handler(): New device commissioned or rejoined (short: 0xdff0)
[300586][V][ZigbeeCore.cpp:358] esp_zb_app_signal_handler(): Device capabilities: 0x80
[300586][D][ZigbeeCore.cpp:375] esp_zb_app_signal_handler(): Device already bound to endpoint 1
[303677][V][ZigbeeCore.cpp:412] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Update (0x30), status: ESP_OK
[303685][I][ZigbeeCore.cpp:354] esp_zb_app_signal_handler(): New device commissioned or rejoined (short: 0x307a)
[303686][V][ZigbeeCore.cpp:358] esp_zb_app_signal_handler(): Device capabilities: 0x80
[303687][D][ZigbeeGateway.cpp:475] zbDeviceAnnce(): zbDeviceAnnce short address (0x307a), ieee_addr (0xa4):(0xc1):(0x38):(0x8a):(0xeb):(0xe4):(0xcb):(0x87)
[303687][D][ZigbeeGateway.cpp:478] zbDeviceAnnce(): zbDeviceAnnce joined device short address (0x307a), ieee_addr (0xa4):(0xc1):(0x38):(0x8a):(0xeb):(0xe4):(0xcb):(0x87)
[303688][I][ZigbeeGateway.cpp:502] zbDeviceAnnce(): Tuya magic last hope
[303892][I][ZigbeeGateway.cpp:545] printJoinedDevices(): joined devices:
[303893][I][ZigbeeGateway.cpp:548] printJoinedDevices(): Device on endpoint 1, short address: 0x307a
[304240][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x1000) callback
[304240][V][ZigbeeHandlers.cpp:154] zb_cmd_read_attr_resp_handler(): Read attribute response: from address(0x307a) src endpoint(1) to dst endpoint(1) cluster(0x0)
[304241][V][ZigbeeHandlers.cpp:163] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x4), type(0x42), value(16)
[304242][I][ZigbeeGateway.cpp:346] zbReadBasicCluster(): Peer Manufacturer is "_TZ3000_dowj6gyi"
[304242][V][ZigbeeHandlers.cpp:163] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x0), type(0x20), value(3)
[304243][I][ZigbeeGateway.cpp:359] zbReadBasicCluster(): ZCL version id is "3"
[304243][V][ZigbeeHandlers.cpp:163] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x1), type(0x20), value(70)
[304244][I][ZigbeeGateway.cpp:365] zbReadBasicCluster(): ZCL application version id is "70"
[304244][V][ZigbeeHandlers.cpp:163] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x5), type(0x42), value(6)
[304245][I][ZigbeeGateway.cpp:353] zbReadBasicCluster(): Peer Model is "TS0201"
[304245][V][ZigbeeHandlers.cpp:163] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0x7), type(0x30), value(3)
[304246][I][ZigbeeGateway.cpp:371] zbReadBasicCluster(): ZCL power source id is "3"
[304247][V][ZigbeeHandlers.cpp:163] zb_cmd_read_attr_resp_handler(): Read attribute response: status(0), cluster(0x0), attribute(0xfffe), type(0x30), value(0)
[304247][I][ZigbeeGateway.cpp:375] zbReadBasicCluster(): Attribute 0xFFFE, data type 0x30
[304287][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x1005) callback
[304287][V][ZigbeeHandlers.cpp:274] zb_cmd_default_resp_handler(): Received default response: from address(0x307a), src_endpoint(1) to dst_endpoint(1), cluster(0xef00) for command (0x3) with status 0x0
[304288][V][ZigbeeHandlers.cpp:278] zb_cmd_default_resp_handler(): command id (11), direction (1), is common (1)
[304289][I][ZigbeeGateway.cpp:1400] zbCmdDefaultResponse(): zbCustomCmd default response async, tsn 0x9[0x2]
[304289][I][ZigbeeGateway.cpp:1402] zbCmdDefaultResponse(): custom cmd rssi -54
[304294][I][ZigbeeGateway.cpp:1093] sendAttributeWrite(): Sending 'write attribute' command - id (0xffde), type (0x20), size (0x1), value (0x13)
[304795][I][ZigbeeGateway.cpp:1093] sendAttributeWrite(): Sending 'write attribute' command - id (0x9), type (0x20), size (0x1), value (0x1)
[305131][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x2000) callback
[305132][V][ZigbeeHandlers.cpp:132] zb_attribute_reporting_handler(): Received report from address(0x307a) src endpoint(1) to dst endpoint(1) cluster(0x405)
[305132][I][ZigbeeGateway.cpp:595] zbAttributeReporting(): zbAttributeReporting humidity measurement 44.020000
[305133][I][z2s_devices_table.cpp:683] Z2S_onHumidityReceive(): onHumidityReceive 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1
[305134][I][z2s_devices_table.cpp:95] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1, channel type 0xbde
[305134][I][z2s_devices_table.cpp:689] Z2S_onHumidityReceive(): No channel found for address ▒▒▒▒8▒#▒▒0'
B▒▒▒▒
[305260][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x1001) callback
[305260][V][ZigbeeHandlers.cpp:190] zb_cmd_write_attr_resp_handler(): Write attribute response: from address(0x307a) src endpoint(1) to dst endpoint(1) cluster(0x0)
[305261][V][ZigbeeHandlers.cpp:197] zb_cmd_write_attr_resp_handler(): Write attribute response: status(0), cluster(0x0), attribute(0xffff)
[305284][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x1005) callback
[305284][V][ZigbeeHandlers.cpp:274] zb_cmd_default_resp_handler(): Received default response: from address(0x307a), src_endpoint(1) to dst_endpoint(1), cluster(0xfcc0) for command (0x2) with status 0x84
[305285][V][ZigbeeHandlers.cpp:278] zb_cmd_default_resp_handler(): command id (11), direction (1), is common (1)
[305286][I][ZigbeeGateway.cpp:1400] zbCmdDefaultResponse(): zbCustomCmd default response async, tsn 0xb[0x0]
[305286][I][ZigbeeGateway.cpp:1402] zbCmdDefaultResponse(): custom cmd rssi -55
[305295][D][Z2S_Gateway.ino:1214] loop(): Unknown model _TZ3000_dowj6gyi::TS0201, no binding is possible
NLME Status Indication, status: 0x5
[305923][I][ZigbeeCore.cpp:354] esp_zb_app_signal_handler(): New device commissioned or rejoined (short: 0xdff0)
[305924][V][ZigbeeCore.cpp:358] esp_zb_app_signal_handler(): Device capabilities: 0x80
[305924][D][ZigbeeCore.cpp:375] esp_zb_app_signal_handler(): Device already bound to endpoint 1
[306131][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x2000) callback
[306132][V][ZigbeeHandlers.cpp:132] zb_attribute_reporting_handler(): Received report from address(0x307a) src endpoint(1) to dst endpoint(1) cluster(0x402)
[306132][I][ZigbeeGateway.cpp:586] zbAttributeReporting(): zbAttributeReporting temperature measurement 25.400000
[306133][I][z2s_devices_table.cpp:670] Z2S_onTemperatureReceive(): onTemperatureReceive 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1
[306134][I][z2s_devices_table.cpp:95] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1, channel type 0xbde
[306134][I][z2s_devices_table.cpp:676] Z2S_onTemperatureReceive(): No channel found for address ▒▒▒▒8▒;▒@
[306259][I][ZigbeeHandlers.cpp:36] zb_action_handler(): Receive Zigbee action(0x2000) callback
[306259][V][ZigbeeHandlers.cpp:132] zb_attribute_reporting_handler(): Received report from address(0x307a) src endpoint(1) to dst endpoint(1) cluster(0x405)
[306260][I][ZigbeeGateway.cpp:595] zbAttributeReporting(): zbAttributeReporting humidity measurement 43.919998
[306260][I][z2s_devices_table.cpp:683] Z2S_onHumidityReceive(): onHumidityReceive 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1
[306261][I][z2s_devices_table.cpp:95] Z2S_findChannelNumberSlot(): Z2S_findChannelNumberSlot 0xa4:0xc1:0x38:0x8a:0xeb:0xe4:0xcb:0x87, endpoint 0x1, channel type 0xbde
[306262][I][z2s_devices_table.cpp:689] Z2S_onHumidityReceive(): No channel found for address ▒▒▒▒8▒@▒0'
B▒▒B.B▒
[306287][V][ZigbeeCore.cpp:412] esp_zb_app_signal_handler(): ZDO signal: ZDO Device Update (0x30), status: ESP_OK
[306312][I][ZigbeeCore.cpp:354] esp_zb_app_signal_handler(): New device commissioned or rejoined (short: 0xdff0)
[306313][V][ZigbeeCore.cpp:358] esp_zb_app_signal_handler(): Device capabilities: 0x80
[306313][D][ZigbeeCore.cpp:375] esp_zb_app_signal_handler(): Device already bound to endpoint 1
Send: [53 55 50 4C 41 17 14 00 00 00 E0 01 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 13 00 00 00 EA 01 00 00 1A 00 00 00 E9 07 04 0E 02 15 2E 35 0E 00 00 00 45 75 72 6F 70 65 2F 57 61 72 73 61 77 00 53 55 50 4C 41 ]
Clock: current time: 2025-04-14 21:46:53
[310687][I][Z2S_Gateway.ino:843] loop(): getZbgDeviceUnitLastSeenMs 111189, current millis 310687
User avatar
vajera
Posts: 1515
Joined: Wed Oct 31, 2018 7:58 am

Post

csharnas wrote: Mon Apr 14, 2025 7:51 pm [...]

Code: Select all

[290684][D][Z2S_Gateway.ino:1214] loop(): Unknown model _TZ3000_dowj6gyi::TS0201, no binding is possible
Brawo Ty! Mamy to ;)
+BWNU
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127
csharnas
Posts: 207
Joined: Tue Jan 10, 2023 9:49 am
Location: Frysztak

Post

Mogę próbować już dodać ?
User avatar
Zibi_007
Posts: 1086
Joined: Tue Oct 31, 2023 10:06 pm

Post

csharnas wrote: Mon Apr 14, 2025 8:41 pm Mogę próbować już dodać ?
+BWNU czyli będzie w następnym update :lol:
Wiesz, że Supla współpracuje z urządzeniami Zigbee? Więcej szczegółów tutaj: https://forum.supla.org/viewforum.php?f=127

Nec Hercules contra plures!
csharnas
Posts: 207
Joined: Tue Jan 10, 2023 9:49 am
Location: Frysztak

Post

Aha ok to czekamy 😉

P.S A kiedy można spodziewać się najbliższej aktualizacji ? 8-)
csharnas
Posts: 207
Joined: Tue Jan 10, 2023 9:49 am
Location: Frysztak

Post

Po aktualizacji czujnik wskoczył do supli ale brak danych
IMG_2309.jpeg
You do not have the required permissions to view the files attached to this post.
User avatar
Zibi_007
Posts: 1086
Joined: Tue Oct 31, 2023 10:06 pm

Post

csharnas wrote: Tue Apr 15, 2025 8:11 pm Po aktualizacji czujnik wskoczył do supli ale brak danych

IMG_2309.jpeg
poczekaj, albo wymuś transmisję (krótko przytrzymaj przycisk parowania).
Wiesz, że Supla współpracuje z urządzeniami Zigbee? Więcej szczegółów tutaj: https://forum.supla.org/viewforum.php?f=127

Nec Hercules contra plures!
csharnas
Posts: 207
Joined: Tue Jan 10, 2023 9:49 am
Location: Frysztak

Post

Zibi_007 wrote: Tue Apr 15, 2025 8:12 pm
csharnas wrote: Tue Apr 15, 2025 8:11 pm Po aktualizacji czujnik wskoczył do supli ale brak danych

IMG_2309.jpeg
poczekaj, albo wymuś transmisję (krótko przytrzymaj przycisk parowania).

Jest działa ;) szkoda ze poziomu baterii nie pokazuje ale działa ;)
User avatar
vajera
Posts: 1515
Joined: Wed Oct 31, 2018 7:58 am

Post

csharnas wrote: Wed Apr 16, 2025 3:49 am Jest działa ;) szkoda ze poziomu baterii nie pokazuje ale działa ;)
Na baterię poczekaj do 24h, jak się nie pojawi to daj znać jak będziesz miał opanowaną obsługę konsoli ;)

Wprowadzenie do konsoli tutaj.
Bramka Zigbee <=> SUPLA
Więcej informacji tutaj:
https://forum.supla.org/viewforum.php?f=127

Return to “Bramka ZigBee”