ithinkdancan / hubitat-meross

Hubitat Drivers for Meross Smart Plugs
Apache License 2.0
24 stars 12 forks source link

After adding my 1 and only garage door in Step 2, it asks me to Add New Garage Door (step 3) #12

Open cnyper opened 10 months ago

cnyper commented 10 months ago

But, of course, there is no other door, so it fails...

Is there a simple way to ask how many doors you want to add and then run the process 'that many' times??

Thanks

A

gleep52 commented 9 months ago

Same issue here - been over a month and no response?

ithinkdancan commented 9 months ago

@ajardolino3 any ideas?

I personally just use the drivers directly without the ap

cnyper commented 9 months ago

Have given up for the moment... am using directly in Home App... Siri listens to me , but geolocation not activating the routine (despite the tab showing that I have left the building!) and rather annoyingly Siri (on my phone) won't activate the routine as I am driving back to the house, unless the phone is unlocked... which rather negates the point, although interestingly, Siri on my Apple watch WILL open the door, so I have to whisper to the watch so the phone can't hear!!

ajardolino3 commented 9 months ago

When adding your garage door, I believe the app may have the wrong wording. Step 2 is the name of your hub/meross device. Step 3 is the name of the door the device is controlling. When I first set mine up, I only had one door, too, and it was confusing because I named both the device and the door the same thing. Hope this helps.

gleep52 commented 8 months ago

Step 1 for me is username/password/device IP Step 2 auto-populates with my single garage door MSG100 unit's name I have configured on the meross app Step 3 looks like it's trying to populate a list of MORE garage doors, but since I don't have any - it will not continue and brings up an error when I click next, that I HAVE to pick a selection to continue, but there is nothing to select but an empty list.

When I try to add the driver manually and add the IP address of my meross unit, it asks for all kinds of more information:

Key: MessageID: Timestamp: Sign: UUID: Garage Door Port: Garage Open/Close time in seconds:

I was able to see in the hubitat log with debugging enabled what the UUID and Key are, but I see different data showing up like token and userid, not "Sign" or "Message ID".

I found a python script I could run to try and find the other variables and ran into this script:

https://github.com/bapirex/meross-api/blob/master/login.py

Running that gives me the output in a format like this: userId: 3....4 key: 340e1.....87fd token: 91524e1250......6246 messageId: d9fb.....173 sign: b1.....540 timestamp: 17......609

The script seems to use a random number generation which means the values will be different each time you run the script, but when I populate the driver in Hubitat with all the values from the python script, I am able to see the device respond to the web interface - it updates the state of the device with:

Current States door : closed contact : closed version : 3.2.7 model : msg100

Clicking refresh does a POST command in the log which doesn't seem to have any errors with it...

But clicking open or close does nothing at all.

If I open the garage doors manually via physical button on the garage wall, or using the Meross app, then the web interface updates and says the door is opening and the contact is open. So why don't the buttons work? I feel so very close. :(

cnyper commented 8 months ago

Step 1 for me is username/password/device IP Step 2 auto-populates with my single garage door MSG100 unit's name I have configured on the meross app Step 3 looks like it's trying to populate a list of MORE garage doors, but since I don't have any - it will not continue and brings up an error when I click next, that I HAVE to pick a selection to continue, but there is nothing to select but an empty list.

But clicking open or close does nothing at all.

If I open the garage doors manually via physical button on the garage wall, or using the Meross app, then the web interface updates and says the door is opening and the contact is open. So why don't the buttons work? I feel so very close. :(

😬😬😬 I think your struggle says it all... I want a 'slightly' easier solution... OK... A much easier solution... So I turned off Home Assistant, turned off my Hubitat and just use Apple Home (with Controller)... I know I am loosing abilities, but have got back a lot more time... "Siri, open the Garage Door." works for me, and while I haven't got the geolocation to work, at least Siri listens to me. A

ajardolino3 commented 8 months ago

I believe the issue is that I only tested this app with an MSG200, not an MSG100. The MSG200 supports up to 3 garage doors. The Meross API must return the data differently for the MSG100.

Keep in mind, all the app does is simplify the setup of the devices. If you already have the devices setup, the app won't help you much. Feel free to modify/update the code for MSG100 and submit a pull request.

As far as automating with geolocation, I use the BLE Gateway app with a USB dongle in my car. When the cart pulls up to the house, the door automatically opens everytime. Automatic closing doesn't work as well, given the nature of this technology, but I do have some rules in place that if no one is home, to automatically close the garage door if its open.

Art

On Fri, Jan 12, 2024 at 7:09 AM cnyper @.***> wrote:

Step 1 for me is username/password/device IP Step 2 auto-populates with my single garage door MSG100 unit's name I have configured on the meross app Step 3 looks like it's trying to populate a list of MORE garage doors, but since I don't have any - it will not continue and brings up an error when I click next, that I HAVE to pick a selection to continue, but there is nothing to select but an empty list.

But clicking open or close does nothing at all.

If I open the garage doors manually via physical button on the garage wall, or using the Meross app, then the web interface updates and says the door is opening and the contact is open. So why don't the buttons work? I feel so very close. :(

😬😬😬 I think your struggle says it all... I want a 'slightly' easier solution... OK... A much easier solution... So I turned off Home Assistant, turned off my Hubitat and just use Apple Home (with Controller)... I know I am loosing abilities, but have got back a lot more time... "Siri, open the Garage Door." works for me, and while I haven't got the geolocation to work, at least Siri listens to me. A

— Reply to this email directly, view it on GitHub https://github.com/ithinkdancan/hubitat-meross/issues/12#issuecomment-1889156005, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGE43XUWP47WW55JGVP4X23YOEYWZAVCNFSM6AAAAABAJFGX56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZGE2TMMBQGU . You are receiving this because you were mentioned.Message ID: @.***>

cnyper commented 8 months ago

I believe the issue is that I only tested this app with an MSG200, not an MSG100. The MSG200 supports up to 3 garage doors. The Meross API must return the data differently for the MSG100. ><

Ahhh!!! Of course... that explains it...

Thanks for the response...

A