homieiot / homie-esp8266

💡 ESP8266 framework for Homie, a lightweight MQTT convention for the IoT
http://homieiot.github.io/homie-esp8266
MIT License
1.36k stars 308 forks source link

Error using subscribeToAll #104

Closed mikecay closed 8 years ago

mikecay commented 8 years ago

Hi,

When I try to use the subscribeToAll function I get the following error.

class HomieNode' has no member named 'subscribeToAll'

I also tried the led strip example and I get the same error. I noticed in the led example that the HomieNode construct did not have true as the forth parameter but, even after putting that in I still get the error.

I am using Arduino IDE 1.6.8 and the forward declaration is in the code. Does anyone have any idea?

Thank you,

Mike

marvinroger commented 8 years ago

You're using one of the releases, right? Then you shoud use the docs contained inside the archive of your release. The documentation in the repo matches the git development version of Homie for ESP8266.

mikecay commented 8 years ago

Thank you. I was in fact using the examples on git rather that my release. Got it now

Mike

marvinroger commented 8 years ago

You're welcome!