npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

iobroker.pjlinkv2

v2.1.6

Published

Control any PJLink compatible device

Downloads

20

Readme

Logo

ioBroker.PJLinkV2

NPM version Downloads Number of Installations (latest) Number of Installations (stable)

NPM

Tests: Test and Release

This adapter controls any PJLink compatible projector or display with ioBroker.

PJLink is a unified standard for operating and controlling data projectors and displays. The protocol enables central control of certain devices, manufactured by different vendors. The protocol is used by NEC, Casio, Seiko, Sony, Panasonic, Hitachi, Mitsubishi, Ricoh, Vivitek and even more. Please consult the device manual to check compatibility.

Note: Devices are not sending information activly... therefore, the adapter will pull certain information frequently (see polling interval). Do not reduce the polling interval <10 sec. because the device needs up to 2 sec. to answer and the script will query several paramters!

Current shortcomings

  • Audio / Video mute can not be set. Setting these modes is not working correctly right now. It's disabled in the code - can somebody contribute on this?
  • Warum-Up and Cool-Down ist not tested because my device is to giving these information - can somebody contribute on this?
  • All dialogs are in English as for now, DE and RU are in progress. Further translations on demand.

ToDo

  • Implementing table into admin interface to translate source port ID to port name (like 31 = HDMI1)
  • Supporting PJLink Class 2 protocol

How the adapter works

The adapter consists by three elements:

  • Admin interface to define device specific parameters (admin/index.html)
  • JavaScript module for device communication, based on PJLink protocol (utils/pjlink.js)
  • Main script (main.js)

The Main script works in four steps:

  1. Doing some initial configuration like creating ioBroker objects
  2. Starring the first communication with the device and asking for the current parameters
  3. Waiting for a state change like switching the input source or turning power off
  4. Executing the change with the device Please be aware, that the communication with the projector is not possible if the projector is in standby with power saving feature enabled. Therefore, it will not be possible to turn the project on using this adapter. To do so, disable the power saving feature using the projector configuration (Menu > Settings...).

Changelog

2.1.6 (2021/12/19)

  • fixed an issue when device authentication is needed and device password is configured
  • enhanced command processing in lib

2.1.5 (2021/12/15)

  • no functional change to 2.1.0
  • fixed several adapter-check findings to be compliant with ioBroker rules
  • added to travis
  • created npm

2.1.0 (2021/12/05)

  • enhanced errorhandling when device is not connected
  • fixed power-off handling
  • implemented isInputSourceName for better source identification and reporting in vis

2.0.0 (2020/09/22)

  • new development, based on ioBroker adapter template

0.2.0 (2019/11/15)

  • fixed an error where adapter instances started multiple times
  • fixed an issue when encrypted communicating ist used
  • changed datapoint "power" to be boolean, to start/stop the devices
  • added datapoint "status" to report the current status of the device (on, off, warm up, cool down, not connected)

0.1.1 (2018/02/11)

  • errorhandling implemented (somekind of...)

0.1.0 (2017/12/31)

  • first public flight (beta)

0.0.5 (2017/12/26)

  • bugfixing5

0.0.3 (2017/12/23)

  • build admin interface
  • build translate table

0.0.2 (2017/12/18)

  • redesign some timings (what / when)

0.0.1

  • Inital version

License

MIT License

Copyright (c) 2021 oberstel [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.