Beste Tweakers,
Ik vanavond weer bezig geweest met de pimatic.
Ik heb een raspberry pi met een arduino
Elro wallplug.
via de afstandbedieing krijg ik de volgende gegevens bij het drukken op de knop D OFF Wandcontact doos uit.
22:10:28.401 [pimatic-homeduino] doorbell1: { id: 2047, unit: 1397, state: false }
22:10:28.470 [pimatic-homeduino] data: "RF receive 324 1068 10860 0 0 0 0 0 01010101010101010101011001100110010101100110010102"
22:10:28.485 [pimatic-homeduino] received: [ 324, 1068, 10860 ] 01010101010101010101011001100110010101100110010102
22:10:28.516 [pimatic-homeduino] switch2: { houseCode: 31, unitCode: 2, state: false }
22:10:28.527 [pimatic-homeduino] switch3: { houseCode: 31, unitCode: 2, state: true }
22:10:28.537 [pimatic-homeduino] switch4: { unit: 31, id: 2, state: false }
22:10:28.548 [pimatic-homeduino] switch5: { id: 1048238, unit: 0, all: true, state: true }
22:10:28.559 [pimatic-homeduino] switch7: { unit: 7, id: 1, state: true }
22:10:28.570 [pimatic-homeduino] switch15: { id: 337, unit: 0, state: true, all: true }
22:10:28.581 [pimatic-homeduino] switch16: { id: 'A', unit: 1, state: false }
22:10:28.592 [pimatic-homeduino] pir1: { unit: 31, id: 2, presence: true }
22:10:28.603 [pimatic-homeduino] pir2: { unit: 31, id: 31, presence: true }
22:10:28.613 [pimatic-homeduino] contact2: { id: 1048238, contact: false }
22:10:28.624 [pimatic-homeduino] led1: { id: 21, command: 'code:00010100' }
22:10:28.635 [pimatic-homeduino] led2: { id: 21, command: 'code:00010100' }
22:10:28.646 [pimatic-homeduino] led3: { id: 21, command: 'cyan' }
22:10:28.657 [pimatic-homeduino] led4: { id: 21, command: 'code:00010100' }
22:10:28.668 [pimatic-homeduino] doorbell1: { id: 2047, unit: 1397, state: false }
via de afstandbedieing krijg ik de volgende gegevens bij het drukken op de knop D ON Wandcontact doos aan.
22:12:26.626 [pimatic-homeduino] doorbell1: { id: 2047, unit: 1909, state: true }
22:12:26.696 [pimatic-homeduino] data: "RF receive 328 1068 10864 0 0 0 0 0 01010101010101010101011001100110010101100101011002"
22:12:26.711 [pimatic-homeduino] received: [ 328, 1068, 10864 ] 01010101010101010101011001100110010101100101011002
22:12:26.775 [pimatic-homeduino] switch2: { houseCode: 31, unitCode: 2, state: true }
22:12:26.787 [pimatic-homeduino] switch3: { houseCode: 31, unitCode: 2, state: false }
22:12:26.797 [pimatic-homeduino] switch4: { unit: 31, id: 2, state: true }
22:12:26.810 [pimatic-homeduino] switch5: { id: 1048238, unit: 0, all: true, state: false }
22:12:26.820 [pimatic-homeduino] switch7: { unit: 7, id: 1, state: true }
22:12:26.831 [pimatic-homeduino] switch15: { id: 337, unit: 0, state: true, all: true }
22:12:26.842 [pimatic-homeduino] switch16: { id: 'A', unit: 1, state: false }
22:12:26.852 [pimatic-homeduino] pir1: { unit: 31, id: 2, presence: true }
22:12:26.863 [pimatic-homeduino] pir2: { unit: 31, id: 31, presence: true }
22:12:26.874 [pimatic-homeduino] contact2: { id: 1048238, contact: false }
22:12:26.886 [pimatic-homeduino] led1: { id: 21, command: 'code:00010001' }
22:12:26.896 [pimatic-homeduino] led2: { id: 21, command: 'mode-' }
22:12:26.907 [pimatic-homeduino] led3: { id: 21, command: 'green' }
22:12:26.919 [pimatic-homeduino] led4: { id: 21, command: 'code:00010001' }
"devices": [
{
"id": "wallplug",
"name": "Wall Plug",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch15",
"options": {
"id": 341,
"unit:": 1
}
}
]
}
],
Via de debug functie kan ik wel ontvangen en zenden.
Echter stuur ik momenteel nog niet het juiste singal weg om te kunnnen schakelen.
Via de knop in pimatic krijg de volgende gegevens:
UIT
22:15:25.834 [pimatic-homeduino] Sending Protocol: switch2 houseCode: 31 unitCode:: 2 all: false state: false Pin: 4 Repeats: 7
22:15:26.150 [pimatic-homeduino] data: "ACK"
AAN
22:16:01.530 [pimatic-homeduino] Sending Protocol: switch2 houseCode: 31 unitCode:: 2 all: false state: true Pin: 4 Repeats: 7
22:16:01.845 [pimatic-homeduino] data: "ACK"
Alvast bedankt,
Klaas
[
Voor 3% gewijzigd door
Verwijderd op 03-06-2015 18:41
]