@p4co86 Thermostats come after dimming. But AFAIK you can just set the temperature, not ask for the current value. That’s a limitation of the echo.
-
[pimatic-echo] Control your pimatic devices using Amazon's echo
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100
Thank you for the great plugin!!!I have only a small problem in Pimatic it gives this error message:
error [pimatic]: Invalid config of device "rfswitchc7u8": Property "echo" is not a valid property
Here the part in the config:
{ "id": "rfswitchc7u8", "name": "Noch_frei_S7_U4", "class": "HomeduinoRFSwitch", "protocols": [ { "name": "switch2", "options": { "unitCode": 2, "houseCode": 28 } } ], "echo": { "name": "EchoSwitch", "additionalNames": [ "Licht", "Lampe" ], "exclude": false } },
But the Alexa-App recognized the switch as “Lampe” and “Licht” and works fine.
So you have an idee what Pimatic wants? -
@V1per that’s just a warning. You can ignore that. Which version of pimatic-echo are you using? This warning should be gone with the latest version 0.0.5.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 said in [pimatic-echo] Control your pimatic devices using Amazon's echo:
@V1per that’s just a warning. You can ignore that. Which version of pimatic-echo are you using? This warning should be gone with the latest version 0.0.5.
Ok, I ignore it.
My Version is 0.0.5 I have intalled the plugin today after waiting for 3 month that Alexa comes.
-
@V1per but the error message is still there with version 0.0.5?
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100
Yes -
i have an error after installing pimatic-echo :
Loading plugin: “pimatic-echo” (0.0.5)
error: Use of const in strict modeAlexa dont find anything.
-
@germanuser Haven’t seen that one before. Can anyone tell whats wrong? Maybe deleting the plugin and reinstalling again helps? Just to be sure, you didn’t change anything on the sources of your pimatic installation?
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 See http://stackoverflow.com/questions/22603078/syntaxerror-use-of-const-in-strict-mode
If you don’t use const in your code it is most likely caused by one of the libraries your code is using.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig That post says that with Node 4.x the error shouldn’t occur. Since I didn’t change anything on the plugin it must be one of the dependencies
@germanuser which Node version are you using?pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@michbeck100 said in [pimatic-echo] Control your pimatic devices using Amazon's echo:
That post says that with Node 4.x the error shouldn’t occur.
Yes, exactly. It is likely@germanuser has an older version of nodeJS installed.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
okay, how to update it ?
-
first delete node
sudo apt-get purge nodejs
after that you can check if node is still on your system and do the following steps:- Check where NodeJS is installed:
whereis node
.
This should output the path of node (for example /usr/local/bin/node). - Remove all binaries and the node_modules folder:
sudo rm -r /usr/local/bin/node /usr/local/bin/npm /usr/local/lib/node_modules
- Check that NodeJS is gone:
node --version
. It should output command not found.
reinstall with
wget https://nodejs.org/dist/v4.7.3/node-v4.7.3-linux-armv7l.tar.gz -P /tmp
cd /usr/local
sudo tar xzvf /tmp/node-v4.7.3-linux-armv7l.tar.gz --strip=1
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
thank you, i try it now
edit :
pi@raspberrypi ~ $ sudo service pimatic start
/etc/init.d/pimatic: 25: /etc/init.d/pimatic: pimatic.js: not found -
pls. check this
https://pimatic.org/guide/getting-started/running/and this
https://pimatic.org/guide/getting-started/autostarting/pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
im sorry, but this dont work
pi@raspberrypi ~ $ sudo node_modules/pimatic/pimatic.js
/home/pi/node_modules/pimatic/node_modules/bluebird/js/main/captured_trace.js:300
var firstStackLines = firstLineError.stack.split("\n");
^
illegal access -
@germanuser i would suggest to install pimatic completely new in another directory while using the existing config.json.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
New PR for tradfri support and “workaround” to improve discovering more than 16 devices (vie multiple scans) by randomizing discovery answers.
https://github.com/michbeck100/pimatic-echo/pull/20 -
@thex BTW Ikea’s Tradfri is supposed to get an Homekit Update later this year anyway. But thanks for your PR.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Hu guys,
i am trying to install this great plugin but i run in some errors i cannot get through.
I am running on a fresh and updatet raspian image on a pi3.
npm -v --> 2.15.11
node -v --> v4.6.2uname -a --> Linux raspberrypi 4.9.34-v7+ #1013 SMP Sun Jun 25 17:06:40 BST 2017 armv7l GNU/Linux
Config:
<code> { "settings": { "httpServer": { "enabled": true, "port": 80 }, "database": { "deviceAttributeLogging": [ { "deviceId": "*", "attributeName": "*", "type": "*", "interval": "0", "expire": "7d" }, { "deviceId": "*", "attributeName": "*", "type": "continuous", "interval": "5min", "expire": "7d" }, { "deviceId": "*", "attributeName": "temperature", "type": "number", "expire": "1y" }, { "deviceId": "*", "attributeName": "humidity", "type": "number", "expire": "1y" } ], "messageLogging": [ { "level": "*", "tags": [], "expire": "7d" }, { "level": "debug", "tags": [], "expire": "0" } ] }, "authentication": { "secret": "5tvZsGjlJZTYYxtl1yriP362v/euT00fQOvbeqPJ2QSXJJMvuRiTp1uyOV0uWrhAIEPhZ8DDO1XfG30e6bZe/g==" }, "httpsServer": {}, "cors": {}, "gui": {} }, "plugins": [ { "plugin": "cron" }, { "plugin": "mobile-frontend" }, { "plugin": "echo", "active": true } ], "devices": [ { "id": "sw1", "name": "SW1", "class": "DummySwitch", "echo": { "name": "EchoSwitch", "additionalNames": [ "AnotherNameForMyEchoSwitch", "YetAnotherName" ], "exclude": true } } ], "rules": [], "pages": [ { "id": "favourite", "name": "Favourites", "devices": [ { "deviceId": "sw1" } ] } ], "groups": [], "users": [ { "username": "admin", "password": "admin", "role": "admin" } ], "roles": [ { "name": "admin", "permissions": { "pages": "write", "rules": "write", "variables": "write", "messages": "write", "events": "write", "devices": "write", "groups": "write", "plugins": "write", "updates": "write", "database": "write", "config": "write", "controlDevices": true, "restart": true } } ], "variables": []
and .log output
11:24:35.364 2017-06-26 Monday 11:24:40.292 [pimatic] info: Starting pimatic version 0.9.40 11:24:42.207 [pimatic, ppm] info: 2.15.12 11:24:42.248 [pimatic] info: Loading plugin: "pimatic-cron" (0.8.8) 11:24:42.678 [pimatic] info: Loading plugin: "pimatic-mobile-frontend" (0.9.11) 11:24:43.291 [pimatic] info: Loading plugin: "pimatic-echo" (0.0.6) 11:24:44.566 [pimatic-cron] info: the time is: Mon Jun 26 2017 11:24:44 GMT+0000 (UTC) 11:24:44.574 [pimatic-echo] info: Starting pimatic-echo... 11:24:44.878 [pimatic] info: New device "SW1"... 11:24:44.950 [pimatic] error: Startup error: Error: Cannot add a route without any connections 11:24:44.950 [pimatic] error:> at Object.exports.unique.exports.contain.exports.reachTemplate.exports.assert.condition [as assert] (/home/pi/pimatic-app/node_modules/pimatic-echo/node_modules/hapi/node_modules/hoek/lib/index.js:736:11) 11:24:44.950 [pimatic] error:> at null.module.exports.internals.Plugin.parent.auth.internals.Plugin.register.internals.Plugin.route (/home/pi/pimatic-app/node_modules/pimatic-echo/node_modules/hapi/lib/plugin.js:556:10) 11:24:44.950 [pimatic] error:> at FauxMo.startVirtualDeviceEndpoints (/home/pi/pimatic-app/node_modules/pimatic-echo/lib/server.js:91:16) 11:24:44.950 [pimatic] error:> at FauxMo.init (/home/pi/pimatic-app/node_modules/pimatic-echo/lib/server.js:43:10) 11:24:44.950 [pimatic] error:> at new FauxMo (/home/pi/pimatic-app/node_modules/pimatic-echo/lib/server.js:28:10) 11:24:44.950 [pimatic] error:> at Framework.<anonymous> (/home/pi/pimatic-app/node_modules/pimatic-echo/echo.coffee:53:18) 11:24:44.950 [pimatic] error:> at Framework.g (events.js:260:16) 11:24:44.950 [pimatic] error:> at emitOne (events.js:82:20) 11:24:44.950 [pimatic] error:> at Framework.emit (events.js:169:7) 11:24:44.950 [pimatic] error:> at /home/pi/pimatic-app/node_modules/pimatic/lib/framework.coffee:948:12 11:24:44.950 [pimatic] error:> at tryCatcher (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/util.js:16:23) 11:24:44.950 [pimatic] error:> at Promise._settlePromiseFromHandler (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:512:31) 11:24:44.950 [pimatic] error:> at Promise._settlePromise (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:569:18) 11:24:44.950 [pimatic] error:> at Promise._settlePromise0 (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:614:10) 11:24:44.950 [pimatic] error:> at Promise._settlePromises (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/promise.js:693:18) 11:24:44.950 [pimatic] error:> at Async._drainQueue (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:133:16) 11:24:44.950 [pimatic] error:> at Async._drainQueues (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:143:10) 11:24:44.950 [pimatic] error:> at Immediate.Async.drainQueues [as _onImmediate] (/home/pi/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/release/async.js:17:14) 11:24:44.950 [pimatic] error:> at processImmediate [as _immediateCallback] (timers.js:383:17) 11:24:44.954 [pimatic] info: exiting...
What is wrong? I am not getting it …
Thanks!