Re: [mh] Alexa Frustrations

Jon Boehm <[email protected]>
Newsgroups gmane.comp.misc.misterhouse.user
Message-ID <CAL7eZUXwmS7EWw9LVTWZVRXBAA-r0RTYSNw6wScPG3HhXmZhfg@mail.gmail.com>
I've solve my issues.  Short version:

1) Use the newest code previous mentioned in this thread
2) Follow the MH instruction for Alexa integration
***3) The default Echo account must have at least one Echo natively /
originally set up by the default user account.

Longer version:
Turns out that Amazon's household crap is a mess.  You can have more than
one account associated with an Echo thru the 'household', but only one
additional adult.  The other adult in the household can access devices (in
this case MH smarthome devices), however you must switch the active account
on the echo to do so OR sometimes the echo  sees the devices in the other
acount and goes into a stupid long chat.  It recognizes the device is in
another account then follows up to ask if you really want to control it.
 However, when asked to scan for devices so that they can be native in the
current account, it finds nothing.

The reason why it finds nothing in the second household account is that the
other person in the household must register one of the Echo units under
their account from the very beginning.   After that any Echo in any account
has native access to the smart home MH devices.

I don't know about you but being the tech head in the house, all of the
echos were set up in my account but primarily used in my wife's account.
Therefore without at least one echo in her 'name' her account could not see
the MH devices.

Hope this helps others

On Mon, Dec 16, 2019 at 11:34 PM Giles Godart-Brown <[email protected]>
wrote:

> I also had this problem, but now its fixed after following the steps below
> (server is a Raspberry pi)
>
> Giles
>
> <snip>
>
> Setting up Alexa when the Misterhouse port is not port 80 (8077 in my
> case).
>
> Install socat
>
> sudo apt-get update
> sudo apt-get install socat
>
> Create a service by creating /etc/systemd/system/80forward.service which
> contains the following (note /home/pi/mh/GGBdata is my data folder)
>
> --------------
> [Unit]
> Description=forward port 80 to 8077
> After=network.target
>
> [Service]
> ExecStart=/usr/bin/socat TCP-LISTEN:80,fork TCP:127.0.0.1:8077
> WorkingDirectory=/home/pi/mh/GGBdata
> StandardOutput=inherit
> StandardError=inherit
> Restart=always
>
> [Install]
> WantedBy=multi-user.target
> ----------------------
>
> Test and install the service with;
>
> systemctl start 80forward.service
> systemctl status 80forward.service
>
> Next check you can browse to your Misterhouse web pages without including
> your port number.
>
> If all is well, enable the forwarding service at boot time;
>
> sudo systemctl enable 80forward.service
>
> Next get the latest alexa code from
> https://raw.githubusercontent.com/waynieack/misterhouse/AlexaBridge/lib/AlexaBridge.pm
> cd ... /mh/lib
> rm AlexaBridge.pm
> wget
> https://raw.githubusercontent.com/waynieack/misterhouse/AlexaBridge/lib/AlexaBridge.pm
>
> Edit your ini file to add;
> ---------------
> alexaHttpPortCount = 0
> alexaHttpPort = 80
> debug=alexa:5
> --------------
>
> Run the Alexa App on the phone and delete all the previous devices by
> selecting the device and then clicking on the trash can
> Next on the Alexa app select 'discover new devices' and select 'other
> device' (not Philips Hue or other manufacturer)
> It should now find all of your devices, take any defaults and create
> groups if you want to.
> </snip>
> On 17/12/2019 00:54, Paul Onley wrote:
>
> Jon,
> Have you downloaded the new AlexaBridge.pm module linked in the message
> just before yours?
>
> It sounds like the same problem that many had and Wayne did some rework on
> the code to work with an apparent update that Amazon pushed out to Alexa.
>
>
> On 12/10/19 2:12 PM, Jon Boehm wrote:
>
> Looking for suggestions or anything obvious I'm doing wrong.
>
> Problem (see details below):
>
>    - Can't add new devices to my Alexa account.
>       - Q: If I remove a single device via the Alexa Phone app should I
>       be able to tell Alexa to rescan and find the item I just deleted without
>       additional actions in my?
>    - Can't get any devices on my wife's Alexa account.
>       - Q: Can I scan in 2 peoples Alexa Accounts and have the devices
>       show up in 2 accounts, or are devices tied to a single account?  As in is
>       there a misterhouse limitation that only allows one Alexa account to 'own'
>       a device?  Alexa expects each account in a household to re-scan for devices
>       (stupid, I know).
>
>
> Details:
>
>    - Successfully moved MH to port 80 and made Apache2 happy with MH on
>    port 80 even thru a reverse proxy
>    - Testing
>       - Switched to my account.  Default account on Alexa is my wife's
>       account.
>       - deleted all mh related smarthome devices via the phone Alexa app
>       on my phone.
>       - Told Alexa to scan for new devices. Alexa says things like "this
>       might take a min" and "Put devices in pairing mode" etc.
>       - Found all my devices
>       - Yay, Alexa control works in my account
>       - My wife is not home so I can't immediately switch accounts and
>       scan for devices in her account too.  (REALLY STUPID that amazon doesn't
>       share smarthome devices between Alexa accounts in the same Alexa-household)
>    - 2 days later repeat in my wires account... no luck
>       - Same thing.  Remove devices.
>       - On rescan Alexa *DOES NOT* say  "this might take a min" and "Put
>       devices in pairing mode".  However, this could be because its in some kind
>       of 'brief' mode were Alexa is less chatty.
>       - No devices found.  ARGH.  BTW I switching to *my *account on
>       Alexa and I can still control the devices as normal
>       - Next, in my account I delete a seldom used MH device from the
>       Alexa app on my phone.
>       - Rescan in my account Alexa says the same as last time "pairing
>       mode" etc.  However this time the rescan did NOT find the item I deleted a
>       few minutes ago.
>
> Thanks for any ideas
>
>
> ________________________________________________________
> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>
>
>
>
> ________________________________________________________
> To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>
> ________________________________________________________
> To unsubscribe from this list, go to:
> https://lists.sourceforge.net/lists/listinfo/misterhouse-users
>
>

________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.