This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

SonOff
#1
Hi all,

Has enyone tried to integrate sonoff switches with LM?
Reply
#2
Hi,

I am experimenting with some sonoff relays (with tasmota knx firmware) but i'm stuck...

I have a Logic Machine with TP mode and KNX IP features enabled but telegrams from KNX aren't reaching the relay neither telegrams from relay reaching LM.
I have sniffered the trafic from the relay and it seems that it does send packets on multicast ip but LM doesn't get them.

Can someone suggest why isn't working?

Below is the packet send from the relay


Code:
Frame 30259: 59 bytes on wire (472 bits), 59 bytes captured (472 bits) on interface \Device\NPF_{67AFBC6E-58C1-4C7A-B6BA-12E3F1C9FEF4}, id 0
    Interface id: 0 (\Device\NPF_{67AFBC6E-58C1-4C7A-B6BA-12E3F1C9FEF4})
        Interface name: \Device\NPF_{67AFBC6E-58C1-4C7A-B6BA-12E3F1C9FEF4}
        Interface description: Wi-Fi
    Encapsulation type: Ethernet (1)
    Arrival Time: Feb 19, 2020 01:14:24.548519000 Χειμερινή ώρα GTB
    [Time shift for this packet: 0.000000000 seconds]
    Epoch Time: 1582067664.548519000 seconds
    [Time delta from previous captured frame: 0.011575000 seconds]
    [Time delta from previous displayed frame: 23.017785000 seconds]
    [Time since reference or first frame: 610.015366000 seconds]
    Frame Number: 30259
    Frame Length: 59 bytes (472 bits)
    Capture Length: 59 bytes (472 bits)
    [Frame is marked: False]
    [Frame is ignored: False]
    [Protocols in frame: eth:ethertype:ip:udp:kip:cemi]
    [Coloring Rule Name: UDP]
    [Coloring Rule String: udp]
Ethernet II, Src: Espressi_e6:6c:b0 (60:01:94:e6:6c:b0), Dst: IPv4mcast_17:0c (01:00:5e:00:17:0c)
    Destination: IPv4mcast_17:0c (01:00:5e:00:17:0c)
        Address: IPv4mcast_17:0c (01:00:5e:00:17:0c)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
    Source: Espressi_e6:6c:b0 (60:01:94:e6:6c:b0)
        Address: Espressi_e6:6c:b0 (60:01:94:e6:6c:b0)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
    Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.2.56, Dst: 224.0.23.12
    0100 .... = Version: 4
    .... 0101 = Header Length: 20 bytes (5)
    Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
        0000 00.. = Differentiated Services Codepoint: Default (0)
        .... ..00 = Explicit Congestion Notification: Not ECN-Capable Transport (0)
    Total Length: 45
    Identification: 0x2279 (8825)
    Flags: 0x0000
        0... .... .... .... = Reserved bit: Not set
        .0.. .... .... .... = Don't fragment: Not set
        ..0. .... .... .... = More fragments: Not set
    ...0 0000 0000 0000 = Fragment offset: 0
    Time to live: 1
    Protocol: UDP (17)
    Header checksum: 0xdd5a [validation disabled]
    [Header checksum status: Unverified]
    Source: 192.168.2.56
    Destination: 224.0.23.12
User Datagram Protocol, Src Port: 3671, Dst Port: 3671
    Source Port: 3671
    Destination Port: 3671
    Length: 25
    Checksum: 0x93c4 [unverified]
    [Checksum Status: Unverified]
    [Stream index: 48]
    [Timestamps]
        [Time since first frame: 494.709090000 seconds]
        [Time since previous frame: 494.299232000 seconds]
KNX/IP Routing Indication
    KNX/IP Header: Routing Indication
        Header Length: 6 bytes
        Protocol Version: 1.0
        Service Identifier: Routing Indication (0x0530)
            Service Family: Routing (0x05)
            Service Type: Routing Indication (0x0530)
        Total Length: 17 bytes
cEMI L_Data.ind, P=Low, H=6, Src=1.1.40, Dst=2/1/2, GroupValueWrite $01
    Message Code: L_Data.ind (0x29)
    Additional Info (0 bytes)
        Additional Information Length: 0
    Ctrl1: Prio = Low
        1... .... = Frame Type: Standard (1)
        ..1. .... = Repeat On Error: No (1)
        ...1 .... = Broadcast Type: Domain (1)
        .... 11.. = Priority: Low (3)
        .... ..0. = Ack Wanted: No (0)
        .... ...0 = Confirmation Error: No (0)
    Ctrl2: Hops = 6
        1... .... = Address Type: Group (1)
        .110 .... = Hop Count: 6
        .... 0000 = Extended Frame Format: 0x0
    Source: 0x1128 = 1.1.40
    Destination: 0x1102 = 2/1/2
    Length: 1
    TPCI
        0... .... = Packet Type: Data (0)
        .0.. .... = Sequence Type: Unnumbered (0)
    APCI: GroupValueWrite
        .... ..00 10.. .... = Service: GroupValueWrite (0x2)
    Data: 01
        ..00 0001 = Data: 0x01

George
Reply
#3
Hi,

Some questions:

1) What is the multicast address set in the controller? Default 224.0.23.12?
2) Is there a managed switch between the devices that might block multicast?
3) Are both devices in same ip range and same subnet or is there routering in place?
4) Can you ping the remote device from the controller?

BR,

Erwin
Reply
#4
Can you provide raw telegram capture?
Reply
#5
(19.02.2020, 07:35)Erwin van der Zwart Wrote: Hi,

Some questions:

1) What is the multicast address set in the controller? Default 224.0.23.12?
2) Is there a managed switch between the devices that might block multicast?
3) Are both devices in same ip range and same subnet or is there routering in place?
4) Can you ping the remote device from the controller?

BR,

Erwin

Hi Erwin,
1) The multicast IP is the default both on LM and relay.
2) Not there is no switch, just a VDSL modem/router that for sure does not block the multicast because on my pc i can see the packets send from relay
3) Both devices are on the same ip range.
4) Yes i can ping LM from relay and vice versa.

George
Reply


Forum Jump: