Do you plan to continue to develop this plugin? I will very pleased to see a mysensors button. Thank you!
Posts made by ricardot
-
RE: pimatic-mysensors controller plugin
-
RE: pimatic-mysensors controller plugin
Dheeraj,
Good work!
Is possible to send sensor battery level info?
-
RE: pimatic-mysensors controller plugin
Dheeraj,
When we can expect more variables available to mysensors plugin? I miss a simple on off switch.
Thanks!
-
RE: pimatic-mysensors controller plugin
It worked now, but I had to change the ttyUSB0 to ttyACM0. I'm using the uno for the gateway.
-
RE: pimatic-mysensors controller plugin
I manually installed the pimatic-mysensors, seems it works, but I'm receiving this message:
13:46:47.360 [pimatic] Cannot find module 'bluebird'
Later I added two devices, a PIR and a relay-switch, and I'm receiving this message:
13:46:49.289 [pimatic] no plugin found for device "Switch" of class "MySensorsSwitch"!
13:46:49.305 [pimatic] no plugin found for device "PIR" of class "MySensorsPIR"! -
RE: pimatic-mysensors controller plugin
I removed the # #'/dev/ttyUSBx' if using serial Gateway
So I got this:
15:17:54.005 [pimatic] Starting pimatic version 0.8.45
15:17:58.403 [pimatic] loading plugin: "pimatic-cron" (0.8.5)
15:18:00.793 [pimatic] loading plugin: "pimatic-mobile-frontend" (0.8.44)
15:18:05.848 [pimatic] loading plugin: "pimatic-mail" (0.8.2)
15:18:08.301 [pimatic] Installing: "MySensors"
15:18:16.958 [pimatic, npm] http GET https://registry.npmjs.org/pimatic-MySensors
15:18:18.741 [pimatic, npm] http 404 https://registry.npmjs.org/pimatic-MySensors
15:18:18.848 [pimatic, npm] ERR! 404 'pimatic-MySensors' is not in the npm registry.
15:18:18.872 [pimatic, npm] ERR! 404 You should bug the author to publish it
15:18:18.896 [pimatic, npm] ERR! 404
15:18:18.914 [pimatic, npm] ERR! 404 Note that you can also install from a
15:18:18.955 [pimatic, npm] ERR! 404 tarball, folder, or http url, or git url.
15:18:18.964 [pimatic, npm] ERR! System Linux 3.12.28+
15:18:18.986 [pimatic, npm] ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pimatic-MySensors"
15:18:19.005 [pimatic, npm] ERR! cwd /usr/local/pimatic-app
15:18:19.025 [pimatic, npm] ERR! node -v v0.10.24
15:18:19.034 [pimatic, npm] ERR! npm -v 1.3.21
15:18:19.056 [pimatic, npm] ERR! code E404
15:18:19.161 [pimatic, npm] ERR!
15:18:19.192 [pimatic, npm] ERR! Additional logging details can be found in:
15:18:19.205 [pimatic, npm] ERR! /usr/local/pimatic-app/npm-debug.log
15:18:19.213 [pimatic, npm] ERR! not ok code 0
15:18:19.312 [pimatic] Error running "npm install pimatic-MySensors"
15:18:20.192 [pimatic-cron] the time is: Mon Feb 16 2015 15:18:20 GMT+0000 (UTC)
15:18:20.996 [pimatic-mobile-frontend] packing static assets
15:18:22.251 [pimatic-mobile-frontend] packing static assets finished
15:18:22.273 [pimatic-mobile-frontend] rendering html
15:18:44.851 [pimatic-mobile-frontend] rendering html finished
15:18:44.989 [pimatic] listening for http-request on port 80... -
RE: pimatic-mysensors controller plugin
@Dheeraj said:
@ricardot said:
let me the exact error msg.
15:16:12.055 [pimatic] Starting pimatic version 0.8.45
15:16:15.227 [pimatic] Startup error: Error: Parse error on line 80:
15:16:15.227 [pimatic]>..."/dev/ttyUSB0", "#" "#""/dev/ttyUSBx" "i
15:16:15.227 [pimatic]>-----------------------^
15:16:15.227 [pimatic]>Expecting 'EOF', '}', ':', ',', ']', got 'STRING'
15:16:15.227 [pimatic]> at Object.parseError (/usr/local/pimatic-app/node_modules/pimatic/node_modules/cjson/node_modules/jsonlint/lib/jsonlint.js:55:11)
15:16:15.227 [pimatic]> at Object.parse (/usr/local/pimatic-app/node_modules/pimatic/node_modules/cjson/node_modules/jsonlint/lib/jsonlint.js:132:22)
15:16:15.227 [pimatic]> at Object.exports.parse (/usr/local/pimatic-app/node_modules/pimatic/node_modules/cjson/node_modules/jsonlint/lib/jsonlint.js:417:53)
15:16:15.227 [pimatic]> at Object.exports.parse (/usr/local/pimatic-app/node_modules/pimatic/node_modules/cjson/index.js:88:28)
15:16:15.227 [pimatic]> at Framework._loadConfig (/usr/local/pimatic-app/framework.coffee:96:24)
15:16:15.227 [pimatic]> at new Framework (/usr/local/pimatic-app/framework.coffee:54:8)
15:16:15.227 [pimatic]> at /usr/local/pimatic-app/startup.coffee:48:21
15:16:15.227 [pimatic]> at tryCatch1 (/usr/local/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/util.js:43:21)
15:16:15.227 [pimatic]> at Function.Promise$_Try (/usr/local/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:233:11)
15:16:15.227 [pimatic]> at Object.module.exports.startup (/usr/local/pimatic-app/startup.coffee:47:10)
15:16:15.227 [pimatic]> at run (/usr/local/pimatic-app/node_modules/pimatic/pimatic.js:15:24)
15:16:15.227 [pimatic]> at Object.<anonymous> (/usr/local/pimatic-app/node_modules/pimatic/pimatic.js:20:3)
15:16:15.227 [pimatic]> at Module._compile (module.js:456:26)
15:16:15.227 [pimatic]> at Object.Module._extensions..js (module.js:474:10)
15:16:15.227 [pimatic]> at Module.load (module.js:356:32)
15:16:15.227 [pimatic]> at Function.Module._load (module.js:312:12)
15:16:15.227 [pimatic]> at Function.Module.runMain (module.js:497:10)
15:16:15.227 [pimatic]> at startup (node.js:119:16)
15:16:15.227 [pimatic]> at node.js:902:3
15:16:15.274 [pimatic] exiting... -
RE: pimatic-mysensors controller plugin
I can´t make mysensors plugin works in pimatic. I added this lines at plugins session of config.json with no sucess:
{
"plugin": "MySensors",
"driver": "serialport",
"protocols": "1.4.1",
"driverOptions": {
"serialDevice": "/dev/ttyUSB0", # #'/dev/ttyUSBx' if using serial Gateway
"baudrate": 115200
}
}I received error messages like syntax error.
-
RE: PiDome Domotica/Home Automation
John,
I would like to know what I need to do to create a rule to turn on an off a mysensors relay in a specific time of the day. And also If is possible Pidome to send me a email when it happens.
Thanks!
-
RE: PiDome Domotica/Home Automation
I also Install the android client, but I can't make it works. I receive a login error: Could not connect/login: Authentication needs to be verified (202)
But the client never ask me for a username and password.
-
RE: PiDome Domotica/Home Automation
Hello John
When I try to save a trigger I am getting this error:
Message:
java.lang.Integer cannot be cast to java.lang.FloatTrace:
java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float\n at org.pidome.server.services.triggerservice.rules.RuleIfNumberFloat.equalsTo(RuleIfNumberFloat.java:74)\n at org.pidome.server.services.triggerservice.rules.RuleIf.equalsTo(RuleIf.java:141)\n at org.pidome.server.services.triggerservice.rules.RuleIf.run(RuleIf.java:113)\n at org.pidome.server.services.triggerservice.rules.RuleSubject.run(RuleSubject.java:92)\n at org.pidome.server.services.triggerservice.TriggerEvent.createRuleSubjects(TriggerEvent.java:353)\n at org.pidome.server.services.triggerservice.TriggerEvent.createSimpleRuleSet(TriggerEvent.java:277)\n at org.pidome.server.services.triggerservice.TriggerEvent.createRulesetFromJSON(TriggerEvent.java:225)\n at org.pidome.server.services.triggerservice.TriggerEvent.(TriggerEvent.java:211)\n at org.pidome.server.services.triggerservice.TriggerService.saveTrigger(TriggerService.java:229)\n at org.pidome.server.system.rpc.TriggerServiceJSONRPCWrapper.saveTrigger(TriggerServiceJSONRPCWrapper.java:240)\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n at java.lang.reflect.Method.invoke(Method.java:483)\n at org.pidome.server.system.rpc.AbstractRPCMethodExecutor.execMethod(AbstractRPCMethodExecutor.java:166)\n at org.pidome.server.system.rpc.AbstractRPCMethodExecutor.execMethod(AbstractRPCMethodExecutor.java:121)\n at org.pidome.server.system.rpc.PidomeJSONRPC.handleRequest(PidomeJSONRPC.java:358)\n at org.pidome.server.system.rpc.PidomeJSONRPC.handle(PidomeJSONRPC.java:245)\n at org.pidome.server.system.webservice.webclient.Webclient_jsonrpc.collect(Webclient_jsonrpc.java:55)\n at org.pidome.server.services.clients.http.HTTPClientHandler.run(HTTPClientHandler.java:186)\nAm I doing anything wrong? Thanks!