janitoo_audiovideo package

Submodules

janitoo_audiovideo.livebox module

The Samsung Janitoo helper

class janitoo_audiovideo.livebox.Livebox(bus=None, addr=None, **kwargs)[source]

Bases: janitoo.component.JNTComponent

channel_change(node_uuid, index, data)[source]
check_heartbeat()[source]

Check that the component is ‘available’

volume_change(node_uuid, index, data)[source]
janitoo_audiovideo.livebox.make_livebox(**kwargs)[source]

janitoo_audiovideo.samsung module

The Samsung Janitoo helper

class janitoo_audiovideo.samsung.SamsungRemote(host, port, remote_name, mac_address)[source]

Bases: object

exception AccessDenied[source]

Bases: exceptions.Exception

exception SamsungRemote.UnhandledResponse[source]

Bases: exceptions.Exception

SamsungRemote.close()[source]
SamsungRemote.control(key)[source]
class janitoo_audiovideo.samsung.SamsungUE46(bus=None, addr=None, **kwargs)[source]

Bases: janitoo.component.JNTComponent

channel_change(node_uuid, index, data)[source]
check_heartbeat()[source]

Check that the component is ‘available’

notify_incoming_call(rtime=None, receiver=None, receiver_no='0000000000', sender=None, sender_no='0000000000', message='Hello world')[source]
notify_schedule_reminder(starttime=None, endtime=None, owner=None, owner_no='0000000000', message='Hello world')[source]
notify_sms(rtime=None, receiver=None, receiver_no='0000000000', sender=None, sender_no='0000000000', message='Hello world')[source]
push(key)[source]
volume_change(node_uuid, index, data)[source]
janitoo_audiovideo.samsung.make_ue46(**kwargs)[source]

janitoo_audiovideo.thread module

The Samsung Janitoo helper

class janitoo_audiovideo.thread.AudioVideoThread(options=None)[source]

Bases: janitoo.thread.JNTBusThread

The AudioVideoThread thread

init_bus()[source]

Build the bus

class janitoo_audiovideo.thread.DocumentationAudiovideo(path='audiovideo', bus=None, addr=None, **kwargs)[source]

Bases: janitoo_factory.threads.http.DocumentationResourceComponent

A resource ie /rrd

get_key(node_uuid, index)[source]
get_package_name()[source]

Return the name of the package. Needed to publish static files

MUST be copy paste in every extension that publish statics files

get_resource(node_uuid, index)[source]
janitoo_audiovideo.thread.make_doc(**kwargs)[source]
janitoo_audiovideo.thread.make_thread(options, force=False)[source]

janitoo_audiovideo.value_factory module

The value

class janitoo_audiovideo.value_factory.JNTValueChannel(entry_name='av_channel', **kwargs)[source]

Bases: janitoo.value_factory.JNTValueFactoryEntry

class janitoo_audiovideo.value_factory.JNTValueSource(entry_name='av_source', **kwargs)[source]

Bases: janitoo.value_factory.JNTValueFactoryEntry

class janitoo_audiovideo.value_factory.JNTValueVolume(entry_name='av_volume', **kwargs)[source]

Bases: janitoo.value_factory.JNTValueFactoryEntry

janitoo_audiovideo.value_factory.make_av_channel(**kwargs)[source]
janitoo_audiovideo.value_factory.make_av_source(**kwargs)[source]
janitoo_audiovideo.value_factory.make_av_volume(**kwargs)[source]

Module contents