Find answers, ask questions and become part of the Loxone Community.
I am trying to use a UDP input to read the on off status value of a fan . I have got the output to work and the UDP packet appears in monitor but I am struggling to find the right format to read the 0 or 1 status value :
This is the UDP command recognition the x01 following the x03 is the satus 0x1=on 0x0 = off
masterx03x01tx00x0Cx00x13x00
x00x1Ax00x04x02x056x06x01x080x0Ex00x00x00x12x00x14x00%x00
this is what i tried to set the input value (also need good to be able to ignore the values after that as they may change)
masterx03vtx00x0Cx00x13x00
x00x1Ax00x04x02x056x06x01x080x0Ex00x00x00x12x00x14x00%x00
Hi Lee,
Apologies for the delayed response. In principle in the virtual input command field (see example attached), just enter the text your looking for e.g: x03x01v. The "v" willl give you the value 0 or 1 following the command text you are looking for. Depending on the value you’re looking for, you may want to get a hex value so you’d use "x". More details here: https://www.loxone.com/enen/kb/virtual-http-input but it maybe a bit of a mouthlful, so if you need further help then I’m
happy to help further by booking an appointment here: http://calendar.jsjelec.com/stefan_knight
Thanks Stefan
so here is the on UDP monitor output (attached ) and here is the commonad strings i have tried
master\x03\x01v\s28
master\x03\x01h\s28
master\x03\v\s28
none work ;-(
Good attempt, you need to match the string being sent. From what I can see it appears you’ll need the following command: master\x03\x\v. Nothing should follow the “\v” as this should return the value that follows which appears to be: 00 or 01. Hope that helps.
Hi tried that did not work either.
I have created a new input from monitor and created a logger. this works fine when the exact matching pattern occurs the log message is generated.
However when I change the string the log message is not sent , so I don’t think it is matching the string
 | Monday | Tuesday | Wednesday | Thursday | Friday |
---|---|---|---|---|---|
0830-0900 | Welcome | Arrival and Exchange | Arrival and Exchange | Arrival and Exchange | Arrival and Exchange |
Unit 1 | Easy Lighting Planning Square meter formulas. Room types, Direct/Indirect |
Automatic Basic Lighting Presence Sensor Air/Tree |
Shading & Automation Controls vs Automation  configuration shading types |
Multiroom Audio System, scaling, simple audio planning |
Media controller IR and RS Protocols, AVR |
Unit 2 | Intuitive Operating Concept Room types & moods |
Presence Optimization Exercises by type of room |
System Protection Functions Storm, frost, privacy, break-in |
Cabling & Configuration Audioserver Extension speaker |
Operating Concept Specific Operating modes, Touch Pure Flex |
Unit 3 | Configuration Room Types Basic Configuration |
Presence Areas Practice P/1-8 |
Optimise Protection Functions Practical exercises by type |
Operation & Connections Line In/Out, SPDIF Signal converter |
Optimise Conference Room Control and programming |
1200 | Lunch Break | Lunch Break | Lunch Break | Lunch Break | Lunch Break & wrap up |
Unit 4 | Lighting Controller In-depth T5/1-8, lC1-4, M+/-, Mix |
Technologies Dali, DMX, PWM |
Weather & Sunshine Weather station & forecasts |
Smart Home Functions TTS, Announcements, Bell |
 |
Unit 5 | Operating Concept Advanced Exercise by type of room |
Daylight Control HCL Practical implementation |
Automatic Sun Position Control Protection types IR/UV/Lux |
HiFi and Ambient Sound Signum and Install 7 |
 |
Unit 6 | Operating Concept Specific     Hotel, Office, Auditorium | Constant Light Control Measurement, control, implementation |
Automatic Sun Position Control Optimization of parameters |
Acoustics & Sound Optimization   Optimize audio planning |  |
Unit 7 | Touch Pure Flex Scrolling text, master brightness |
Signalization via Light Practice example |
Operating Concept Specific Practical examples | Audioserver in combination   Exercises Lan/Tree Turbo |  |
Booking Request for CPD
Please complete the following details as part of your request to book this CPD.
Once we have received your details, we will be in touch to discuss your request further.
From your first enquiry to the finishing touches on your project, Loxone and your Loxone Partner will be with you all the way. Benefit from the experience that we have gained through the realisation of over one hundred thousand projects worldwide to ensure your project exceeds your expectations.