Now that I have the redis functionality I need working on the esp8266 I created a module that implements a subset of the hotqueue module functionality.
This works pretty well at this pointMicroPython v1.8.1-87-g7ddd85f-dirty on 2016-06-27; ESP module with ESP8266
Type "help()" for more information.
>>> from microqueue import MicroQueue
>>> queue = MicroQueue('queuename', host='192.168.1.183', port=6666)
>>>
>>> @queue.worker
... def print_message(message):
... print(message)
...
>>> print_message()
Micropython Rocks!!!
dwight.hubbard wrote:I'm glad to hear you got it working. Once I get some time I'm going to see if I can port the hotqueue queue.worker decorator to micropython.
machdisk wrote:Dwight,
This is great! After a little haggling on my part I was able to get it working and have a loop poll the redis queue on my laptop and have it change the frequency of the LED on the WiPy. Though simple, it will serve as the basis for more complicated efforts to follow.
Cheers,
Brian