tyeth
302fcca696
Addresses issue raised in #159
2024-11-29 23:39:56 +00:00
tyeth
2737781f4c
PR Feedback: label client v1, clarify paho client in example/viewall
2024-02-16 12:42:19 +00:00
tyeth
a0cb9f613c
Update error codes + shared_feeds example
2024-02-14 21:50:18 +00:00
tyeth
51117a4ce0
Specify CallbackAPIVersion.VERSION1
2024-02-14 16:20:06 +00:00
Brent Rubell
bae611bb49
Update random_data.py
2023-11-27 10:23:12 -05:00
brentru
31372ce877
add neopixel example
2023-11-08 16:43:41 -05:00
brentru
3fa2cf48c4
update example
2023-11-06 18:34:15 -05:00
Doug Zobel
11bddacc67
Add support for dashboards, blocks and layouts
2021-11-16 15:35:05 -06:00
Brent Rubell
d047655176
Delete environmental_monitor.py
2021-11-08 10:16:23 -05:00
brentru
839e41b494
add unittest
2020-12-21 11:59:08 -05:00
brentru
6f413d5a76
add usage example
2020-12-21 11:52:39 -05:00
brentru
fc69311d37
update VEML6070 function sig
2020-11-04 10:48:43 -05:00
brentru
611823bcfb
add example
2019-12-19 11:53:05 -05:00
brentru
b022ea2886
add back removed digital in..
2019-07-26 14:36:39 -04:00
brentru
6e0a33f1c8
fix methods, tocolor->to_color
2019-07-08 10:30:59 -04:00
Barbudor
5c35fd03d2
Fixes location.pysample for wrong/outdate API
2019-04-17 23:05:48 +02:00
brentru
37663ab3ed
add new time endpoint, return time as a struct_time, remove plaintext http get responses, update example to remove topics
2019-03-12 12:56:02 -04:00
brentru
623ea17b4f
fix on_message topic parsing, time example, bump minor version
2019-03-08 11:13:14 -05:00
brentru
d2bb729ddb
update example for new send_data
2019-03-05 11:35:54 -05:00
brentru
b9d2f62bc0
update environmental_monitor.py sketch to reflect Adafruit_CircuitPython_SGP30 lib
2019-02-21 10:25:07 -05:00
brentru
d1b1ac8bc3
add subscribe_randomizer and mqtt example
2019-01-15 15:20:30 -05:00
brentru
32661c2b05
adding example of getting random data by id
2019-01-15 14:33:51 -05:00
brentru
2dfaa712ac
add example of accessing darksky forecast using the IO Weather Service and Adafruit IO API
2019-01-14 13:46:41 -05:00
brentru
dc54320ec3
update weather, remove broken example
2019-01-08 17:40:58 -05:00
brentru
abad94df4c
pylint example
2019-01-08 17:13:45 -05:00
brentru
b2b8b18de9
same line on example
2019-01-08 15:55:52 -05:00
brentru
25538f9239
show all 3 forecasts nicely
2019-01-08 15:43:30 -05:00
brentru
8914f59a31
parsing 3 forecasts
2019-01-08 15:34:25 -05:00
brentru
64c42de144
update example to show 1, 2, 5 day forecasts
2019-01-08 15:01:11 -05:00
brentru
3f7a8d53f4
update prints for forecast
2019-01-08 13:20:35 -05:00
brentru
c6b9dfcca8
adding example of MQTT Weather API
2019-01-08 13:18:57 -05:00
brentru
b6debfc9f1
make weather_id an optional param, update example
2019-01-08 12:57:56 -05:00
brentru
fbbfe8ffae
add darkskies api to io python client
2019-01-08 12:49:40 -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
f3b0fc0f01
rename file
2018-09-05 13:33:08 -04:00
brentru
8fcc5a5698
group sub example -> pub AND sub example
2018-09-05 13:03:06 -04:00
brentru
7d0b95133d
adding group subscriptions
2018-09-05 12:00:13 -04:00
brentru
f9ba5cdc46
adding pi camera example to library
2018-09-04 15:21:16 -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
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
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
brentru
faa710a8cc
docstrings reflect file name
2018-07-11 17:32:01 -04:00