shivasiddharth / iotwemos

Wemos D1 Mini Projects
32 stars 33 forks source link

error class fauxmoESP has no member named onMessage #2

Open mariangigabyte opened 5 years ago

mariangigabyte commented 5 years ago

C:\Users\sexyy\Downloads\16 device alexa control\sketch_feb03a\sketch_feb03a.ino: In function 'void setup()':

sketch_feb03a:161: error: 'class fauxmoESP' has no member named 'onMessage'

fauxmo.onMessage(callback);

      ^

exit status 1 'class fauxmoESP' has no member named 'onMessage' ...i use NODEMCU

shivasiddharth commented 5 years ago

Use fauxmo library version 2.2.1

mariangigabyte commented 5 years ago

where i find that?

shivasiddharth commented 5 years ago

Sketch-->Include Libraries-->Manage Libraries. The usual place where you install the libraries. From the dropdown on the left side choose the 2.2.1 version.

mariangigabyte commented 5 years ago

10x 10x 10x shivasiddharth for your help. is working now and alexa shi find devices bat the blue ligts shi not find. i donat like samm game ligts.
i whant to chenge game lights in the sketch bat i'm not expert in coding :((

mariangigabyte commented 5 years ago

the light is to dimm. how increse brightness?

Mehmet1326 commented 4 years ago

'class fauxmoESP' has no member named 'setPort

for this fauxmo.setPort(80); I use NODEMCU.Can you help me?

chicotafarello commented 4 years ago

I had this same problem with setPort, i solved updating the library fauxmo to version 3.1.0.