@thex BTW Ikea’s Tradfri is supposed to get an Homekit Update later this year anyway. But thanks for your PR.
-
[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 -
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!
-
@FritzBox360 You have just one device and it’s set to exclude = true. So you have no devices at all. I didn’t test pimatic-echo without having any devices to be honestly. You could call this a bug, but i would say there’s no point in having no devices .
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 you are my hero! I am sitting here for hours with no luck …
unbelievable that was so simple - Thank you!
Maybe there should be a little hint in the info/readme that you need a device
Now everything is fine
-
@FritzBox360 I have a better idea: This will be fixed: https://github.com/michbeck100/pimatic-echo/issues/21
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 -
Hello Guys ,
Hello this plugin works very well, but how can I include more than one Alexa? The one Alexa has the IP address xx.xx.xx.xx which is stored in the plugin. How do I add more echoes?
Thanks for Helping
Greetings from Germany
-
This post is deleted!
-
you dont need to put the ip of your alexa device in the config.
it says:
“The ip address of the system running this plugin.”it means the ip of the raspberry.
second alexa is just working out of the box. remember its connected over the cloud. all commands are available on all alexa devices.
-
@Felix-Haverkamp said in [pimatic-echo] Control your pimatic devices using Amazon's echo:
you dont need to put the ip of your alexa device in the config.
it says:
“The ip address of the system running this plugin.”
it means the ip of the raspberry.
second alexa is just working out of the box. remember its connected over the cloud. all commands are available on all alexa devices.Ok, then I will try again. That would be even easier then … but the two Alexa must be connected with the same account or?
-
yes same account.
-
Ok that has worked, simply connect both echoes via an account and already can both access the Pi via an IP address, many thanks for the info Felix-haverkamp
-
Hi guys,
great plugin! Probably I missed something but for some reason all my HomeduinoRFSwitch Devices are now also discovered by Alexa and work perfectly fine. However, I can’t configure them in piratic like I can with the DummSwitch devices - so I can’t change the names or exclude them. Any idea how to get the configuration section also for those kind of devices?
-
@GuybrushMR80 make sure to rescan your devices with Alexa if you changed the configuration. Outdated devices should be removed, too.
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 -
Just released version 0.1.0 of pimatic-echo. This includes some improvements for people having problems with device discovery and adds support for tradfri switches
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 -
Just released Version 0.2.0.
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 -
@thex Could you test if the device number limit is fixed with this update? Now pimatic-echo emulates a Philips Hue Bridge and the discovery mechanism changed completely, so your changes from https://github.com/michbeck100/pimatic-echo/pull/20/commits/80bc1983e4b618010a33607ceb18a11bd530df14 are obsolete now and were removed.
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 -
sounds great, can’t test this weekend but next week.
WIll this fake a complete hue setup?
Can I also link it with the Hue App? Thiswould be a good way to also link it to other automation systems which support hue.If so this maybe should become pimatic-faux-hue
-
@thex No it doesn’t implement the complete api. Just whats needed for Alexa.
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 with the latest update all my shell switch devices went offline and can’t be discovered by Alexa. Pimatic also showed errors for invalid config (i.e. property “echo” is invalid for certain devices) so I cleaned that up. It worked just fine up to the latest update.
Any ideas? Do you now require devices to have certain property or inherit some new type? The shell switch plugin didn’t change.
Thanks.
-
@atus did you restart pimatic again? the echo plugin needs to be at first in the plugin section of the config.json. that’s what the plugin will do if you restart pimatic after the update.
not sure if you have to reboot twice though.the switches are offline since you now explicitely have to use a “whitelist” function.
you need to activate each device that you want to use with alexa.the exclude function has been disabled since alexa can only detect 50 devices.
many users have more devices, now it is easier to set the wanted devices instead of excluding the unwanted.pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !