Giter Club home page Giter Club logo

homebridge-mqtt-acessories's People

Contributors

danielsen2009 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lou-lan lawesly

homebridge-mqtt-acessories's Issues

When I copy the code and try to upload it to my esp8266 it gives me this error any ideas?

I coped the code for the fan accessory and it gave me this error. Anybody have any ideas on how to fix it?

Arduino: 1.6.13 (Mac OS X), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 921600, 4M (3M SPIFFS)"

TestFanWithOTA:42: error: no matching function for call to 'PubSubClient::PubSubClient(IPAddress&, WiFiClient&)'
PubSubClient client( server,wclient);
^
PubSubClient::PubSubClient(const char*, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&, Stream&)
PubSubClient(const char*, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client, Stream&);
^
PubSubClient.h:116:4: note: candidate expects 5 arguments, 2 provided
PubSubClient.h:115:4: note: PubSubClient::PubSubClient(const char*, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&)
PubSubClient(const char*, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client);
^
PubSubClient.h:115:4: note: candidate expects 4 arguments, 2 provided
PubSubClient.h:114:4: note: PubSubClient::PubSubClient(const char*, uint16_t, Client&, Stream&)
PubSubClient(const char*, uint16_t, Client& client, Stream&);
^
PubSubClient.h:114:4: note: candidate expects 4 arguments, 2 provided
PubSubClient.h:113:4: note: PubSubClient::PubSubClient(const char*, uint16_t, Client&)
PubSubClient(const char*, uint16_t, Client& client);
^
PubSubClient.h:113:4: note: candidate expects 3 arguments, 2 provided
PubSubClient.h:112:4: note: PubSubClient::PubSubClient(uint8_t*, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&, Stream&)
PubSubClient(uint8_t , uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client, Stream&);
^
PubSubClient.h:112:4: note: candidate expects 5 arguments, 2 provided
PubSubClient.h:111:4: note: PubSubClient::PubSubClient(uint8_t
, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&)
PubSubClient(uint8_t , uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client);
^
PubSubClient.h:111:4: note: candidate expects 4 arguments, 2 provided
PubSubClient.h:110:4: note: PubSubClient::PubSubClient(uint8_t
, uint16_t, Client&, Stream&)
PubSubClient(uint8_t , uint16_t, Client& client, Stream&);
^
PubSubClient.h:110:4: note: candidate expects 4 arguments, 2 provided
PubSubClient.h:109:4: note: PubSubClient::PubSubClient(uint8_t
, uint16_t, Client&)
PubSubClient(uint8_t , uint16_t, Client& client);
^
PubSubClient.h:109:4: note: candidate expects 3 arguments, 2 provided
PubSubClient.h:108:4: note: PubSubClient::PubSubClient(IPAddress, uint16_t, std::function<void(char
, unsigned char*, unsigned int)>, Client&, Stream&)
PubSubClient(IPAddress, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client, Stream&);
^
PubSubClient.h:108:4: note: candidate expects 5 arguments, 2 provided
PubSubClient.h:107:4: note: PubSubClient::PubSubClient(IPAddress, uint16_t, std::function<void(char*, unsigned char*, unsigned int)>, Client&)
PubSubClient(IPAddress, uint16_t, MQTT_CALLBACK_SIGNATURE,Client& client);
^
PubSubClient.h:107:4: note: candidate expects 4 arguments, 2 provided
PubSubClient.h:106:4: note: PubSubClient::PubSubClient(IPAddress, uint16_t, Client&, Stream&)
PubSubClient(IPAddress, uint16_t, Client& client, Stream&);
^
--------------------------Cut out a whole bunch of other errors to shorten it-------------------------
TestFanWithOTA:163: error: expected unqualified-id before '&' token
void callback(const MQTT::Publish& pub){
^
TestFanWithOTA:163: error: expected ')' before '&' token
TestFanWithOTA:163: error: expected initializer before 'pub'
void callback(const MQTT::Publish& pub){
^
exit status 1
no matching function for call to 'PubSubClient::PubSubClient(IPAddress&, WiFiClient&)'

Hello

Hello, it’s a great project, how is it going now? Has the problem been solved? Whether it is open source.

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.