Commit graph

335 commits

Author SHA1 Message Date
brentrubell
19f8cea7fc
Merge pull request #78 from brentru/rtd-comments
Documentation for Client.py (API Client)
2018-12-31 09:04:45 -05:00
brentru
209c0f3160 update examples for breaking change within send_location_data method, bump version 2018-12-30 20:57:10 -05:00
brentru
e68de95345 updating send_lococation_data test 2018-12-26 12:39:35 -05:00
brentru
42df192722 adding RTD documentation to all methods for client lib 2018-12-26 12:34:36 -05:00
brentru
f3b0fc0f01 rename file 2018-09-05 13:33:08 -04:00
brentrubell
7de8fd6dd0
Merge pull request #76 from adafruit/mqtt-group-get
Adding Group Features to mqtt_client.py
2018-09-05 13:29:20 -04:00
brentru
9c5399ca4a bump version for pypi release 2018-09-05 13:14:24 -04:00
brentru
8fcc5a5698 group sub example -> pub AND sub example 2018-09-05 13:03:06 -04:00
brentru
54f8790ed4 consolidate group_publish into publish method 2018-09-05 12:57:15 -04:00
brentru
3d43570cec adding group publishing, unsubscribe support for groups 2018-09-05 12:39:46 -04:00
brentru
7d0b95133d adding group subscriptions 2018-09-05 12:00:13 -04:00
brentrubell
da00252c01
Merge pull request #74 from adafruit/io-camera-example
adding pi camera example to library
2018-09-04 15:28:59 -04:00
brentru
f9ba5cdc46 adding pi camera example to library 2018-09-04 15:21:16 -04:00
brentrubell
62db16846c
Merge pull request #72 from adafruit/remove-legacy-code
remove legacy methods from client
2018-08-25 10:52:35 -04:00
brentru
82f66ac9ab remove legacy methods from client 2018-08-25 10:15:21 -04:00
brentrubell
6bcb209bff
Merge pull request #71 from adafruit/add-versionstr
adding fix for pypi
2018-08-24 13:40:40 -04:00
brentru
ab3b978bb7 bump version for release 2018-08-24 13:35:24 -04:00
brentru
6af24a1b9a adding fix for pypi 2018-08-24 13:31:03 -04:00
brentrubell
0350cc8211
Add environmental monitor example (#68) 2018-08-15 12:48:54 -04:00
brentru
94ea0f05b5 Adding dht22 example, updating header to include MIT license info
switch pins
2018-08-09 16:57:40 -04:00
brentru
2969865610 Adding example for AIO Basics: Servo 2018-08-09 11:40:13 -04:00
brentrubell
41219f731f
Add rgb led example (#67)
* Adding helper methods (toRed, toGreen, toBlue) for hex-encoded color feeds
* Adding example for AIO Basics: Color
2018-08-08 17:38:29 -04:00
brentru
6c89c4e9a0 analog pwm output example
add configurable channel to analog_output example

catch prev. values

fixup analog_out
2018-08-08 13:13:49 -04:00
brentrubell
bd268080ef Update .travis.yml
Bump version
2018-08-02 13:13:48 -04:00
brentru
b344704d7c add threaded loop stop 2018-08-02 13:11:45 -04:00
brentrubell
b5bf7cdff1
bump bump version 2018-08-01 17:24:22 -04:00
brentrubell
d694464419
Feed sharing (#64)
Adding Feed Sharing into IO Python MQTT_Client
2018-08-01 17:21:11 -04:00
brentru
1765438bc1 analog_in example match new MCP3xxx API 2018-07-27 14:18:28 -04:00
brentru
919807d5d0 add analog_in example for blinka and mcp3008 2018-07-25 12:45:59 -04:00
brentrubell
80b455a0eb
TypeError Handling (#61)
Fix TypeError on 3.5.x (RasPi, Stretch)
2018-07-17 10:00:54 -04:00
brentru
9ef016e93d patch unknown retain param error 2018-07-16 14:48:57 -04:00
brentrubell
4f3609bbd1
Merge pull request #60 from erickellerek1/patch-2
message callback unknown retain parameter
2018-07-16 14:45:24 -04:00
Eric Keller
135845a90e
message callback unknown retain parameter
the message callback does not get any retain parameter. fixing the following trace...

```
Traceback (most recent call last):
  File "./pubsub.py", line 63, in <module>
    client.loop_blocking()
  File "/usr/local/lib/python3.5/dist-packages/Adafruit_IO/mqtt_client.py", line 152, in loop_blocking
    self._client.loop_forever()
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 1481, in loop_forever
    rc = self.loop(timeout, max_packets)
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 1003, in loop
    rc = self.loop_read(max_packets)
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 1284, in loop_read
    rc = self._packet_read()
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 1849, in _packet_read
    rc = self._packet_handle()
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 2305, in _packet_handle
    return self._handle_publish()
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 2500, in _handle_publish
    self._handle_on_message(message)
  File "/usr/local/lib/python3.5/dist-packages/paho/mqtt/client.py", line 2647, in _handle_on_message
    self.on_message(self, self._userdata, message)
  File "/usr/local/lib/python3.5/dist-packages/Adafruit_IO/mqtt_client.py", line 108, in _mqtt_message
    self.on_message(self, feed, payload)
TypeError: message() missing 1 required positional argument: 'retain'
```
2018-07-16 20:31:13 +02:00
brentrubell
34a8bc0638
Merge pull request #59 from erickellerek1/patch-1
fixup Client and MQTTClient calls
2018-07-16 13:58:27 -04:00
Eric Keller
29dcc0c718
fixup Client and MQTTClient calls
there si a missing parameter 'user' in the documentation.
2018-07-16 19:52:27 +02:00
brentru
82a51552fb requests json decode reqs 3.6 2018-07-16 11:51:22 -04:00
brentru
5959a58da0 travisyml add whitespace 2018-07-13 15:05:05 -04:00
brentru
543a01c992 fix setup.py classifiers 2018-07-13 14:39:13 -04:00
brentru
4b96baee85 fix script section 2018-07-13 12:41:20 -04:00
brentru
3d90894bab travis: unindent 2018-07-13 12:35:51 -04:00
brentrubell
08665a53fe
re-encrypt secure pass 2018-07-12 17:28:01 -04:00
brentrubell
f31fc3d1f8
fix travis deployment 2018-07-12 17:02:53 -04:00
brentrubell
8070fbdfa7
Merge pull request #56 from adafruit/auto-pypi-work
Builds release automatically to PyPi
2018-07-12 16:47:54 -04:00
brentru
64fa940065 switch back to old name 2018-07-12 16:38:02 -04:00
brentru
fda3419ccb globally enforce python3 2018-07-12 16:15:47 -04:00
brentru
5edcaa050c unittest using python3 2018-07-12 16:11:15 -04:00
brentru
406173eeb1 adding autopypi releases.. 2018-07-12 16:05:05 -04:00
brentrubell
b0658eb0d7
Update README.rst
enforce pip3/python3
2018-07-12 12:20:40 -04:00
brentru
0ba2691113 relaxing travis req... 2018-07-12 10:54:20 -04:00
Brent Rubell
4581195939 relax python requirements back to Python 3.4 2018-07-12 10:49:14 -04:00