GithubHelp home page GithubHelp logo

Comments (10)

philicibine avatar philicibine commented on June 1, 2024

I have the same issue. Although I don't have an echo, so I am using alexapi.

from pimatic-echo.

michbeck100 avatar michbeck100 commented on June 1, 2024

@n3roGit are you using a real echo?

from pimatic-echo.

n3roGit avatar n3roGit commented on June 1, 2024

Yes I have two echo dots :)

from pimatic-echo.

michbeck100 avatar michbeck100 commented on June 1, 2024

Ok, i was using the alexa app to start the discovery and it took me 2 attempts, but then it worked.
You could try to start your pimatic manually:
DEBUG=ssdp-server node pimatic.js
Then you should see the debug output of the library that handles the discovery.

from pimatic-echo.

n3roGit avatar n3roGit commented on June 1, 2024

okay one second :)

from pimatic-echo.

n3roGit avatar n3roGit commented on June 1, 2024

ssdp-server using ip address: 192.168.1.13 +0ms
ssdp-server binding to port 1900 for ssdp discovery +16ms
18:16:59.772 [pimatic] rule startup: set color #F5F5F5
18:16:59.776 [pimatic] rule startup: set color #F5F5F5
18:16:59.779 [pimatic] rule startup: set color #F5F5F5
ssdp-server server error:
ssdp-server Error: bind EADDRINUSE 0.0.0.0:1900
ssdp-server at Object.exports._errnoException (util.js:873:11)
ssdp-server at exports._exceptionWithHostPort (util.js:896:20)
ssdp-server at dgram.js:214:18
ssdp-server at nextTickCallbackWith3Args (node.js:453:9)
ssdp-server at process._tickDomainCallback (node.js:400:17) +4s
18:17:00.977 [pimatic-ping] Error on ip lookup of zbox.fritz.box: Error: queryA ENOTFOUND zbox.fritz.box
18:17:01.155 [pimatic-fritz] Re-establishing session at http://fritz.box
ssdp-server Setup Server running. +828ms

netstat -tulpn | egrep -i 1900
udp 0 0 0.0.0.0:1900 0.0.0.0:* 7061/java
udp 0 0 0.0.0.0:1900 0.0.0.0:* 1883/minidlnad

maybe the port is blocked :D

from pimatic-echo.

michbeck100 avatar michbeck100 commented on June 1, 2024

looks like there is already running on port 1900. Do you have other Amazon echo bridges like the ha-bridge running?

from pimatic-echo.

n3roGit avatar n3roGit commented on June 1, 2024

found the problem. habridge and minidlna locked the port. now it works :)

uncompfortably i cant change the minidlna port :( but your plugin works! =)

from pimatic-echo.

michbeck100 avatar michbeck100 commented on June 1, 2024

Good, i will see if i can make the port configurable

from pimatic-echo.

michbeck100 avatar michbeck100 commented on June 1, 2024

@philicibine just for the record, it seems you can't use alexapi to control your devices. this is a feature only for real echos. Sorry

from pimatic-echo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.