Giter Club home page Giter Club logo

Comments (4)

TiagoOliveiraMarques avatar TiagoOliveiraMarques commented on August 22, 2024

In the parameters of the actuator which is controlling the lamp, do you have any "status report" option, or something similar, enabled?

from knx.net.

FloMaetschke avatar FloMaetschke commented on August 22, 2024

I am using MDTs AKK-1616.02 switch actuators: http://www.mdt.de/EN_Switch_Actuators_AKK.html
They have a several object functions for each channel: right now i am using switching and actual status of a channel.

I want to read the status with knx.net with RequestStatus method.

ETS5 says: on the ga "Light1 status" type: 1.001
The mdt switch actuator object function "status" has the following flags enabled:
Communication,
Read,
Transmit

Its assigned to the ga and already working with my switch's led lamps.

Any Idea?

I tried ETS5 diagnose using group monitor:

The actual request message is sent correctly, the actuator response with the correct value.
So i guess the event is not fired correctly or the response message not correctly received?

from knx.net.

FloMaetschke avatar FloMaetschke commented on August 22, 2024

using your debug flag this is what happens:

1/1/42 is the ga for switching, 1/4/42 the ga for the actual status.

i do request status for 1/4/42



29-00-AC-F0-00-00-0C-2A-01-00-00
Event Header Length: 6
Event Protocol Version: 10
Event Service Type: 0x0530
Event Total Length: 17
Event Message Code: 29
Event Aditional Info Length: 0
Event Control Field 1: 10101100
Event Control Field 2: 11110000
Event Source Address: 0.0.0
Event Destination Address: 1/4/42
Event Data Length: 1
Event APDU: 0x0000

Event Data:




29-00-AC-F0-00-00-0C-2A-01-00-00
Event Header Length: 6
Event Protocol Version: 10
Event Service Type: 0x0530
Event Total Length: 17
Event Message Code: 29
Event Aditional Info Length: 0
Event Control Field 1: 10101100
Event Control Field 2: 11110000
Event Source Address: 0.0.0
Event Destination Address: 1/4/42
Event Data Length: 1
Event APDU: 0x0000

Event Data:




29-00-BC-F0-11-04-0C-2A-01-00-41
Event Header Length: 6
Event Protocol Version: 10
Event Service Type: 0x0530
Event Total Length: 17
Event Message Code: 29
Event Aditional Info Length: 0
Event Control Field 1: 10111100
Event Control Field 2: 11110000
Event Source Address: 1.1.4
Event Destination Address: 1/4/42
Event Data Length: 1
Event APDU: 0x0041

Event Data: ☺

from knx.net.

FloMaetschke avatar FloMaetschke commented on August 22, 2024

Oh man!
I could knock my head on the wall....

Everything is working fine.

It was my fault.
_connection.KnxEventDelegate += Event;
_connection.KnxStatusDelegate += Status; <--- this was missing in my code.. sorry

from knx.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.