Still need help on this ([ST Edge] SmartThings MyQ Edge - #153 by ViperTK). If anyone can take a look at why would the connection timeout and reason for difference in the IP, i would be grateful.
I was trying to troubleshoot this and I think the issue may lie with the changed IP address for the server that the executable is generating and feeding to ST edge driver.
I managed to run the docker instance on my Pine64 running DietPi as well with same results. For this instance, I tried all the steps that @TN_Oldman mentioned and was able to ping out of the docker instance to the ST hub, rest of the network as well as internet.
But, when I try to hit the details page on the IP listed in the docker container (192.168.62.1) it times out. If I try to hit the actual IP of the Pine64 it opens up the details page. This is same as my Windows server, where the IP being generated and fed to ST app is 192.168.56.1 instead of the actual 192.168.62.xx. And I think this is causing the ST to not discover the correct details that it need to create the devices.
Nope, ignore the Beta driver for now. At some point, Iβll probably pull that from the channel and run it on a private one to reduce confusion.
This tells me your container is not running in host mode. In other words, your actual docker server has assigned an internal IP to the container itself, which will not work with this integration at the moment. Is this running on a pi or some other platform? Iβm really curious about people who have gotten this far but canβt get a connection between the hub and the server - trying to see if thereβs a common thread other than not truly running in host mode and if there is a good way I can update the code to detect this and warn about it.
To be honest, I am surprised and a little impressed at how many of you have jumped straight into Docker with no prior experience. This is fairly advanced stuff with a lot of places for mistakes to be made, so if I had known weβd get here, I would have probably put a bit more time into documenting steps. Maybe Iβll get to that at some point.
Thanks Brian (@brbeaird)! I used the command from your post #65 as below, docker run -d --name=βsmartthings-myq-edgeβ --net=βhostβ -e βMYQ_EMAILβ=βmyemailβ -e βMYQ_PASSWORDβ=βmyPasswordβ 'brbeaird/smartthings-myq-edge
since it had the tag --net=βhostβ i assumed it would cause it to run in host mode. how can I check and update the mode. And the issue is that my windows executable has the behaviour here.
this is my first time using docker, so apologies for any noob questions.
Okay, i think iβve made some progressβ¦i gave up on docker and went the exe route with mac. I was able to get the file converted to run as an executable and it finds the myq variables from the config file. Also, for the first time, i am able to get the details for the IP of the server using a browser and it shows info for all 3 devices.
However, i still canβt successfully find the devices with a scan for devices in the ST App. Again, i get the same results when checking the logs for the driver.
2022-10-05T18:29:00.348293139+00:00 TRACE MyQ Door Server.new_with
2022-10-05T18:29:00.351401680+00:00 TRACE MyQ Door Server:post
2022-10-05T18:29:00.354815847+00:00 TRACE MyQ Door Server:post
2022-10-05T18:29:00.357877889+00:00 TRACE MyQ Door Server:listen
2022-10-05T18:29:00.376646222+00:00 DEBUG MyQ Door driver device thread event handled
2022-10-05T18:29:00.379939764+00:00 TRACE MyQ Door Received event with handler _resync
2022-10-05T18:29:00.383077639+00:00 TRACE MyQ Door Received event with handler environment_info
2022-10-05T18:29:00.387205639+00:00 TRACE MyQ Door Received event with handler environment_info
2022-10-05T18:29:00.390241930+00:00 DEBUG MyQ Door Z-Wave hub node ID environment changed.
2022-10-05T18:29:00.394473430+00:00 TRACE MyQ Door Received event with handler discovery
2022-10-05T18:29:00.412567347+00:00 INFO MyQ Door ===== SCANNING NETWORKβ¦
2022-10-05T18:29:00.426486514+00:00 ERROR MyQ Door ===== No MyQ Bridge found in network
Itβs an PineA64 single board, similar to Pi but different architecture (aarch64) i think. OS iβm running is the latest edition of DietPi v8.9.2. This is the one i use to run a network wide PiHole.
Some additional info, when i inspected the container, it does show the network mode as host and docker logs command on the container yields following.
Everything was running fine this morning. Had a sd card corruption and had to reinstall everything.
Followed the same steps that I had used before. Now does not matter what options I use for network, I get the 3 lines of device, gateway discovery, and waiting for discovery, but ST app does not find the device. Also noticed when I run docker ps/docker container ls/docker container inspect id it does not show any port number. I even reinstalled the driver. Previously CLI would show ===== No MyQ Bridge found in network, now after reinstalling driver on app I get nothing.
I wonder if this has something to do with the new docker update. That is the only thing that really changed.
Iβve got a similar problem. Everything working as expected using the mac executable, but ST App still will not find devices.
The new thing is now when i check logs for the driver i get nothing. Previously i would get the No MyQ Bridge found in network, but now the log just does nothing during the scan for devices. What happened???
i downloaded the Smartthing CLI to my computer but i figure out what to do next. i dont see a program anywhere to run. can you give me more directions on what to do next.
This is odd. I rolled back my last server change in case that caused issues, removed my devices, then tried rescanning - Iβm now seeing the same issue where the edge driver is just not giving me any logs at all, like not even trying to scan when I do it from the mobile app. I tried republishing the driver - still nothing.
Also tried rebooting my hub. No luck. Wondering at this point if itβs a more widespread issue? I didnβt notice if firmware changed today or not.
But if you downloaded the windows msi file run it.
It should spit out an exec file. Move that file to wherever you want to keep it.
Hold shift and right click in the folder you have the exe file. Select run power shell. This should open windows PowerShell in that folder.
If that doesnβt work youβll have to open PowerShell and the use dos commands to get to the folder you put the exe file.
Then there is a command to run the exe file from the power shell window. I donβt remember it off the top of my head. Itβs listed in the thread I posted earlier.
I can give you the command when Iβm home and can look it up.
The thread I posted earlier also tells how to select which driver you want to capture the logs of in the CLI.