bonjour,
merci pour ta réponse,
la commande findknxusb :
root@linknx:~# findknxusb
Possible addresses for KNX USB devices:
device: 1:4:1:0:0 (ABB STOTZ-KONTAKT GmbH:KNX-USB Interface (MDRC))
pour les log firebug les voici mais je ne sais pas si c'est ce dont tu
a besoin :
GET
http://192.168.1.13/knxweb2/design/subpages.xml?_=1338282114007
200 OK
9ms
jquery.min.js (ligne 18)
ParamètresEn-têtesRéponseXML
<subpages>
<subpage name="Volets" width="150" height="240" bgcolor="#c6f0bc">
<parameters><parameter id="cmd_value_object" label="Command Volets
Object" type="object"/><parameter id="status_value_object"
label="Status Volets Object" type="object"/><parameter id="room_name"
label="Nom" type="text"/><parameter id="cmd_stop_object"
label="Command Stop Object" type="object"/></parameters>
<controls>
<control type="slider" slider-color="#978c8c" slider-picture=""
translatepicture="false" background-picture="Progressbar/
vprogressbar.jpg" border="true" border-color="#000000"
orientation="vertical" position="left_top" min="0%" max="100%"
feedback-object="_cmd_value_object" command-object="_cmd_value_object"
slidestop-action="" slide-action="" x="85" y="29" width="52"
height="203"><actionlist id="slidestop-action"><action type="send-read-
request" id="_status_value_object"/></actionlist><actionlist id="slide-
action"><action type="send-read-request" id="_cmd_value_object"/></
actionlist></control><control type="button" picture="perso/bouton/
fleche_haut_off.png" picture-active="perso/bouton/fleche_haut_on.png"
display-picture="no" text="" size="12" color="#000000" align="" text-
padding="0" confirm="no" feedback-object="_cmd_dim_object" feedback-
compare="eq" feedback-value="" inactive-goto="" inactive-action=""
active-goto="" active-action="" x="7" y="26" width="55" height="55"
undefined="55"><actionlist id="inactive-action"><action type="set-
value" id="_cmd_value_object" value="0"/></actionlist></
control><control type="button" picture="perso/bouton/
fleche_bas_off.png" picture-active="perso/bouton/fleche_bas_on.png"
display-picture="no" text="" size="12" color="#000000" align="" text-
padding="0" confirm="no" feedback-object="_cmd_dim_object" feedback-
compare="eq" feedback-value="" inactive-goto="" inactive-action=""
active-goto="" active-action="" x="7" y="179" width="55" height="55"
undefined="55"><actionlist id="inactive-action"><action type="set-
value" id="_cmd_value_object" value="100"/></actionlist><actionlist
id="active-action"/></control><control type="button" picture="perso/
bouton/stop_on.png" picture-active="" display-picture="no" text=""
size="12" color="#000000" align="" text-padding="0" confirm="no"
feedback-object="_cmd_stop_object" feedback-compare="eq" feedback-
value="" inactive-goto="" inactive-action="" active-goto="" active-
action="" x="3" y="99" width="60" height="60"
undefined="60"><actionlist id="inactive-action"><action type="set-
value" id="_cmd_stop_object" value="off"/></actionlist></
control><control type="text" text="_room_name" size="16"
color="#3c6ed3" bgcolor="#c5aba6" align="center" style="" object=""
pattern="(.*)" x="2" y="1" width="150" height="32" undefined="150"/></
controls>
</subpage>
<subpage name="Dimmer" width="200" height="150" bgcolor="rgb(198, 240,
188)"><parameters><parameter id="room_name" label="Nom" type="text"/
><parameter id="cmd_dim_object" label="command dimmer Object"
type="object"/><parameter id="status_dim_object" label="status dimmer
Object" type="object"/></parameters><controls><control type="button"
picture="3d/light_off.png" picture-active="3d/light_on.png" display-
picture="no" text="" size="12" color="#000000" align="" text-
padding="0" confirm="no" feedback-object="_cmd_dim_object" feedback-
compare="gte" feedback-value="13" inactive-goto="" inactive-action=""
active-goto="" active-action="" x="68" y="24" width="64" height="64"
undefined="64"><actionlist id="inactive-action"><action type="set-
value" id="_cmd_dim_object" value="255"/></actionlist><actionlist
id="active-action"><action type="set-value" id="_cmd_dim_object"
value="0"/></actionlist></control><control type="button"
picture="perso/bouton/plus_off.png" picture-active="perso/bouton/
plus_on.png" display-picture="no" text="" size="12" color="#000000"
align="" text-padding="0" confirm="no" feedback-object="" feedback-
compare="eq" feedback-value="" inactive-goto="" inactive-action=""
active-goto="" active-action="" x="144" y="31" width="55" height="55"
undefined="55"><actionlist id="inactive-action"><action type="formula"
id="_cmd_dim_object" a="1" b="0" c="13" m="1" n="0"
x="_cmd_dim_object"/></actionlist></control><control type="button"
picture="perso/bouton/moins_off.png" picture-active="perso/bouton/
moins_on.png" display-picture="no" text="" size="12" color="#000000"
align="" text-padding="0" confirm="no" feedback-object="" feedback-
compare="eq" feedback-value="" inactive-goto="" inactive-action=""
active-goto="" active-action="" x="1" y="33" width="55" height="55"
undefined="55"><actionlist id="inactive-action"><action type="formula"
id="_cmd_dim_object" x="_cmd_dim_object" a="1" b="0" c="-13" m="1"
n="0"/></actionlist></control><control type="slider" slider-color="
#f6ffd0" slider-picture="" translatepicture="false" background-
picture="perso/gris.png" border="true" border-color="#131311"
orientation="horizontal" position="right_bottom" min="0" max="255"
feedback-object="_cmd_dim_object" command-object="_cmd_dim_object"
slidestop-action="" slide-action="" x="1" y="98" width="198"
height="51"/><control type="text" text="_room_name" size="16"
color="rgb(60, 110, 211)" bgcolor="rgb(197, 171, 166)" align="center"
style="" object="" pattern="(.*)" x="1" y="1" width="195" height="20"
undefined="20"/></controls></subpage><subpage name="Meteo" width="250"
height="168"><parameters/><controls><control type="html" html="<div
id="m-booked-weather-bl250-43209"> <div
class="weather-250"> <div class="weather-250-
deck" style="background-color: #137AE9;"> <div
class="booked-weather-bl250-weather wbt06"> <div
class="booked-weather-bl250-degree"> <div
class="booked-weather-bl250-value booked-weather-bl250-degree-
C"><span class="plus">+</span>17</
div> <div class="booked-weather-bl250-day"> <div
class="booked-weather-bl250-day-d">H: <span
class="plus">+</span>20&deg;</div>
<div class="booked-weather-bl250-night-d">L: <span
class="plus">+</span>12&deg;</div> </
div> <a href="
http://ibooked.fr/weather/mons-2621"
class="booked-bl-simple-city">Mons</a> <div
class="booked-weather-bl250-date">Samedi, 19 Mai</
div> <a href="
http://ibooked.fr/weather/mons-2621"
class="booked-weather-bl250-see10">Prévisions sur 7
jours</a> </div> </div> <table cellpadding="
0" cellspacing="0" class="booked-weather-bl250-
week"> <tr> <th>Dim.</th> <th>Lun.</
th> <th>Mar.</th> <th>Mer.</th>
<th>Jeu.</th> <th>Ven.</th> </tr> <tr
class="booked-weather-bl250-week-wico"> <td
class="w18">&nbsp;</td> <td
class="w12">&nbsp;</td> <td
class="w06">&nbsp;</td> <td
class="w06">&nbsp;</td> <td
class="w04">&nbsp;</td> <td
class="w02">&nbsp;</td> </tr><tr
class="booked-weather-bl250-week-day"> <td><span
class="plus">+</span>21&deg;</td>
<td><span class="plus">+</span>
23&deg;</td> <td><span class="plus">
+</span>22&deg;</td> <td><span
class="plus">+</span>22&deg;</td>
<td><span class="plus">+</span>
24&deg;</td> <td><span class="plus">
+</span>24&deg;</td> </tr><tr
class="booked-weather-bl250-week-night">
<td><span class="plus">+</span>
13&deg;</td> <td><span class="plus">
+</span>14&deg;</td> <td><span
class="plus">+</span>12&deg;</td>
<td><span class="plus">+</span>
13&deg;</td> <td><span class="plus">
+</span>13&deg;</td> <td><span
class="plus">+</span>13&deg;</td> </
tr> </table> </div> </div> </div><script
type="text/javascript"> var
css_file=document.createElement("link");
css_file.setAttribute("rel","stylesheet");
css_file.setAttribute("type","text/css");
css_file.setAttribute("href",'
http://s.bookcdn.com/css/
weather.css?v=0.0.1'); document.getElementsByTagName("head")
[0].appendChild(css_file); function setWidgetData(data)
{ if(typeof(data) != 'undefined' && data.results.length >
0) { for(var i = 0; i < data.results.length; ++i) { var
objMainBlock = document.getElementById('m-booked-weather-
bl250-43209'); if(objMainBlock !== null) { var copyBlock =
document.getElementById('m-bookew-weather-
copy-'+data.results[i].widget_type); objMainBlock.innerHTML =
data.results[i].html_code; if(copyBlock !== null)
objMainBlock.appendChild(copyBlock); } } } else
{ alert('data=undefined||data.results is empty'); } } </script>
" x="3" y="2" width="250" height="168" undefined="168"/></controls></
subpage><subpage name="news" width="500" height="500"><parameters/
><controls><control type="rssfeed" adress="
http://www.dhnet.be/rss"
nbitem="6" delay="15" x="-28" y="-18" width="500" height="500"
undefined="500"/></controls></subpage><subpage name="date" width="100"
height="40" bgcolor="#C0C0C0"><parameters/><controls><control
type="html" html=" <embed width="100" height="
40" src="h_LedElectraJaune.swf"
align="center"><noembed>Horloge flash</
noembed>" x="1" y="1" width="100" height="40" undefined="40"/></
controls></subpage><subpage name="date_jour" width="150"
height="58"><parameters/><controls><control type="html"
html="<iframe name="date du jour" id="date-du-
jour" style="width:200px;height:58px;"
src="date.html" scrolling="no" frameborder="
0" allowtransparency="true"></iframe>" x="-10"
y="-10" width="150" height="58" undefined="-10"/></controls></
subpage><subpage name="heure" width="200" height="48"><parameters/
><controls><control type="html" html="<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/
TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://
www.w3.org/1999/xhtml" lang="fr"
xml:lang="fr"> <head> <title>horloge</
title> <meta http-equiv="Content-Type"
content="text/html; charset=utf-8" /> </head>
<body> <div id="flashContent"> <object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
width="200" height="50" id="horloge"
align="middle"> <param name="movie"
value="horloge.swf" /> <param
name="quality" value="high" /> <param
name="bgcolor" value="#000000" /> <param
name="play" value="true" /> <param
name="loop" value="true" /> <param
name="wmode" value="window" /> <param
name="scale" value="showall" /> <param
name="menu" value="true" /> <param
name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess"
value="sameDomain" /> <!--[if !IE]>-->
<object type="application/x-shockwave-flash"
data="horloge.swf" width="200" height="
50"> <param name="movie"
value="horloge.swf" /> <param
name="quality" value="high" /> <param
name="bgcolor" value="#000000" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" /
> <param name="salign" value="" /
> <param name="allowScriptAccess"
value="sameDomain" /> <!--<![endif]-->
<a href="
http://www.adobe.com/go/getflash">
<img src="
http://www.adobe.com/images/shared/download_buttons/
get_flash_player.gif" alt="Obtenir Adobe Flash Player" /
> </a> <!--[if !IE]>--> </
object> <!--<![endif]--> </object> </
div> </body> </html> " x="1" y="1" width="200"
height="48" undefined="48"/></controls></subpage><subpage
name="Lumiere_apercu" width="20" height="20"><parameters><parameter
id="status_lampe" label="Statut Lampe" type="object"/><parameter
id="cmd_on_off" label="Command Lumière ON OFF" type="object"/></
parameters><controls><control type="button" picture="3d/20/
light_off.png" picture-active="3d/20/light_on.png" display-
picture="no" text="" size="12" color="#000000" align="" text-
padding="0" confirm="no" feedback-object="_cmd_on_off" feedback-
compare="eq" feedback-value="on" inactive-goto="" inactive-action=""
active-goto="" active-action="" x="0" y="0" width="20" height="20"
undefined="20"><actionlist id="inactive-action"><action type="set-
value" id="_cmd_on_off" value="on"/></actionlist><actionlist
id="active-action"><action type="set-value" id="_cmd_on_off"
value="off"/></actionlist></control></controls></subpage><subpage
name="spotes_apercu" width="100" height="20"><parameters><parameter
id="status_dim" label="status Dimmer" type="object"/><parameter
id="cmd_dim" label="command Dimmer" type="object"/></
parameters><controls><control type="button" picture="perso/
spote_20_off.png" picture-active="perso/spote_20_on.png" display-
picture="no" text="" size="12" color="#000000" align="" text-
padding="0" confirm="no" feedback-object="_cmd_dim" feedback-
compare="eq" feedback-value="255" inactive-goto="" inactive-action=""
active-goto="" active-action="" x="1" y="1" width="20" height="20"
undefined="20"><actionlist id="inactive-action"><action type="set-
value" id="_cmd_dim" value="255"/></actionlist><actionlist id="active-
action"><action type="set-value" id="_cmd_dim" value="0"/></
actionlist></control><control type="slider" slider-color="#f1f174"
slider-picture="" translatepicture="false" background-picture=""
border="true" border-color="#000000" orientation="horizontal"
position="right_bottom" min="" max="" feedback-object="_status_dim"
command-object="" slidestop-action="" slide-action="" x="23" y="4"
width="73" height="10"/></controls></subpage><subpage name="test"
width="20" height="20"><parameters><parameter id="cmd_on_off"
label="cmd on off" type="object"/><parameter id="status_on_off"
label="status On Off" type="object"/></parameters><controls><control
type="button" picture="perso/spote_20_off.png" picture-active="perso/
spote_20_on.png" display-picture="no" text="" size="12"
color="#000000" align="" text-padding="0" confirm="no" feedback-
object="_status_on_off" feedback-compare="eq" feedback-value="on"
inactive-goto="" inactive-action="" active-goto="" active-action=""
x="0" y="0" width="20" height="20" undefined="20"><actionlist
id="inactive-action"><action type="set-value" id="_cmd_on_off"
value="on"/></actionlist><actionlist id="active-action"><action
type="set-value" id="_cmd_on_off" value="off" delay="00"/></
actionlist></control></controls></subpage></subpages>
L'utilisation de getAttributeNodeNS() est obsolète. Utilisez
getAttributeNS() à la place.
GET
http://192.168.1.13/knxweb2/design/test2/design.xml?_=1338282114342
200 OK
-6ms
jquery.min.js (ligne 18)
ParamètresEn-têtesRéponseXML
<?xml version="1.0" encoding="UTF-8"?>
<config width="1280" height="1024" enableSlider="false"><zones><zone
id="test2" name="test2" img=""><control type="subpage" view_mode=""
hidetitledialog="false" picture-dialog="" subpage="test" x="417"
y="176" cmd_on_off="lampe1_on_off_cmd"
status_on_off="lampe1_on_off_status" undefined=""/><control
type="text" text="Lampe 1" size="16" color="#e35454" bgcolor=""
align="default" style="" object="" pattern="(.*)" x="397" y="142"
width="87" height="20"/><control type="text" text="Lampe 2" size="16"
color="#bc1a1a" bgcolor="" align="default" style="" object=""
pattern="(.*)" x="514" y="141" width="87" height="20"/><control
type="subpage" view_mode="" hidetitledialog="false" picture-dialog=""
subpage="test" x="532" y="173" cmd_on_off="lampe2_on_off_cmd"
status_on_off="lampe2_on_off_status" undefined=""/></zone></zones></
config>
POST
http://192.168.1.13/knxweb2/linknx.php?action=cmd
200 OK
4ms
jquery.min.js (ligne 18)
ParamètresEn-têtesPostRéponseXML
Paramètresapplication/x-www-form-urlencoded
<read><objects><object id 'lampe1_on_off_status'/><object
id='lampe2_on_off_status'/></objects></read>
Source
<read><objects><object id='lampe1_on_off_status'/><object
id='lampe2_on_off_status'/></objects></read>
POST
http://192.168.1.13/knxweb2/linknx.php?action=cmd
200 OK
12ms
jquery.min.js (ligne 18)
ParamètresEn-têtesPostRéponseXML
Paramètresapplication/x-www-form-urlencoded
<execute><action type "set-value" id="lampe1_on_off_cmd" value="on"/></
execute>
Source
<execute><action type="set-value" id="lampe1_on_off_cmd" value="on"/></
execute>
merci