lexa.samsungtv

Azure IoT Edge Node.js module sample project

Usage no npm install needed!

<script type="module">
  import lexaSamsungtv from 'https://cdn.skypack.dev/lexa.samsungtv';
</script>

README

Samsung TV module

Controls a remote Samsung Digital Signage display using MDC protocol.

Methods

status

Query status and current values for all connected TVs

set

Set parameter value for connected TVs

Payload format:

{
  device: 0, // device number, if not specified, the values will be applied to all connected TVs
  volume: 123, // an integer value to be updated
  remote: false, // a boolean value to be updated
  source: 'hdmi1', // a string value to be updated
}

Applied values are returned as a function result.

Env variables

Module does not have any env variables yet

Events

Module does not emit any events

TODO

  • configuration with list of tvs to control
  • tv id
  • control tv app url