Comments (5)
Original comment by debdale (Bitbucket: Debdale, ).
hi Mathew,
i'm trying to do a similar thing.
i'm tying to POST a API to my raspberry pi, I've noticed if you move your (GET snippet/block) of code and place it anywhere else in the same sketch it will work.
also have you replaced the GET with POST just to see what happens?
from fauxmoesp.
Original comment by debdale (Bitbucket: Debdale, ).
looking into this further i think its also a library issue in a sense that the fauxmoESP.h and the ESP8266HTTPClient.h do not play well together??
i think there has been issues before with other HTTP/server libraries conflicting.
from fauxmoesp.
Original comment by Michael Gates (Bitbucket: MadBanana, GitHub: MadBanana).
I seem to be experiencing similar. FAUXMO works perfectly alone and the example behaves as it should. ESP8266HTTPClient also works correctly, sending HTTP commands to my Sonoff plugs.
The two together just will not work - I don't get any errors, FAUXMO toggles the LED state and sends to serial the change of state details but no HTTP string gets sent.
Glad it isn't just me ...
from fauxmoesp.
Original comment by Xose Pérez (Bitbucket: [Xose Pérez](https://bitbucket.org/Xose Pérez), ).
Try not to add too much code inside the callback, rise a flag instead and handle it from the main loop.
from fauxmoesp.
Original comment by Michael Gates (Bitbucket: MadBanana, GitHub: MadBanana).
Yes, thanks - I'd been restructuring the code for a while (don't have much spare time!) and it seems to work ok. Only using two devices and occasionally it hangs but much better than before.
from fauxmoesp.
Related Issues (20)
- Status of element
- ESP32 Device fails to be recognised after a while
- double action with Alexa HOT 1
- how to setDeviceUniqueId with an example HOT 3
- I ported fauxmoESP for Raspberry Pi Pico W HOT 1
- 'class fauxmoESP' has no member named 'onGetState' HOT 15
- Not all devices respond any more HOT 1
- Alexa drops FauxmoESP after some time HOT 6
- setDeviceUniqueId only sets first 12 characters of uniqueId HOT 4
- How can use this lib to control the device colors? HOT 1
- Infrequent crashes caused by a bug HOT 3
- Disable fauxmo does not disable internal web server
- Device not found by Alexa with release 3.4.0
- Strange behavior with command HOT 4
- Allow devices to show up as a smart plug.
- Echo Dot 3 doesn't detect device.
- Where best to feed a watchdog?
- [Feature Request] Transition back to Wemo to support more devices
- How To use fauxmo.setState HOT 1
- AsyncServer is not stopped even when Fauxmo is disabled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fauxmoesp.