Page 1 of 1
Status blijft 3, value verandert wel...
Posted: Sat Oct 10, 2009 1:20 pm
by Alexander
Ik schrijf in mijn database de statussen en values van devices weg die een verandering ondergaan (zowel status als value).
Nu valt mij op dat bij de curtains de status op 3 blijft staan ondanks dat de gordijn open of dicht staat. De value wijzigt wel van 3 naar 2 of visa versa. Als ik de pdf bekijk (
http://www.rfxcom.com/documents/RFXCOM% ... 0Guide.pdf) zie ik daar iets staan als value/status pairs. Dat suggereert bij mij dat de status en value hetzelfde zou moeten zijn.
Klopt mijn gedachte of behoort het zo te functioneren?
Alexander
Status blijft 3, value verandert wel...
Posted: Mon Oct 12, 2009 11:46 pm
by Alexander
Bert een idee?
Alexander
Status blijft 3, value verandert wel...
Posted: Tue Oct 13, 2009 10:57 am
by b_weijenberg
Alexander,
Je kunt alleen Value gebruiken. Het prog document is aangepast.
Bert
Status blijft 3, value verandert wel...
Posted: Tue Oct 13, 2009 12:00 pm
by Alexander
dat is ..... een uitzondering dus. Enig idee of de status ook ooit nog gewijzigd wordt in de plugin?
Alexander
Status blijft 3, value verandert wel...
Posted: Tue Oct 13, 2009 2:14 pm
by b_weijenberg
Het is geen uitzondering. Het is het type device dat dit bepaalt. De X10 devices in HS werken met value en status. De RFXCOM Output devices gebruiken device value en de device string.
Dit staat beschreven in de HS Help file:
SetDeviceStatus
Purpose
Sets the status of a device, whether the device is ON, OFF, or DIMMED.
Parameters
Parameter: device
Type: string
Description: This is the house code and unit code or device code of the device, such as "A1" or "q17".
Parameter: status
Type: integer
Description: This is the status to set the device to. This integer value should be one of the following:
0 = All Units Off
2 = ON
3 = OFF
4 = DIM
Status blijft 3, value verandert wel...
Posted: Tue Oct 13, 2009 2:23 pm
by Alexander
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">De RFXCOM Output devices gebruiken device value en de device string.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
De uitzondering is dat de status value niet wijzigt. Die blijft op 3 staan (ook al is ie open of gesloten). Een zwave zonwering module verandert ook zn status van 3 naar 2 als deze omlaag is of anders om.
Alexander