iotwemos icon indicating copy to clipboard operation
iotwemos copied to clipboard

error class fauxmoESP has no member named onMessage

Open mariangigabyte opened this issue 6 years ago • 7 comments

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

mariangigabyte avatar Feb 03 '19 12:02 mariangigabyte

Use fauxmo library version 2.2.1

shivasiddharth avatar Feb 03 '19 12:02 shivasiddharth

where i find that?

mariangigabyte avatar Feb 03 '19 13:02 mariangigabyte

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.

shivasiddharth avatar Feb 03 '19 14:02 shivasiddharth

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 avatar Feb 03 '19 17:02 mariangigabyte

the light is to dimm. how increse brightness?

mariangigabyte avatar Feb 09 '19 09:02 mariangigabyte

'class fauxmoESP' has no member named 'setPort

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

Mehmet1326 avatar Dec 10 '19 09:12 Mehmet1326

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

chicotafarello avatar Dec 20 '19 05:12 chicotafarello