michbeck100 / pimatic-echo

Pimatic plugin that integrates Amazons smart home skill
GNU General Public License v3.0
17 stars 10 forks source link

problem with echo plugin if I use IP adress for one of my alexas #51

Open blacktiger333 opened 6 years ago

blacktiger333 commented 6 years ago

If I use an ip address of the network interface to use for one of my alexas, than I cannot start pimatic (see attached error log). As far as I understood - if I use more than one alexa - I have to use an ip address if I want to discover new devices (with the alexa with this specified IP Address) - if I don't specify an ip address in the plugin - I can start pimatic without problems - is this a bug? pimatic-daemon.log

blacktiger333 commented 6 years ago

attached also my config file: config.txt

michbeck100 commented 6 years ago

The ip address is just for people who are using more than one network interface on their pimatic host system (aka raspberry for most users). If you just use one interface (most probably eth0 or wlan0) youre find and don't need to configure this. It will be detected automatically.

blacktiger333 commented 6 years ago

@michbeck100 - If I don't specify an ip address - no devices are found if discover for devices with pimatic and alexa, so I still have the problem that it doesn't work for me. Can you see something what's wrong with the log file and config I sent?

blacktiger333 commented 6 years ago

I will open a new issue.

michbeck100 commented 6 years ago

We‘ll just open this one again

michbeck100 commented 6 years ago

Please post the config containing the IP address. I couldn’t find it in the attached config.txt

blacktiger333 commented 6 years ago

sorry - here it is: config.txt

michbeck100 commented 6 years ago

As I wrote before you don’t need to set the up address.

michbeck100 commented 6 years ago

Did you try the plugin without setting the ip address?

blacktiger333 commented 6 years ago

Yes - I did so, same problem as before.

Am 06.02.2018 um 14:20 schrieb Michael Kotten notifications@github.com<mailto:notifications@github.com>:

Did you try the plugin without setting the ip address?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/michbeck100/pimatic-echo/issues/51#issuecomment-363420000, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVPn3gBn-hUuAhfH9COWayN7UgqrGFb2ks5tSFG3gaJpZM4RR643.

michbeck100 commented 6 years ago

Are you using more than one pimatic instances with pimatic-echo installed?

blacktiger333 commented 6 years ago

Yes – I’m using 3 raspis with pimatic-echo installed.

Von: Michael Kottenmailto:notifications@github.com Gesendet: Dienstag, 6. Februar 2018 20:00 An: michbeck100/pimatic-echomailto:pimatic-echo@noreply.github.com Cc: blacktiger333mailto:chris3chris3chris@hotmail.com; Authormailto:author@noreply.github.com Betreff: Re: [michbeck100/pimatic-echo] problem with echo plugin if I use IP adress for one of my alexas (#51)

Are you using more than one pimatic instances with pimatic-echo installed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/michbeck100/pimatic-echo/issues/51#issuecomment-363528521, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVPn3m_SsGaivEyu5Vdj7fc2FUdAV39Lks5tSKFNgaJpZM4RR643.

michbeck100 commented 6 years ago

Ok, pimatic-echo isn’t tested with multiple instances. I guess there are some uids in the code that have to be unique. You are invited to play with these. But to be sure, you should first disable all instances except one and retest

michbeck100 commented 4 years ago

@blacktiger333 did you test with a single instance?

michbeck100 commented 4 years ago

Is here any progress?