Hey folks,
This is my first post and I need some hints with MQTT.
The example sketch for publishing MQTT messages uses EthernetClient libraries.
I'd like to use WiFi connection. I tried to change it with WiFi client, but I realised it referes to WiFi Shield and it doesn't work.
Any suggestion? Does it make sense to "porting" the MQTT client library to Yun?
Another option cbould be to install the MQTT Client on Linino.
Is that a more viable solution?
Hi Con,
thank you for pointing out the discussion thread, I will comment on that.
Briefly my approach was different because I've used RasperryPI as host running the MQTT server (mosquito).
So every arduino yun is mainly a senosr node or data context source that publishes events.
I played with my son by using a light sensor on Yun that sends a message about environment changes, a python script on Raspi subscribed to the same topic takes a snapshot with the PiCamera when a person is shadowing the sensor.