Code Monkey home page Code Monkey logo

Comments (7)

debsahu avatar debsahu commented on June 19, 2024 1

I understand, thanks for the awesome library!

from esp8266-google-home-notifier.

horihiro avatar horihiro commented on June 19, 2024

Thanks @debsahu and sorry for late reply.

This library declares MDNS in internal ESP8266mDNS.h.
So you need to add #include <esp8266-google-home-notifier.h> before #include <ESP8266mDNS.h> and some header files which includes it.

This internal ESP8266mDNS.h will be included in Arduino core for ESP8266 WiFi chip 2.5.0, then I will remove the internal one from this library.

from esp8266-google-home-notifier.

debsahu avatar debsahu commented on June 19, 2024

I heard that google is going to monetize translation service, dont know how it will effect tinkerers like us!

from esp8266-google-home-notifier.

arreisau avatar arreisau commented on June 19, 2024

Hi, I followed the trail to here because I was getting the same or related compile errors.

In the setup instructions it says:
"use Arduino Core for ESP8266 2.5.0, which will merge ESP8266mDNS.cpp/.h, or later."

However, that pull request doesn't appear to have been merged in as esp8266 completely changed the mDNS implemenation.

"Closing in favor of #5384 ."
which was then:
"closing in favour of #5442"

and that's what seems to have ended up in 2.5.0

I haven't quite sorted out where the txt() function ended up, if they included one.

from esp8266-google-home-notifier.

JLNapo avatar JLNapo commented on June 19, 2024

Not work with Arduino IDE 1.8.8.
Worked very well with older versions. Can GCC4.4 be the cause?

...\esp8266-google-home-notifier\src\ESP8266mDNS.cpp: In member function 'bool MDNSResponder::_listen()':
...\esp8266-google-home-notifier\src\ESP8266mDNS.cpp:300:47: error: no matching function for call to 'UdpContext::listen(const ip_addr_t&, const int&)'
if (!_conn->listen(*IP_ADDR_ANY, MDNS_PORT)) {
^
...\esp8266-google-home-notifier\src\ESP8266mDNS.cpp:300:47: note: candidate is:

In file included from ...\esp8266-google-home-notifier\src\ESP8266mDNS.cpp:60:0:

...\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi\src/include/UdpContext.h:98:10: note: bool UdpContext::listen(const ip_addr_t*, uint16_t)
bool listen(CONST ip_addr_t* addr, uint16_t port)
^
Etc...

from esp8266-google-home-notifier.

horihiro avatar horihiro commented on June 19, 2024

Could you please try esp8266 core 2.4.x?
This library doesn't work with 2.5.0 or later.

Please refer to #14 .

And open new issue in order to notify me if you have problems yet.

from esp8266-google-home-notifier.

JLNapo avatar JLNapo commented on June 19, 2024

from esp8266-google-home-notifier.

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.