Created
January 29, 2015 06:15
-
-
Save eastein/c517411f20dd36ece815 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 :20604 Target: 192.168.2.3:7955 | |
Sent packet... | |
mac: 18:fe:34:9b:c7:4c | |
Connection: GOT_IP | |
ip: 192.168.2.16 | |
Sent packet... | |
mac: 18:fe:34:9b:c7:4c | |
Connection: GOT_IP | |
ip: 192.168.2.16 | |
Sent packet... | |
mac: 18:fe:34:9b:c7:4c | |
Connection: GOT_IP | |
ip: 192.168.2.16 | |
Sent packet... | |
^[[A^C(thingsbus)eastein@talisker ~/git/thingsbus :) $ python -m thingsbus.broker -v | |
sent snapshot of 0 things. | |
recvd udp adaptor data | |
data: '\x94\xb3bottlekid.prototype\xc0\xd96Hello world from ESP8266 integrated thingsbus adaptor.\xd9(https://github.com/eastein/esp8266.dht22' | |
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.\xd9(https://github.com/eastein/esp8266.dht22' | |
sent event update for bottlekid.prototype. | |
recvd udp adaptor data | |
data: '\x94\xb3bottlekid.prototype\xc0\xd96Hello world from ESP8266 integrated thingsbus adaptor.\xd9(https://github.com/eastein/esp8266.dht22' | |
sent event update for bottlekid.prototype. | |
recvd udp adaptor data | |
data: '\x94\xb3bottlekid.prototype\xc0\xd96Hello world from ESP8266 integrated thingsbus adaptor.\xd9(https://github.com/eastein/esp8266.dht22' | |
sent event update for bottlekid.prototype. | |
recvd udp adaptor data | |
data: '\x94\xb3bottlekid.prototype\xc0\xd96Hello world from ESP8266 integrated thingsbus adaptor.\xd9(https://github.com/eastein/esp8266.dht22' | |
sent event update for bottlekid.prototype. | |
recvd udp adaptor data | |
data: '\x94\xb3bottlekid.prototype\xc0\xd96Hello world from ESP8266 integrated thingsbus adaptor.\xd9(https://github.com/eastein/esp8266.dht22' | |
sent event update for bottlekid.prototype. | |
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=1422511990.514, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'> | |
ThingEvent<Thing<bottlekid.prototype>, ts=1422511997.466, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'> | |
ThingEvent<Thing<bottlekid.prototype>, ts=1422511999.353, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'> | |
ThingEvent<Thing<bottlekid.prototype>, ts=1422512001.356, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'> | |
ThingEvent<Thing<bottlekid.prototype>, ts=1422512003.353, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'> | |
ThingEvent<Thing<bottlekid.prototype>, ts=1422512005.352, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'> | |
ThingEvent<Thing<bottlekid.prototype>, ts=1422512007.354, flags=, data=u'Hello world from ESP8266 integrated thingsbus adaptor.'> | |
>>> import thingsbus.client | |
>>> cl = thingsbus.client.Client(broker_url='tcp://127.0.0.1:7954') | |
>>> bkp = cl.directory.get_thing('bottlekid.prototype') | |
>>> bkp.documentation_url | |
u'https://github.com/eastein/esp8266.dht22' | |
tada. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment