Skip to content

Instantly share code, notes, and snippets.

@eastein
Created January 29, 2015 06:09
Show Gist options
  • Save eastein/21a77e190890510256be to your computer and use it in GitHub Desktop.
Save eastein/21a77e190890510256be to your computer and use it in GitHub Desktop.
mac: 18:fe:34:9b:c7:4c
Connection: CONNECTING
mac: 18:fe:34:9b:c7:4c
Connection: CONNECTING
mac: 18:fe:34:9b:c7:4c
Connection: CONNECTING
mac: 18:fe:34:9b:c7:4c
Connection: CONNECTING
mac: 18:fe:34:9b:c7:4c
Connection: CONNECTING
mac: 18:fe:34:9b:c7:4c
Connection: GOT_IP
ip: 192.168.2.16
UDP Source :30933 Target: 192.168.2.3:7955
Se�t packet...
mac: 18:fe:34:9b:c7:4c
Connection: GOT_IP
ip: 192.168.2.16
Se�t packet...
mac: 18:fe:34:9b:c7:4c
Connection: GOT_IP
ip: 192.168.2.16
Se�t packet...
mac: 18:fe:34:9b:c7:4c
Connection: GOT_IP
ip: 192.168.2.16
Se�t packet...
(thingsbus)eastein@talisker ~/git/thingsbus :( $ python -m thingsbus.broker -v
sent snapshot of 0 things.
sent snapshot of 0 things.
recvd udp adaptor data
data: '\x94\xb3bottlekid.prototype\xc0\xd96Hello world from ESP8266 integrated thingsbus adaptor.\x00'
sent event update for bottlekid.prototype.
recvd udp adaptor data
data: '\x94\xb3bottlekid.prototype\xc0\xd96Hello world from ESP8266 integrated thingsbus adaptor.\x00'
sent event update for bottlekid.prototype.
sent snapshot of 1 things.
recvd udp adaptor data
data: '\x94\xb3bottlekid.prototype\xc0\xd96Hello world from ESP8266 integrated thingsbus adaptor.\x00'
sent event update for bottlekid.prototype.
recvd udp adaptor data
data: '\x94\xb3bottlekid.prototype\xc0\xd96Hello world from ESP8266 integrated thingsbus adaptor.\x00'
sent event update for bottlekid.prototype.
recvd udp adaptor data
eastein@talisker ~/git/thingsbus :( $ PYTHONPATH=`pwd` ~/venvs/thingsbus/bin/python examples/print_all_events.py -u tcp://127.0.0.1:7954
ThingEvent<Thing<bottlekid.prototype>, ts=1422511684.497, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'>
ThingEvent<Thing<bottlekid.prototype>, ts=1422511686.599, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'>
ThingEvent<Thing<bottlekid.prototype>, ts=1422511688.501, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'>
ThingEvent<Thing<bottlekid.prototype>, ts=1422511690.536, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'>
ThingEvent<Thing<bottlekid.prototype>, ts=1422511692.417, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'>
ThingEvent<Thing<bottlekid.prototype>, ts=1422511694.438, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment