Git Product home page Git Product logo

jeedom-node's People

Contributors

guillaumearm avatar

Watchers

 avatar  avatar

jeedom-node's Issues

Cannot remove an object

the RPC api seems to not expose method for removing an object, try to reverse engineering jeedom in order to add the method

Implement all Jeedom RPC methods

Ref: https://jeedom.github.io/core/en_US

Complete list

misc

  • ping
  • version
  • datetime

config

  • config::byKey
  • config::save

event

  • event::changes

object

  • object::all
  • object::full
  • object::fullById
  • object::byId
  • object::save

summary

  • summary::global
  • summary::byId

eqLogic

  • eqLogic::all
  • eqLogic::fullById
  • eqLogic::byId
  • eqLogic::byType
  • eqLogic::byObjectId
  • eqLogic::byTypeAndId
  • eqLogic::save

cmd

  • cmd::all
  • cmd::byId
  • cmd::byEqLogicId
  • cmd::execCmd
  • cmd::getStatistique
  • cmd::getTendance
  • cmd::getHistory
  • cmd::save

scenario

  • scenario::all
  • scenario::byId
  • scenario::export
  • scenario::import
  • scenario::changeState

log

  • log::get
  • log::list
  • log::empty
  • log::remove

datastore

  • datastore::byTypeLinkIdKey
  • datastore::save

message

  • message::all
  • message::removeAll

interaction

  • interact::tryToReply
  • interactQuery::all

system

  • jeedom::halt
  • jeedom::reboot
  • jeedom::isOk
  • jeedom::update
  • jeedom::backup
  • jeedom::getUsbMapping

plugin

  • plugin::listPlugin
  • plugin::install
  • plugin::remove
  • plugin::dependancyInfo
  • plugin::dependancyInstall
  • plugin::daemonInfo
  • plugin::daemonStart
  • plugin::daemonStop
  • plugin::daemonChangeAutoMode

update

  • update::all
  • update::checkUpdate
  • update::update

network

  • network::restartDns
  • network::stopDns
  • network::dnsRun

High level API

It would be nice to expose a high level API for jeedom (based on low level rpc api)

Ideas ๐Ÿ’ก

  • device observer
  • high level device objects (with methods)

device = eqLogic

Todos

  • close #1

Breaking changes for 1.0

  • We have to close #1 before release the first stable version (1.0)

New usage

const Jeedom = require('jeedom');

const { rpc } = Jeedom({
  host: 'http://jeedomip',
  apikey: '__JEEDOM_API_KEY__',
});

rpc.ping()
  .then(pong => console.log(pong));

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.