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...
Moderator: b_weijenberg
Status blijft 3, value verandert wel...
Bert een idee?
Alexander
Alexander
- b_weijenberg
- Forum Moderator
- Posts: 1744
- Joined: Sun May 14, 2006 4:32 pm
- Location: Netherlands
Status blijft 3, value verandert wel...
Alexander,
Je kunt alleen Value gebruiken. Het prog document is aangepast.
Bert
Je kunt alleen Value gebruiken. Het prog document is aangepast.
Bert
Status blijft 3, value verandert wel...
dat is ..... een uitzondering dus. Enig idee of de status ook ooit nog gewijzigd wordt in de plugin?
Alexander
Alexander
- b_weijenberg
- Forum Moderator
- Posts: 1744
- Joined: Sun May 14, 2006 4:32 pm
- Location: Netherlands
Status blijft 3, value verandert wel...
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
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...
<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
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