Ejemplo n.º 1
0
        private IOBrokerJSONGet getResult(string iobrokertag)
        {
            IOBrokerJSONGet ioJson = new IOBrokerJSONGet();

            IOBrokerClusterConnector wc = new IOBrokerClusterConnector();

            ioJson = wc.GetIOBrokerValue("zigbee.0.00158d00045c0c7c.temperature");



            return(ioJson);
        }
Ejemplo n.º 2
0
        public void TestGetValue()
        {
            try
            {
                IOBrokerJSONGet          ioJson = new IOBrokerJSONGet();
                IOBrokerClusterConnector wc     = new IOBrokerClusterConnector();
                ioJson = wc.GetIOBrokerValue("zwave2.0.Node_003.Basic.currentValue");
            }

            catch (Exception ex)
            {
                Console.WriteLine("Fehler beim lesen von IOBroker", ex);
                //throw;
            }
        }