Hi All,
The RFSwitch works on the GUI. Now i have defined a rule for switch the RFSwitch with the remote button 1, but isn’t work. With the event test button in the event it’s also fail.
"devices": [
{
"id": "rfswitch",
"name": "RFSwitch",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch4",
"options": {
"id": 30,
"unit": 14
}
}
]
},
{
"id": "homeduino-buttons",
"name": "Buttons",
"class": "HomeduinoRFButtonsDevice",
"buttons": [
{
"id": "test-button",
"text": "test",
"protocols": [
{
"name": "switch4",
"options": {
"unit": 15,
"id": 30,
"state": true
}
}
]
}
]
},
"rules": [
{
"id": "button-test",
"name": "Button-test",
"rule": "if test-button is pressed then switch on RFSwitch",
"active": true,
"logging": true
}
],
pi@raspberrypi ~/pimatic-app/pimatic-app $ sudo node_modules/pimatic/pimatic.js
13:55:57.312 2015-04-12 Sunday
13:56:17.569 [pimatic] Starting pimatic version 0.8.66
13:56:22.273 [pimatic] Loading plugin: "pimatic-homeduino" (0.8.50)
13:56:27.626 [pimatic] Loading plugin: "pimatic-shell-execute" (0.8.10)
13:56:27.805 [pimatic] Loading plugin: "pimatic-cron" (0.8.5)
13:56:30.085 [pimatic] Loading plugin: "pimatic-mobile-frontend" (0.8.61)
13:56:34.913 [pimatic-cron] the time is: Sun Apr 12 2015 13:56:34 GMT+0200 (CEST)
13:56:35.296 [pimatic] New device "RFSwitch"...
13:56:35.454 [pimatic] New device "Buttons"...
13:56:35.591 [pimatic] New device "Weather Data"...
13:56:35.710 [pimatic] New device "Weather Data 2"...
13:56:36.658 [pimatic-homeduino] Connected to homeduino device.
13:56:37.438 [pimatic-mobile-frontend] packing static assets
13:56:39.623 [pimatic-mobile-frontend] packing static assets finished
13:56:39.663 [pimatic-mobile-frontend] rendering html
13:57:02.800 [pimatic-mobile-frontend] rendering html finished
13:57:02.952 [pimatic] Listening for HTTP-request on port 8080...
Greets
Marc