I need help with how I can to send a data obtained on a PHP script to the microprocessor Atheros for to control the sensors through this webpage for example turn on or off an LED depending on the data obtained from queries to the BDD.
This is an interesting solution! Compared to the Bridge Example, where all of the network decoding/handling is handled in the sketch, I like how all of the networking heavy lifting is done on the Linux side and only the low-level hardware I/O is done in the sketch. I think it's a much better allocation of effort.
Of course, it's not quite like the Bridge Example, because it actually loads a web page instead of calling an API. But you can still get/set data remotely through use of the /data/put and /data/get URLs (where the heavy lifting is still being done on the Linux side and no effort is required in the sketch.)
ShapeShifter:
I like how all of the networking heavy lifting is done on the Linux side and only the low-level hardware I/O is done in the sketch. I think it's a much better allocation of effort.
Agree 110%.
But why bring horrible PHP into it when Python is so much nicer and is already on the Yun?