@@ -13,6 +13,8 @@ Python Arlo
1313.. image :: https://img.shields.io/pypi/pyversions/pyarlo.svg
1414 :target: https://pypi.python.org/pypi/pyarlo
1515
16+ .. _CONTRIBUTING.rst : https://raw.githubusercontent.com/tchellomello/python-arlo/master/CONTRIBUTING.rst
17+
1618
1719Python Arlo is a library written in Python 2.7/3x that exposes the Netgear Arlo cameras as Python objects.
1820
@@ -151,7 +153,79 @@ Loading Videos
151153 media.download_video(' /home/user/demo.mp4' )
152154
153155
156+ Ambient Sensors Data Usage (Arlo Baby Monitor)
157+ ----------------------------------------------
158+
159+ .. code-block :: python
160+
161+ # Get the base_station instance corresponding to the Arlo Baby
162+ base_station = arlo.base_stations[0 ]
163+
164+ # Store all ambient sensor history in self._ambient_sensor_data
165+ # All of the accessor properties will call this if values are not cached.
166+ base_station.get_ambient_sensor_data()
167+
168+ # Get cached sensor history (property)
169+ base_station.ambient_sensor_data
170+
171+ # Get most recent temperature reading in degrees celsius (property)
172+ base_station.ambient_temperature
173+
174+ # Get most recent humidity reading in relative humidity percentage (property)
175+ base_station.ambient_humidity
176+
177+ # Get most recent air quality reading (property)
178+ # Not 100% sure on the unit of measure, but would assume it's VOC PPM
179+ base_station.ambient_air_quality
180+
181+ Music Playback Usage (Arlo Baby Monitor)
182+ ----------------------------------------
183+
184+ .. code-block :: python
185+
186+ # Get the current playback status and available track list
187+ base_station.get_audio_playback_status()
188+
189+ # Play a track, optionally specify the track and seek time in seconds
190+ base_station.play_track(
191+ track_id = ' 229dca67-7e3c-4a5f-8f43-90e1a9bffc38' ,
192+ position = 0 )
193+
194+ # Pause the currently playing track
195+ base_station.pause_track()
196+
197+ # Skip to the next track in the playlist
198+ base_station.skip_track()
199+
200+ # Set the music loop mode to repeat the entire playlist
201+ base_station.set_music_loop_mode_continuous()
202+
203+ # Set the music loop mode to repeat the current track
204+ base_station.set_music_loop_mode_single()
205+
206+ # Sets playback to shuffle
207+ base_station.set_shuffle_on()
208+
209+ # Sets playback to sequential
210+ base_station.set_shuffle_off()
211+
212+ # Change the playback volume
213+ base_station.set_volume(100 )
214+
215+ Night Light Usage (Arlo Baby Monitor)
216+ -------------------------------------
217+
218+ .. code-block :: python
219+
220+ # Turn on the night light
221+ base_station.set_night_light_on()
222+
223+ # Turn off the night light
224+ base_station.set_night_light_off()
225+
226+ # Set the brightness of the night light
227+ base_station.set_night_light_brightness(200 )
228+
154229 Contributing
155230------------
156-
157- See more at CONTRIBUTING.rst
231+ See more at CONTRIBUTING.rst _.
0 commit comments